diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-19 19:23:02 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-19 19:23:02 +0300 |
commit | dd7bf06f957957fad6871c33382ebf98a75ea55d (patch) | |
tree | 473c6cb6cca70f385bbb0edc9eeb380c988508bb /moses/Bitmaps.h | |
parent | fda97b08021238c54a440003da5d760f5f0a1349 (diff) |
Revert "share bitmaps"
This reverts commit db24036313717458c6995e087b1db1379867aab8.
Diffstat (limited to 'moses/Bitmaps.h')
-rw-r--r-- | moses/Bitmaps.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/moses/Bitmaps.h b/moses/Bitmaps.h index 8db57a9c3..798aac095 100644 --- a/moses/Bitmaps.h +++ b/moses/Bitmaps.h @@ -1,7 +1,6 @@ #pragma once #include <boost/unordered_set.hpp> -#include <set> #include "WordsBitmap.h" #include "Util.h" @@ -10,19 +9,12 @@ namespace Moses class Bitmaps { - typedef boost::unordered_set<WordsRange, const WordsBitmap*> NextBitmaps; typedef boost::unordered_set<const WordsBitmap*, UnorderedComparer<WordsBitmap>, UnorderedComparer<WordsBitmap> > Coll; - //typedef std::set<const WordsBitmap*, OrderedComparer<WordsBitmap> > Coll; Coll m_coll; - const WordsBitmap *m_initBitmap; + public: - Bitmaps(size_t inputSize); virtual ~Bitmaps(); - - const WordsBitmap &GetInitialBitmap() const - { return *m_initBitmap; } const WordsBitmap &GetBitmap(const WordsBitmap &bm); - const WordsBitmap &GetBitmap(const WordsBitmap &bm, const WordsRange &range); }; |