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:37:59 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-25 16:37:59 +0300
commit97b2aa5663e97079145fb494bf97e1b2997b4161 (patch)
treef8a68fa4ea40bb99c21cd26e7f02a27ddcc48187 /moses/Bitmaps.h
parent84b1c4b4c0c02362cdb35b55e08196d03b993baf (diff)
WordsRange -> Range
Diffstat (limited to 'moses/Bitmaps.h')
-rw-r--r--moses/Bitmaps.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/Bitmaps.h b/moses/Bitmaps.h
index ce43c6a03..1c49fd884 100644
--- a/moses/Bitmaps.h
+++ b/moses/Bitmaps.h
@@ -11,13 +11,13 @@ namespace Moses
class Bitmaps
{
- typedef boost::unordered_map<WordsRange, const Bitmap*> NextBitmaps;
+ typedef boost::unordered_map<Range, const Bitmap*> NextBitmaps;
typedef boost::unordered_map<const Bitmap*, NextBitmaps, UnorderedComparer<Bitmap>, UnorderedComparer<Bitmap> > Coll;
//typedef std::set<const Bitmap*, OrderedComparer<Bitmap> > Coll;
Coll m_coll;
const Bitmap *m_initBitmap;
- const Bitmap &GetNextBitmap(const Bitmap &bm, const WordsRange &range);
+ const Bitmap &GetNextBitmap(const Bitmap &bm, const Range &range);
public:
Bitmaps(size_t inputSize, const std::vector<bool> &initSourceCompleted);
virtual ~Bitmaps();
@@ -25,7 +25,7 @@ public:
const Bitmap &GetInitialBitmap() const {
return *m_initBitmap;
}
- const Bitmap &GetBitmap(const Bitmap &bm, const WordsRange &range);
+ const Bitmap &GetBitmap(const Bitmap &bm, const Range &range);
};