Package org.ddolib.common.dominance
Class DominanceChecker<T>
java.lang.Object
org.ddolib.common.dominance.DominanceChecker<T>
- Type Parameters:
T- The type of states.
- Direct Known Subclasses:
DefaultDominanceChecker,SimpleDominanceChecker
Object that, given a dominance, will check if a state is dominated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanupdateDominance(T state, int depth, double objValue) Checks whether the input state is dominated and updates the front of non-dominated nodes.
-
Field Details
-
dominance
-
-
Constructor Details
-
DominanceChecker
-
-
Method Details
-
updateDominance
Checks whether the input state is dominated and updates the front of non-dominated nodes.- Parameters:
state- The state on which test dominance.depth- The depth of the state in the MDD.objValue- The length of the longest path from the root to the input state.- Returns:
- Whether the input state is dominated.
-