Uses of Interface
org.chocosolver.util.criteria.Criterion
-
Packages that use Criterion Package Description org.chocosolver.solver A package devoted to Model and resolution tools.org.chocosolver.solver.search org.chocosolver.solver.search.limits org.chocosolver.solver.search.loop.monitors -
-
Uses of Criterion in org.chocosolver.solver
Fields in org.chocosolver.solver with type parameters of type Criterion Modifier and Type Field Description protected List<Criterion>Solver. criteriaList of stopping criteria.Methods in org.chocosolver.solver with parameters of type Criterion Modifier and Type Method Description voidSolver. addStopCriterion(Criterion... criterion)Adds a stop criterion, which, when met, stops the search loop.voidSolver. removeStopCriterion(Criterion... criterion)Removes one or many stop criterion from the one to declare to the search loop. -
Uses of Criterion in org.chocosolver.solver.search
Methods in org.chocosolver.solver.search with parameters of type Criterion Modifier and Type Method Description default voidIResolutionHelper. eachSolutionWithMeasure(BiConsumer<Solution,IMeasures> cons, Criterion... stop)default List<Solution>IResolutionHelper. findAllOptimalSolutions(IntVar objective, boolean maximize, Criterion... stop)Attempt to find the solution that optimizes the mono-objective problem defined by a unique objective variable and an optimization criteria, then finds and stores all optimal solution.default List<Solution>IResolutionHelper. findAllSolutions(Criterion... stop)Attempts to find all solutions of the declared satisfaction problem.default SolutionIResolutionHelper. findLexOptimalSolution(IntVar[] objectives, boolean maximize, Criterion... stop)Attempts optimize the value of the objectives variable w.r.t. to an optimization criteria.default SolutionIResolutionHelper. findOptimalSolution(IntVar objective, boolean maximize, Criterion... stop)Attempt to find the solution that optimizes the mono-objective problem defined by a unique objective variable and an optimization criteria.default List<Solution>IResolutionHelper. findParetoFront(IntVar[] objectives, boolean maximize, Criterion... stop)Attempts optimize the value of the objectives variable w.r.t. to an optimization criteria.default SolutionIResolutionHelper. findSolution(Criterion... stop)Attempts to find a solution of the declared satisfaction problem.default Stream<Solution>IResolutionHelper. streamOptimalSolutions(IntVar objective, boolean maximize, Criterion... stop)Attempt to find the solution that optimizes the mono-objective problem defined by a unique objective variable and an optimization criteria, then finds and stores all optimal solution.default Stream<Solution>IResolutionHelper. streamSolutions(Criterion... stop)Attempts to find all solutions of the declared problem. -
Uses of Criterion in org.chocosolver.solver.search.limits
Subinterfaces of Criterion in org.chocosolver.solver.search.limits Modifier and Type Interface Description interfaceICounterAn interface to define count smth during search processClasses in org.chocosolver.solver.search.limits that implement Criterion Modifier and Type Class Description classACounterOverrides all but one services for ICounter and provides easy to implement counter based onIMeasures.classBacktrackCounterSet a limit over the number of backtracks allowed during the search.classFailCounterSet a limit over the number of fails allowed during the search.static classICounter.ImplclassNodeCounterSet a limit over the number of nodes opened allowed during the search.classSolutionCounterSet a limit over the number of found solutions allowed during the search.classTimeCounterA limit over run time. -
Uses of Criterion in org.chocosolver.solver.search.loop.monitors
Methods in org.chocosolver.solver.search.loop.monitors with parameters of type Criterion Modifier and Type Method Description default voidISearchMonitorFactory. limitSearch(Criterion aStopCriterion)Limit the exploration of the search space with the help of aaStopCriterion.
-