permlib  0.2.6
Library for permutation computations
 All Classes Functions Variables Typedefs Enumerations Friends
Public Types | Public Member Functions
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 >

List of all members.

Public Types

typedef RefinementFamily< PERM >
::RefinementPtr 
RefinementPtr
typedef RefinementFamily< PERM >
::PartitionPtr 
PartitionPtr

Public Member Functions

template<class InputIterator >
 SetStabilizeRefinementFamily (unsigned long n, InputIterator begin, InputIterator end)
 refinement family for set stabilization of given set
virtual std::pair
< PartitionPtr, RefinementPtr > 
apply (Partition &pi) const
 tries to initialize a suitable Refinement<PERM> for given partition

Detailed Description

template<class PERM>
class permlib::partition::SetStabilizeRefinementFamily< PERM >

$\mathcal P$-refinements for set stabilization


Constructor & Destructor Documentation

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

template<class PERM >
virtual std::pair<PartitionPtr,RefinementPtr> permlib::partition::SetStabilizeRefinementFamily< PERM >::apply ( Partition pi) const [inline, virtual]

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: