HomeSort by relevance Sort by last modified time
    Searched defs:StateId (Results 51 - 75 of 76) sorted by null

1 23 4

  /external/openfst/src/include/fst/extensions/pdt/
paren.h 51 typedef typename A::StateId StateId;
60 StateId state_id; // destination (source) state of open (close) paren
64 ParenState(Label p, StateId s) : paren_id(p), state_id(s) {}
120 typedef typename A::StateId StateId;
124 typedef unordered_multimap<StateId, Label> ParenMultiMap;
139 typedef typename Collection<ssize_t, StateId>::SetIterator SetIterator;
156 StateId start = fst.Start();
174 ParenIterator FindParens(StateId s) const
    [all...]
compose.h 46 typedef typename Arc::StateId StateId;
82 void SetState(StateId s) {
282 typedef typename Arc::StateId StateId;
288 typedef StateId StackId;
332 void SetState(StateId s1, StateId s2, const FilterState &f) {
expand.h 42 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;
82 typedef StateId StackId;
83 typedef PdtStateTuple<StateId, StackId> StateTuple
    [all...]
shortest-path.h 70 typedef typename Arc::StateId StateId;
77 SearchState(StateId s, StateId t) : state(s), start(t) {}
85 StateId state; // PDT state
86 StateId start; // PDT paren 'source' state
96 ParenSpec(Label id, StateId s, StateId d)
100 StateId src_start; // sub-graph 'start' state for paren source.
101 StateId dest_start; // sub-graph 'start' state for paren dest
    [all...]
  /external/openfst/src/include/fst/
factor-weight.h 171 typedef typename A::StateId StateId;
177 Element(StateId s, Weight w) : state(s), weight(w) {}
179 StateId state; // Input state Id
219 StateId Start() {
221 StateId s = fst_->Start();
224 StateId start = FindState(Element(fst_->Start(), Weight::One()));
230 Weight Final(StateId s) {
246 size_t NumArcs(StateId s) {
252 size_t NumInputEpsilons(StateId s)
    [all...]
label-reachable.h 147 typedef typename A::StateId StateId;
161 StateId ins = fst_->NumStates();
214 StateId s = siter.Value();
262 void SetState(StateId s, StateId aiter_s = kNoStateId) {
410 StateId ins = fst_->NumStates();
411 StateId ons = ins;
416 for (StateId s = 0; s < ins; ++s) {
452 StateId s = fst_->AddState()
    [all...]
lookahead-filter.h 207 typedef typename Arc::StateId StateId;
244 void SetState(StateId s1, StateId s2, const FilterState &f) {
341 typedef typename Arc::StateId StateId;
360 void SetState(StateId s1, StateId s2, const FilterState &f) {
429 typedef typename Arc::StateId StateId;
    [all...]
minimize.h 57 typedef typename A::StateId StateId;
66 const Partition<typename A::StateId>& partition,
71 bool operator()(const StateId x, const StateId y) const {
107 const Partition<typename A::StateId>& partition_;
132 typedef typename A::StateId StateId;
133 typedef typename A::StateId ClassId;
146 const Partition<StateId>& partition() const
    [all...]
replace-util.h 59 typedef typename Arc::StateId StateId;
137 StateId nstates; // # of states
138 StateId nfinal; // # of final states
285 StateId s = siter.Value();
406 vector<StateId> order;
434 for (StateId i = 0; i < pfst.NumStates(); ++i) {
458 StateId s = toporder[o];
rmepsilon.h 52 typedef typename Arc::StateId StateId;
57 StateId state_threshold; // Pruning state threshold.
61 StateId n = kNoStateId)
74 typedef typename Arc::StateId StateId;
84 void Expand(StateId s);
102 StateId nextstate;
106 Element(Label i, Label o, StateId s)
129 typedef unordered_map<Element, pair<StateId, size_t>
    [all...]
accumulator.h 45 typedef typename A::StateId StateId;
54 void SetState(StateId) {}
84 typedef typename A::StateId StateId;
93 void SetState(StateId) {}
165 typedef typename A::StateId StateId;
187 void SetState(StateId s) {
259 StateId s = siter.Value()
    [all...]
compose.h 120 typedef typename A::StateId StateId;
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 s, ArcIteratorData<A> *data)
    [all...]
edit-fst.h 40 // except for DeleteStates(const vector<StateId> &); thus, new nodes may also be
73 typedef typename A::StateId StateId;
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 s, const WrappedFstT *wrapped) const
    [all...]
lookahead-matcher.h 45 // typedef typename Arc::StateId StateId;
72 // bool LookAheadFst(const Fst<Arc>& fst, StateId s);
136 typedef typename A::StateId StateId;
148 bool LookAheadFst(const Fst<Arc> &fst, StateId s) {
175 StateId s) = 0; // This must set l.a. weight and
189 typedef typename Arc::StateId StateId;
206 void SetState(StateId s) { return matcher_.SetState(s);
    [all...]
matcher.h 44 // typedef typename Arc::StateId StateId;
67 // void SetState(StateId s);
107 typedef typename A::StateId StateId;
115 void SetState(StateId s) { SetState_(s); }
124 virtual void SetState_(StateId s) = 0;
142 typedef typename Arc::StateId StateId;
212 void SetState(StateId s)
    [all...]
queue.h 41 // typedef typename S StateId;
46 // StateId Head() const;
48 // void Enqueue(StateId s);
52 // void Update(StateId s);
73 // QueueBase, templated on the StateId, is the base class shared by the
78 typedef S StateId;
82 StateId Head() const { return Head_(); }
83 void Enqueue(StateId s) { Enqueue_(s); }
85 void Update(StateId s) { Update_(s); }
96 virtual StateId Head_() const = 0
    [all...]
randgen.h 49 typedef typename A::StateId StateId;
54 size_t operator()(const Fst<A> &fst, StateId s) const {
72 typedef typename A::StateId StateId;
77 size_t operator()(const Fst<A> &fst, StateId s) const {
113 typedef typename A::StateId StateId;
121 size_t operator()(const Fst<A> &fst, StateId s,
141 typedef typename A::StateId StateId
    [all...]
vector-fst.h 46 typedef typename Arc::StateId StateId;
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 AddState()
    [all...]
arc-map.h 113 typedef typename A::StateId StateId;
128 StateId superfinal = kNoStateId;
134 for (StateId s = 0; s < fst->NumStates(); ++s) {
201 typedef typename A::StateId StateId;
233 StateId superfinal = kNoStateId;
239 StateId s = siter.Value();
330 typedef typename B::StateId StateId;
    [all...]
cache.h 50 // S *Allocate(StateId s);
51 // void Free(S *state, StateId s);
59 typedef typename S::Arc::StateId StateId;
67 S *Allocate(StateId s) {
77 void Free(S *state, StateId s) {
109 typedef typename Arc::StateId StateId;
163 for (StateId s = 0; s < impl.NumStates(); ++s) {
184 const S *GetState(StateId s) const
    [all...]
compact-fst.h 75 // Element Compact(StateId s, const Arc &arc);
78 // Arc Expand(StateId s, const Element &e);
212 typedef typename A::StateId StateId;
216 StateId nfinals = 0;
221 StateId s = siter.Value();
244 for (StateId s = 0; s < nstates_; ++s) {
460 typedef typename A::StateId StateId;
540 StateId Start()
    [all...]
determinize.h 116 typedef typename A::StateId StateId;
121 DeterminizeElement(StateId s, Weight w) : state_id(s), weight(w) {}
132 StateId state_id; // Input state Id
149 typedef typename Arc::StateId StateId;
156 void operator()(StateId s, LabelMap *label_map) {}
168 // typedef typename Arc::StateId StateId;
182 // StateId FindState(Subset *subset)
    [all...]
fst.h 166 typedef typename A::StateId StateId;
170 virtual StateId Start() const = 0; // Initial state
172 virtual Weight Final(StateId) const = 0; // State's final weight
174 virtual size_t NumArcs(StateId) const = 0; // State's arc count
176 virtual size_t NumInputEpsilons(StateId)
179 virtual size_t NumOutputEpsilons(StateId)
270 virtual void InitArcIterator(StateId s, ArcIteratorData<A> *) const = 0;
303 typedef typename A::StateId StateId;
    [all...]
  /external/openfst/src/include/fst/script/
info-impl.h 47 typedef typename A::StateId StateId;
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) {
  /external/openfst/src/include/fst/extensions/ngram/
ngram-fst.h 45 typedef typename A::StateId StateId;
47 StateId state_;
51 StateId node_state_;
53 StateId context_state_;
77 typedef typename A::StateId StateId;
87 NGramFstImpl(const Fst<A> &fst, vector<StateId>* order_out);
136 StateId Start() const {
140 Weight Final(StateId state) const
    [all...]

Completed in 3641 milliseconds

1 23 4