permlib  0.2.8
Library for permutation computations
 All Classes Functions Variables Typedefs Enumerations Friends
Public Member Functions | Protected Member Functions
permlib::TrivialGroupType Class Reference

Group type for a trivial permutation group. More...

#include <group_type.h>

Inheritance diagram for permlib::TrivialGroupType:
permlib::GroupType

List of all members.

Public Member Functions

 TrivialGroupType (unsigned int realDegree_)
virtual void writeTypeToStream (std::ostream &o) const
 writes type specific string to output stream
- Public Member Functions inherited from permlib::GroupType
void writeToStream (std::ostream &o) const
 writes a human readable identifier to the given output stream
unsigned int realDegree () const
 the degree of the group as permutation group
bool isNaturalAction () const
 returns true iff action is natural
Type type () const
 the type of this the group
bool equals (const GroupType *type_) const
 checks if two group types represent the same permutation group
void setNonNaturalAction (unsigned int realDegree_)
 stores the information that this group acts non-naturally on realDegree many elements
virtual ~GroupType ()
 destructor

Protected Member Functions

virtual bool equalsType (const GroupType *type_) const
 checks if two group types represent the same permutation group
- Protected Member Functions inherited from permlib::GroupType
 GroupType (Type type_, unsigned int realDegree_, bool naturalAction)
 protected constructor

Additional Inherited Members

- Public Types inherited from permlib::GroupType
enum  Type {
  None, Trivial, Named, Anonymous,
  WreathSymmetric, DirectProduct
}
 types for which an implementation of GroupType exists
- Protected Attributes inherited from permlib::GroupType
Type m_type
 group type
unsigned int m_realDegree
 degree of the permutation group
bool m_naturalAction
 stores whether action is natural

Detailed Description

Group type for a trivial permutation group.


Constructor & Destructor Documentation

permlib::TrivialGroupType::TrivialGroupType ( unsigned int  realDegree_)
inline
Parameters:
realDegreethe number of elements the permutation group acts on

Member Function Documentation

virtual bool permlib::TrivialGroupType::equalsType ( const GroupType type_) const
inlineprotectedvirtual

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: