Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-11-09 15:44:39 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-09 15:44:39 +0300
commitd0be56f8abcb6842a37daaf696ef4e84d25db9ea (patch)
treec46d4027f2eab57b2c196662d1b3950cc19456d2 /moses/BitmapContainer.cpp
parent176573c0724a65be8c36e5b5c3890d201f936d63 (diff)
Consistent naming: total score -> m_futureScore
Diffstat (limited to 'moses/BitmapContainer.cpp')
-rw-r--r--moses/BitmapContainer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/moses/BitmapContainer.cpp b/moses/BitmapContainer.cpp
index 7adadee82..73d4bfde0 100644
--- a/moses/BitmapContainer.cpp
+++ b/moses/BitmapContainer.cpp
@@ -180,10 +180,10 @@ BackwardsEdge::BackwardsEdge(const BitmapContainer &prevBitmapContainer
}
if (m_hypotheses.size() > 1) {
- UTIL_THROW_IF2(m_hypotheses[0]->GetTotalScore() < m_hypotheses[1]->GetTotalScore(),
+ UTIL_THROW_IF2(m_hypotheses[0]->GetFutureScore() < m_hypotheses[1]->GetFutureScore(),
"Non-monotonic total score"
- << m_hypotheses[0]->GetTotalScore() << " vs. "
- << m_hypotheses[1]->GetTotalScore());
+ << m_hypotheses[0]->GetFutureScore() << " vs. "
+ << m_hypotheses[1]->GetFutureScore());
}
HypothesisScoreOrdererWithDistortion orderer (&transOptRange, m_deterministic);
@@ -460,10 +460,10 @@ BitmapContainer::ProcessBestHypothesis()
// check we are pulling things off of priority queue in right order
if (!Empty()) {
HypothesisQueueItem *check = Dequeue(true);
- UTIL_THROW_IF2(item->GetHypothesis()->GetTotalScore() < check->GetHypothesis()->GetTotalScore(),
+ UTIL_THROW_IF2(item->GetHypothesis()->GetFutureScore() < check->GetHypothesis()->GetFutureScore(),
"Non-monotonic total score: "
- << item->GetHypothesis()->GetTotalScore() << " vs. "
- << check->GetHypothesis()->GetTotalScore());
+ << item->GetHypothesis()->GetFutureScore() << " vs. "
+ << check->GetHypothesis()->GetFutureScore());
}
// Logging for the criminally insane