Class StoredValuedDirectedMultiGraph


  • public class StoredValuedDirectedMultiGraph
    extends Object
    Created by IntelliJ IDEA. User: julien Mail: julien.menana{at}emn.fr Date: Nov 4, 2009 Time: 1:07:19 PM
    • Constructor Detail

      • StoredValuedDirectedMultiGraph

        public StoredValuedDirectedMultiGraph​(IEnvironment environment,
                                              org.jgrapht.graph.DirectedMultigraph<Node,​Arc> graph,
                                              int[][] layers,
                                              int[] starts,
                                              int[] offsets,
                                              int supportLength)
    • Method Detail

      • initPathInfo

        public void initPathInfo()
      • updateRight

        public void updateRight​(int nid,
                                gnu.trove.stack.TIntStack toRemove,
                                Propagator<IntVar> propagator)
      • updateLeft

        public void updateLeft​(int nid,
                               gnu.trove.stack.TIntStack toRemove,
                               Propagator<IntVar> propagator)
      • isNotInStack

        public final boolean isNotInStack​(int idx)
        Getter, the idx th bit of the inStack bitSet
        Parameters:
        idx - the index of the arc
        Returns:
        true if a given arc is to be deleted
      • setInStack

        public final void setInStack​(int idx)
        Set the idx th bit of the to be removed bitset
        Parameters:
        idx - the index of the bit
      • clearInStack

        public final void clearInStack​(int idx)
        Clear the idx th bit of the to be removed bitset
        Parameters:
        idx - the index of the bit