Interface DdoModel<T>

Type Parameters:
T - the state type
All Superinterfaces:
Model<T>

public interface DdoModel<T> extends Model<T>
Defines the interface for an unlayered Dynamic Decision Diagram Optimization (DDO) model.
  • Method Details

    • relaxation

      Relaxation<T> relaxation()
      Returns the relaxation of the model used to merge states in the decision diagram.
      Returns:
      the Relaxation object associated with this model
    • ranking

      default StateRanking<T> 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 StateRanking comparator between states
    • widthHeuristic

      default WidthHeuristic<T> widthHeuristic()
      Returns the width heuristic controlling the maximum number of states in the frontier.
      Returns:
      a WidthHeuristic instance controlling diagram width
    • relaxStrategy

      default ReductionStrategy<T> relaxStrategy()
      Strategy to select which nodes should be merged together on a relaxed DD.
      Returns:
      the ReductionStrategy used to merge nodes in a relaxed decision diagram
    • restrictStrategy

      default ReductionStrategy<T> restrictStrategy()
      Strategy to select which nodes should be dropped on a restricted DD.
      Returns:
      the ReductionStrategy used to drop nodes in a restricted decision diagram
    • useCache

      default boolean useCache()
      Indicates whether caching should be used during the diagram construction.
      Returns:
      true if caching is enabled, false otherwise
    • dominance

      default NoLayerDominanceChecker<T> dominance()
      Returns a dominance checker to prune inferior states during compilation.
      Specified by:
      dominance in interface Model<T>
      Returns:
      a NoLayerDominanceChecker instance
    • exportDot

      default boolean exportDot()
      Indicates whether the generated decision diagram should be exported to a DOT file (Graphviz format).
      Returns:
      true if DOT export is enabled, false otherwise
    • setInitialSolution

      default DdoModel<T> setInitialSolution(Solution solution)
      Returns a copy of this model but with the given initial solution.
      Specified by:
      setInitialSolution in interface Model<T>
      Parameters:
      solution - the initial solution (see Model.initialSolution())
      Returns:
      a copy of this model but with the given initial solution