Home | History | Annotate | Download | only in fst

Lines Matching refs:fst_id

82       : prefix_id(-1), fst_id(kNoStateId), fst_state(kNoStateId) {}
85 : prefix_id(p), fst_id(f), fst_state(s) {}
88 StateId fst_id; // current fst being walked
99 x.fst_id == y.fst_id &&
125 cumulative_size_array_->at(tuple.fst_id - 1) +
151 return t.prefix_id + t.fst_id * kPrime0 + t.fst_state * kPrime1;
501 const Fst<A>* fst = fst_array_[tuple.fst_id];
523 const Fst<A>* fst = fst_array_[tuple.fst_id];
560 const Fst<A>* fst = fst_array_[tuple.fst_id];
597 const Fst<A>* fst = fst_array_[tuple.fst_id];
647 *(fst_array_[tuple.fst_id]), tuple.fst_state);
691 const Fst<A>* fst = fst_array_[tuple.fst_id];
706 StateTuple(prefix_id, top.fst_id, top.nextstate));
731 StateTuple(tuple.prefix_id, tuple.fst_id, arc.nextstate))
742 tuple.fst_id, arc.nextstate);
760 StateTuple(tuple.prefix_id, tuple.fst_id, arc.nextstate))
780 const Fst<A>* GetFst(Label fst_id) const {
781 return fst_array_[fst_id];
791 // \brief Tuple of fst_id and destination state (entry in stack prefix)
793 PrefixTuple(Label f, StateId s) : fst_id(f), nextstate(s) {}
795 Label fst_id;
810 void Push(StateId fst_id, StateId nextstate) {
811 prefix_.push_back(PrefixTuple(fst_id, nextstate));
838 if (x.prefix_[i].fst_id != y.prefix_[i].fst_id ||
853 sum += x.prefix_[i].fst_id + x.prefix_[i].nextstate*kPrime0;
884 PrefixId PushPrefix(StackPrefix prefix, Label fst_id, StateId nextstate) {
885 prefix.Push(fst_id, nextstate);
1083 const Fst<A>* fst = fst_.GetImpl()->GetFst(tuple_.fst_id);
1333 current_matcher_ = matcher_[tuple_.fst_id];