|
permlib
0.2.9
Library for permutation computations
|
#include <set_image_refinement.h>
Public Member Functions | |
| template<class InputIterator > | |
| SetImageRefinement (unsigned long n, InputIterator begin, InputIterator end, InputIterator beginImg, InputIterator endImg) | |
| constructor More... | |
| virtual unsigned int | apply (Partition &pi) const |
| applies (left-)refinement to pi which is the original partition this refinement was initialized to More... | |
| virtual unsigned int | apply2 (Partition &pi, const PERM &t) const |
| applies (right-)refinement to pi which is the image of the original partition this refinement was initialized to under t More... | |
| virtual bool | init (Partition &pi) |
| initializes refinement | |
Public Member Functions inherited from permlib::partition::Refinement< PERM > | |
| Refinement (unsigned long n, RefinementType type) | |
| constructor | |
| virtual | ~Refinement () |
| destructor | |
| bool | initializeAndApply (Partition &pi) |
| applies (left-)refinement to partition and initializes refinement for future use in R-base More... | |
| void | undo (Partition &pi, unsigned int count) const |
| reverts the last count elementary intersections of partition pi | |
| RefinementType | type () const |
| the type of this refinement | |
| unsigned int | alternatives () const |
| number of sibling of this refinement in the search tree | |
| RefinementPtrIterator | backtrackBegin () const |
| iterator to begin of refinement siblings in the search tree | |
| RefinementPtrIterator | backtrackEnd () const |
| iterator to end of refinement siblings in the search tree | |
| virtual void | sort (const BaseSorterByReference &, const Partition *) |
| sorts siblings in the search tree | |
Additional Inherited Members | |
Public Types inherited from permlib::partition::Refinement< PERM > | |
| typedef boost::shared_ptr< Refinement< PERM > > | RefinementPtr |
| typedef std::vector< RefinementPtr >::const_iterator | RefinementPtrIterator |
Protected Member Functions inherited from permlib::partition::Refinement< PERM > | |
| bool | initialized () const |
| true iff refinement is initalized | |
Protected Attributes inherited from permlib::partition::Refinement< PERM > | |
| unsigned long | m_n |
| length of partitions to work with | |
| std::vector< RefinementPtr > | m_backtrackRefinements |
| refinement siblings in the search tree | |
| std::list< int > | m_cellPairs |
| indices of elementary intersections to apply during refinement application | |
concrete
-refinements for set image
| permlib::partition::SetImageRefinement< PERM >::SetImageRefinement | ( | unsigned long | n, |
| InputIterator | begin, | ||
| InputIterator | end, | ||
| InputIterator | beginImg, | ||
| InputIterator | endImg | ||
| ) |
constructor
| n | cardinality of the set the group acts on |
| begin | iterator(unsigned long) begin of the set |
| end | iterator(unsigned long) end of the set |
| beginImg | iterator(unsigned long) begin of the set |
| endImg | iterator(unsigned long) end of the set |
|
virtual |
applies (left-)refinement to pi which is the original partition this refinement was initialized to
Implements permlib::partition::Refinement< PERM >.
|
virtual |
applies (right-)refinement to pi which is the image of the original partition this refinement was initialized to under t
Reimplemented from permlib::partition::Refinement< PERM >.