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

GAWord Class Reference

#include <GAWord.h>

List of all members.

Public Methods

 GAWord ()
 GAWord (int NumOfGens, const Word &w)
Word getWord () const
GAWord mutate () const
GAWord crossover (const GAWord &w) const
GAWord randomWord () const

Private Methods

int randomGen () const

Private Attributes

int numOfGens
Word theWord

Static Private Attributes

int maxWordLen
UniformRandom r


ostream& operator<< (ostream &ostr, const GAWord &w)

Constructor & Destructor Documentation

GAWord::GAWord ( ) [inline]

Definition at line 40 of file GAWord.h.

GAWord::GAWord ( int NumOfGens,
const Word & w ) [inline]

Definition at line 42 of file GAWord.h.

Member Function Documentation

Word GAWord::getWord ( ) const [inline]

Definition at line 56 of file GAWord.h.

GAWord GAWord::mutate ( ) const

GAWord GAWord::crossover ( const GAWord & w ) const

GAWord GAWord::randomWord ( ) const

int GAWord::randomGen ( ) const [private]

Friends And Related Function Documentation

ostream & operator<< ( ostream & ostr,
const GAWord & w ) [friend]

Definition at line 74 of file GAWord.h.

Member Data Documentation

int GAWord::numOfGens [private]

Definition at line 105 of file GAWord.h.

Word GAWord::theWord [private]

Definition at line 106 of file GAWord.h.

int GAWord::maxWordLen [static, private]

Definition at line 107 of file GAWord.h.

UniformRandom GAWord::r [static, private]

Definition at line 108 of file GAWord.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