diff options
author | Barry Haddow <barry.haddow@gmail.com> | 2014-08-04 23:51:45 +0400 |
---|---|---|
committer | Barry Haddow <barry.haddow@gmail.com> | 2014-08-04 23:51:45 +0400 |
commit | 05455eb0c116a979224f0ed397e30f7cfada4909 (patch) | |
tree | 4ef25d49e4ad12331a414aca0b4f8fb807312a89 /mert/HopeFearDecoder.h | |
parent | e2e07940ae4803ad3486560d857f81ef00304214 (diff) |
Implement shuffling correctly
Diffstat (limited to 'mert/HopeFearDecoder.h')
-rw-r--r-- | mert/HopeFearDecoder.h | 3 |
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_; }; |