Uses of Interface
org.ddolib.nolayer.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 no-layer API (no fixed number of variables,
termination detected via
Problem.isTarget(Object)).This package implements the Anytime Weighted A* solver for the no-layer API.
-
Uses of AwAstarModel in org.ddolib.nolayer.modeling
Methods in org.ddolib.nolayer.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.nolayer.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 with default parameters.static <T> SolutionSolvers.minimizeAwAstar(AwAstarModel<T> model, BiConsumer<List<Integer>, 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<List<Integer>, SearchStatistics> onSolution) Core method for solving a model with the Anytime Weighted A* search algorithm, with a custom limit and callback. -
Uses of AwAstarModel in org.ddolib.nolayer.solving.awastar.core.solver
Constructors in org.ddolib.nolayer.solving.awastar.core.solver with parameters of type AwAstarModelModifierConstructorDescriptionAwAstarSolver(AwAstarModel<T> model) Creates a new Anytime Weighted A* solver for the given model.