Uses of Interface
org.ddolib.nolayer.modeling.DdoModel
Packages that use DdoModel
Package
Description
This package contains the interfaces and abstract classes that must be implemented as problem
specific classes to model a problem with the no-layer API (no fixed number of variables,
termination detected via
Problem.isTarget(Object)).This package contains
NoLayerDecisionDiagram, the
no-layer implementation of the shared DecisionDiagram abstraction,
which transitions from state to state until a problem-specific target test is met instead of
compiling a fixed number of layers.This package contains
DdoSolver, the DDO
(Branch-and-Bound with decision diagrams) solver for the no-layer API.-
Uses of DdoModel in org.ddolib.nolayer.modeling
Methods in org.ddolib.nolayer.modeling that return DdoModelModifier and TypeMethodDescriptionDdoModel.setInitialSolution(Solution solution) Returns a copy of this model but with the given initial solution.Methods in org.ddolib.nolayer.modeling with parameters of type DdoModelModifier and TypeMethodDescriptionstatic <T> SolutionSolvers.minimizeDdo(DdoModel<T> model) Solves the given model using the DDO (Decision Diagram Optimization) algorithm with default stopping criteria and no solution callback.static <T> SolutionSolvers.minimizeDdo(DdoModel<T> model, BiConsumer<List<Integer>, SearchStatistics> onSolution) Solves the given model using DDO and triggers a callback each time a new incumbent solution is found.static <T> SolutionSolvers.minimizeDdo(DdoModel<T> model, Predicate<SearchStatistics> limit) Solves the given model using DDO, stopping when the provided limit condition becomes true.static <T> SolutionSolvers.minimizeDdo(DdoModel<T> model, Predicate<SearchStatistics> limit, BiConsumer<List<Integer>, SearchStatistics> onSolution) Core method for solving a DDO model with a custom stop condition and a solution callback. -
Uses of DdoModel in org.ddolib.nolayer.solving.ddo.core.mdd
Constructors in org.ddolib.nolayer.solving.ddo.core.mdd with parameters of type DdoModelModifierConstructorDescriptionNoLayerDecisionDiagram(DdoModel<T> model, SubProblem<T> rootSubProblem, CompilationType type, int maxWidth, double primalBound, Optional<Cache<T>> cache) Creates a new decision diagram rooted at the given subproblem. -
Uses of DdoModel in org.ddolib.nolayer.solving.ddo.core.solver
Constructors in org.ddolib.nolayer.solving.ddo.core.solver with parameters of type DdoModel