Package io.github.nhtc2005.alns.stopping


package io.github.nhtc2005.alns.stopping
Provides search termination criteria and their search context.
  • Class
    Description
    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.
    Provides the search state when checking a stopping criterion.
    Decides whether an ALNS search should stop before the next iteration.