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

Group type for a direct product of two groups. More...

#include <group_type.h>

Inheritance diagram for permlib::DirectProductGroupType:
permlib::GroupType

List of all members.

Public Member Functions

 DirectProductGroupType (const GroupType *type1, const GroupType *type2, unsigned int realDegree_)
virtual void writeTypeToStream (std::ostream &o) const
 writes type specific string to output stream

Protected Types

typedef boost::shared_ptr
< const GroupType
GroupTypePtr

Protected Member Functions

virtual bool equalsType (const GroupType *type_) const
 checks if two group types represent the same permutation group

Protected Attributes

std::vector< GroupTypePtr > m_components

Detailed Description

Group type for a direct product of two groups.


Constructor & Destructor Documentation

permlib::DirectProductGroupType::DirectProductGroupType ( const GroupType type1,
const GroupType type2,
unsigned int  realDegree_ 
) [inline]
Parameters:
type1type of first factor
type2type of second factor
realDegreethe number of elements the permutation group acts on

Member Function Documentation

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