summaryrefslogtreecommitdiff
path: root/extractor/matching_comparator.h
blob: 6e1bb487c9709d292eba8c3007f3181d400ee655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _MATCHING_COMPARATOR_H_
#define _MATCHING_COMPARATOR_H_

#include <memory>

using namespace std;

class Vocabulary;
class Matching;

class MatchingComparator {
 public:
  MatchingComparator(int min_gap_size, int max_rule_span);

  int Compare(const Matching& left, const Matching& right,
              int last_chunk_len, bool offset) const;

 private:
  int min_gap_size;
  int max_rule_span;
};

#endif