Searched refs:RandState (Results 1 – 1 of 1) sorted by relevance
/external/openfst/src/include/fst/ |
D | randgen.h | 140 struct RandState { struct 147 const RandState<A> *parent; // previous random state on this path argument 149 RandState(StateId s, size_t n, size_t l, size_t k, const RandState<A> *p) in RandState() function 152 RandState() in RandState() argument 189 bool Sample(const RandState<A> &rstate) { in Sample() 268 bool Sample(const RandState<A> &rstate) { in Sample() 392 RandState<A> *rstate = new RandState<A>(s, npath_, 0, 0, 0); in Start() 451 const RandState<A> &rstate = *state_table_[s]; in Expand() 466 RandState<A> *nrstate = in Expand() 467 new RandState<A>(aarc.nextstate, count, rstate.length + 1, in Expand() [all …]
|