Package org.jacop.constraints.netflow
Interface MutableNetwork
public interface MutableNetwork
Interface to the network used by VarHandlers.
- Version:
- 4.9
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeCostOffset
(long delta) Changes the cost offset by some value.int
Retrieves the current store level for domain pruning.void
modified
(ArcCompanion companion) Tells the network that an arc has been modified.void
Removes an arc from the network.
-
Method Details
-
remove
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
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
-