simbad.picoevo.ext.evolution
Class SelectionOperator_FitnessValueProportionateReproduction

java.lang.Object
  extended by simbad.picoevo.core.evolution.Operator
      extended by simbad.picoevo.core.evolution.SelectionOperator
          extended by simbad.picoevo.ext.evolution.SelectionOperator_FitnessValueProportionateReproduction

public class SelectionOperator_FitnessValueProportionateReproduction
extends SelectionOperator


Field Summary
 
Fields inherited from class simbad.picoevo.core.evolution.Operator
_name
 
Constructor Summary
SelectionOperator_FitnessValueProportionateReproduction()
           
SelectionOperator_FitnessValueProportionateReproduction(java.lang.String __name)
           
 
Method Summary
static PopulationView performSelectionView(PopulationObject __population)
          create a view with all the individuals - the view is ordered This method returns a view of a population by sampling individuals from original population depending on their fitnesses.
static PopulationView performSelectionView(PopulationObject __population, int __nb)
          create a view with only the __nb best individuals - the view is ordered.
 
Methods inherited from class simbad.picoevo.core.evolution.SelectionOperator
performSelection
 
Methods inherited from class simbad.picoevo.core.evolution.Operator
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionOperator_FitnessValueProportionateReproduction

public SelectionOperator_FitnessValueProportionateReproduction()

SelectionOperator_FitnessValueProportionateReproduction

public SelectionOperator_FitnessValueProportionateReproduction(java.lang.String __name)
Method Detail

performSelectionView

public static PopulationView performSelectionView(PopulationObject __population,
                                                  int __nb)
create a view with only the __nb best individuals - the view is ordered. inviduals are selected according to fitness proportion (the higher the fitness, the more likely the selection) note that this method is static, i.e. this object may not need to be instantiated note 2: fitness *rank* proportionate reproduction may be prefered in some case (see related selection operator)


performSelectionView

public static PopulationView performSelectionView(PopulationObject __population)
create a view with all the individuals - the view is ordered This method returns a view of a population by sampling individuals from original population depending on their fitnesses. (i.e. oversample best individuals) note that this method is static, i.e. this object may not need to be instantiated