33 #ifndef PARTITION_SET_IMAGE_SEARCH_H_ 34 #define PARTITION_SET_IMAGE_SEARCH_H_ 36 #include <permlib/search/partition/r_base.h> 37 #include <permlib/predicate/set_image_predicate.h> 46 template<
class BSGSIN,
class TRANSRET>
49 typedef typename RBase<BSGSIN,TRANSRET>::PERM PERM;
65 template<
class InputIterator>
66 void construct(InputIterator begin, InputIterator end, InputIterator beginImg, InputIterator endImg);
70 std::vector<unsigned long> toStab;
73 template<
class BSGSIN,
class TRANSRET>
75 :
RBase<BSGSIN,TRANSRET>(bsgs, pruningLevelDCM, true)
78 template<
class BSGSIN,
class TRANSRET>
79 template<
class InputIterator>
82 toStab.insert(toStab.begin(), begin, end);
92 template<
class BSGSIN,
class TRANSRET>
95 if (!this->m_limitInitialized) {
97 BOOST_FOREACH(
unsigned long alpha, toStab) {
104 this->m_limitLevel = level;
105 this->m_limitBase = basePos;
106 this->m_limitInitialized =
true;
115 #endif // -- PARTITION_SET_IMAGE_SEARCH_H_ bool initializeAndApply(Partition &pi)
applies (left-)refinement to partition and initializes refinement for future use in R-base ...
Definition: refinement.h:136
Definition: set_image_refinement.h:51
coset representative search for a set image based on partition backtracking
Definition: set_image_search.h:47
vector_t::const_iterator fixPointsEnd() const
iterator to the end of fix points
Definition: partition.h:167
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 ini...
Definition: set_image_refinement.h:95
SetImageSearch(const BSGSIN &bsgs, unsigned int pruningLevelDCM)
constructor
Definition: set_image_search.h:74
coset-type predicate for group elements that map one set of points onto another given set of points ...
Definition: set_image_predicate.h:47
partition
Definition: partition.h:48
void construct(InputIterator begin, InputIterator end, InputIterator beginImg, InputIterator endImg)
initializes search
Definition: set_image_search.h:80
virtual unsigned int processNewFixPoints(const Partition &pi, unsigned int backtrackCount)
callback when a new fix point appears during R-base construction
Definition: set_image_search.h:93
R-base for partition backtracking.
Definition: r_base.h:56
void construct(SubgroupPredicate< PERM > *pred, RefinementFamily< PERM > *predRefinement)
constructs an R-base for given predicate and refinement family
Definition: r_base.h:115
virtual unsigned int processNewFixPoints(const Partition &pi, unsigned int level)
callback when a new fix point appears during R-base construction
Definition: r_base.h:197
vector_t::const_iterator fixPointsBegin() const
iterator to the begin of fix points
Definition: partition.h:164
Definition: abstract_bsgs.h:49