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

PMPolynomial Class Reference

#include <PMPolynomial.h>

Inheritance diagram for PMPolynomial::

PM List of all members.

Public Methods

 PMPolynomial (const PMPolyConfig &CFG, Polynomial< Int2 > p=Polynomial< Int2 >())
PMclone () const
PMcrossover (const PM *)
PMmutate ()
PMrandomPM ()
void printOn (ostream &ostr) const
Polynomial<Int2getPolynomial () const
const PMPolyConfiggetCfg ()
bool operator== (const PM &pm) const

Private Methods

Monomial<Int2randomMonomial (int maxCoef, int maxNumOfVars, int maxPower, int absentVar)
Polynomial<Int2randomPolynomial (int maxNumOfMonoms, int absentVar)

Private Attributes

const PMPolyConfigcfg
Polynomial<Int2poly

Constructor & Destructor Documentation

PMPolynomial::PMPolynomial ( const PMPolyConfig & CFG,
Polynomial< Int2 > p = Polynomial<Int2>() ) [inline]
 

Definition at line 110 of file PMPolynomial.h.

Referenced by clone().


Member Function Documentation

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

Reimplemented from PM.

Definition at line 123 of file PMPolynomial.h.

PM * PMPolynomial::crossover ( const PM * ) [inline, virtual]
 

Reimplemented from PM.

Definition at line 132 of file PMPolynomial.h.

PM* PMPolynomial::mutate ( ) [virtual]
 

Reimplemented from PM.

PM * PMPolynomial::randomPM ( ) [inline, virtual]
 

Reimplemented from PM.

Definition at line 136 of file PMPolynomial.h.

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

Reimplemented from PM.

Definition at line 139 of file PMPolynomial.h.

Polynomial< Int2 > PMPolynomial::getPolynomial<Int2> ( ) const [inline]
 

Definition at line 148 of file PMPolynomial.h.

const PMPolyConfig & PMPolynomial::getCfg ( ) [inline]
 

Definition at line 150 of file PMPolynomial.h.

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

Reimplemented from PM.

Definition at line 152 of file PMPolynomial.h.

Monomial<Int2> PMPolynomial::randomMonomial ( int maxCoef,
int maxNumOfVars,
int maxPower,
int absentVar ) [private]
 

Polynomial<Int2> PMPolynomial::randomPolynomial ( int maxNumOfMonoms,
int absentVar ) [private]
 


Member Data Documentation

const PMPolyConfig& PMPolynomial::cfg [private]
 

Definition at line 176 of file PMPolynomial.h.

Polynomial<Int2> PMPolynomial::poly [private]
 

Definition at line 177 of file PMPolynomial.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