public class RankingSelection extends java.lang.Object implements ISelection
Modifier and Type | Field and Description |
---|---|
private float |
selectivePressure
selective pressure, choose in interval [1, 2]
|
Constructor and Description |
---|
RankingSelection() |
Modifier and Type | Method and Description |
---|---|
private int |
linearSearch(float[] probs) |
IndividualGroup[] |
Select(Population p,
int groupCount) |
private float selectivePressure
public IndividualGroup[] Select(Population p, int groupCount)
Select
in interface ISelection
private int linearSearch(float[] probs)