diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-10-24 03:31:50 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-10-24 03:33:47 +0300 |
commit | 8c4e017fbf04936182b9ce9555d79bd8f8a6cf77 (patch) | |
tree | 4b727442f38130eec0cdf192e345d0c6d1f2903b /moses/FF/StatefulFeatureFunction.h | |
parent | 8ace1398eb4e38a288c4e35966e722e39561c1b5 (diff) |
Eliminated EvaluateWhenAppliedWithContext().
The Phrase class now provides access to the TranslationTask.
Diffstat (limited to 'moses/FF/StatefulFeatureFunction.h')
-rw-r--r-- | moses/FF/StatefulFeatureFunction.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/moses/FF/StatefulFeatureFunction.h b/moses/FF/StatefulFeatureFunction.h index 9baa4735d..814818f63 100644 --- a/moses/FF/StatefulFeatureFunction.h +++ b/moses/FF/StatefulFeatureFunction.h @@ -1,3 +1,4 @@ +// -*- mode: c++; indent-tabs-mode: nil; tab-width:2 -*- #pragma once #include "FeatureFunction.h" @@ -37,13 +38,13 @@ public: const FFState* prev_state, ScoreComponentCollection* accumulator) const = 0; - virtual FFState* EvaluateWhenAppliedWithContext( - ttasksptr const& ttasks, - const Hypothesis& cur_hypo, - const FFState* prev_state, - ScoreComponentCollection* accumulator) const { - return EvaluateWhenApplied(cur_hypo, prev_state, accumulator); - } + // virtual FFState* EvaluateWhenAppliedWithContext( + // ttasksptr const& ttasks, + // const Hypothesis& cur_hypo, + // const FFState* prev_state, + // ScoreComponentCollection* accumulator) const { + // return EvaluateWhenApplied(cur_hypo, prev_state, accumulator); + // } virtual FFState* EvaluateWhenApplied( const ChartHypothesis& /* cur_hypo */, |