permlib  0.2.6
Library for permutation computations
 All Classes Functions Variables Typedefs Enumerations Friends
Public Member Functions | Protected Member Functions | Protected Attributes
permlib::NamedGroupType Class Reference

abstract base class for named groups (such as cyclic and symmetric groups) More...

#include <group_type.h>

Inheritance diagram for permlib::NamedGroupType:
permlib::GroupType permlib::AlternatingGroupType permlib::CyclicGroupType permlib::SymmetricGroupType

List of all members.

Public Member Functions

virtual void writeTypeToStream (std::ostream &o) const
 writes type specific string to output stream
const char * name () const
 the name of the group
unsigned int typeDegree () const
 the degree of the named group to which the real action is isomorphic to

Protected Member Functions

 NamedGroupType (const char *name_, unsigned int typeDegree_, unsigned int realDegree_)
virtual bool equalsType (const GroupType *type_) const
 checks if two group types represent the same permutation group

Protected Attributes

const char * m_name
unsigned int m_typeDegree

Detailed Description

abstract base class for named groups (such as cyclic and symmetric groups)


Constructor & Destructor Documentation

permlib::NamedGroupType::NamedGroupType ( const char *  name_,
unsigned int  typeDegree_,
unsigned int  realDegree_ 
) [inline, protected]
Parameters:
nameshort name for the group
typeDegreedegree of named group to which the real action is isomorphic to
realDegreethe number of elements the permutation group acts on

Member Function Documentation

virtual bool permlib::NamedGroupType::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.


The documentation for this class was generated from the following file: