Package io.github.nhtc2005.alns.stopping
package io.github.nhtc2005.alns.stopping
Provides search termination criteria and their search context.
-
ClassDescriptionAnyOfStoppingCriterion<S extends Solution<S>>Stops when any contained criterion requests termination.MaxIterations<S extends Solution<S>>Stops once the number of completed iterations reaches the configured limit.MaxRuntime<S extends Solution<S>>Stops when elapsed search time reaches the configured duration.NoImprovement<S extends Solution<S>>Stops after a configured number of iterations without a strictly better best objective.StoppingContext<S extends Solution<S>>Provides the search state when checking a stopping criterion.StoppingCriterion<S extends Solution<S>>Decides whether an ALNS search should stop before the next iteration.