samples.tutorials.lns.lns
Interface NeighborhoodOperator
- All Known Implementing Classes:
- RandomNeighborhoodOperator, RandomTaskNeighborhoodOperator
public interface NeighborhoodOperator
NeighborhoodOperator defines how to restrict the search space of a problem around a given solution
- Author:
- Sophie Demassey
- See Also:
LNSCPSolver
Method Summary |
boolean |
restrictNeighborhood(Solution solution)
add restrictions (constraints or variable fixing) to the solver associated to the solution |
restrictNeighborhood
boolean restrictNeighborhood(Solution solution)
- add restrictions (constraints or variable fixing) to the solver associated to the solution
- Parameters:
solution
- the solution to build the neighborhood around
- Returns:
- true iff the search space is actually shrunken
Copyright © 2012. All Rights Reserved.