Module org.maxicp

Class EndBeforeEnd

java.lang.Object
org.maxicp.cp.engine.core.AbstractCPConstraint
org.maxicp.cp.engine.constraints.scheduling.EndBeforeEnd
All Implemented Interfaces:
CPConstraint, ConcreteConstraint<ConcreteCPModel>

public class EndBeforeEnd extends AbstractCPConstraint
Constrains interval A to end before or at the end of interval B.
Author:
Charles Thomas
  • Constructor Details

    • EndBeforeEnd

      public EndBeforeEnd(CPIntervalVar A, CPIntervalVar B)
      Creates a constraint enforcing end(A) <= end(B) whenever both A and B are present.
      Parameters:
      A - the first interval variable
      B - the second interval variable
  • Method Details