algorithms
Class ConstraintManager
java.lang.Object
algorithms.ConstraintManager
- All Implemented Interfaces:
- HardActivityLevelConstraint, HardRouteLevelConstraint
public class ConstraintManager
- extends java.lang.Object
- implements HardActivityLevelConstraint, HardRouteLevelConstraint
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstraintManager
public ConstraintManager()
addConstraint
public void addConstraint(HardActivityLevelConstraint actLevelConstraint)
addConstraint
public void addConstraint(HardRouteLevelConstraint routeLevelConstraint)
fulfilled
public boolean fulfilled(InsertionContext insertionContext)
- Specified by:
fulfilled in interface HardRouteLevelConstraint
fulfilled
public boolean fulfilled(InsertionContext iFacts,
TourActivity prevAct,
TourActivity newAct,
TourActivity nextAct,
double prevActDepTime)
- Specified by:
fulfilled in interface HardActivityLevelConstraint