Package org.jacop.constraints.netflow
Interface MutableNetwork
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changeCostOffset(long delta)
Changes the cost offset by some value.int
getStoreLevel()
Retrieves the current store level for domain pruning.void
modified(ArcCompanion companion)
Tells the network that an arc has been modified.void
remove(Arc arc)
Removes an arc from the network.
-
-
-
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
-
-