#include <PowerWordRep.h>
Inheritance diagram for PowerWordRep:
Public Member Functions | |
PowerWordRep * | clone () 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) |
PowerWordRep & | operator *= (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< PII > | theElements |
int | theLength |
Friends | |
class | PowerWord |
Definition at line 28 of file PowerWordRep.h.
|
Definition at line 31 of file PowerWordRep.h. |
|
Referenced by clone(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 83 of file PowerWordRep.h. References PowerWordRep(). |
|
|
|
|
|
|
|
Referenced by PowerWord::cyclicLeftShift(). |
|
Referenced by PowerWord::cyclicRightShift(). |
|
Referenced by PowerWord::doesContain(). |
|
Referenced by PowerWord::exponentSum(). |
|
Definition at line 86 of file PowerWordRep.h. References theElements. |
|
Definition at line 85 of file PowerWordRep.h. References theElements. Referenced by PowerWord::getList(). |
|
Referenced by PowerWord::getPower(). |
|
|
|
|
|
Referenced by PowerWord::inverse(), and PowerWord::operator-(). |
|
Referenced by PowerWord::isIn(). |
|
Definition at line 93 of file PowerWordRep.h. References theLength. Referenced by PowerWord::length(). |
|
Definition at line 69 of file PowerWordRep.h. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 141 of file PowerWordRep.h. References theElements. Referenced by PowerWord::printOn(). |
|
Referenced by PowerWord::push_back(). |
|
Referenced by PowerWord::push_front(). |
|
|
|
|
|
Definition at line 30 of file PowerWordRep.h. |
|
Definition at line 173 of file PowerWordRep.h. |
|
Definition at line 176 of file PowerWordRep.h. Referenced by length(). |