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

$\mathcal P$-refinements for set stabilization More...

#include <refinement_family.h>

Inheritance diagram for permlib::partition::SetStabilizeRefinementFamily< PERM >:
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

template<class InputIterator >
 SetStabilizeRefinementFamily (unsigned long n, InputIterator begin, InputIterator end)
 refinement family for set stabilization of given set 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 permlib::partition::SetStabilizeRefinementFamily< PERM >

$\mathcal P$-refinements for set stabilization

Constructor & Destructor Documentation

◆ SetStabilizeRefinementFamily()

template<class PERM >
template<class InputIterator >
permlib::partition::SetStabilizeRefinementFamily< PERM >::SetStabilizeRefinementFamily ( unsigned long  n,
InputIterator  begin,
InputIterator  end 
)
inline

refinement family for set stabilization of given set

Parameters
nlength of partitions to work with
beginbegin iterator(unsigned long) to set which is to stabilize
endend iterator(unsigned long) to set which is to stabilize

Member Function Documentation

◆ apply()

template<class PERM >
virtual std::pair<PartitionPtr,RefinementPtr> permlib::partition::SetStabilizeRefinementFamily< PERM >::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: