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

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

#include <refinement_family.h>

Inheritance diagram for permlib::partition::SetImageRefinementFamily< 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 >
 SetImageRefinementFamily (unsigned long n, InputIterator begin, InputIterator end, InputIterator beginImg, InputIterator endImg)
 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::SetImageRefinementFamily< PERM >

$\mathcal P$-refinements for set stabilization

Constructor & Destructor Documentation

◆ SetImageRefinementFamily()

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

refinement family for set stabilization of given set

Parameters
nlength of partitions to work with
beginiterator(unsigned long) begin of the set $\Delta$
enditerator(unsigned long) end of the set $\Delta$
beginImgiterator(unsigned long) begin of the set $\Gamma$
endImgiterator(unsigned long) end of the set $\Gamma$

Member Function Documentation

◆ apply()

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