Class SelectionStrategyControl<T>

  • Type Parameters:
    T - A generic type that matches the type associated with the selection strategies.
    All Implemented Interfaces:
    EvolutionControl

    public class SelectionStrategyControl<T>
    extends Object
    implements EvolutionControl
    An evolution control for selecting between different SelectionStrategy implementations. This control provides a proxy selection strategy that delegates to the currently selected strategy. Using this proxy strategy with an EvolutionEngine means that any change to the combo-box selection is immediately reflected in the selection used by the running evolution engine.
    • Constructor Detail

      • SelectionStrategyControl

        public SelectionStrategyControl​(List<SelectionStrategy<? super T>> options)
        Creates a control for choosing between a specified set of selection strategies.
        Parameters:
        options - The selection strategies to choose from.