Package io.github.nhtc2005.alns.selection
package io.github.nhtc2005.alns.selection
Defines operator selection policies and their search context and feedback.
-
ClassDescriptionIdentifies the destroy and repair operators selected for an iteration.OperatorSelectionContext<S extends Solution<S>>Provides the search state for selecting an operator pair.OperatorSelectionFeedback<S extends Solution<S>>Reports a candidate's outcome to the operator selector.OperatorSelector<S extends Solution<S>>Selects a destroy and repair operator pair for each ALNS iteration.RandomOperatorSelector<S extends Solution<S>>Selects destroy and repair operators independently and uniformly using the search's random generator.RouletteWheelOperatorSelector<S extends Solution<S>>Selects destroy and repair operators independently in proportion to their weights.SegmentedRouletteWheelOperatorSelector<S extends Solution<S>>Selects operators by weight and updates selected operators' weights after each fixed-length feedback segment.