#include <FreeGroup.h>
Public Member Functions | |
FreeGroup (int rank) | |
(Constructor) Free group of the given rank. | |
FreeGroup (const FiniteAlphabet &a) | |
bool | isPrimitive (const Word &w) const |
Determine if the word w is primitive or not. | |
bool | isAlmostPrimitive (const Word &w) const |
Determine if the word w is almost primitive or not. | |
bool | doesContain (const SubgroupFG &sbgp, const Word &w) const |
Determine whether a subgroup sbgp of a free group contains a word w. | |
const FiniteAlphabet & | getAlphabet () const |
Private Attributes | |
int | theRank |
FiniteAlphabet | theAlphabet |
bool | useDefaultAlphabet |
Friends | |
ostream & | operator<< (ostream &out, const FreeGroup &g) |
Output the presentation into a stream. | |
istream & | operator>> (istream &in, FreeGroup &g) |
Read an alphabet from a string. |
Definition at line 24 of file FreeGroup.h.
|
(Constructor) Free group of the given rank.
|
|
|
|
Determine whether a subgroup sbgp of a free group contains a word w.
|
|
Definition at line 56 of file FreeGroup.h. References theAlphabet. |
|
Determine if the word w is almost primitive or not.
|
|
Determine if the word w is primitive or not.
|
|
Output the presentation into a stream.
Definition at line 65 of file FreeGroup.h. |
|
Read an alphabet from a string.
Definition at line 75 of file FreeGroup.h. |
|
Definition at line 92 of file FreeGroup.h. Referenced by getAlphabet(). |
|
Definition at line 91 of file FreeGroup.h. |
|
Definition at line 93 of file FreeGroup.h. |