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

WordOrderRep Class Reference

#include <WordOrderRep.h>

Inheritance diagram for WordOrderRep::

RefCounter InvPairWreathRep ShortLexRep WtLexRep WtShortLexRep List of all members.

Public Methods

 WordOrderRep ()
 WordOrderRep (const Chars &oType)
 WordOrderRep (const VectorOf< int > &o)
 WordOrderRep (int numOfSymbols)
 WordOrderRep (const Chars &oType, int numOfSymbols)
 WordOrderRep (const Chars &oType, const VectorOf< int > &o)
 WordOrderRep (const WordOrderRep &word_order)
virtual WordOrderRep* clone () const
 ~WordOrderRep ()
virtual int signature (const Word &w1, const Word &w2) const
virtual int signature (int i, int j) const
virtual int signature (Generator g, Generator h) const
virtual void balancedEquationFromRelator (const Word &w, Word &lhs, Word &rhs) const
virtual int historyBound (const VectorOf< Word > &diffs) const
virtual DiffHistoryRepbuildDiffHistoryRep () const
virtual DiffHistoryRepbuildDiffHistoryRep (State d, int g, int h) const
virtual DiffHistoryRepupdate (const DiffHistoryRep &dh, State d, int g, int h, const Word &wd) const
virtual Bool reduction (const DiffHistoryRep &dh, int g, int h) const
virtual Bool possibleReduction (const AheadInfoRep &ai, int g) const
virtual AheadInfoRepupdate (const AheadInfoRep &ai, int g) const
virtual DiffHistoryVtxRepbuildDiffHistoryVtxRep () const
virtual DiffHistoryVtxRepbuildDiffHistoryVtxRep (State d, int g, int h) const
virtual DiffHistoryVtxRepupdate (const DiffHistoryVtxRep &dh, State d, int g, int h, DiffHistoryVtx *ptr) const
virtual Bool reduction (const DiffHistoryVtxRep &dh, int g, int h) const
virtual Bool possibleReductionAhead (const DiffHistoryVtxRep &dh, int g) const
Chars getOrderType () const
int getNumSymbols () const
int getSymbolIndex (int i) const
Generator getSymbol (int i) const
int getPosition (Generator g) const
Word inverse (const Word &w) const
Bool selfInverse (Generator g) const
virtual int getWeight (int i) const
virtual int getWeight (Generator g) const
virtual int getWeight (const Word &w) const

Protected Attributes

VectorOf<int> order
VectorOf<int> posn
VectorOf<int> invposn
int numSyms

Private Attributes

Chars orderType

Constructor & Destructor Documentation

WordOrderRep::WordOrderRep ( ) [inline]
 

Definition at line 37 of file WordOrderRep.h.

WordOrderRep::WordOrderRep ( const Chars & oType ) [inline]
 

Definition at line 38 of file WordOrderRep.h.

WordOrderRep::WordOrderRep ( const VectorOf< int > & o ) [inline]
 

Definition at line 40 of file WordOrderRep.h.

WordOrderRep::WordOrderRep ( int numOfSymbols ) [inline]
 

Definition at line 53 of file WordOrderRep.h.

WordOrderRep::WordOrderRep ( const Chars & oType,
int numOfSymbols ) [inline]
 

Definition at line 63 of file WordOrderRep.h.

WordOrderRep::WordOrderRep ( const Chars & oType,
const VectorOf< int > & o ) [inline]
 

Definition at line 72 of file WordOrderRep.h.

WordOrderRep::WordOrderRep ( const WordOrderRep & word_order ) [inline]
 

Definition at line 87 of file WordOrderRep.h.

WordOrderRep::~WordOrderRep ( ) [inline]
 

Definition at line 96 of file WordOrderRep.h.


Member Function Documentation

