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/TrellisPath.h | |
parent | 176573c0724a65be8c36e5b5c3890d201f936d63 (diff) |
Consistent naming: total score -> m_futureScore
Diffstat (limited to 'moses/TrellisPath.h')
-rw-r--r-- | moses/TrellisPath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TrellisPath.h b/moses/TrellisPath.h index 1e6914a5c..1407f1281 100644 --- a/moses/TrellisPath.h +++ b/moses/TrellisPath.h @@ -70,7 +70,7 @@ public: TrellisPath(const TrellisPath ©, size_t edgeIndex, const Hypothesis *arc); //! get score for this path throught trellis - inline float GetTotalScore() const { + inline float GetFutureScore() const { return m_totalScore; } @@ -113,7 +113,7 @@ inline std::ostream& operator<<(std::ostream& out, const TrellisPath& path) out << edge->GetId() << " " << sourceRange.GetStartPos() << "-" << sourceRange.GetEndPos() << ", "; } // scores - out << " total=" << path.GetTotalScore() + out << " total=" << path.GetFutureScore() << " " << path.GetScoreBreakdown() << std::endl; |