33 #ifndef PARTITION_SET_STABILIZER_SEARCH_H_
34 #define PARTITION_SET_STABILIZER_SEARCH_H_
36 #include <permlib/search/partition/r_base.h>
37 #include <permlib/predicate/setwise_stabilizer_predicate.h>
38 #include <permlib/search/partition/set_stabilize_refinement.h>
39 #include <permlib/search/partition/refinement_family.h>
45 template<
class BSGSIN,
class TRANSRET>
48 typedef typename RBase<BSGSIN,TRANSRET>::PERM PERM;
62 template<
class InputIterator>
63 void construct(InputIterator begin, InputIterator end);
67 std::vector<unsigned long> toStab;
70 template<
class BSGSIN,
class TRANSRET>
72 :
RBase<BSGSIN,TRANSRET>(bsgs, pruningLevelDCM)
75 template<
class BSGSIN,
class TRANSRET>
76 template<
class InputIterator>
79 toStab.insert(toStab.begin(), begin, end);
89 template<
class BSGSIN,
class TRANSRET>
92 if (!this->m_limitInitialized) {
94 BOOST_FOREACH(
unsigned long alpha, toStab) {
101 this->m_limitLevel = level;
102 this->m_limitBase = basePos;
103 this->m_limitInitialized =
true;
112 #endif // -- PARTITION_SET_STABILIZER_SEARCH_H_