Interface MutableNetwork

  • All Known Implementing Classes:
    Network, Pruning

    public interface MutableNetwork
    Interface to the network used by VarHandlers.
    Version:
    4.7
    • Method Detail

      • remove

        void remove​(Arc arc)
        Removes an arc from the network. The arc must be at its lower or upper bound before it can be removed.
        Parameters:
        arc - The arc to be removed
      • modified

        void modified​(ArcCompanion companion)
        Tells the network that an arc has been modified. The network will then restore the arc upon backtracking.
        Parameters:
        companion - The arc that was modified
      • getStoreLevel

        int getStoreLevel()
        Retrieves the current store level for domain pruning.
        Returns:
        the store level
      • changeCostOffset

        void changeCostOffset​(long delta)
        Changes the cost offset by some value.
        Parameters:
        delta - the change in cost