diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-05 20:28:52 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-05 20:28:52 +0300 |
commit | be7f0c16ded5501c6bb30a5ae02669c959b9d096 (patch) | |
tree | e9104ce99f4a83b5e423829d67afed19a3208ca5 /moses/BitmapContainer.h | |
parent | 67fb5cd5f038ae9ca4f8d5ef349364372de9db5a (diff) |
new CalcFutureScore() works with cube pruning
Diffstat (limited to 'moses/BitmapContainer.h')
-rw-r--r-- | moses/BitmapContainer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/BitmapContainer.h b/moses/BitmapContainer.h index fcf56611f..3566f3179 100644 --- a/moses/BitmapContainer.h +++ b/moses/BitmapContainer.h @@ -161,7 +161,8 @@ private: const BitmapContainer &m_prevBitmapContainer; BitmapContainer &m_parent; const TranslationOptionList &m_translations; - const SquareMatrix &m_futurescore; + const SquareMatrix &m_futureScores; + float m_futureScore; std::vector< const Hypothesis* > m_hypotheses; boost::unordered_set< int > m_seenPosition; @@ -180,7 +181,7 @@ public: BackwardsEdge(const BitmapContainer &prevBitmapContainer , BitmapContainer &parent , const TranslationOptionList &translations - , const SquareMatrix &futureScore, + , const SquareMatrix &futureScores, const InputType& source); ~BackwardsEdge(); |