diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-25 16:07:25 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-25 16:07:25 +0300 |
commit | 84b1c4b4c0c02362cdb35b55e08196d03b993baf (patch) | |
tree | 5b8526e6063ce08e0eb5c13bbef8d6e605f46748 /moses/BitmapContainer.cpp | |
parent | eeff4fddc85c0edab1b2a3eb4ceecce243f52bc1 (diff) |
WordsBitmap -> Bitmap
Diffstat (limited to 'moses/BitmapContainer.cpp')
-rw-r--r-- | moses/BitmapContainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/BitmapContainer.cpp b/moses/BitmapContainer.cpp index 3f0e5f99a..794ea81ed 100644 --- a/moses/BitmapContainer.cpp +++ b/moses/BitmapContainer.cpp @@ -195,7 +195,7 @@ BackwardsEdge::Initialize() return; } - const WordsBitmap &bm = m_hypotheses[0]->GetWordsBitmap(); + const Bitmap &bm = m_hypotheses[0]->GetWordsBitmap(); const WordsRange &newRange = m_translations.Get(0)->GetSourceWordsRange(); m_futureScore = m_futureScores.CalcFutureScore2(bm, newRange.GetStartPos(), newRange.GetEndPos()); @@ -211,7 +211,7 @@ Hypothesis *BackwardsEdge::CreateHypothesis(const Hypothesis &hypothesis, const IFVERBOSE(2) { hypothesis.GetManager().GetSentenceStats().StartTimeBuildHyp(); } - const WordsBitmap &bitmap = m_parent.GetWordsBitmap(); + const Bitmap &bitmap = m_parent.GetWordsBitmap(); Hypothesis *newHypo = new Hypothesis(hypothesis, transOpt, bitmap); IFVERBOSE(2) { hypothesis.GetManager().GetSentenceStats().StopTimeBuildHyp(); @@ -277,7 +277,7 @@ BackwardsEdge::PushSuccessors(const size_t x, const size_t y) // BitmapContainer Code //////////////////////////////////////////////////////////////////////////////// -BitmapContainer::BitmapContainer(const WordsBitmap &bitmap +BitmapContainer::BitmapContainer(const Bitmap &bitmap , HypothesisStackCubePruning &stack , bool deterministic) : m_bitmap(bitmap) |