Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GASubgroup Class Reference

#include <GASubgroup.h>

List of all members.

Public Methods

 GASubgroup ()
 GASubgroup (const SetOf< Word > &generators)
SetOf<Wordgenerators () const
int fitness (const GASubgroup &S) const
GASubgroup mutate () const
GASubgroup crossover (const GASubgroup &S) const
GASubgroup randomSubgroup () const

Private Methods

Word randomWord () const
int randomGen () const

Private Attributes

SetOf<Wordgens

Static Private Attributes

int maxCard
int maxWordLen
int numOfGens
UniformRandom r

Friends

ostream& operator<< (ostream &ostr, const GASubgroup &S)


Constructor & Destructor Documentation

GASubgroup::GASubgroup ( )
 

GASubgroup::GASubgroup ( const SetOf< Word > & generators ) [inline]
 

Definition at line 41 of file GASubgroup.h.


Member Function Documentation

SetOf< Word > GASubgroup::generators<Word> ( ) const [inline]
 

Definition at line 54 of file GASubgroup.h.

int GASubgroup::fitness ( const GASubgroup & S ) const
 

GASubgroup GASubgroup::mutate ( ) const
 

GASubgroup GASubgroup::crossover ( const GASubgroup & S ) const
 

GASubgroup GASubgroup::randomSubgroup ( ) const
 

Word GASubgroup::randomWord ( ) const [private]
 

int GASubgroup::randomGen ( ) const [private]
 


Friends And Related Function Documentation

ostream & operator<< ( ostream & ostr,
const GASubgroup & S ) [friend]
 

Definition at line 72 of file GASubgroup.h.


Member Data Documentation

SetOf<Word> GASubgroup::gens [private]
 

Definition at line 105 of file GASubgroup.h.

int GASubgroup::maxCard [static, private]
 

Definition at line 106 of file GASubgroup.h.

int GASubgroup::maxWordLen [static, private]
 

Definition at line 107 of file GASubgroup.h.

int GASubgroup::numOfGens [static, private]
 

Definition at line 108 of file GASubgroup.h.

UniformRandom GASubgroup::r [static, private]
 

Definition at line 109 of file GASubgroup.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:49:54 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001