- All Superinterfaces:
- All Known Implementing Classes:
public interface INeighbor extends ICauseAn interface that defines services required for the LNS to select variables to freeze-unfreeze (for any type of variables).
- Charles Prud'homme
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description
fixSomeVariables()Freezes some variables in order to have a fast computation.
init()Initialize this neighbor
loadFromSolution(Solution solution)Load a solution and record it
recordSolution()Record values of decision variables to freeze some ones during the next LNS run
restrictLess()Use less restriction at the beginning of a LNS run in order to get better solutions Called when no solution was found during a LNS run (trapped into a local optimum)
default void init()Initialize this neighbor
void recordSolution()Record values of decision variables to freeze some ones during the next LNS run
void fixSomeVariables() throws ContradictionExceptionFreezes some variables in order to have a fast computation. The fixed variables are declared as decisions in the decision path.
default void restrictLess()
default boolean isSearchComplete()
- true iff the search is in a complete mode (no fixed variable)
void loadFromSolution(Solution solution)Load a solution and record it
solution- a solution to record