public final class LabsSteepestDescentLocalSearch extends AbstractLabsImprovement
evaluator
Constructor and Description |
---|
LabsSteepestDescentLocalSearch(LabsEvaluator evaluator,
boolean useFastFlipAlgorithm) |
Modifier and Type | Method and Description |
---|---|
LabsSolution |
improve(LabsSolution solution)
Improvement method.
|
getFlippedSolution
public LabsSteepestDescentLocalSearch(LabsEvaluator evaluator, boolean useFastFlipAlgorithm)
public LabsSolution improve(LabsSolution solution)
Improvement
Improvement method.
IMPORTANT: The input solution must be already evaluated at this point and the returned one MUST also be properly evaluated inside this method!
solution
- the solution to improve (must be evaluated)