Class AssignmentIntervalContainer


  • public class AssignmentIntervalContainer
    extends java.lang.Object
    • Field Detail

      • swigCMemOwn

        protected transient boolean swigCMemOwn
    • Constructor Detail

      • AssignmentIntervalContainer

        protected AssignmentIntervalContainer​(long cPtr,
                                              boolean cMemoryOwn)
      • AssignmentIntervalContainer

        public AssignmentIntervalContainer()
    • Method Detail

      • finalize

        protected void finalize()
        Overrides:
        finalize in class java.lang.Object
      • delete

        public void delete()
      • addAtPosition

        public IntervalVarElement addAtPosition​(IntervalVar var,
                                                int position)
        Advanced usage: Adds element at a given position; position has to have
        been allocated with AssignmentContainer::Resize() beforehand.
      • clear

        public void clear()
      • resize

        public void resize​(long size)
        Advanced usage: Resizes the container, potentially adding elements with
        null variables.
      • empty

        public boolean empty()
      • copyIntersection

        public void copyIntersection​(AssignmentIntervalContainer container)
        Copies the elements of 'container' which are already in the calling
        container.
      • copy

        public void copy​(AssignmentIntervalContainer container)
        Copies all the elements of 'container' to this container, clearing its
        previous content.
      • contains

        public boolean contains​(IntervalVar var)
      • size

        public int size()
      • store

        public void store()
      • restore

        public void restore()
      • AreAllElementsBound

        public boolean AreAllElementsBound()