/external/openfst/src/include/fst/ |
equal.h | 32 typedef typename Arc::StateId StateId; 48 StateId s1 = siter1.Value(); 49 StateId s2 = siter2.Value();
|
reverse.h | 44 typedef typename Arc::StateId StateId; 53 StateId istart = ifst.Start(); 54 StateId ostart = ofst->AddState(); 60 StateId is = siter.Value(); 61 StateId os = is + 1; 78 StateId nos = iarc.nextstate + 1;
|
rmfinalepsilon.h | 38 typedef typename A::StateId StateId; 51 unordered_set<StateId> finals; 53 StateId s = siter.Value(); 72 StateId s = siter.Value();
|
statesort.h | 39 const vector<typename Arc::StateId> &order) { 40 typedef typename Arc::StateId StateId; 63 StateId s1 = siter.Value(), s2;
|
verify.h | 35 typedef typename Arc::StateId StateId; 37 StateId start = fst.Start(); 42 StateId ns = 0; 59 StateId s = siter.Value();
|
closure.h | 47 typedef typename Arc::StateId StateId; 52 StateId start = fst->Start(); 56 StateId s = siter.Value(); 63 StateId nstart = fst->AddState(); 143 typedef typename A::StateId StateId; 145 ArcIterator(const ClosureFst<A> &fst, StateId s)
|
difference.h | 69 typedef typename A::StateId StateId; 135 typedef typename A::StateId StateId; 137 ArcIterator(const DifferenceFst<A> &fst, StateId s)
|
intersect.h | 68 typedef typename A::StateId StateId; 119 typedef typename A::StateId StateId; 121 ArcIterator(const IntersectFst<A> &fst, StateId s)
|
map.h | 58 typedef typename B::StateId StateId; 98 ArcIterator(const ArcMapFst<A, B, C> &fst, typename A::StateId s)
|
topsort.h | 41 typedef typename A::StateId StateId; 46 TopOrderVisitor(vector<StateId> *order, bool *acyclic) 50 finish_ = new vector<StateId>; 54 bool InitState(StateId s, StateId r) { return true; } 56 bool TreeArc(StateId s, const A &arc) { return true; } 58 bool BackArc(StateId s, const A &arc) { return (*acyclic_ = false); } 60 bool ForwardOrCrossArc(StateId s, const A &arc) { return true; } 62 void FinishState(StateId s, StateId p, const A *) { finish_->push_back(s); [all...] |
concat.h | 48 typedef typename Arc::StateId StateId; 65 StateId start1 = fst1->Start(); 71 StateId numstates1 = fst1->NumStates(); 78 StateId s1 = fst1->AddState(); 79 StateId s2 = siter2.Value(); 91 StateId start2 = fst2.Start(); 92 for (StateId s1 = 0; s1 < numstates1; ++s1) { 114 typedef typename Arc::StateId StateId; [all...] |
dfs-visit.h | 47 // typedef typename Arc::StateId StateId; 53 // bool InitState(StateId s, StateId root); 55 // bool TreeArc(StateId s, const Arc &a); 57 // bool BackArc(StateId s, const Arc &a); 59 // bool ForwardOrCrossArc(StateId s, const Arc &a); 62 // void FinishState(StateId s, StateId parent, const Arc *parent_arc); 75 typedef typename Arc::StateId StateId [all...] |
equivalent.h | 47 // disjoint, we map Arc::StateId on the type MappedId. The states of 56 typedef typename Arc::StateId StateId; 58 typedef StateId MappedId; // ID for an equivalence class. 69 static MappedId MapState(StateId s, int32 which_fst) { 78 static StateId UnMapState(MappedId id) { 79 return static_cast<StateId>((--id) >> 1); 174 typedef typename Arc::StateId StateId;
|
expanded-fst.h | 38 typedef typename A::StateId StateId; 40 virtual StateId NumStates() const = 0; // State count 95 typename A::Weight Final(const ExpandedFst<A> &fst, typename A::StateId s) { 100 ssize_t NumArcs(const ExpandedFst<A> &fst, typename A::StateId s) { 105 ssize_t NumInputEpsilons(const ExpandedFst<A> &fst, typename A::StateId s) { 110 ssize_t NumOutputEpsilons(const ExpandedFst<A> &fst, typename A::StateId s) { 129 typedef typename Arc::StateId StateId; 133 virtual StateId NumStates() const { return GetImpl()->NumStates(); [all...] |
test-properties.h | 80 typedef typename Arc::StateId StateId; 122 StateId nfinal = 0; 126 StateId s = siter.Value();
|
union.h | 45 typedef typename Arc::StateId StateId; 59 StateId numstates1 = fst1->NumStates(); 64 StateId start2 = fst2.Start(); 78 StateId s1 = fst1->AddState(); 79 StateId s2 = siter.Value(); 90 StateId start1 = fst1->Start(); 100 StateId nstart1 = fst1->AddState(); 138 typedef typename A::StateId StateId; [all...] |
arc.h | 48 typedef int StateId; 50 ArcTpl(Label i, Label o, const Weight& w, StateId s) 64 StateId nextstate; 81 typedef int StateId; 83 StringArc(Label i, Label o, Weight w, StateId s) 100 StateId nextstate; // Transition destination state 110 typedef typename A::StateId StateId; 115 GallicArc(Label i, Label o, Weight w, StateId s) 134 StateId nextstate; // Transition destination stat [all...] |
arcsort.h | 42 typedef typename Arc::StateId StateId; 53 StateId Start() { return fst_.Start(); } 54 Weight Final(StateId s) const { return fst_.Final(s); } 56 void SetState(StateId s) { 124 typedef typename Arc::StateId StateId; 142 virtual size_t NumArcs(StateId s) const { 146 virtual size_t NumInputEpsilons(StateId s) const { 150 virtual size_t NumOutputEpsilons(StateId s) const [all...] |
/external/openfst/src/include/fst/script/ |
prune.h | 57 typedef typename A::StateId StateId; 60 StateId state_threshold = opts.state_threshold; 83 typedef typename Arc::StateId StateId;
|
rmepsilon.h | 68 typedef typename Arc::StateId StateId; 76 AutoQueue<StateId> queue(*fst, distance, EpsilonArcFilter<Arc>()); 77 fst::RmEpsilonOptions<Arc, AutoQueue<StateId> > ropts( 84 FifoQueue<StateId> queue; 85 fst::RmEpsilonOptions<Arc, FifoQueue<StateId> > ropts( 92 LifoQueue<StateId> queue; 93 fst::RmEpsilonOptions<Arc, LifoQueue<StateId> > ropts( 100 NaturalShortestFirstQueue<StateId, Weight> queue(*distance); 101 fst::RmEpsilonOptions<Arc, NaturalShortestFirstQueue<StateId, [all...] |
shortest-distance.h | 69 struct QueueConstructor<AutoQueue<typename Arc::StateId>, Arc, ArcFilter> { 71 static AutoQueue<typename Arc::StateId> *Construct( 74 return new AutoQueue<typename Arc::StateId>(fst, distance, ArcFilter()); 79 struct QueueConstructor<NaturalShortestFirstQueue<typename Arc::StateId, 83 static NaturalShortestFirstQueue<typename Arc::StateId, typename Arc::Weight> 86 return new NaturalShortestFirstQueue<typename Arc::StateId, 92 struct QueueConstructor<TopOrderQueue<typename Arc::StateId>, Arc, ArcFilter> { 94 static TopOrderQueue<typename Arc::StateId> *Construct( 96 return new TopOrderQueue<typename Arc::StateId>(fst, ArcFilter()); 165 typedef typename Arc::StateId StateId [all...] |
shortest-path.h | 61 typedef typename Arc::StateId StateId; 71 typedef AutoQueue<StateId> Queue; 83 typedef FifoQueue<StateId> Queue; 95 typedef LifoQueue<StateId> Queue; 107 typedef NaturalShortestFirstQueue<StateId, Weight> Queue; 119 typedef StateOrderQueue<StateId> Queue; 131 typedef TopOrderQueue<StateId> Queue;
|
/external/openfst/src/include/fst/extensions/pdt/ |
info.h | 42 typedef typename A::StateId StateId; 91 unordered_set<StateId> open_paren_state_set; 92 unordered_set<StateId> close_paren_state_set; 104 StateId s = siter.Value();
|
pdt.h | 155 typedef S StateId; 158 StateId state_id; 164 PdtStateTuple(StateId fs, StackId ss) 200 typedef S StateId;
|
pdtscript.h | 204 typedef typename Arc::StateId StateId; 223 typedef FifoQueue<StateId> Queue; 230 typedef LifoQueue<StateId> Queue; 237 typedef StateOrderQueue<StateId> Queue;
|