| Modifier and Type | Field and Description |
|---|---|
| private final List | optima
Found optima. |
| private final MultivariateOptimizer | optimizer
Hides org. |
| Access | Constructor and Description |
|---|---|
| public | MultiStartMultivariateOptimizer(final MultivariateOptimizer
Single-start optimizer to wrap. optimizer, final int Number of starts to perform.
If starts, final RandomVectorGenerator starts == 1, the result will be same as if optimizer
is called directly.Random vector generator to use for restarts. generator)Create a multi-start optimizer from a single-start optimizer. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | clear()
Implements abstract org. Method that will called in order to clear all stored optima. |
| public PointValuePair[] | getOptima()
Implements abstract org. Gets all the optima found during the last call to |
| private Comparator | |
| protected void | store(PointValuePair
Result of an optimization run. optimum)Implements abstract org. Method that will be called in order to store each found optimum. |
| optima | back to summary |
|---|---|
| private final List<PointValuePair> optima Found optima. | |
| optimizer | back to summary |
|---|---|
| private final MultivariateOptimizer optimizer Hides org. Underlying optimizer. | |
| MultiStartMultivariateOptimizer | back to summary |
|---|---|
| public MultiStartMultivariateOptimizer(final MultivariateOptimizer optimizer, final int starts, final RandomVectorGenerator generator) throws NullArgumentException, NotStrictlyPositiveException Create a multi-start optimizer from a single-start optimizer.
| |
| clear | back to summary |
|---|---|
| protected void clear() Implements abstract org. Doc from org. Method that will called in order to clear all stored optima.
| |
| getOptima | back to summary |
|---|---|
| public PointValuePair[] getOptima() Implements abstract org. Doc from org. Gets all the optima found during the last call to
| |
| getPairComparator | back to summary |
|---|---|
private Comparator
| |
| store | back to summary |
|---|---|
| protected void store(PointValuePair optimum) Implements abstract org. Doc from org. Method that will be called in order to store each found optimum.
| |