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-10-25 16:07:25 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-25 16:07:25 +0300
commit84b1c4b4c0c02362cdb35b55e08196d03b993baf (patch)
tree5b8526e6063ce08e0eb5c13bbef8d6e605f46748 /moses/HypothesisStackCubePruning.cpp
parenteeff4fddc85c0edab1b2a3eb4ceecce243f52bc1 (diff)
WordsBitmap -> Bitmap
Diffstat (limited to 'moses/HypothesisStackCubePruning.cpp')
-rw-r--r--moses/HypothesisStackCubePruning.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/HypothesisStackCubePruning.cpp b/moses/HypothesisStackCubePruning.cpp
index 7a18c5ba5..12bf5a732 100644
--- a/moses/HypothesisStackCubePruning.cpp
+++ b/moses/HypothesisStackCubePruning.cpp
@@ -148,7 +148,7 @@ void HypothesisStackCubePruning::AddInitial(Hypothesis *hypo)
UTIL_THROW_IF2(!addRet.second,
"Should have added hypothesis " << *hypo);
- const WordsBitmap &bitmap = hypo->GetWordsBitmap();
+ const Bitmap &bitmap = hypo->GetWordsBitmap();
AddBitmapContainer(bitmap, *this);
}
@@ -248,7 +248,7 @@ void HypothesisStackCubePruning::CleanupArcList()
}
}
-void HypothesisStackCubePruning::SetBitmapAccessor(const WordsBitmap &newBitmap
+void HypothesisStackCubePruning::SetBitmapAccessor(const Bitmap &newBitmap
, HypothesisStackCubePruning &stack
, const WordsRange &/*range*/
, BitmapContainer &bitmapContainer
@@ -287,13 +287,13 @@ HypothesisStackCubePruning::AddHypothesesToBitmapContainers()
HypothesisStackCubePruning::const_iterator iter;
for (iter = m_hypos.begin() ; iter != m_hypos.end() ; ++iter) {
Hypothesis *h = *iter;
- const WordsBitmap &bitmap = h->GetWordsBitmap();
+ const Bitmap &bitmap = h->GetWordsBitmap();
BitmapContainer *container = m_bitmapAccessor[bitmap];
container->AddHypothesis(h);
}
}
-BitmapContainer *HypothesisStackCubePruning::AddBitmapContainer(const WordsBitmap &bitmap, HypothesisStackCubePruning &stack)
+BitmapContainer *HypothesisStackCubePruning::AddBitmapContainer(const Bitmap &bitmap, HypothesisStackCubePruning &stack)
{
_BMType::iterator iter = m_bitmapAccessor.find(bitmap);