diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-09 15:44:39 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-09 15:44:39 +0300 |
commit | d0be56f8abcb6842a37daaf696ef4e84d25db9ea (patch) | |
tree | c46d4027f2eab57b2c196662d1b3950cc19456d2 /moses/BitmapContainer.h | |
parent | 176573c0724a65be8c36e5b5c3890d201f936d63 (diff) |
Consistent naming: total score -> m_futureScore
Diffstat (limited to 'moses/BitmapContainer.h')
-rw-r--r-- | moses/BitmapContainer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/BitmapContainer.h b/moses/BitmapContainer.h index 680504b89..c496ea6e3 100644 --- a/moses/BitmapContainer.h +++ b/moses/BitmapContainer.h @@ -109,8 +109,8 @@ class QueueItemOrderer { public: bool operator()(HypothesisQueueItem* itemA, HypothesisQueueItem* itemB) const { - float scoreA = itemA->GetHypothesis()->GetTotalScore(); - float scoreB = itemB->GetHypothesis()->GetTotalScore(); + float scoreA = itemA->GetHypothesis()->GetFutureScore(); + float scoreB = itemB->GetHypothesis()->GetFutureScore(); if (scoreA < scoreB) { return true; @@ -151,8 +151,8 @@ public: bool operator()(const Hypothesis* hypoA, const Hypothesis* hypoB) const { - float scoreA = hypoA->GetTotalScore(); - float scoreB = hypoB->GetTotalScore(); + float scoreA = hypoA->GetFutureScore(); + float scoreB = hypoB->GetFutureScore(); if (scoreA > scoreB) { return true; |