Searched refs:StateTuple (Results 1 – 7 of 7) sorted by relevance
/external/openfst/src/include/fst/ |
D | state-table.h | 72 typedef T StateTuple; typedef 73 typedef typename StateTuple::StateId StateId; 79 StateId FindState(const StateTuple &tuple) { return FindId(tuple); } in FindState() 80 const StateTuple &Tuple(StateId s) const { return FindEntry(s); } in Tuple() 92 typedef T StateTuple; typedef 93 typedef typename StateTuple::StateId StateId; 104 StateId FindState(const StateTuple &tuple) { return FindId(tuple); } in FindState() 105 const StateTuple &Tuple(StateId s) const { return FindEntry(s); } in Tuple() 118 typedef T StateTuple; typedef 119 typedef typename StateTuple::StateId StateId; [all …]
|
D | replace.h | 178 typedef ReplaceStateTuple<StateId, P> StateTuple; typedef 220 StateId FindState(const StateTuple &tuple) { in FindState() 224 const StateTuple &Tuple(StateId id) const { in Tuple() 246 typedef ReplaceStateTuple<StateId, P> StateTuple; typedef 247 typedef CompactHashStateTable<StateTuple, 337 typedef ReplaceStateTuple<StateId, PrefixId> StateTuple; typedef 487 StateTuple(prefix, root_, fst_start)); in Start() 499 const StateTuple& tuple = state_table_->Tuple(s); in Final() 519 StateTuple tuple = state_table_->Tuple(s); in NumArcs() 557 StateTuple tuple = state_table_->Tuple(s); in NumInputEpsilons() [all …]
|
D | accumulator.h | 603 typedef typename T::StateTuple StateTuple; typedef 629 const StateTuple &GetTuple(StateId s) const { in GetTuple() 663 typedef typename T::StateTuple StateTuple; typedef 700 StateTuple tuple = data_->GetTuple(s); in SetState()
|
D | compose.h | 219 typedef ComposeStateTuple<StateId, FilterState> StateTuple; typedef 266 const StateTuple &tuple = state_table_->Tuple(s); in Expand() 326 StateTuple tuple(arc1.nextstate, arc2.nextstate, f); in AddArc() 342 StateTuple tuple(s1, s2, f); in ComputeStart() 347 const StateTuple &tuple = state_table_->Tuple(s); in ComputeFinal()
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | compose.h | 209 struct StateTuple { struct 210 StateTuple() {} in StateTuple() argument 211 StateTuple(StateId s1, StateId s2, int f) in StateTuple() function 219 StateTuple empty_tuple(kNoStateId, kNoStateId, 0); in ComposeStateTable() argument 226 StateId &operator[](const StateTuple &tuple) { 234 bool operator()(const StateTuple& x, const StateTuple& y) const { in operator() 247 size_t operator()(const StateTuple& x) const { in operator() 255 typedef hash_map<StateTuple, 280 struct StateTuple { struct 282 StateTuple() {} in StateTuple() argument [all …]
|
D | replace.h | 83 struct StateTuple { struct 86 StateTuple() {} in StateTuple() function 87 StateTuple(PrefixId p, StateId f, StateId s) : in StateTuple() argument 230 StateId start = FindState(StateTuple(prefix, root_, fst_start)); in Start() 242 const StateTuple& tuple = state_tuples_[s]; in Final() 283 StateId FindState(const StateTuple& tuple) { in FindState() 297 StateTuple tuple = state_tuples_[s]; in Expand() 312 FindState(StateTuple(prefix_id, top.fst_id, top.nextstate)); in Expand() 322 FindState(StateTuple(tuple.prefix_id, tuple.fst_id, arc.nextstate)); in Expand() 339 StateTuple(nt_prefix, nonterminal, nt_start)); in Expand() [all …]
|
/external/openfst/src/include/fst/extensions/pdt/ |
D | expand.h | 83 typedef PdtStateTuple<StateId, StackId> StateTuple; typedef 130 StateTuple tuple(s, 0); in Start() 139 const StateTuple &tuple = state_table_->Tuple(s); in Final() 177 StateTuple tuple = state_table_->Tuple(s); in ExpandState() 190 StateTuple ntuple(arc.nextstate, stack_id); in ExpandState()
|