Searched defs:StateId (Results 1 - 25 of 117) sorted by path

12345

/external/openfst/src/include/fst/
H A Daccumulator.h45 typedef typename A::StateId StateId; typedef in class:fst::DefaultAccumulator
54 void SetState(StateId) {}
84 typedef typename A::StateId StateId; typedef in class:fst::LogAccumulator
93 void SetState(StateId) {}
165 typedef typename A::StateId StateId; typedef in class:fst::FastLogAccumulator
187 void SetState(StateId s) {
259 StateId
346 typedef typename A::StateId StateId; typedef in class:fst::CacheLogAccumulatorData
433 typedef typename A::StateId StateId; typedef in class:fst::CacheLogAccumulator
600 typedef typename Arc::StateId StateId; typedef in class:fst::ReplaceAccumulatorData
659 typedef typename Arc::StateId StateId; typedef in class:fst::ReplaceAccumulator
[all...]
H A Dadd-on.h149 typedef typename Arc::StateId StateId; typedef in class:fst::AddOnImpl
186 StateId Start() const { return fst_.Start(); }
187 Weight Final(StateId s) const { return fst_.Final(s); }
188 size_t NumArcs(StateId s) const { return fst_.NumArcs(s); }
190 size_t NumInputEpsilons(StateId s) const {
194 size_t NumOutputEpsilons(StateId s) const {
262 void InitArcIterator(StateId s, ArcIteratorData<Arc> *data) const {
H A Darc-map.h113 typedef typename A::StateId StateId; typedef
128 StateId superfinal = kNoStateId;
134 for (StateId s = 0; s < fst->NumStates(); ++s) {
201 typedef typename A::StateId StateId; typedef
233 StateId superfinal = kNoStateId;
239 StateId s = siter.Value();
330 typedef typename B::StateId StateId; typedef in class:fst::ArcMapFstImpl
558 typedef typename B::StateId StateId; typedef in class:fst::ArcMapFst
601 typedef typename B::StateId StateId; typedef in class:fst::StateIterator
663 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
866 typedef typename A::StateId StateId; typedef in struct:fst::GallicToNewSymbolsMapper
[all...]
H A Darc.h48 typedef int StateId; typedef in class:fst::ArcTpl
50 ArcTpl(Label i, Label o, const Weight& w, StateId s)
64 StateId nextstate;
81 typedef int StateId; typedef in class:fst::StringArc
83 StringArc(Label i, Label o, Weight w, StateId s)
100 StateId nextstate; // Transition destination state
110 typedef typename A::StateId StateId; typedef in struct:fst::GallicArc
115 GallicArc(Label i, Label o, Weight w, StateId s)
134 StateId nextstat
144 typedef typename A::StateId StateId; typedef in struct:fst::ReverseArc
168 typedef int StateId; typedef in struct:fst::LexicographicArc
192 typedef int StateId; typedef in struct:fst::ProductArc
218 typedef typename A::StateId StateId; typedef in struct:fst::PowerArc
249 typedef typename A::StateId StateId; typedef in struct:fst::SparsePowerArc
282 typedef typename A::StateId StateId; typedef in struct:fst::ExpectationArc
[all...]
H A Darcsort.h42 typedef typename Arc::StateId StateId; typedef in class:fst::ArcSortMapper
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; typedef in class:fst::ArcSortFst
142 virtual size_t NumArcs(StateId s) const {
146 virtual size_t NumInputEpsilons(StateId s) const {
150 virtual size_t NumOutputEpsilons(StateId
[all...]
H A Dcache.h50 // S *Allocate(StateId s);
51 // void Free(S *state, StateId s);
59 typedef typename S::Arc::StateId StateId; typedef in struct:fst::DefaultCacheStateAllocator
67 S *Allocate(StateId s) {
77 void Free(S *state, StateId s) {
109 typedef typename Arc::StateId StateId; typedef in class:fst::CacheBaseImpl
163 for (StateId s = 0; s < impl.NumStates(); ++s) {
184 const S *GetState(StateId
614 typedef typename A::StateId StateId; typedef in struct:fst::CacheState
659 typedef typename Arc::StateId StateId; typedef in class:fst::CacheStateIterator
717 typedef typename Arc::StateId StateId; typedef in class:fst::CacheArcIterator
761 typedef typename Arc::StateId StateId; typedef in class:fst::CacheMutableArcIterator
[all...]
H A Dclosure.h47 typedef typename Arc::StateId StateId; typedef
52 StateId start = fst->Start();
56 StateId s = siter.Value();
63 StateId nstart = fst->AddState();
143 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
145 ArcIterator(const ClosureFst<A> &fst, StateId s)
H A Dcompact-fst.h75 // Element Compact(StateId s, const Arc &arc);
78 // Arc Expand(StateId s, const Element &e);
212 typedef typename A::StateId StateId; typedef
216 StateId nfinals = 0;
221 StateId s = siter.Value();
244 for (StateId s = 0; s < nstates_; ++s) {
460 typedef typename A::StateId StateId; typedef in class:fst::CompactFstImpl
540 StateId Star
802 typedef typename A::StateId StateId; typedef in class:fst::CompactFst
1034 typedef typename A::StateId StateId; typedef in class:fst::StateIterator
1059 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
1222 typedef typename A::StateId StateId; typedef in class:fst::StringCompactor
1261 typedef typename A::StateId StateId; typedef in class:fst::WeightedStringCompactor
1304 typedef typename A::StateId StateId; typedef in class:fst::UnweightedAcceptorCompactor
1346 typedef typename A::StateId StateId; typedef in class:fst::AcceptorCompactor
1388 typedef typename A::StateId StateId; typedef in class:fst::UnweightedCompactor
[all...]
H A Dcomplement.h61 typedef typename A::StateId StateId; typedef in class:fst::ComplementFstImpl
81 StateId Start() const {
85 StateId start = fst_->Start();
93 Weight Final(StateId s) const {
100 size_t NumArcs(StateId s) const {
107 size_t NumInputEpsilons(StateId s) const {
111 size_t NumOutputEpsilons(StateId s) const {
148 typedef typename A::StateId StateId; typedef in class:fst::ComplementFst
194 typedef typename A::StateId StateId; typedef in class:fst::StateIterator
236 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
[all...]
H A Dcompose-filter.h179 // void SetState(StateId s1, StateId s2, const FilterState &f);
216 typedef typename Arc::StateId StateId; typedef in class:fst::SequenceComposeFilter
245 void SetState(StateId s1, StateId s2, const FilterState &f) {
280 StateId s1_; // Current fst1_ state;
281 StateId s2_; // Current fst2_ state;
301 typedef typename Arc::StateId StateId; typedef in class:fst::AltSequenceComposeFilter
387 typedef typename Arc::StateId StateId; typedef in class:fst::MatchComposeFilter
490 typedef typename Arc::StateId StateId; typedef in class:fst::MultiEpsFilter
[all...]
H A Dcompose.h120 typedef typename A::StateId StateId; typedef in class:fst::ComposeFstImplBase
150 StateId Start() {
152 StateId start = ComputeStart();
160 Weight Final(StateId s) {
168 virtual void Expand(StateId s) = 0;
170 size_t NumArcs(StateId s) {
176 size_t NumInputEpsilons(StateId s) {
182 size_t NumOutputEpsilons(StateId s) {
188 void InitArcIterator(StateId
208 typedef typename Arc::StateId StateId; typedef in class:fst::ComposeFstImpl
509 typedef typename A::StateId StateId; typedef in class:fst::ComposeFst
638 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
[all...]
H A Dconcat.h48 typedef typename Arc::StateId StateId; typedef
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; typedef
199 typedef typename A::StateId StateId; typedef in class:fst::ConcatFst
234 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
[all...]
H A Dconnect.h40 typedef typename A::StateId StateId; typedef in class:fst::CcVisitor
43 CcVisitor(vector<StateId> *cc)
44 : comps_(new UnionFind<StateId>(0, kNoStateId)),
49 CcVisitor(UnionFind<StateId> *comps)
61 bool InitState(StateId s, StateId root) {
68 bool WhiteArc(StateId s, const A &arc) {
74 bool GreyArc(StateId s, const A &arc) {
79 bool BlackArc(StateId
125 typedef typename A::StateId StateId; typedef in class:fst::SccVisitor
302 typedef typename Arc::StateId StateId; typedef
[all...]
H A Dconst-fst.h55 typedef typename A::StateId StateId; typedef in class:fst::ConstFstImpl
78 StateId Start() const { return start_; }
80 Weight Final(StateId s) const { return states_[s].final; }
82 StateId NumStates() const { return nstates_; }
84 size_t NumArcs(StateId s) const { return states_[s].narcs; }
86 size_t NumInputEpsilons(StateId s) const { return states_[s].niepsilons; }
88 size_t NumOutputEpsilons(StateId s) const { return states_[s].noepsilons; }
92 A *Arcs(StateId s) { return arcs_ + states_[s].pos; }
101 void InitArcIterator(StateId
265 typedef typename A::StateId StateId; typedef in class:fst::ConstFst
433 typedef typename A::StateId StateId; typedef in class:fst::StateIterator
460 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
[all...]
H A Ddeterminize.h116 typedef typename A::StateId StateId; typedef in struct:fst::DeterminizeElement
121 DeterminizeElement(StateId s, Weight w) : state_id(s), weight(w) {}
132 StateId state_id; // Input state Id
149 typedef typename Arc::StateId StateId; typedef in struct:fst::IdentityDeterminizeFilter
156 void operator()(StateId s, LabelMap *label_map) {}
168 // typedef typename Arc::StateId StateId;
182 // StateId FindStat
194 typedef typename Arc::StateId StateId; typedef in class:fst::DefaultDeterminizeStateTable
370 typedef typename A::StateId StateId; typedef in class:fst::DeterminizeFstImplBase
467 typedef typename A::StateId StateId; typedef in class:fst::DeterminizeFsaImpl
701 typedef typename A::StateId StateId; typedef in class:fst::DeterminizeFstImpl
801 typedef typename A::StateId StateId; typedef in class:fst::DeterminizeFst
918 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
944 typedef typename Arc::StateId StateId; typedef in struct:fst::DeterminizeOptions
983 typedef typename Arc::StateId StateId; typedef
[all...]
H A Ddfs-visit.h47 // 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 StateI typedef in struct:fst::DfsState
93 typedef typename Arc::StateId StateId; typedef
[all...]
H A Ddifference.h69 typedef typename A::StateId StateId; typedef in class:fst::DifferenceFst
135 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
137 ArcIterator(const DifferenceFst<A> &fst, StateId s)
H A Dedit-fst.h40 // except for DeleteStates(const vector<StateId> &); thus, new nodes may also be
73 typedef typename A::StateId StateId; typedef in class:fst::EditFstData
74 typedef typename unordered_map<StateId, StateId>::const_iterator
76 typedef typename unordered_map<StateId, Weight>::const_iterator
116 StateId NumNewStates() const {
121 StateId EditedStart() const {
125 Weight Final(StateId s, const WrappedFstT *wrapped) const {
137 size_t NumArcs(StateId
396 typedef typename Arc::StateId StateId; typedef in class:fst::EditFstImpl
696 typedef typename A::StateId StateId; typedef in class:fst::EditFst
[all...]
H A Dequal.h32 typedef typename Arc::StateId StateId; typedef
48 StateId s1 = siter1.Value();
49 StateId s2 = siter2.Value();
H A Dequivalent.h47 // disjoint, we map Arc::StateId on the type MappedId. The states of
56 typedef typename Arc::StateId StateId; typedef in struct:fst::EquivalenceUtil
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; typedef
H A Dexpanded-fst.h38 typedef typename A::StateId StateId; typedef in class:fst::ExpandedFst
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; typedef in class:fst::ImplToExpandedFst
133 virtual StateId NumState
[all...]
/external/openfst/src/include/fst/extensions/ngram/
H A Dngram-fst.h45 typedef typename A::StateId StateId; typedef in struct:fst::NGramFstInst
47 StateId state_;
51 StateId node_state_;
53 StateId context_state_;
77 typedef typename A::StateId StateId; typedef in class:fst::NGramFstImpl
87 NGramFstImpl(const Fst<A> &fst, vector<StateId>* order_out);
136 StateId Start() const {
140 Weight Final(StateId stat
284 typedef typename Arc::StateId StateId; typedef
639 typedef typename A::StateId StateId; typedef in class:fst::NGramFst
754 typedef typename A::StateId StateId; typedef in class:fst::NGramFstMatcher
862 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
964 typedef typename A::StateId StateId; typedef in class:fst::StateIterator
[all...]
/external/openfst/src/include/fst/extensions/pdt/
H A Dcompose.h46 typedef typename Arc::StateId StateId; typedef in class:fst::ParenMatcher
82 void SetState(StateId s) {
282 typedef typename Arc::StateId StateId; typedef in class:fst::ParenFilter
288 typedef StateId StackId;
332 void SetState(StateId s1, StateId s2, const FilterState &f) {
H A Dexpand.h42 PdtStack<typename Arc::StateId, typename Arc::Label> *stack;
43 PdtStateTable<typename Arc::StateId, typename Arc::StateId> *state_table;
48 PdtStack<typename Arc::StateId, typename Arc::Label> *s = 0,
49 PdtStateTable<typename Arc::StateId, typename Arc::StateId> *st = 0)
81 typedef typename A::StateId StateId; typedef in class:fst::ExpandFstImpl
82 typedef StateId StackId;
83 typedef PdtStateTuple<StateId, StackI
233 typedef typename A::StateId StateId; typedef in class:fst::ExpandFst
295 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
339 typedef typename A::StateId StateId; typedef in class:fst::PrunedExpand
939 typedef typename Arc::StateId StateId; typedef
[all...]
H A Dinfo.h42 typedef typename A::StateId StateId; typedef in class:fst::PdtInfo
91 unordered_set<StateId> open_paren_state_set;
92 unordered_set<StateId> close_paren_state_set;
104 StateId s = siter.Value();

Completed in 426 milliseconds

12345