simbad.picoevo.ext.evolution
Class SelectionOperator_FitnessRankProportionateReproduction

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

public class SelectionOperator_FitnessRankProportionateReproduction
extends SelectionOperator


Field Summary
 
Fields inherited from class simbad.picoevo.core.evolution.Operator
_name
 
Constructor Summary
SelectionOperator_FitnessRankProportionateReproduction()
           
SelectionOperator_FitnessRankProportionateReproduction(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_FitnessRankProportionateReproduction

public SelectionOperator_FitnessRankProportionateReproduction()

SelectionOperator_FitnessRankProportionateReproduction

public SelectionOperator_FitnessRankProportionateReproduction(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 RANK (the higher the rank, 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 more fitted than simple fitness proportionate reproduction in most case note 3: moreover, fitness rank proportionate reproduction is much faster to compute.


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