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

NCChunkRep Class Reference

#include <GeneticGraphWP.h>

Inheritance diagram for NCChunkRep::

SubgroupGraphRep PureRep RefCounter List of all members.

Public Methods

 NCChunkRep (int rank, SetOf< Word > S)
 NCChunkRep (const NCChunkRep &G)
 NCChunkRep (const SubgroupGraphRep &G)
 ~NCChunkRep ()
void deleteVertex (VertexType v)
void collectGarbage ()
void updateDistanceTable ()
void reduce (const Word &)
long getDistance (VertexType v) const
NCChunkRep* join (const NCChunkRep &C) const
NCChunkRep* clone () const

Private Methods

bool isGarbage (VertexType v)
void moveVertex (VertexType source, VertexType target)
int power (VertexType v)
SetOf<Integer> getWordVertices (const Word &) const

Private Attributes

long* distance

Constructor & Destructor Documentation

NCChunkRep::NCChunkRep ( int rank,
SetOf< Word > S ) [inline]
 

Definition at line 35 of file GeneticGraphWP.h.

Referenced by clone().

NCChunkRep::NCChunkRep ( const NCChunkRep & G ) [inline]
 

Definition at line 38 of file GeneticGraphWP.h.

NCChunkRep::NCChunkRep ( const SubgroupGraphRep & G ) [inline]
 

Definition at line 41 of file GeneticGraphWP.h.

NCChunkRep::~NCChunkRep ( ) [inline]
 

Definition at line 44 of file GeneticGraphWP.h.


Member Function Documentation

void NCChunkRep::deleteVertex ( VertexType v )
 

void NCChunkRep::collectGarbage ( )
 

void NCChunkRep::updateDistanceTable ( )
 

void NCChunkRep::reduce ( const Word & )
 

long NCChunkRep::getDistance ( VertexType v ) const
 

NCChunkRep* NCChunkRep::join ( const NCChunkRep & C ) const
 

NCChunkRep * NCChunkRep::clone ( ) const [inline, virtual]
 

Returns a pointer to a copy of the object. Should be implemented as a member which gives a new `deep-copy' by each representation derived from this; normally, by making it new CopyConstrutor(*this) with CopyConstructor doing `deep-copy' (`' because it is enough for the copy constructor to do logical deep copy).

Reimplemented from SubgroupGraphRep.

Definition at line 58 of file GeneticGraphWP.h.

bool NCChunkRep::isGarbage ( VertexType v ) [private]
 

void NCChunkRep::moveVertex ( VertexType source,
VertexType target ) [private]
 

int NCChunkRep::power ( VertexType v ) [private]
 

SetOf<Integer> NCChunkRep::getWordVertices ( const Word & ) const [private]
 


Member Data Documentation

long* NCChunkRep::distance [private]
 

Definition at line 70 of file GeneticGraphWP.h.


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