#ifndef INDEX_SEARCHER_HDR #define INDEX_SEARCHER_HDR #include #include #include #include #include "concordia/common/config.hpp" #include "build/libdivsufsort/include/divsufsort.h" #include "concordia/substring_occurence.hpp" #include "concordia/hash_generator.hpp" #include "concordia/concordia_exception.hpp" /*! Class for searching the index with a sentence. */ using namespace std; class IndexSearcher { public: explicit IndexSearcher(); /*! Destructor. */ virtual ~IndexSearcher(); boost::ptr_vector simpleSearch( boost::shared_ptr hashGenerator, boost::shared_ptr > T, boost::shared_ptr > markers, boost::shared_ptr > SA, const string & pattern) throw(ConcordiaException); private: }; #endif