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

1 23 4 5

  /external/openfst/src/include/fst/
state-reachable.h 44 template <class A, typename I = typename A::StateId>
47 typedef typename A::StateId StateId;
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 p, const A *arc)
    [all...]
state-table.h 49 // 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;
75 using HashBiTable<StateId, T, H>::FindId;
76 using HashBiTable<StateId, T, H>::FindEntry
    [all...]
string.h 163 typedef typename A::StateId StateId;
210 StateId s = fst.Start();
visit.h 43 // 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;
    [all...]
add-on.h 149 typedef typename Arc::StateId StateId;
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 {
complement.h 61 typedef typename A::StateId StateId;
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;
    [all...]
connect.h 40 typedef typename A::StateId StateId;
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 s, const A &arc)
    [all...]
matcher-fst.h 90 typedef typename Arc::StateId StateId;
137 virtual void InitArcIterator(StateId s, ArcIteratorData<Arc> *data) const {
198 ArcIterator(const MatcherFst<F, M, N, I> &fst, typename F::Arc::StateId s)
209 typedef typename Arc::StateId StateId;
227 void SetState(StateId s) { matcher_->SetState(s); }
248 typedef typename Arc::StateId StateId;
268 void SetState(StateId s) { matcher_->SetState(s);
    [all...]
mutable-fst.h 45 typedef typename A::StateId StateId;
53 virtual void SetStart(StateId) = 0; // Set the initial state
54 virtual void SetFinal(StateId, Weight) = 0; // Set a state's final weight
58 virtual StateId AddState() = 0; // Add a state, return its ID
59 virtual void AddArc(StateId, const A &arc) = 0; // Add an arc to state
61 virtual void DeleteStates(const vector<StateId>&) = 0; // Delete some states
63 virtual void DeleteArcs(StateId, size_t n) = 0; // Delete some arcs at state
64 virtual void DeleteArcs(StateId) = 0; // Delete all arcs at state
66 virtual void ReserveStates(StateId n) { } // Optional, best effort only
    [all...]
rational.h 62 typedef typename A::StateId StateId;
96 StateId Start() { return Replace()->Start(); }
98 Weight Final(StateId s) { return Replace()->Final(s); }
100 size_t NumArcs(StateId s) { return Replace()->NumArcs(s); }
102 size_t NumInputEpsilons(StateId s) {
106 size_t NumOutputEpsilons(StateId s) {
277 typedef typename A::StateId StateId;
284 virtual void InitArcIterator(StateId s, ArcIteratorData<A> *data) const
    [all...]
relabel.h 58 typedef typename A::StateId StateId;
76 StateId s = siter.Value();
141 typedef typename A::StateId StateId;
209 typedef typename A::StateId StateId;
291 StateId Start() {
293 StateId s = fst_->Start();
299 Weight Final(StateId s)
    [all...]
shortest-path.h 42 typedef typename Arc::StateId StateId;
54 StateId state_threshold; // pruning state threshold.
59 StateId s = kNoStateId)
82 typedef typename Arc::StateId StateId;
95 vector<StateId> parent;
99 StateId source = opts.source == kNoStateId ? ifst.Start() : opts.source;
101 StateId f_parent = kNoStateId;
138 StateId s = state_queue->Head()
    [all...]
state-map.h 55 // B::StateId Start() const;
57 // B::Weight Final(B::StateId s) const;
61 // void SetState(B::StateId s);
91 typedef typename A::StateId StateId;
107 for (StateId s = 0; s < fst->NumStates(); ++s) {
131 typedef typename A::StateId StateId;
162 StateId s = siter.Value();
206 typedef typename B::StateId StateId
    [all...]
synchronize.h 67 typedef typename A::StateId StateId;
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 s)
    [all...]
  /external/openfst/src/test/
algo_test.h 66 typedef typename Arc::StateId StateId;
795 StateId pstart = paths.Start();
799 StateId s = piter.Value().nextstate;
898 typedef Arc::StateId StateId;
1156 typedef typename Arc::StateId StateId;
    [all...]
fst_test.cc 35 typedef int64 StateId;
37 CustomArc(Label i, Label o, Weight w, StateId s) :
49 StateId nextstate; // Transition destination state
59 typedef typename A::StateId StateId;
63 Element Compact(StateId s, const A &arc) const {
67 Arc Expand(StateId s, const Element &p, uint32 f = kArcValueFlags) const {
fst_test.h 44 typedef typename Arc::StateId StateId;
66 StateId ns = 0;
72 StateId s = siter.Value();
112 StateId ns = 0;
130 StateId s = siter.Value();
158 StateId s = siter.Value();
315 for (StateId s = 0; s < nstates; ++s) {
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
connect.h 35 typedef typename A::StateId StateId;
44 SccVisitor(vector<StateId> *scc, vector<bool> *access,
68 dfnumber_ = new vector<StateId>;
69 lowlink_ = new vector<StateId>;
71 scc_stack_ = new vector<StateId>;
74 bool InitState(StateId s, StateId root) {
76 while ((StateId)dfnumber_->size() <= s) {
102 bool TreeArc(StateId s, const A &arc) { return true;
    [all...]
shortest-distance.h 35 typedef typename Arc::StateId StateId;
39 StateId source; // If kNoStateId, use the Fst's initial state
42 ShortestDistanceOptions(Queue *q, ArcFilter filt, StateId src = kNoStateId,
57 typedef typename Arc::StateId StateId;
75 void ShortestDistance(StateId source);
87 vector<StateId> sources_; // Source state for ith state in 'distance_',
95 StateId source) {
114 while ((StateId)distance_->size() <= source)
    [all...]
arcsort.h 44 typedef typename Arc::StateId StateId;
52 StateId s = siter.Value();
88 typedef typename A::StateId StateId;
110 StateId Start() {
116 Weight Final(StateId s) {
122 size_t NumArcs(StateId s) {
128 size_t NumInputEpsilons(StateId s) {
134 size_t NumOutputEpsilons(StateId s)
    [all...]
complement.h 55 typedef typename A::StateId StateId;
67 StateId Start() const {
68 StateId start = fst_->Start();
76 Weight Final(StateId s) const {
83 size_t NumArcs(StateId s) const {
90 size_t NumInputEpsilons(StateId s) const {
94 size_t NumOutputEpsilons(StateId s) const {
116 typedef typename A::StateId StateId;
    [all...]
const-fst.h 41 typedef typename A::StateId StateId;
56 StateId Start() const { return start_; }
58 Weight Final(StateId s) const { return states_[s].final; }
60 StateId NumStates() const { return nstates_; }
62 size_t NumArcs(StateId s) const { return states_[s].narcs; }
64 size_t NumInputEpsilons(StateId s) const { return states_[s].niepsilons; }
66 size_t NumOutputEpsilons(StateId s) const { return states_[s].noepsilons; }
72 A *Arcs(StateId s) { return arcs_ + states_[s].pos; }
81 void InitArcIterator(StateId s, ArcIteratorData<A> *data) const
    [all...]
rational.h 198 typedef typename A::StateId StateId;
201 virtual StateId Start() const { return impl_->Start(); }
202 virtual Weight Final(StateId s) const { return impl_->Final(s); }
203 virtual size_t NumArcs(StateId s) const { return impl_->NumArcs(s); }
204 virtual size_t NumInputEpsilons(StateId s) const {
207 virtual size_t NumOutputEpsilons(StateId s) const {
229 virtual void InitArcIterator(StateId s, ArcIteratorData<A> *data) const {
267 typedef typename A::StateId StateId;
    [all...]
  /external/openfst/src/include/fst/script/
draw-impl.h 39 typedef typename A::StateId StateId;
69 StateId start = fst_.Start();
101 StateId s = siter.Value();
148 void PrintStateId(StateId s) const {
165 void DrawState(StateId s) const {
  /external/srec/tools/grxmlcompile/
fst-io.h 44 typedef typename A::StateId StateId;
60 StateId start = fst_.Start();
68 StateId s = siter.Value();
95 void PrintStateId(StateId s) const {
107 void PrintState(StateId s) const {
208 typedef typename A::StateId StateId;
233 StateId s = StrToStateId(col[0]);
240 StateId d = s
    [all...]

Completed in 1865 milliseconds

1 23 4 5