diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-09 16:40:31 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-09 16:40:31 +0300 |
commit | 32e29d6b8ad7134e514f849213be9d817033bb73 (patch) | |
tree | 3131bb045e9167fb3ad0370c9a4bd8e024fd9c10 /moses/BitmapContainer.cpp | |
parent | d0be56f8abcb6842a37daaf696ef4e84d25db9ea (diff) |
Consistent naming: m_futureScore --> m_estimatedScore
Diffstat (limited to 'moses/BitmapContainer.cpp')
-rw-r--r-- | moses/BitmapContainer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/BitmapContainer.cpp b/moses/BitmapContainer.cpp index 73d4bfde0..718003a6f 100644 --- a/moses/BitmapContainer.cpp +++ b/moses/BitmapContainer.cpp @@ -120,14 +120,14 @@ public: BackwardsEdge::BackwardsEdge(const BitmapContainer &prevBitmapContainer , BitmapContainer &parent , const TranslationOptionList &translations - , const SquareMatrix &futureScores, + , const SquareMatrix &estimatedScores, const InputType& itype, const bool deterministic) : m_initialized(false) , m_prevBitmapContainer(prevBitmapContainer) , m_parent(parent) , m_translations(translations) - , m_futureScores(futureScores) + , m_estimatedScores(estimatedScores) , m_seenPosition() , m_deterministic(deterministic) { @@ -209,7 +209,7 @@ BackwardsEdge::Initialize() const Bitmap &bm = m_hypotheses[0]->GetWordsBitmap(); const Range &newRange = m_translations.Get(0)->GetSourceWordsRange(); - m_futureScore = m_futureScores.CalcFutureScore2(bm, newRange.GetStartPos(), newRange.GetEndPos()); + m_estimatedScore = m_estimatedScores.CalcEstimatedScore(bm, newRange.GetStartPos(), newRange.GetEndPos()); Hypothesis *expanded = CreateHypothesis(*m_hypotheses[0], *m_translations.Get(0)); m_parent.Enqueue(0, 0, expanded, this); @@ -228,7 +228,7 @@ Hypothesis *BackwardsEdge::CreateHypothesis(const Hypothesis &hypothesis, const IFVERBOSE(2) { hypothesis.GetManager().GetSentenceStats().StopTimeBuildHyp(); } - newHypo->EvaluateWhenApplied(m_futureScore); + newHypo->EvaluateWhenApplied(m_estimatedScore); return newHypo; } |