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-08 20:14:52 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-08 20:14:52 +0300
commitd3e1af3a8c6599a134bdfea97ede4793b729b507 (patch)
tree4422fd7d4e3e6b39bc7f0da67ceda2fc4c7a8d6d /moses/FF/PhraseOrientationFeature.h
parent2a08da282f7916e7edbd098157da9691a7ba54be (diff)
add operator==() to FFState. Get ready to use unordered_set in stacks
Diffstat (limited to 'moses/FF/PhraseOrientationFeature.h')
-rw-r--r--moses/FF/PhraseOrientationFeature.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/moses/FF/PhraseOrientationFeature.h b/moses/FF/PhraseOrientationFeature.h
index d85be118a..d02e55107 100644
--- a/moses/FF/PhraseOrientationFeature.h
+++ b/moses/FF/PhraseOrientationFeature.h
@@ -141,6 +141,10 @@ public:
};
virtual size_t hash() const;
+ virtual bool operator==(const FFState& other) const
+ {
+ UTIL_THROW2("TODO:Haven't figure this out yet");
+ }
protected: