public abstract class Scaling<T extends Chromosome> extends Operator<T>
scale
Operator.Statistics
random, statistics
biggerIsBetter, fitness, ga
Constructor and Description |
---|
Scaling()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
process(Population<T> in,
Population<T> out)
Processes the input population and tranforms it into the output population.
|
abstract void |
scale(Population<T> pop)
Method used to scale the fitness of indivduals belonging to given
Population
|
getStatistics, updateStatistics
dispose, getFitness, init, isBiggerBetter, isFitnessChanged, setBiggerIsBetter, setBiggerIsBetter, setFitness, setFitness
public final void process(Population<T> in, Population<T> out) throws StageException
AbstractStage
process
in class AbstractStage<T extends Chromosome>
in
- the input populationout
- the output populationStageException
public abstract void scale(Population<T> pop)
Population
pop
- population of individuals to scale