public class RandomParentSelector extends java.lang.Object implements IParentSelectionStrategy
Constructor and Description |
---|
RandomParentSelector() |
Modifier and Type | Method and Description |
---|---|
IParentSelectionStrategy |
createNew() |
TrajectoryFitness |
getNextParent() |
void |
init(java.util.List<TrajectoryFitness> actualParentPopulation) |
public void init(java.util.List<TrajectoryFitness> actualParentPopulation)
init
in interface IParentSelectionStrategy
public TrajectoryFitness getNextParent()
getNextParent
in interface IParentSelectionStrategy
public IParentSelectionStrategy createNew()
createNew
in interface IParentSelectionStrategy