7 #include "concordia/common/config.hpp"
8 #include "concordia/interval.hpp"
9 #include <boost/ptr_container/ptr_map.hpp>
33 TmMatches(
const SUFFIX_MARKER_TYPE exampleId,
34 const SUFFIX_MARKER_TYPE exampleSize,
35 const SUFFIX_MARKER_TYPE patternSize);
54 return _exampleMatchedRegions;
62 return _patternMatchedRegions;
112 bool _alreadyIntersects(
const std::vector<Interval> & intervalList,
115 SUFFIX_MARKER_TYPE _exampleId;
117 std::vector<Interval> _exampleMatchedRegions;
119 std::vector<Interval> _patternMatchedRegions;
121 SUFFIX_MARKER_TYPE _patternSize;
123 SUFFIX_MARKER_TYPE _exampleSize;
128 typedef boost::ptr_map<SUFFIX_MARKER_TYPE, TmMatches> TmMatchesMap;
129 typedef TmMatchesMap::iterator TmMatchesMapIterator;
Definition: tm_matches.hpp:19
TmMatches()
Definition: tm_matches.cpp:7
void calculateScore()
Definition: tm_matches.cpp:22
void calculateSimpleScore()
Definition: tm_matches.cpp:33
void addPatternInterval(int start, int end)
Definition: tm_matches.cpp:54
std::vector< Interval > getPatternIntervals() const
Definition: tm_matches.hpp:61
virtual ~TmMatches()
Definition: tm_matches.cpp:19
double getScore() const
Definition: tm_matches.hpp:45
void addExampleInterval(int start, int end)
Definition: tm_matches.cpp:48
SUFFIX_MARKER_TYPE getExampleId() const
Definition: tm_matches.hpp:69
std::vector< Interval > getExampleIntervals() const
Definition: tm_matches.hpp:53