Class DisjunctiveConstraint


public class DisjunctiveConstraint extends Constraint
  • Constructor Details

    • DisjunctiveConstraint

      public DisjunctiveConstraint(long cPtr, boolean cMemoryOwn)
  • Method Details

    • getCPtr

      public static long getCPtr(DisjunctiveConstraint obj)
    • swigRelease

      public static long swigRelease(DisjunctiveConstraint obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Constraint
    • delete

      public void delete()
      Overrides:
      delete in class Constraint
    • makeSequenceVar

      public SequenceVar makeSequenceVar()
      Creates a sequence variable from the constraint.
    • setTransitionTime

      public void setTransitionTime(LongBinaryOperator transition_time)
      Add a transition time between intervals. It forces the distance between
      the end of interval a and start of interval b that follows it to be at
      least transition_time(a, b). This function must always return
      a positive or null value.
    • transitionTime

      public long transitionTime(int before_index, int after_index)