#ifndef INDEX_SEARCHER_HDR #define INDEX_SEARCHER_HDR #include #include #include #include "concordia/common/config.hpp" #include "build/libdivsufsort/include/divsufsort.h" #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::shared_ptr > simpleSearch( boost::shared_ptr hashGenerator, boost::shared_ptr > T, boost::shared_ptr > SA, const string & pattern) throw(ConcordiaException); private: }; #endif