JGAP

org.jgap.gp.impl
Class FitnessProportionateSelection

java.lang.Object
  extended by org.jgap.gp.impl.FitnessProportionateSelection
All Implemented Interfaces:
java.io.Serializable, INaturalGPSelector

Deprecated. use TournamentSelector or WeightedGPRouletteSelector instead

public class FitnessProportionateSelection
extends java.lang.Object
implements INaturalGPSelector, java.io.Serializable

Selects individuals proportionally according to their adjusted fitness.

Since:
3.0
See Also:
Serialized Form

Constructor Summary
FitnessProportionateSelection()
          Deprecated. Constructor.
 
Method Summary
 IGPProgram select(GPGenotype a_genotype)
          Deprecated. use TournamentSelector or WeightedGPRouletteSelector instead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitnessProportionateSelection

public FitnessProportionateSelection()
Deprecated. 
Constructor.

Since:
3.2
Method Detail

select

public IGPProgram select(GPGenotype a_genotype)
Deprecated. use TournamentSelector or WeightedGPRouletteSelector instead

Description copied from interface: INaturalGPSelector
Select an individual based on an arbitrary algorithm.

Specified by:
select in interface INaturalGPSelector
Parameters:
a_genotype - GPGenotype
Returns:
IGPProgram

JGAP