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_