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:
authorBarry Haddow <barry.haddow@gmail.com>2014-08-04 23:51:45 +0400
committerBarry Haddow <barry.haddow@gmail.com>2014-08-04 23:51:45 +0400
commit05455eb0c116a979224f0ed397e30f7cfada4909 (patch)
tree4ef25d49e4ad12331a414aca0b4f8fb807312a89 /mert/HopeFearDecoder.h
parente2e07940ae4803ad3486560d857f81ef00304214 (diff)
Implement shuffling correctly
Diffstat (limited to 'mert/HopeFearDecoder.h')
-rw-r--r--mert/HopeFearDecoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mert/HopeFearDecoder.h b/mert/HopeFearDecoder.h
index e8323fc76..694a3217e 100644
--- a/mert/HopeFearDecoder.h
+++ b/mert/HopeFearDecoder.h
@@ -140,7 +140,8 @@ private:
//maps sentence Id to graph ptr
typedef std::map<size_t, boost::shared_ptr<Graph> > GraphColl;
GraphColl graphs_;
- GraphColl::const_iterator graphIter_;
+ std::vector<size_t> sentenceIds_;
+ std::vector<size_t>::const_iterator sentenceIdIter_;
ReferenceSet references_;
Vocab vocab_;
};