public class RandomShrinkSearch.ComboSearcher extends RandomShrinkSearch.RandomSearcher
| Modifier and Type | Field and Description |
|---|---|
protected RandomShrinkSearch.RandomSearcher |
_randomSearcher
Description of the Field
|
protected RandomShrinkSearch.ShrinkSearcher |
_shrinkSearcher
Description of the Field
|
protected static double |
SHRINK_THRESHOLD
Description of the Field
|
_changeProbabilityBase, _randomGenerator, _values, NUM_VARIABLES| Constructor and Description |
|---|
ComboSearcher()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
newTopSolution(TrialPoint oldPoint,
TrialPoint newPoint)
An event indicating that a new solution has been found which is better than the previous
best solution according to the score given by the evaluator.
|
protected double |
proposeValue(Variable variable)
Propose a new value for the variable by picking a search engine to propose a new value.
|
void |
reset()
reset for searching from scratch; forget history
|
nextPoint, nextPoint, nextTrialPointprotected RandomShrinkSearch.ShrinkSearcher _shrinkSearcher
protected RandomShrinkSearch.RandomSearcher _randomSearcher
protected static final double SHRINK_THRESHOLD
public void reset()
reset in interface RandomShrinkSearch.Searcherreset in class RandomShrinkSearch.RandomSearcherpublic void newTopSolution(TrialPoint oldPoint, TrialPoint newPoint)
newTopSolution in interface RandomShrinkSearch.SearchernewTopSolution in class RandomShrinkSearch.RandomSearcheroldPoint - The old best point.newPoint - The new best point.protected double proposeValue(Variable variable)
proposeValue in class RandomShrinkSearch.RandomSearchervariable - the variable for which to propose a new value