Uses of Interface
org.ddolib.layered.modeling.AwAstarModel
Packages that use AwAstarModel
Package
Description
This package contains the interfaces and abstract classes that must be implemented as problem
specific classes to model a problem with the layered API (fixed, known number of variables).
This package implements the Anytime Weighted A* solver for the layered API.
-
Uses of AwAstarModel in org.ddolib.layered.modeling
Methods in org.ddolib.layered.modeling that return AwAstarModelModifier and TypeMethodDescriptiondefault AwAstarModel<T> AwAstarModel.setInitialSolution(Solution solution) Returns a copy of this model but with the given initial solution.default AwAstarModel<T> AwAstarModel.setWeight(double w) Returns a copy of this model but with another weight.Methods in org.ddolib.layered.modeling with parameters of type AwAstarModelModifier and TypeMethodDescriptionstatic <T> SolutionSolvers.minimizeAwAStar(AwAstarModel<T> model) Solves the given model using the Anytime Weighted A* (AWA*) algorithm.static <T> SolutionSolvers.minimizeAwAStar(AwAstarModel<T> model, BiConsumer<int[], SearchStatistics> onSolution) Solves the given model using AWA* and calls the callback when a new incumbent is found.static <T> SolutionSolvers.minimizeAwAStar(AwAstarModel<T> model, Predicate<SearchStatistics> limit) Solves the given model using AWA*, stopping when the limit condition is satisfied.static <T> SolutionSolvers.minimizeAwAStar(AwAstarModel<T> model, Predicate<SearchStatistics> limit, BiConsumer<int[], SearchStatistics> onSolution) Core method for solving a model with the Anytime Weighted A* search algorithm, with custom limit and callback. -
Uses of AwAstarModel in org.ddolib.layered.solving.awastar.core.solver
Constructors in org.ddolib.layered.solving.awastar.core.solver with parameters of type AwAstarModelModifierConstructorDescriptionAwAstarSolver(AwAstarModel<T> model) Constructs a solver via aAwAstarModel.