Home | History | Annotate | Download | only in lib

Lines Matching refs:fst_id

88         prefix_id(p), fst_id(f), fst_state(s) {}
91 StateId fst_id; // current fst being walked
244 const Fst<A>* fst = fst_array_[tuple.fst_id];
298 const Fst<A>* fst = fst_array_[tuple.fst_id];
312 FindState(StateTuple(prefix_id, top.fst_id, top.nextstate));
322 FindState(StateTuple(tuple.prefix_id, tuple.fst_id, arc.nextstate));
332 tuple.fst_id, arc.nextstate);
346 StateTuple(tuple.prefix_id, tuple.fst_id, arc.nextstate));
366 return ((x.prefix_id == y.prefix_id) && (x.fst_id == y.fst_id) &&
377 x.fst_id * kPrime0 +
386 // \brief Tuple of fst_id and destination state (entry in stack prefix)
388 PrefixTuple(Label f, StateId s) : fst_id(f), nextstate(s) {}
390 Label fst_id;
405 void Push(int fst_id, StateId nextstate) {
406 prefix_.push_back(PrefixTuple(fst_id, nextstate));
433 if (x.prefix_[i].fst_id != y.prefix_[i].fst_id ||
448 sum += x.prefix_[i].fst_id + x.prefix_[i].nextstate*kPrime0;
479 int PushPrefix(StackPrefix prefix, Label fst_id, StateId nextstate) {
480 prefix.Push(fst_id, nextstate);