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/SearchCubePruning.h | |
parent | eeff4fddc85c0edab1b2a3eb4ceecce243f52bc1 (diff) |
WordsBitmap -> Bitmap
Diffstat (limited to 'moses/SearchCubePruning.h')
-rw-r--r-- | moses/SearchCubePruning.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/SearchCubePruning.h b/moses/SearchCubePruning.h index b30adf772..7adc185ec 100644 --- a/moses/SearchCubePruning.h +++ b/moses/SearchCubePruning.h @@ -19,7 +19,7 @@ class SearchCubePruning: public Search { protected: const InputType &m_source; - WordsBitmap m_initBitmap; + Bitmap m_initBitmap; std::vector < HypothesisStack* > m_hypoStackColl; /**< stacks to store hypotheses (partial translations) */ // no of elements = no of words in source + 1 const TranslationOptionCollection &m_transOptColl; /**< pre-computed list of translation options for the phrases in this sentence */ @@ -27,8 +27,8 @@ protected: //! go thru all bitmaps in 1 stack & create backpointers to bitmaps in the stack void CreateForwardTodos(HypothesisStackCubePruning &stack); //! create a back pointer to this bitmap, with edge that has this words range translation - void CreateForwardTodos(const WordsBitmap &bitmap, const WordsRange &range, BitmapContainer &bitmapContainer); - bool CheckDistortion(const WordsBitmap &bitmap, const WordsRange &range) const; + void CreateForwardTodos(const Bitmap &bitmap, const WordsRange &range, BitmapContainer &bitmapContainer); + bool CheckDistortion(const Bitmap &bitmap, const WordsRange &range) const; void PrintBitmapContainerGraph(); |