#include <WordRep.h>
Inheritance diagram for WordRep:
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) | |
template<class IntIterator> | |
WordRep (const IntIterator &B, const IntIterator &E) | |
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 &conjugator) |
Conjugate a word by another word. | |
WordRep | operator^ (const WordRep &conjugator) const |
WordRep & | operator^= (int power) |
Raise a word into a power. | |
WordRep | operator^ (int power) 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 | clear () |
Make a word trivial. | |
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) |
void | pop_back () |
void | pop_front () |
Private Attributes | |
list< int > | theElements |
Friends | |
class | Word |
Definition at line 30 of file WordRep.h.
|
|
|
Referenced by clone(). |
|
|
|
|
|
|
|
Definition at line 49 of file WordRep.h. References push_back(). |
|
|
|
Make a word trivial.
Definition at line 138 of file WordRep.h. References theElements. |
|
Definition at line 108 of file WordRep.h. References WordRep(). |
|
|
|
|
|
|
|
Referenced by Word::cyclicLeftShift(). |
|
Referenced by Word::cyclicRightShift(). |
|
Referenced by Word::doesContain(). |
|
Referenced by Word::exponentSum(). |
|
|
|
Definition at line 111 of file WordRep.h. References theElements. |
|
Definition at line 110 of file WordRep.h. References theElements. Referenced by Word::getList(). |
|
Referenced by Word::getPower(). |
|
|
|
|
|
|
|
|
|
|
|
Referenced by Word::inverse(), and Word::operator-(). |
|
Referenced by Word::isIn(). |
|
Definition at line 118 of file WordRep.h. References theElements. Referenced by Word::length(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Raise a word into a power.
|
|
Conjugate a word by another word.
|
|
Definition at line 196 of file WordRep.h. References theElements. Referenced by Word::pop_back(). |
|
Definition at line 197 of file WordRep.h. References theElements. Referenced by Word::pop_front(). |
|
|
|
Referenced by Word::push_back(), and WordRep(). |
|
Referenced by Word::push_front(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 207 of file WordRep.h. Referenced by clear(), getList(), length(), pop_back(), and pop_front(). |