WhiteheadAutoSetType2 Class Reference

Implements the set of Whitehead automorphisms of type II. More...

#include <WhiteheadAutoSet.h>

Inheritance diagram for WhiteheadAutoSetType2:
AutoSet

List of all members.

Public Member Functions

 WhiteheadAutoSetType2 (int n)
 Constructor. Generates the set of Whitehead automorphisms of type II.
 ~WhiteheadAutoSetType2 ()
const SetOfMapsgetSet () const
 Returns a random Whitehead automorphism.
const MapgetRandomAuto () const
 Returns the set of Whitehead automorphisms.

Private Member Functions

Map getMap (int n, const vector< int > &tCounts, Word a)
void computeSet (int n)

Private Attributes

SetOfMaps theSet
int nGens

Static Private Attributes

static const int nElemAutos = 4

Detailed Description

Implements the set of Whitehead automorphisms of type II.

Whitehead automorphisms of the type II are the Whitehead automorphisms which may alter the length of an input word. Basically it is all the Whitehead automorphisms excluding permutations of the generators.

Definition at line 169 of file WhiteheadAutoSet.h.


Constructor & Destructor Documentation

WhiteheadAutoSetType2::WhiteheadAutoSetType2 ( int  n  ) 

Constructor. Generates the set of Whitehead automorphisms of type II.

The set of Whitehead automorphisms for a free group of rank n is generated.
Note, the whole set is generated by enumeration. $ \O(2^n)$ automorphisms. This is a brute force approach and inapplicable for groups with large ranks.

Parameters:
n - rank of a free group.
WhiteheadAutoSetType2::~WhiteheadAutoSetType2 (  ) 

Member Function Documentation

void WhiteheadAutoSetType2::computeSet ( int  n  )  [private]
Map WhiteheadAutoSetType2::getMap ( int  n,
const vector< int > &  tCounts,
Word  a 
) [private]
const Map& WhiteheadAutoSetType2::getRandomAuto (  )  const

Returns the set of Whitehead automorphisms.

Returns:
the set of Whitehead automorphisms.
const SetOfMaps& WhiteheadAutoSetType2::getSet (  )  const [inline, virtual]

Returns a random Whitehead automorphism.

Returns:
Whitehead automorphisms selected uniformly randomly form the set.

Implements AutoSet.

Definition at line 204 of file WhiteheadAutoSet.h.

References theSet.


Member Data Documentation

const int WhiteheadAutoSetType2::nElemAutos = 4 [static, private]

Definition at line 222 of file WhiteheadAutoSet.h.

Definition at line 225 of file WhiteheadAutoSet.h.

Definition at line 224 of file WhiteheadAutoSet.h.

Referenced by getSet().


The documentation for this class was generated from the following file:
 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