samples.tutorials.lns.lns
Class Neighborhood
java.lang.Object
samples.tutorials.lns.lns.Neighborhood
- All Implemented Interfaces:
- Comparable
public class Neighborhood
- extends Object
- implements Comparable
Neighborhood defines how to build and to explore the search space of a problem around a solution
in hope to improve locally the solution
- Author:
- Sophie Demassey
- See Also:
LNSCPSolver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Neighborhood
public Neighborhood(NeighborhoodOperator operator,
AbstractIntBranchingStrategy strategy,
int impact)
Neighborhood
public Neighborhood(NeighborhoodOperator operator)
getOperator
public NeighborhoodOperator getOperator()
getStrategy
public AbstractIntBranchingStrategy getStrategy()
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
decreaseImpact
public int decreaseImpact()
increaseImpact
public int increaseImpact()
Copyright © 2012. All Rights Reserved.