public class AdaptiveNeighborhood extends SequenceNeighborhood
count, counters, neighbors, who
Constructor and Description |
---|
AdaptiveNeighborhood(long seed,
INeighbor... neighbors) |
Modifier and Type | Method and Description |
---|---|
void |
loadFromSolution(Solution solution)
Load a solution and record it
|
protected void |
nextNeighbor() |
void |
recordSolution()
Record values of decision variables to freeze some ones during the next LNS run
|
fixSomeVariables, init, isSearchComplete, restrictLess
public AdaptiveNeighborhood(long seed, INeighbor... neighbors)
public void recordSolution()
INeighbor
recordSolution
in interface INeighbor
recordSolution
in class SequenceNeighborhood
public void loadFromSolution(Solution solution)
INeighbor
loadFromSolution
in interface INeighbor
loadFromSolution
in class SequenceNeighborhood
solution
- a solution to recordprotected void nextNeighbor()
nextNeighbor
in class SequenceNeighborhood
Copyright © 2018. All rights reserved.