permlib
0.2.6
Library for permutation computations
|
Group type for a trivial permutation group. More...
#include <group_type.h>
Public Member Functions | |
TrivialGroupType (unsigned int realDegree_) | |
virtual void | writeTypeToStream (std::ostream &o) const |
writes type specific string to output stream | |
Protected Member Functions | |
virtual bool | equalsType (const GroupType *type_) const |
checks if two group types represent the same permutation group |
Group type for a trivial permutation group.
permlib::TrivialGroupType::TrivialGroupType | ( | unsigned int | realDegree_ | ) | [inline] |
realDegree | the number of elements the permutation group acts on |
virtual bool permlib::TrivialGroupType::equalsType | ( | const GroupType * | type_ | ) | const [inline, protected, virtual] |
checks if two group types represent the same permutation group
This method may expect that the given group type is of the same type as itself. Thus it may cast type to its own type.
Reimplemented from permlib::GroupType.