Interface DeleteNLast

All Superinterfaces:
ReplacementStrategy
All Known Implementing Classes:
ImmutableDeleteNLast

@Immutable public interface DeleteNLast extends ReplacementStrategy
Delete N Last

This replacement strategy deletes the N weakest individuals and replace them with the best offsprings

  • Field Details

  • Method Details

    • weakRatio

      @Default @Parameter default double weakRatio()
      How many weakest individuals to consider for replacement
      Returns:
    • offspringSelectionPolicy

      @Parameter SelectionPolicy offspringSelectionPolicy()
      Describe which offsprings to select for the next generation
      Returns:
    • check

      @Check default void check()
    • builder

      static DeleteNLast.Builder builder()
    • of

      static DeleteNLast of(double weakRatio, SelectionPolicy selectionPolicy)