Modernized GAlib  3.0.0 current
Public Types | Public Member Functions | Protected Attributes | List of all members
GASelectionScheme Class Referenceabstract
Inheritance diagram for GASelectionScheme:
[legend]
Collaboration diagram for GASelectionScheme:
[legend]

Public Types

enum  { RAW , SCALED }
 
- Public Types inherited from GAID
enum  {
  BaseGA = 0 , SimpleGA , SteadyStateGA , IncrementalGA ,
  DemeGA , Population = 10 , Scaling = 15 , NoScaling ,
  LinearScaling , SigmaTruncationScaling , PowerLawScaling , Sharing ,
  Selection = 40 , RankSelection , RouletteWheelSelection , TournamentSelection ,
  UniformSelection , SRSSelection , DSSelection , Genome = 50 ,
  BinaryStringGenome , BinaryStringGenome2D , BinaryStringGenome3D , Bin2DecGenome ,
  ListGenome , TreeGenome , ArrayGenome , ArrayGenome2D ,
  ArrayGenome3D , ArrayAlleleGenome , ArrayAlleleGenome2D , ArrayAlleleGenome3D ,
  StringGenome , FloatGenome , IntGenome , DoubleGenome
}
 

Public Member Functions

 GADefineIdentity ("GASelectionScheme", GAID::Selection)
 
 GASelectionScheme (int w=SCALED)
 
 GASelectionScheme (const GASelectionScheme &orig)
 
GASelectionSchemeoperator= (const GASelectionScheme &orig)
 
virtual GASelectionSchemeclone () const =0
 
virtual void copy (const GASelectionScheme &orig)
 
virtual void assign (GAPopulation &p)
 
virtual void update ()
 
virtual GAGenomeselect () const =0
 
- Public Member Functions inherited from GAID
bool sameClass (const GAID &b) const
 
virtual const char * className () const
 
virtual int classID () const
 

Protected Attributes

GAPopulationpop
 
int which
 

The documentation for this class was generated from the following file: