|
Public Member Functions |
WordRep * | clone () const |
const list< int > & | getList () const |
list< int > & | getList () |
ostream & | printOn (ostream &os) const |
Private Types |
typedef pair< int, int > | PII |
Private Member Functions |
| WordRep () |
| WordRep (const WordRep &wr) |
| WordRep (const list< int > &gens) |
| WordRep (const vector< int > &gens) |
| WordRep (int g) |
WordRep | operator= (const WordRep wr) |
WordRep & | operator *= (const WordRep &w) |
bool | operator< (const WordRep &wr) const |
bool | operator> (const WordRep &wr) const |
bool | operator== (const WordRep &wr) const |
WordRep | operator * (const WordRep &w) const |
bool | doesContain (int gen) const |
int | length () const |
int | exponentSum (int gen) const |
int | isIn (int gen) const |
int | getPower (WordRep &base) const |
WordRep | inverse () const |
void | freelyReduce (WordIterator beg, WordIterator end) |
void | cyclicallyReduce () |
void | cyclicallyReduce (WordRep &conjugator) |
void | cyclicLeftShift () |
void | cyclicRightShift () |
void | cyclicallyPermute (int n) |
void | segment (int from, int to) |
void | initialSegment (int to) |
void | terminalSegment (int from) |
template<class ConstIntIterator> |
void | insert (int pos, ConstIntIterator B, ConstIntIterator E) |
template<class ConstIntIterator> |
void | insert (WordIterator it, ConstIntIterator B, ConstIntIterator E) |
void | insert (int pos, int g) |
void | insert (WordIterator it, int g) |
void | replace (WordIterator it, const Generator &g) |
void | replace (int pos, const Generator &g) |
template<class ConstIntIterator> |
void | replace (WordIterator it, ConstIntIterator B, ConstIntIterator E) |
void | push_back (int g) |
void | push_front (int g) |
Private Attributes |
list< int > | theElements |
Friends |
class | Word |