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

CosetRelationsSet Class Reference

#include <CosetRelations.h>

List of all members.

Public Methods

 CosetRelationsSet (int num_of_gens)
const BTree<int,int>& relationsOf (Generator i) const
bool addRelation (int first, const Generator &g, int second, bool inverse=false)
int getRelationNumber (int,const Generator &) const
void replaceCosets (int good, int bad)
int numberOfCollisions () const
bool removeCollision (int)
bool collision (int &good, int &bad) const
int indexRelOf (const Generator &g) const
Generator genOfRels (int i) const

Private Methods

 CosetRelationsSet (const CosetRelationsSet &)
void addCollision (int bad, int good)

Private Attributes

int numOfCollisions
VectorOf<BTree<int,int> > relations
BTree< int, int > theCollisions


ostream& operator<< (ostream &ostr, const CosetRelationsSet &cr)

Constructor & Destructor Documentation

CosetRelationsSet::CosetRelationsSet ( int num_of_gens ) [inline]

Definition at line 33 of file CosetRelations.h.

CosetRelationsSet::CosetRelationsSet ( const CosetRelationsSet & ) [private]

Member Function Documentation

const BTree< int, int > & CosetRelationsSet::relationsOf<int,int> ( Generator i ) const [inline]

Definition at line 38 of file CosetRelations.h.

bool CosetRelationsSet::addRelation ( int first,
const Generator & g,
int second,
bool inverse = false )

int CosetRelationsSet::getRelationNumber ( int,
const Generator & ) const

void CosetRelationsSet::replaceCosets ( int good,
int bad )

int CosetRelationsSet::numberOfCollisions ( ) const

bool CosetRelationsSet::removeCollision ( int )

bool CosetRelationsSet::collision ( int & good,
int & bad ) const

int CosetRelationsSet::indexRelOf ( const Generator & g ) const

Referenced by relationsOf().

Generator CosetRelationsSet::genOfRels ( int i ) const

void CosetRelationsSet::addCollision ( int bad,
int good ) [private]

Friends And Related Function Documentation

ostream & operator<< ( ostream & ostr,
const CosetRelationsSet & cr ) [friend]

Definition at line 74 of file CosetRelations.h.

Member Data Documentation

int CosetRelationsSet::numOfCollisions [private]

Definition at line 94 of file CosetRelations.h.

VectorOf<BTree<int,int> > CosetRelationsSet::relations [private]

Definition at line 97 of file CosetRelations.h.

BTree< int, int > CosetRelationsSet::theCollisions [private]

Definition at line 100 of file CosetRelations.h.

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