permlib  0.2.9
Library for permutation computations
Public Types | Public Member Functions | List of all members
permlib::partition::MatrixAutomorphismRefinementFamily< PERM, MATRIX > Class Template Reference

$\mathcal P$-refinements for symmetric matrix automorphisms More...

#include <refinement_family.h>

Inheritance diagram for permlib::partition::MatrixAutomorphismRefinementFamily< PERM, MATRIX >:
permlib::partition::RefinementFamily< PERM >

Public Types

typedef RefinementFamily< PERM >::RefinementPtr RefinementPtr
 
typedef RefinementFamily< PERM >::PartitionPtr PartitionPtr
 
- Public Types inherited from permlib::partition::RefinementFamily< PERM >
typedef Refinement< PERM >::RefinementPtr RefinementPtr
 
typedef boost::shared_ptr< PartitionPartitionPtr
 

Public Member Functions

 MatrixAutomorphismRefinementFamily (unsigned long n, const MATRIX &matrix)
 refinement family for symmetric matrix automorphisms More...
 
virtual std::pair< PartitionPtr, RefinementPtr > apply (Partition &pi) const
 tries to initialize a suitable Refinement<PERM> for given partition More...
 
- Public Member Functions inherited from permlib::partition::RefinementFamily< PERM >
virtual ~RefinementFamily ()
 virtual destructor
 

Detailed Description

template<class PERM, class MATRIX>
class permlib::partition::MatrixAutomorphismRefinementFamily< PERM, MATRIX >

$\mathcal P$-refinements for symmetric matrix automorphisms

Constructor & Destructor Documentation

◆ MatrixAutomorphismRefinementFamily()

template<class PERM , class MATRIX >
permlib::partition::MatrixAutomorphismRefinementFamily< PERM, MATRIX >::MatrixAutomorphismRefinementFamily ( unsigned long  n,
const MATRIX &  matrix 
)
inline

refinement family for symmetric matrix automorphisms

Parameters
nlength of partitions to work with
matrixsymmetric matrix

Member Function Documentation

◆ apply()

template<class PERM , class MATRIX >
virtual std::pair<PartitionPtr,RefinementPtr> permlib::partition::MatrixAutomorphismRefinementFamily< PERM, MATRIX >::apply ( Partition pi) const
inlinevirtual

tries to initialize a suitable Refinement<PERM> for given partition

Parameters
pipartition to initialize the refinement to
Returns
pair of the result of refinement application and refinement if a strict refinement could be found; NULL-pointers otherwise

Implements permlib::partition::RefinementFamily< PERM >.


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