PowerWordRep Class Reference

#include <PowerWordRep.h>

Inheritance diagram for PowerWordRep:
RefCounter

List of all members.

Public Member Functions

PowerWordRepclone () const
const list< PII > & getList () const
list< PII > & getList ()
ostream & printOn (ostream &os) const

Private Types

typedef pair< int, int > PII

Private Member Functions

 PowerWordRep ()
 PowerWordRep (const list< PII > &gens)
 PowerWordRep (const vector< PII > &gens)
 PowerWordRep (const PowerWordRep &wr)
 PowerWordRep (const list< int > &gens)
 PowerWordRep (const vector< int > &gens)
 PowerWordRep (int g, int p=1)
PowerWordRep operator= (const PowerWordRep wr)
PowerWordRepoperator*= (const PowerWordRep &w)
bool operator< (const PowerWordRep &wr) const
bool operator> (const PowerWordRep &wr) const
bool operator== (const PowerWordRep &wr) const
PowerWordRep operator* (const PowerWordRep &w) const
bool doesContain (int gen) const
int length () const
int exponentSum (int gen) const
int isIn (int gen) const
int getPower (PowerWordRep &base) const
PowerWordRep inverse () const
void cyclicallyReduce ()
void cyclicallyReduce (PowerWordRep &conjugator)
void cyclicLeftShift ()
void cyclicRightShift ()
void cyclicallyPermute (int n)
void segment (int from, int to)
void initialSegment (int to)
void terminalSegment (int from)
void insert (const PowerWordRep &wr, int pos)
void pushGeneratorBack (int g, int p)
void pushGeneratorFront (int g, int p)

Private Attributes

list< PIItheElements
int theLength

Friends

class PowerWord

Detailed Description

Definition at line 28 of file PowerWordRep.h.


Member Typedef Documentation

typedef pair< int , int > PowerWordRep::PII [private]

Definition at line 31 of file PowerWordRep.h.


Constructor & Destructor Documentation

PowerWordRep::PowerWordRep (  )  [private]

Referenced by clone().

PowerWordRep::PowerWordRep ( const list< PII > &  gens  )  [private]
PowerWordRep::PowerWordRep ( const vector< PII > &  gens  )  [private]
PowerWordRep::PowerWordRep ( const PowerWordRep wr  )  [private]
PowerWordRep::PowerWordRep ( const list< int > &  gens  )  [private]
PowerWordRep::PowerWordRep ( const vector< int > &  gens  )  [private]
PowerWordRep::PowerWordRep ( int  g,
int  p = 1 
) [private]

Member Function Documentation

PowerWordRep* PowerWordRep::clone (  )  const [inline]

Definition at line 83 of file PowerWordRep.h.

References PowerWordRep().

void PowerWordRep::cyclicallyPermute ( int  n  )  [private]
void PowerWordRep::cyclicallyReduce ( PowerWordRep conjugator  )  [private]
void PowerWordRep::cyclicallyReduce (  )  [private]
void PowerWordRep::cyclicLeftShift (  )  [private]
void PowerWordRep::cyclicRightShift (  )  [private]
bool PowerWordRep::doesContain ( int  gen  )  const [private]

Referenced by PowerWord::doesContain().

int PowerWordRep::exponentSum ( int  gen  )  const [private]

Referenced by PowerWord::exponentSum().

list< PII >& PowerWordRep::getList (  )  [inline]

Definition at line 86 of file PowerWordRep.h.

References theElements.

const list< PII >& PowerWordRep::getList (  )  const [inline]

Definition at line 85 of file PowerWordRep.h.

References theElements.

Referenced by PowerWord::getList().

int PowerWordRep::getPower ( PowerWordRep base  )  const [private]

Referenced by PowerWord::getPower().

void PowerWordRep::initialSegment ( int  to  )  [private]
void PowerWordRep::insert ( const PowerWordRep wr,
int  pos 
) [private]
PowerWordRep PowerWordRep::inverse (  )  const [private]
int PowerWordRep::isIn ( int  gen  )  const [private]

Referenced by PowerWord::isIn().

int PowerWordRep::length (  )  const [inline, private]

Definition at line 93 of file PowerWordRep.h.

References theLength.

Referenced by PowerWord::length().

PowerWordRep PowerWordRep::operator* ( const PowerWordRep w  )  const [inline, private]

Definition at line 69 of file PowerWordRep.h.

PowerWordRep& PowerWordRep::operator*= ( const PowerWordRep w  )  [private]
bool PowerWordRep::operator< ( const PowerWordRep wr  )  const [private]
PowerWordRep PowerWordRep::operator= ( const PowerWordRep  wr  )  [private]
bool PowerWordRep::operator== ( const PowerWordRep wr  )  const [private]
bool PowerWordRep::operator> ( const PowerWordRep wr  )  const [private]
ostream& PowerWordRep::printOn ( ostream &  os  )  const [inline]

Definition at line 141 of file PowerWordRep.h.

References theElements.

Referenced by PowerWord::printOn().

void PowerWordRep::pushGeneratorBack ( int  g,
int  p 
) [private]

Referenced by PowerWord::push_back().

void PowerWordRep::pushGeneratorFront ( int  g,
int  p 
) [private]

Referenced by PowerWord::push_front().

void PowerWordRep::segment ( int  from,
int  to 
) [private]
void PowerWordRep::terminalSegment ( int  from  )  [private]

Friends And Related Function Documentation

friend class PowerWord [friend]

Definition at line 30 of file PowerWordRep.h.


Member Data Documentation

list< PII > PowerWordRep::theElements [private]

Definition at line 173 of file PowerWordRep.h.

Referenced by getList(), and printOn().

int PowerWordRep::theLength [private]

Definition at line 176 of file PowerWordRep.h.

Referenced by length().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:50 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1