java.lang.Object
org.maxicp.cp.engine.constraints.scheduling.NoOverlapBCLeftToRight
Bound Consistency filtering for the NoOverlap constraint
- Author:
- Pierre Schaus
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
startMin
public final int[] startMin -
endMax
public final int[] endMax
-
-
Constructor Details
-
NoOverlapBCLeftToRight
public NoOverlapBCLeftToRight(int nMax)
-
-
Method Details
-
filter
- Parameters:
startMin- the minimum start time of each activityduration- the duration of each activityendMax- the maximum end time of each activityn- a number between 0 and startMin.length-1, is the number of activities to consider (prefix), The other ones are just ignored- Returns:
- the outcome of the filtering, either NO_CHANGE, CHANGE or INCONSISTENCY. If a change is detected, the time windows (startMin and endMax) are reduced.
-