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/HypothesisStackCubePruning.h | |
parent | eeff4fddc85c0edab1b2a3eb4ceecce243f52bc1 (diff) |
WordsBitmap -> Bitmap
Diffstat (limited to 'moses/HypothesisStackCubePruning.h')
-rw-r--r-- | moses/HypothesisStackCubePruning.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/HypothesisStackCubePruning.h b/moses/HypothesisStackCubePruning.h index 2e3c81cde..6965e77b5 100644 --- a/moses/HypothesisStackCubePruning.h +++ b/moses/HypothesisStackCubePruning.h @@ -37,7 +37,7 @@ class BitmapContainer; class TranslationOptionList; class Manager; -typedef boost::unordered_map<WordsBitmap, BitmapContainer*, UnorderedComparer<WordsBitmap>, UnorderedComparer<WordsBitmap> > _BMType; +typedef boost::unordered_map<Bitmap, BitmapContainer*, UnorderedComparer<Bitmap>, UnorderedComparer<Bitmap> > _BMType; /** A stack for phrase-based decoding with cube-pruning. */ class HypothesisStackCubePruning : public HypothesisStack @@ -63,7 +63,7 @@ protected: /** destroy all instances of Hypothesis in this collection */ void RemoveAll(); - BitmapContainer *AddBitmapContainer(const WordsBitmap &bitmap, HypothesisStackCubePruning &stack); + BitmapContainer *AddBitmapContainer(const Bitmap &bitmap, HypothesisStackCubePruning &stack); public: HypothesisStackCubePruning(Manager& manager); @@ -119,7 +119,7 @@ public: return m_bitmapAccessor; } - void SetBitmapAccessor(const WordsBitmap &newBitmap + void SetBitmapAccessor(const Bitmap &newBitmap , HypothesisStackCubePruning &stack , const WordsRange &range , BitmapContainer &bitmapContainer |