WhiteheadGraph Class Reference

Interface class for Whitehead graphs. More...

#include <WhiteheadGraph.h>

Inheritance diagram for WhiteheadGraph:
WhiteheadMultiGraph WhiteheadSimpleGraph

List of all members.

Public Member Functions

 WhiteheadGraph (const Word &w, int num_of_gens)
 Constructor.
const WordgetWord () 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 GraphgetGraph ()

Protected Attributes

Word theWord
 The input word.
int nOfGenerators
 The number of generators in the group.

Private Attributes

Graph theGraph

Detailed Description

Interface class for Whitehead graphs.

Definition at line 121 of file WhiteheadGraph.h.


Constructor & Destructor Documentation

WhiteheadGraph::WhiteheadGraph ( const Word w,
int  num_of_gens 
) [inline]

Constructor.

Parameters:
w - the input word.
num_of_gens - the number of generators in the corresponding group (i.e. $ w \in F_{num_of_gens}$.

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().


Member Function Documentation

template<class ConstIterator >
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]

Get the input word.

Definition at line 138 of file WhiteheadGraph.h.

References theWord.


Member Data Documentation

The number of generators in the group.

Definition at line 143 of file WhiteheadGraph.h.

Referenced by WhiteheadSimpleGraph::genToIndex(), and WhiteheadSimpleGraph::indToGenerator().

Definition at line 76 of file WhiteheadGraph.h.

Referenced by assign(), and getGraph().

The input word.

Definition at line 141 of file WhiteheadGraph.h.

Referenced by getWord().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Sep 26 18:43:52 2011 for CRyptography And Groups (CRAG) by  doxygen 1.6.1