/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
relabel.h | 46 typedef typename A::StateId StateId; 64 StateId s = siter.Value(); 102 typedef typename A::StateId StateId; 161 typedef typename A::StateId StateId; 231 StateId Start() { 233 StateId s = fst_->Start(); 239 Weight Final(StateId s) [all...] |
shortest-path.h | 35 typedef typename Arc::StateId StateId; 65 typedef typename Arc::StateId StateId; 77 vector<StateId> parent; 81 StateId source = opts.source == kNoStateId ? ifst.Start() : opts.source; 83 StateId f_parent = kNoStateId; 108 StateId s = state_queue->Head(); 148 StateId s_p = kNoStateId, d_p = kNoStateId; 149 for (StateId s = f_parent, d = kNoStateId [all...] |
cache.h | 68 typedef typename Arc::StateId StateId; 90 const S *GetState(StateId s) const { 98 S *GetState(StateId s) { 106 const S *CheckState(StateId s) const { 116 S *ExtendState(StateId s) { 157 void SetStart(StateId s) { 164 void SetFinal(StateId s, Weight w) { 170 void AddArc(StateId s, const Arc &arc) { 176 void SetArcs(StateId s) [all...] |
factor-weight.h | 150 typedef typename A::StateId StateId; 156 Element(StateId s, Weight w) : state(s), weight(w) {} 158 StateId state; // Input state Id 177 StateId Start() { 179 StateId s = fst_->Start(); 182 StateId start = FindState(Element(fst_->Start(), Weight::One())); 188 Weight Final(StateId s) { 204 size_t NumArcs(StateId s) { 210 size_t NumInputEpsilons(StateId s) [all...] |
minimize.h | 48 typedef typename A::StateId StateId; 59 const Partition<typename A::StateId>& partition, 64 bool operator()(const StateId x, const StateId y) const { 100 const Partition<typename A::StateId>& partition_; 119 typedef typename A::StateId StateId; 120 typedef typename A::StateId ClassId; 133 const Partition<StateId>& partition() const [all...] |
queue.h | 37 // typedef typename S StateId; 42 // StateId Head() const; 44 // void Enqueue(StateId s); 48 // void Update(StateId s); 69 // QueueBase, templated on the StateId, is the base class shared by the 74 typedef S StateId; 78 StateId Head() const { return Head_(); } 79 void Enqueue(StateId s) { Enqueue_(s); } 81 void Update(StateId s) { Update_(s); } 87 virtual StateId Head_() const = 0 [all...] |
rmepsilon.h | 43 typedef typename Arc::StateId StateId; 59 typedef typename Arc::StateId StateId; 69 void Expand(StateId s); 81 StateId nextstate; 85 Element(Label i, Label o, StateId s) 112 typedef hash_map<Element, pair<StateId, ssize_t>, 126 stack<StateId> eps_queue_; // Queue used to visit the epsilon-closure 128 slist<StateId> visited_states_; // List of visited state [all...] |
synchronize.h | 54 typedef typename A::StateId StateId; 61 Element(StateId s, const String *i, const String *o) 64 StateId state; // Input state Id 94 StateId Start() { 96 StateId s = fst_->Start(); 100 StateId start = FindState(Element(fst_->Start(), empty, empty)); 106 Weight Final(StateId s) { 118 size_t NumArcs(StateId s) { 124 size_t NumInputEpsilons(StateId s) [all...] |
/external/openfst/src/include/fst/ |
compose-filter.h | 179 // void SetState(StateId s1, StateId s2, const FilterState &f); 216 typedef typename Arc::StateId StateId; 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; [all...] |
const-fst.h | 55 typedef typename A::StateId StateId; 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 s, ArcIteratorData<A> *data) const [all...] |
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...] |
/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) {
|
/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) {
|