WordOrderRep * WordOrderRep::clone ( ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 94 of file WordOrderRep.h.

int WordOrderRep::signature ( const Word & w1,
const Word & w2 ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 97 of file WordOrderRep.h.

Referenced by WtLexRep::balancedEquationFromRelator(), WtShortLexRep::balancedEquationFromRelator(), ShortLexRep::balancedEquationFromRelator(), WtLexRep::signature(), WtShortLexRep::signature(), and ShortLexRep::signature().

int WordOrderRep::signature ( int i,
int j ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, WtLexRep, and InvPairWreathRep.

Definition at line 98 of file WordOrderRep.h.

int WordOrderRep::signature ( Generator g,
Generator h ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 99 of file WordOrderRep.h.

void WordOrderRep::balancedEquationFromRelator ( const Word & w,
Word & lhs,
Word & rhs ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 101 of file WordOrderRep.h.

int WordOrderRep::historyBound ( const VectorOf< Word > & diffs ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 102 of file WordOrderRep.h.

DiffHistoryRep * WordOrderRep::buildDiffHistoryRep ( ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 103 of file WordOrderRep.h.

DiffHistoryRep * WordOrderRep::buildDiffHistoryRep ( State d,
int g,
int h ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 104 of file WordOrderRep.h.

DiffHistoryRep * WordOrderRep::update ( const DiffHistoryRep & dh,
State d,
int g,
int h,
const Word & wd ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 109 of file WordOrderRep.h.

Bool WordOrderRep::reduction ( const DiffHistoryRep & dh,
int g,
int h ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 115 of file WordOrderRep.h.

Bool WordOrderRep::possibleReduction ( const AheadInfoRep & ai,
int g ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 119 of file WordOrderRep.h.

AheadInfoRep * WordOrderRep::update ( const AheadInfoRep & ai,
int g ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 123 of file WordOrderRep.h.

DiffHistoryVtxRep * WordOrderRep::buildDiffHistoryVtxRep ( ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 125 of file WordOrderRep.h.

DiffHistoryVtxRep * WordOrderRep::buildDiffHistoryVtxRep ( State d,
int g,
int h ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 127 of file WordOrderRep.h.

DiffHistoryVtxRep * WordOrderRep::update ( const DiffHistoryVtxRep & dh,
State d,
int g,
int h,
DiffHistoryVtx * ptr ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 132 of file WordOrderRep.h.

Bool WordOrderRep::reduction ( const DiffHistoryVtxRep & dh,
int g,
int h ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 141 of file WordOrderRep.h.

Bool WordOrderRep::possibleReductionAhead ( const DiffHistoryVtxRep & dh,
int g ) const [inline, virtual]
 

Reimplemented in WtShortLexRep, and WtLexRep.

Definition at line 146 of file WordOrderRep.h.

Chars WordOrderRep::getOrderType ( ) const [inline]
 

Definition at line 153 of file WordOrderRep.h.

int WordOrderRep::getNumSymbols ( ) const [inline]
 

Definition at line 154 of file WordOrderRep.h.

int WordOrderRep::getSymbolIndex ( int i ) const [inline]
 

Definition at line 155 of file WordOrderRep.h.

Generator WordOrderRep::getSymbol ( int i ) const [inline]
 

Definition at line 156 of file WordOrderRep.h.

int WordOrderRep::getPosition ( Generator g ) const [inline]
 

Definition at line 157 of file WordOrderRep.h.

Referenced by WtLexRep::balancedEquationFromRelator(), WtShortLexRep::balancedEquationFromRelator(), WtLexRep::getWeight(), WtShortLexRep::getWeight(), WtLexRep::historyBound(), WtShortLexRep::historyBound(), WtLexRep::signature(), WtShortLexRep::signature(), and ShortLexRep::signature().

Word WordOrderRep::inverse ( const Word & w ) const [inline]
 

Definition at line 161 of file WordOrderRep.h.

Bool WordOrderRep::selfInverse ( Generator g ) const [inline]
 

Definition at line 171 of file WordOrderRep.h.

Referenced by WtLexRep::balancedEquationFromRelator(), WtShortLexRep::balancedEquationFromRelator(), ShortLexRep::balancedEquationFromRelator(), and inverse().

int WordOrderRep::getWeight ( int i ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 174 of file WordOrderRep.h.

Referenced by WtLexRep::update(), and WtShortLexRep::update().

int WordOrderRep::getWeight ( Generator g ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 175 of file WordOrderRep.h.

int WordOrderRep::getWeight ( const Word & w ) const [inline, virtual]
 

Reimplemented in ShortLexRep, WtShortLexRep, and WtLexRep.

Definition at line 176 of file WordOrderRep.h.


Member Data Documentation

VectorOf<int> WordOrderRep::order [protected]
 

Definition at line 178 of file WordOrderRep.h.

VectorOf<int> WordOrderRep::posn [protected]
 

Definition at line 179 of file WordOrderRep.h.

VectorOf<int> WordOrderRep::invposn [protected]
 

Definition at line 181 of file WordOrderRep.h.

int WordOrderRep::numSyms [protected]
 

Definition at line 183 of file WordOrderRep.h.

Chars WordOrderRep::orderType [private]
 

Definition at line 185 of file WordOrderRep.h.


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