Uses of Interface
io.github.nhtc2005.alns.selection.OperatorSelector
Packages that use OperatorSelector
Package
Description
Runs ALNS searches and provides results, statistics, and iteration callbacks.
Defines operator selection policies and their search context and feedback.
-
Uses of OperatorSelector in io.github.nhtc2005.alns.core
Methods in io.github.nhtc2005.alns.core with parameters of type OperatorSelectorModifier and TypeMethodDescriptionAlns.Builder.operatorSelector(OperatorSelector<S> operatorSelector) Sets the operator selector, replacing the default uniform random selector. -
Uses of OperatorSelector in io.github.nhtc2005.alns.selection
Classes in io.github.nhtc2005.alns.selection that implement OperatorSelectorModifier and TypeClassDescriptionfinal classRandomOperatorSelector<S extends Solution<S>>Selects destroy and repair operators independently and uniformly using the search's random generator.final classRouletteWheelOperatorSelector<S extends Solution<S>>Selects destroy and repair operators independently in proportion to their weights.final classSegmentedRouletteWheelOperatorSelector<S extends Solution<S>>Selects operators by weight and updates selected operators' weights after each fixed-length feedback segment.