Interface DeleteNLast
- All Superinterfaces:
- ReplacementStrategy
- All Known Implementing Classes:
- ImmutableDeleteNLast
Delete N Last
 
This replacement strategy deletes the N weakest individuals and replace them with the best offsprings
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic DeleteNLast.Builderbuilder()default voidcheck()static DeleteNLastof(double weakRatio, SelectionPolicy selectionPolicy) Describe which offsprings to select for the next generationdefault doubleHow many weakest individuals to consider for replacement
- 
Field Details- 
DEFAULT_WEAK_RATIOstatic final double DEFAULT_WEAK_RATIO- See Also:
 
 
- 
- 
Method Details- 
weakRatio@Default @Parameter default double weakRatio()How many weakest individuals to consider for replacement- Returns:
 
- 
offspringSelectionPolicyDescribe which offsprings to select for the next generation- Returns:
 
- 
check@Check default void check()
- 
builder
- 
of
 
-