Uses of Interface
io.github.nhtc2005.alns.stopping.StoppingCriterion
Packages that use StoppingCriterion
Package
Description
Runs ALNS searches and provides results, statistics, and iteration callbacks.
Provides search termination criteria and their search context.
-
Uses of StoppingCriterion in io.github.nhtc2005.alns.core
Methods in io.github.nhtc2005.alns.core with parameters of type StoppingCriterionModifier and TypeMethodDescriptionAlns.solve(S initialSolution, AcceptanceCriterion<S> acceptanceCriterion, StoppingCriterion<S> stoppingCriterion) Searches from a feasible initial solution until the stopping criterion requests termination. -
Uses of StoppingCriterion in io.github.nhtc2005.alns.stopping
Classes in io.github.nhtc2005.alns.stopping that implement StoppingCriterionModifier and TypeClassDescriptionfinal classAnyOfStoppingCriterion<S extends Solution<S>>Stops when any contained criterion requests termination.final classMaxIterations<S extends Solution<S>>Stops once the number of completed iterations reaches the configured limit.final classMaxRuntime<S extends Solution<S>>Stops when elapsed search time reaches the configured duration.final classNoImprovement<S extends Solution<S>>Stops after a configured number of iterations without a strictly better best objective.Methods in io.github.nhtc2005.alns.stopping that return types with arguments of type StoppingCriterionModifier and TypeMethodDescriptionAnyOfStoppingCriterion.getCriteria()Returns the unmodifiable criteria list in evaluation order; criterion instances are shared.Constructor parameters in io.github.nhtc2005.alns.stopping with type arguments of type StoppingCriterionModifierConstructorDescriptionAnyOfStoppingCriterion(List<? extends StoppingCriterion<S>> criteria) Creates a criterion from a defensive copy of the supplied list.