static class SizeFairCrossoverPipeline.RouletteWheelSelector extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
currentIndex |
(package private) int[] |
length |
(package private) int |
maxLength |
(package private) double[] |
probability |
| Constructor and Description |
|---|
SizeFairCrossoverPipeline.RouletteWheelSelector(int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(double currentProbability,
int currentLength) |
int |
roulette(EvolutionState state,
int thread) |
int[] length
double[] probability
int currentIndex
int maxLength
SizeFairCrossoverPipeline.RouletteWheelSelector(int size)
public void add(double currentProbability,
int currentLength)
public int roulette(EvolutionState state, int thread)
Copyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.