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

PermutationRepresentation Class Reference

#include <CosetEnumerator.h>

List of all members.

Public Methods

 PermutationRepresentation ()
 PermutationRepresentation (const PermutationRepresentation &p)
 ~PermutationRepresentation ()
PermutationRepresentation& operator= (const PermutationRepresentation &p)
void printOn (const VectorOf< Chars > &n, ostream &ostr) const
Word representativeOf (const Word &) const
const VectorOf<Word>& getRepresentatives () const
bool isEmpty () const

Private Methods

 PermutationRepresentation (int numOfGens)
void addCycle (int g, const VectorOf< int > &v)
void setRepresentatives (const VectorOf< Word > &r)
int searchNext (const Generator &g, int coset) const

Private Attributes

ListOf< VectorOf<int> >* permTable
int numberOfGens


class  CosetEnumerator
ostream& operator< (ostream &ostr, const PermutationRepresentation &PR)
istream& operator> (istream &istr, PermutationRepresentation &PR)

Constructor & Destructor Documentation

PermutationRepresentation::PermutationRepresentation ( ) [inline]

Definition at line 30 of file CosetEnumerator.h.

PermutationRepresentation::PermutationRepresentation ( const PermutationRepresentation & p )

PermutationRepresentation::~PermutationRepresentation ( ) [inline]

Definition at line 34 of file CosetEnumerator.h.

PermutationRepresentation::PermutationRepresentation ( int numOfGens ) [inline, private]

Definition at line 85 of file CosetEnumerator.h.

Member Function Documentation

PermutationRepresentation& PermutationRepresentation::operator= ( const PermutationRepresentation & p )

void PermutationRepresentation::printOn ( const VectorOf< Chars > & n,
ostream & ostr ) const

Word PermutationRepresentation::representativeOf ( const Word & ) const

const VectorOf< Word > & PermutationRepresentation::getRepresentatives<Word> ( ) const [inline]

Definition at line 48 of file CosetEnumerator.h.

bool PermutationRepresentation::isEmpty ( ) const [inline]

Definition at line 53 of file CosetEnumerator.h.

void PermutationRepresentation::addCycle ( int g,
const VectorOf< int > & v ) [private]

void PermutationRepresentation::setRepresentatives ( const VectorOf< Word > & r ) [inline, private]

Definition at line 92 of file CosetEnumerator.h.

int PermutationRepresentation::searchNext ( const Generator & g,
int coset ) const [private]

Friends And Related Function Documentation

friend class CosetEnumerator [friend]

Definition at line 84 of file CosetEnumerator.h.

ostream & operator< ( ostream & ostr,
const PermutationRepresentation & PR ) [friend]

Definition at line 61 of file CosetEnumerator.h.

istream & operator> ( istream & istr,
PermutationRepresentation & PR ) [friend]

Definition at line 71 of file CosetEnumerator.h.

Member Data Documentation

ListOf< VectorOf<int> >* PermutationRepresentation::permTable [private]

Definition at line 101 of file CosetEnumerator.h.

int PermutationRepresentation::numberOfGens [private]

Definition at line 102 of file CosetEnumerator.h.

VectorOf<Word> PermutationRepresentation::representatives [private]

Definition at line 103 of file CosetEnumerator.h.

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