concordia-library/concordia/anubis_search_result.hpp
rjawor 0d4bdf12de removed using namespace std
Former-commit-id: dbb5129e1f94d83eca887ada0f89d6bb45250f1e
2015-04-15 14:14:10 +02:00

36 lines
610 B
C++

#ifndef ANUBIS_SEARCH_RESULT_HDR
#define ANUBIS_SEARCH_RESULT_HDR
#include "concordia/common/config.hpp"
/*!
Class representing an example found by anubis search.
*/
class AnubisSearchResult {
public:
explicit AnubisSearchResult(const SUFFIX_MARKER_TYPE & exampleId,
const double score);
/*! Destructor.
*/
virtual ~AnubisSearchResult();
SUFFIX_MARKER_TYPE getExampleId() const {
return _exampleId;
}
double getScore() const {
return _score;
}
private:
SUFFIX_MARKER_TYPE _exampleId;
double _score;
};
#endif