public abstract class ANeighbor extends Object implements INeighbor
Modifier and Type | Field and Description |
---|---|
protected ACounter |
counter |
protected Solver |
mSolver |
Modifier | Constructor and Description |
---|---|
protected |
ANeighbor(Solver mSolver) |
Modifier and Type | Method and Description |
---|---|
void |
activeFastRestart()
This method is called by
LargeNeighborhoodSearch on the first solution,
it activates the fast restart strategy |
void |
fastRestart(ACounter counter)
Plug a fast restart strategy to the neighborhood
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fixSomeVariables, isSearchComplete, recordSolution, restrictLess
protected ANeighbor(Solver mSolver)
public void fastRestart(ACounter counter)
INeighbor
fastRestart
in interface INeighbor
counter
- a counterpublic void activeFastRestart()
INeighbor
LargeNeighborhoodSearch
on the first solution,
it activates the fast restart strategyactiveFastRestart
in interface INeighbor
Copyright © 2015. All rights reserved.