Searched defs:StateId (Results 51 - 75 of 117) sorted by path

12345

/external/openfst/src/include/fst/
H A Drmfinalepsilon.h38 typedef typename A::StateId StateId; typedef
51 unordered_set<StateId> finals;
53 StateId s = siter.Value();
72 StateId s = siter.Value();
H A Dshortest-distance.h40 typedef typename Arc::StateId StateId; typedef in struct:fst::ShortestDistanceOptions
44 StateId source; // If kNoStateId, use the Fst's initial state
56 ShortestDistanceOptions(Queue *q, ArcFilter filt, StateId src = kNoStateId,
74 typedef typename Arc::StateId StateId; typedef in class:fst::ShortestDistanceState
91 void ShortestDistance(StateId source);
106 vector<StateId> sources_; // Source ID for ith state in 'distance_',
108 StateId source_id_; // Unique ID characterizing each call to SD
117 StateId sourc
285 typedef typename Arc::StateId StateId; typedef
325 typedef typename Arc::StateId StateId; typedef
[all...]
H A Dshortest-path.h42 typedef typename Arc::StateId StateId; typedef in struct:fst::ShortestPathOptions
54 StateId state_threshold; // pruning state threshold.
59 StateId s = kNoStateId)
82 typedef typename Arc::StateId StateId; typedef
95 vector<StateId> parent;
99 StateId source = opts.source == kNoStateId ? ifst.Start() : opts.source;
101 StateId f_parent = kNoStateId;
138 StateId
210 typedef S StateId; typedef in class:fst::ShortestPathCompare
416 typedef typename Arc::StateId StateId; typedef
[all...]
H A Dstate-map.h55 // B::StateId Start() const;
57 // B::Weight Final(B::StateId s) const;
61 // void SetState(B::StateId s);
91 typedef typename A::StateId StateId; typedef
107 for (StateId s = 0; s < fst->NumStates(); ++s) {
131 typedef typename A::StateId StateId; typedef
162 StateId s = siter.Value();
206 typedef typename B::StateId StateI typedef in class:fst::StateMapFstImpl
335 typedef typename B::StateId StateId; typedef in class:fst::StateMapFst
382 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
405 typedef typename A::StateId StateId; typedef in class:fst::IdentityStateMapper
446 typedef typename A::StateId StateId; typedef in class:fst::ArcSumMapper
530 typedef typename A::StateId StateId; typedef in class:fst::ArcUniqueMapper
[all...]
H A Dstate-reachable.h44 template <class A, typename I = typename A::StateId>
47 typedef typename A::StateId StateId; typedef in class:fst::IntervalReachVisitor
65 bool InitState(StateId s, StateId r) {
96 bool TreeArc(StateId s, const A &arc) {
100 bool BackArc(StateId s, const A &arc) {
106 bool ForwardOrCrossArc(StateId s, const A &arc) {
112 void FinishState(StateId s, StateId
143 typedef typename A::StateId StateId; typedef in class:fst::StateReachable
[all...]
H A Dstate-table.h49 // StateId FindState(const StateTuple &);
51 // const StateTuple<StateId> &Tuple(StateId) const;
53 // StateId Size() const;
60 // typedef typename S StateId;
71 class HashStateTable : public HashBiTable<typename T::StateId, T, H> {
74 typedef typename StateTuple::StateId StateId; typedef in class:fst::HashStateTable
75 using HashBiTable<StateId, T, H>::FindId;
76 using HashBiTable<StateId,
97 typedef typename StateTuple::StateId StateId; typedef in class:fst::CompactHashStateTable
123 typedef typename StateTuple::StateId StateId; typedef in class:fst::VectorStateTable
149 typedef typename StateTuple::StateId StateId; typedef in class:fst::VectorHashStateTable
176 typedef typename StateTuple::StateId StateId; typedef in class:fst::ErasableStateTable
216 typedef S StateId; typedef in struct:fst::ComposeStateTuple
272 typedef typename A::StateId StateId; typedef in class:fst::GenericComposeStateTable
293 typedef S StateId; typedef in class:fst::ComposeFingerprint
321 typedef S StateId; typedef in class:fst::ComposeState1Fingerprint
333 typedef S StateId; typedef in class:fst::ComposeState2Fingerprint
351 typedef typename A::StateId StateId; typedef in class:fst::ProductComposeStateTable
385 typedef typename A::StateId StateId; typedef in class:fst::StringDetComposeStateTable
427 typedef typename A::StateId StateId; typedef in class:fst::DetStringComposeStateTable
467 typedef typename A::StateId StateId; typedef in class:fst::ErasableComposeStateTable
[all...]
H A Dstatesort.h39 const vector<typename Arc::StateId> &order) {
40 typedef typename Arc::StateId StateId; typedef
63 StateId s1 = siter.Value(), s2;
H A Dstring.h163 typedef typename A::StateId StateId; typedef in class:fst::StringPrinter
210 StateId s = fst.Start();
H A Dsynchronize.h67 typedef typename A::StateId StateId; typedef in class:fst::SynchronizeFstImpl
74 Element(StateId s, const String *i, const String *o)
77 StateId state; // Input state Id
116 StateId Start() {
118 StateId s = fst_->Start();
122 StateId start = FindState(Element(fst_->Start(), empty, empty));
128 Weight Final(StateId s) {
140 size_t NumArcs(StateId s) {
146 size_t NumInputEpsilons(StateId
361 typedef typename A::StateId StateId; typedef in class:fst::SynchronizeFst
409 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
[all...]
H A Dtest-properties.h80 typedef typename Arc::StateId StateId; typedef
122 StateId nfinal = 0;
126 StateId s = siter.Value();
H A Dtopsort.h41 typedef typename A::StateId StateId; typedef in class:fst::TopOrderVisitor
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
92 typedef typename Arc::StateId StateId; typedef
[all...]
H A Dunion.h45 typedef typename Arc::StateId StateId; typedef
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; typedef in class:fst::UnionFst
173 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
[all...]
H A Dvector-fst.h46 typedef typename Arc::StateId StateId; typedef in class:fst::VectorFstBaseImpl
51 for (StateId s = 0; s < states_.size(); ++s)
55 StateId Start() const { return start_; }
57 Weight Final(StateId s) const { return states_[s]->final; }
59 StateId NumStates() const { return states_.size(); }
61 size_t NumArcs(StateId s) const { return states_[s]->arcs.size(); }
63 void SetStart(StateId s) { start_ = s; }
65 void SetFinal(StateId s, Weight w) { states_[s]->final = w; }
67 StateId AddStat
169 typedef typename A::StateId StateId; typedef in struct:fst::VectorState
199 typedef typename A::StateId StateId; typedef in class:fst::VectorFstImpl
420 typedef typename A::StateId StateId; typedef in class:fst::VectorFst
510 typedef typename A::StateId StateId; typedef in class:fst::StateIterator
589 typedef typename A::StateId StateId; typedef in class:fst::ArcIterator
626 typedef typename A::StateId StateId; typedef in class:fst::MutableArcIterator
[all...]
H A Dverify.h35 typedef typename Arc::StateId StateId; typedef
37 StateId start = fst.Start();
42 StateId ns = 0;
59 StateId s = siter.Value();
H A Dvisit.h43 // typedef typename Arc::StateId StateId;
49 // bool InitState(StateId s, StateId root);
51 // bool WhiteArc(StateId s, const Arc &a);
53 // bool GreyArc(StateId s, const Arc &a);
55 // bool BlackArc(StateId s, const Arc &a);
57 // void FinishState(StateId s);
71 typedef typename Arc::StateId StateId; typedef
198 typedef typename A::StateId StateId; typedef in class:fst::CopyVisitor
248 typedef typename A::StateId StateId; typedef in class:fst::PartialVisitor
[all...]
/external/openfst/src/include/fst/script/
H A Dcompile-impl.h49 typedef typename A::StateId StateId; typedef in class:fst::FstCompiler
80 StateId s = StrToStateId(col[0]);
87 StateId d = s;
163 StateId StrToStateId(const char *s) {
164 StateId n = StrToId(s, ssyms_, "state ID");
170 typename unordered_map<StateId, StateId>::const_iterator it = states_.find(n);
179 StateId StrToILabel(const char *s) const {
183 StateId StrToOLabe
[all...]
H A Ddraw-impl.h39 typedef typename A::StateId StateId; typedef in class:fst::FstDrawer
69 StateId start = fst_.Start();
101 StateId s = siter.Value();
148 void PrintStateId(StateId s) const {
165 void DrawState(StateId s) const {
H A Dinfo-impl.h47 typedef typename A::StateId StateId; typedef in class:fst::FstInfo
94 StateId s = siter.Value();
112 vector<StateId> cc;
114 FifoQueue<StateId> fifo_queue;
128 for (StateId s = 0; s < cc.size(); ++s) {
135 vector<StateId> scc;
152 for (StateId s = 0; s < scc.size(); ++s) {
H A Dprint-impl.h41 typedef typename A::StateId StateId; typedef in class:fst::FstPrinter
59 StateId start = fst_.Start();
67 StateId s = siter.Value();
94 void PrintStateId(StateId s) const {
106 void PrintState(StateId s) const {
H A Dprune.h57 typedef typename A::StateId StateId; typedef
60 StateId state_threshold = opts.state_threshold;
83 typedef typename Arc::StateId StateId; typedef
H A Drmepsilon.h68 typedef typename Arc::StateId StateId; typedef
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...]
H A Dshortest-distance.h69 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 StateI typedef
[all...]
H A Dshortest-path.h61 typedef typename Arc::StateId StateId; typedef
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/test/
H A Dalgo_test.h66 typedef typename Arc::StateId StateId; typedef in class:fst::WeightedTester
795 StateId pstart = paths.Start();
799 StateId s = piter.Value().nextstate;
898 typedef Arc::StateId StateId;
1156 typedef typename Arc::StateId StateId;
1215 StateId ns = rand() % kNumRandomStates;
1219 for (StateId
[all...]
H A Dfst_test.cc35 typedef int64 StateId; typedef in struct:fst::CustomArc
37 CustomArc(Label i, Label o, Weight w, StateId s) :
49 StateId nextstate; // Transition destination state
59 typedef typename A::StateId StateId; typedef in class:fst::CustomCompactor
63 Element Compact(StateId s, const A &arc) const {
67 Arc Expand(StateId s, const Element &p, uint32 f = kArcValueFlags) const {

Completed in 290 milliseconds

12345