public class RealRecombination extends java.lang.Object implements IRecombination
| Modifier and Type | Field and Description |
|---|---|
private float |
outBounds |
| Constructor and Description |
|---|
RealRecombination()
Each gene of the child will be between the father and mother gene value +-15%.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initialise(Population population)
Does nothing
|
boolean |
isDtooLarge()
Does nothing
|
Population |
recombinate(Population population,
IndividualGroup[] groups)
Creates a new offspring population.
|
public RealRecombination()
public Population recombinate(Population population, IndividualGroup[] groups)
recombinate in interface IRecombinationpopulation - It is ignoredgroups - new individuals to be included in the offspring populationpublic void initialise(Population population)
initialise in interface IRecombinationpopulation - public boolean isDtooLarge()
isDtooLarge in interface IRecombination