diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-07-10 02:41:08 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-07-10 02:41:08 +0400 |
commit | 12a14221e283e6e1d69f14d35437f36b9a728e50 (patch) | |
tree | 2534bf2ed996393d4dffb650e36b9e183cea4316 /moses/ScoreComponentCollectionTest.cpp | |
parent | 587b5fd716f0cfc5207bbd790accd38ab1ae0ad6 (diff) |
rename Evaluate() to EvaluateWhenApplied()
Diffstat (limited to 'moses/ScoreComponentCollectionTest.cpp')
-rw-r--r-- | moses/ScoreComponentCollectionTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ScoreComponentCollectionTest.cpp b/moses/ScoreComponentCollectionTest.cpp index 719e05e7d..d1064c6ae 100644 --- a/moses/ScoreComponentCollectionTest.cpp +++ b/moses/ScoreComponentCollectionTest.cpp @@ -34,7 +34,7 @@ class MockStatelessFeatureFunction : public StatelessFeatureFunction public: MockStatelessFeatureFunction(size_t n, const string &line) : StatelessFeatureFunction(n, line) {} - void Evaluate(const Hypothesis&, ScoreComponentCollection*) const {} + void EvaluateWhenApplied(const Hypothesis&, ScoreComponentCollection*) const {} void EvaluateChart(const ChartHypothesis&, ScoreComponentCollection*) const {} void EvaluateWithSourceContext(const InputType &input , const InputPath &inputPath |