Interface class for Whitehead graphs. More...
#include <WhiteheadGraph.h>
Public Member Functions | |
WhiteheadGraph (const Word &w, int num_of_gens) | |
Constructor. | |
const Word & | getWord () const |
Get the input word. | |
WhiteheadGraph (int n_gens, const Word &w) | |
template<class ConstIterator > | |
void | assign (int n_gens, ConstIterator B, ConstIterator E) |
const Graph & | getGraph () |
Protected Attributes | |
Word | theWord |
The input word. | |
int | nOfGenerators |
The number of generators in the group. | |
Private Attributes | |
Graph | theGraph |
Interface class for Whitehead graphs.
Definition at line 121 of file WhiteheadGraph.h.
WhiteheadGraph::WhiteheadGraph | ( | const Word & | w, | |
int | num_of_gens | |||
) | [inline] |
Constructor.
w | - the input word. | |
num_of_gens | - the number of generators in the corresponding group (i.e. . |
Definition at line 130 of file WhiteheadGraph.h.
WhiteheadGraph::WhiteheadGraph | ( | int | n_gens, | |
const Word & | w | |||
) | [inline] |
Definition at line 35 of file WhiteheadGraph.h.
References assign(), Word::begin(), and Word::end().
void WhiteheadGraph::assign | ( | int | n_gens, | |
ConstIterator | B, | |||
ConstIterator | E | |||
) | [inline] |
Definition at line 44 of file WhiteheadGraph.h.
References Graph::clear(), Graph::newEdge(), and theGraph.
Referenced by WhiteheadGraph().
const Graph& WhiteheadGraph::getGraph | ( | ) | [inline] |
Definition at line 65 of file WhiteheadGraph.h.
References theGraph.
const Word& WhiteheadGraph::getWord | ( | ) | const [inline] |
int WhiteheadGraph::nOfGenerators [protected] |
The number of generators in the group.
Definition at line 143 of file WhiteheadGraph.h.
Referenced by WhiteheadSimpleGraph::genToIndex(), and WhiteheadSimpleGraph::indToGenerator().
Graph WhiteheadGraph::theGraph [private] |
Definition at line 76 of file WhiteheadGraph.h.
Referenced by assign(), and getGraph().
Word WhiteheadGraph::theWord [protected] |