randgen.h | 190 sample_map_.clear(); 199 ++sample_map_[arc_selector_(fst_, rstate.state_id)]; 205 bool Done() const { return sample_iter_ == sample_map_.end(); } 217 void Reset() { sample_iter_ = sample_map_.begin(); } 227 map<size_t, size_t> sample_map_; member in class:fst::ArcSampler 269 sample_map_.clear(); 278 ++sample_map_[arc_selector_(fst_, rstate.state_id, accumulator_)]; 283 bool Done() const { return sample_iter_ == sample_map_.end(); } 286 void Reset() { sample_iter_ = sample_map_.begin(); } 296 map<size_t, size_t> sample_map_; member in class:fst::ArcSampler [all...] |