Package com.garrettAndPeter.lib
Class ProportionalGenerator
- java.lang.Object
-
- com.garrettAndPeter.lib.ProportionalGenerator
-
- All Implemented Interfaces:
ParentPoolGenerator
public class ProportionalGenerator extends java.lang.Object implements ParentPoolGenerator
A parent pool generator that creates a parent pool directly based of the fitnesses of the organisms
-
-
Constructor Summary
Constructors Constructor Description ProportionalGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<Organism>
getParentPool(java.util.ArrayList<Organism<?>> generation)
-
-
-
Method Detail
-
getParentPool
public java.util.ArrayList<Organism> getParentPool(java.util.ArrayList<Organism<?>> generation)
- Specified by:
getParentPool
in interfaceParentPoolGenerator
-
-