summaryrefslogtreecommitdiff
path: root/extractor/linear_merger.h
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-02-22 11:59:17 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-02-22 11:59:17 +0000
commitd69c289e172562039bcbe987657280332ab6315e (patch)
treecc67d97bf802101d981cfacadb1cea80472aa107 /extractor/linear_merger.h
parenta21835881984ba90f303c7b1681d295678cb7131 (diff)
Remove original version of the intersector.
Diffstat (limited to 'extractor/linear_merger.h')
-rw-r--r--extractor/linear_merger.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/extractor/linear_merger.h b/extractor/linear_merger.h
deleted file mode 100644
index c3c7111e..00000000
--- a/extractor/linear_merger.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef _LINEAR_MERGER_H_
-#define _LINEAR_MERGER_H_
-
-#include <memory>
-#include <vector>
-
-using namespace std;
-
-class MatchingComparator;
-class Phrase;
-class PhraseLocation;
-class DataArray;
-class Vocabulary;
-
-class LinearMerger {
- public:
- LinearMerger(shared_ptr<Vocabulary> vocabulary,
- shared_ptr<DataArray> data_array,
- shared_ptr<MatchingComparator> comparator);
-
- virtual ~LinearMerger();
-
- virtual void Merge(
- vector<int>& locations, const Phrase& phrase, const Phrase& suffix,
- vector<int>::iterator prefix_start, vector<int>::iterator prefix_end,
- vector<int>::iterator suffix_start, vector<int>::iterator suffix_end,
- int prefix_subpatterns, int suffix_subpatterns);
-
- protected:
- LinearMerger();
-
- private:
- shared_ptr<Vocabulary> vocabulary;
- shared_ptr<DataArray> data_array;
- shared_ptr<MatchingComparator> comparator;
-};
-
-#endif