Package org.ddolib.nolayer.modeling
Interface DdoModel<T>
- Type Parameters:
T- the state type
- All Superinterfaces:
Model<T>
Defines the interface for an unlayered Dynamic Decision Diagram Optimization (DDO) model.
-
Method Summary
Modifier and TypeMethodDescriptiondefault NoLayerDominanceChecker<T> Returns a dominance checker to prune inferior states during compilation.default booleanIndicates whether the generated decision diagram should be exported to a DOT file (Graphviz format).default StateRanking<T> ranking()Returns the ranking function used to order states when width must be reduced.Returns the relaxation of the model used to merge states in the decision diagram.default ReductionStrategy<T> Strategy to select which nodes should be merged together on a relaxed DD.default ReductionStrategy<T> Strategy to select which nodes should be dropped on a restricted DD.setInitialSolution(Solution solution) Returns a copy of this model but with the given initial solution.default booleanuseCache()Indicates whether caching should be used during the diagram construction.default WidthHeuristic<T> Returns the width heuristic controlling the maximum number of states in the frontier.Methods inherited from interface org.ddolib.nolayer.modeling.Model
debugMode, initialSolution, lowerBound, problem, verbosityLevel
-
Method Details
-
relaxation
Relaxation<T> relaxation()Returns the relaxation of the model used to merge states in the decision diagram.- Returns:
- the
Relaxationobject associated with this model
-
ranking
Returns the ranking function used to order states when width must be reduced. Higher priority states are kept exact, lower priority states are dropped or merged.- Returns:
- a
StateRankingcomparator between states
-
widthHeuristic
Returns the width heuristic controlling the maximum number of states in the frontier.- Returns:
- a
WidthHeuristicinstance controlling diagram width
-
relaxStrategy
Strategy to select which nodes should be merged together on a relaxed DD.- Returns:
- the
ReductionStrategyused to merge nodes in a relaxed decision diagram
-
restrictStrategy
Strategy to select which nodes should be dropped on a restricted DD.- Returns:
- the
ReductionStrategyused to drop nodes in a restricted decision diagram
-
useCache
default boolean useCache()Indicates whether caching should be used during the diagram construction.- Returns:
trueif caching is enabled,falseotherwise
-
dominance
Returns a dominance checker to prune inferior states during compilation.- Specified by:
dominancein interfaceModel<T>- Returns:
- a
NoLayerDominanceCheckerinstance
-
exportDot
default boolean exportDot()Indicates whether the generated decision diagram should be exported to a DOT file (Graphviz format).- Returns:
trueif DOT export is enabled,falseotherwise
-
setInitialSolution
Returns a copy of this model but with the given initial solution.- Specified by:
setInitialSolutionin interfaceModel<T>- Parameters:
solution- the initial solution (seeModel.initialSolution())- Returns:
- a copy of this model but with the given initial solution
-