Module org.maxicp

Class StartBeforeEnd

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

public class StartBeforeEnd extends AbstractCPConstraint
Constrains interval A to start before or at the end of interval B if both are present.
Author:
Charles Thomas
  • Constructor Details

    • StartBeforeEnd

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