Home
last modified time | relevance | path

Searched refs:sample_map_ (Results 1 – 1 of 1) sorted by relevance

/external/openfst/src/include/fst/
Drandgen.h190 sample_map_.clear(); in Sample()
199 ++sample_map_[arc_selector_(fst_, rstate.state_id)]; in Sample()
205 bool Done() const { return sample_iter_ == sample_map_.end(); } in Done()
217 void Reset() { sample_iter_ = sample_map_.begin(); } in Reset()
227 map<size_t, size_t> sample_map_; variable
269 sample_map_.clear(); in Sample()
278 ++sample_map_[arc_selector_(fst_, rstate.state_id, accumulator_)]; in Sample()
283 bool Done() const { return sample_iter_ == sample_map_.end(); } in Done()
286 void Reset() { sample_iter_ = sample_map_.begin(); } in Reset()
296 map<size_t, size_t> sample_map_; variable