Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-10-18 03:02:38 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-18 03:02:38 +0300
commit55698d15bca43c13371f3b12b080685a0e1ac4c2 (patch)
tree213862625aab9a67da6bd04a526dc8cd165ea635 /moses/Hypothesis.h
parentb6cc320b72aec8fd035521864c35052182b52851 (diff)
templatize Comparer for unordered maps/set
Diffstat (limited to 'moses/Hypothesis.h')
-rw-r--r--moses/Hypothesis.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/moses/Hypothesis.h b/moses/Hypothesis.h
index ba03cb663..07c69379b 100644
--- a/moses/Hypothesis.h
+++ b/moses/Hypothesis.h
@@ -319,18 +319,5 @@ struct CompareHypothesisTotalScore {
#define FREEHYPO(hypo) delete hypo
#endif
-class HypothesisRecombinationUnordered
-{
-public:
- size_t operator()(const Hypothesis* hypo) const {
- return hypo->hash();
- }
-
- bool operator()(const Hypothesis* hypoA, const Hypothesis* hypoB) const {
- return (*hypoA) == (*hypoB);
- }
-
-};
-
}
#endif