Module org.maxicp

Class StartBeforeStart

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

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

    • StartBeforeStart

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