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

PMWord Class Reference

#include <PMWord.h>

Inheritance diagram for PMWord::

PM List of all members.

Public Methods

 PMWord (const PMWordConfig &CFG, Word w=Word())
PMclone () const
PMcrossover (const PM *)
PMmutate ()
PMrandomPM ()
void printOn (ostream &ostr) const
Word getWord () const
const PMWordConfiggetCfg ()
bool operator== (const PM &pm) const

Private Methods

int randomGen ()

Private Attributes

const PMWordConfigcfg
Word theWord

Constructor & Destructor Documentation

PMWord::PMWord ( const PMWordConfig & CFG,
Word w = Word() ) [inline]
 

Definition at line 106 of file PMWord.h.

Referenced by clone().


Member Function Documentation

PM * PMWord::clone ( ) const [inline, virtual]
 

Reimplemented from PM.

Definition at line 118 of file PMWord.h.

PM* PMWord::crossover ( const PM * ) [virtual]
 

Reimplemented from PM.

PM* PMWord::mutate ( ) [virtual]
 

Reimplemented from PM.

PM* PMWord::randomPM ( ) [virtual]
 

Reimplemented from PM.

void PMWord::printOn ( ostream & ostr ) const [inline, virtual]
 

Reimplemented from PM.

Definition at line 133 of file PMWord.h.

Word PMWord::getWord ( ) const [inline]
 

Definition at line 142 of file PMWord.h.

const PMWordConfig & PMWord::getCfg ( ) [inline]
 

Definition at line 144 of file PMWord.h.

bool PMWord::operator== ( const PM & pm ) const [inline, virtual]
 

Reimplemented from PM.

Definition at line 146 of file PMWord.h.

int PMWord::randomGen ( ) [private]
 


Member Data Documentation

const PMWordConfig& PMWord::cfg [private]
 

Definition at line 167 of file PMWord.h.

Word PMWord::theWord [private]
 

Definition at line 168 of file PMWord.h.


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