HomeSort by relevance Sort by last modified time
    Searched refs:StateTuple (Results 1 - 7 of 7) sorted by null

  /external/openfst/src/include/fst/
state-table.h 42 // typedef typename T StateTuple;
48 // StateId FindState(const StateTuple &);
50 // const StateTuple<StateId> &Tuple(StateId) const;
58 // struct StateTuple {
62 // StateTuple();
72 typedef T StateTuple;
73 typedef typename StateTuple::StateId StateId;
79 StateId FindState(const StateTuple &tuple) { return FindId(tuple); }
80 const StateTuple &Tuple(StateId s) const { return FindEntry(s); }
92 typedef T StateTuple;
    [all...]
replace.h 56 // typedef ReplaceStateTuple<StateId, PrefixId> StateTuple;
67 // StateId FindState(const StateTuple &tuple);
70 // const StateTuple &Tuple(StateId id) const;
178 typedef ReplaceStateTuple<StateId, P> StateTuple;
220 StateId FindState(const StateTuple &tuple) {
224 const StateTuple &Tuple(StateId id) const {
246 typedef ReplaceStateTuple<StateId, P> StateTuple;
247 typedef CompactHashStateTable<StateTuple,
337 typedef ReplaceStateTuple<StateId, PrefixId> StateTuple;
487 StateTuple(prefix, root_, fst_start))
    [all...]
accumulator.h 603 typedef typename T::StateTuple StateTuple;
629 const StateTuple &GetTuple(StateId s) const {
663 typedef typename T::StateTuple StateTuple;
700 StateTuple tuple = data_->GetTuple(s);
compose.h 219 typedef ComposeStateTuple<StateId, FilterState> StateTuple;
266 const StateTuple &tuple = state_table_->Tuple(s);
326 StateTuple tuple(arc1.nextstate, arc2.nextstate, f);
342 StateTuple tuple(s1, s2, f);
347 const StateTuple &tuple = state_table_->Tuple(s);
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
replace.h 81 // \struct StateTuple
83 struct StateTuple {
86 StateTuple() {}
87 StateTuple(PrefixId p, StateId f, StateId s) :
230 StateId start = FindState(StateTuple(prefix, root_, fst_start));
242 const StateTuple& tuple = state_tuples_[s];
281 // Find/create an Fst state given a StateTuple. Only create a new
282 // state if StateTuple is not found in the state hash.
283 StateId FindState(const StateTuple& tuple) {
297 StateTuple tuple = state_tuples_[s]
    [all...]
compose.h 209 struct StateTuple {
210 StateTuple() {}
211 StateTuple(StateId s1, StateId s2, int f)
219 StateTuple empty_tuple(kNoStateId, kNoStateId, 0);
226 StateId &operator[](const StateTuple &tuple) {
231 // Comparison object for hashing StateTuple(s).
234 bool operator()(const StateTuple& x, const StateTuple& y) const {
244 // Hash function for StateTuple to Fst states.
247 size_t operator()(const StateTuple& x) const
    [all...]
  /external/openfst/src/include/fst/extensions/pdt/
expand.h 83 typedef PdtStateTuple<StateId, StackId> StateTuple;
130 StateTuple tuple(s, 0);
139 const StateTuple &tuple = state_table_->Tuple(s);
177 StateTuple tuple = state_table_->Tuple(s);
190 StateTuple ntuple(arc.nextstate, stack_id);
    [all...]

Completed in 174 milliseconds