Searched defs:Arc (Results 1 - 25 of 100) sorted by relevance

1234

/external/openfst/src/include/fst/extensions/pdt/
H A Dreverse.h37 template<class Arc, class RevArc>
38 void Reverse(const Fst<Arc> &ifst, argument
39 const vector<pair<typename Arc::Label,
40 typename Arc::Label> > &parens,
42 typedef typename Arc::Label Label;
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dexpanded-fst.h30 typedef A Arc; typedef in class:fst::ExpandedFst
81 template <class Arc>
82 typename Arc::StateId CountStates(const Fst<Arc> &fst) {
84 const ExpandedFst<Arc> *efst = down_cast<const ExpandedFst<Arc> *>(&fst);
87 typename Arc::StateId nstates = 0;
88 for (StateIterator< Fst<Arc> > siter(fst); !siter.Done(); siter.Next())
H A Dinvert.h48 template<class Arc> inline
49 void Invert(MutableFst<Arc> *fst) { Map(fst, InvertMapper<Arc>()); }
64 typedef A Arc; typedef in class:fst::InvertFst
H A Darc.h28 // Arc with integer labels and state Ids and float weights over the
40 static const string &Type() { // Arc type name
52 // Arc with integer labels and state Ids and float weights over the
64 static const string &Type() { // Arc type name
76 // Arc with integer labels and state Ids and string weights.
89 static const string &Type() { // Arc type name
105 // Arc with label and state Id type the same as template arg and with
109 typedef A Arc; typedef in struct:fst::GallicArc
123 static const string &Type() { // Arc type name
139 // Arc wit
141 typedef A Arc; typedef in struct:fst::ReverseArc
[all...]
H A Dclosure.h38 template<class Arc>
39 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) {
40 typedef typename Arc::StateId StateId;
41 typedef typename Arc::Label Label;
42 typedef typename Arc::Weight Weight;
46 for (StateIterator< MutableFst<Arc> > siter(*fst);
52 fst->AddArc(s, Arc(0, 0, final, start));
59 fst->AddArc(nstart, Arc(0, 0, Weight::One(), start));
67 template<class Arc>
68 void Closure(RationalFst<Arc> *fs
100 typedef A Arc; typedef in class:fst::ClosureFst
[all...]
H A Dconcat.h38 template<class Arc>
39 void Concat(MutableFst<Arc> *fst1, const Fst<Arc> &fst2) {
40 typedef typename Arc::StateId StateId;
41 typedef typename Arc::Label Label;
42 typedef typename Arc::Weight Weight;
53 for (StateIterator< Fst<Arc> > siter2(fst2);
59 for (ArcIterator< Fst<Arc> > aiter(fst2, s2);
62 Arc arc = aiter.Value();
74 fst1->AddArc(s1, Arc(
109 typedef A Arc; typedef in class:fst::ConcatFst
[all...]
H A Ddifference.h48 typedef A Arc; typedef in class:fst::DifferenceFst
127 template<class Arc>
128 void Difference(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2,
129 MutableFst<Arc> *ofst,
133 *ofst = DifferenceFst<Arc>(ifst1, ifst2, nopts);
H A Dintersect.h45 typedef A Arc; typedef in class:fst::IntersectFst
117 template<class Arc>
118 void Intersect(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2,
119 MutableFst<Arc> *ofst,
123 *ofst = IntersectFst<Arc>(ifst1, ifst2, nopts);
H A Dproject.h62 template<class Arc> inline
63 void Project(MutableFst<Arc> *fst, ProjectType project_type) {
64 Map(fst, ProjectMapper<Arc>(project_type));
81 typedef A Arc; typedef in class:fst::ProjectFst
H A Dtopsort.h35 typedef A Arc; typedef in class:fst::TopOrderVisitor
85 template <class Arc>
86 bool TopSort(MutableFst<Arc> *fst) {
87 typedef typename Arc::StateId StateId;
92 TopOrderVisitor<Arc> top_order_visitor(&order, &acyclic);
H A Dunion.h36 template <class Arc>
37 void Union(MutableFst<Arc> *fst1, const Fst<Arc> &fst2) {
38 typedef typename Arc::StateId StateId;
39 typedef typename Arc::Label Label;
40 typedef typename Arc::Weight Weight;
51 for (StateIterator< Fst<Arc> > siter(fst2);
57 for (ArcIterator< Fst<Arc> > aiter(fst2, s2);
60 Arc arc = aiter.Value();
73 fst1->AddArc(start1, Arc(
111 typedef A Arc; typedef in class:fst::UnionFst
[all...]
/external/openfst/src/include/fst/
H A Dclosure.h45 template<class Arc>
46 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) {
47 typedef typename Arc::StateId StateId;
48 typedef typename Arc::Label Label;
49 typedef typename Arc::Weight Weight;
53 for (StateIterator< MutableFst<Arc> > siter(*fst);
59 fst->AddArc(s, Arc(0, 0, final, start));
67 fst->AddArc(nstart, Arc(0, 0, Weight::One(), start));
75 template<class Arc>
76 void Closure(RationalFst<Arc> *fs
108 typedef A Arc; typedef in class:fst::ClosureFst
[all...]
H A Ddifference.h67 typedef A Arc; typedef in class:fst::DifferenceFst
159 template<class Arc>
160 void Difference(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2,
161 MutableFst<Arc> *ofst,
163 typedef Matcher< Fst<Arc> > M;
168 *ofst = DifferenceFst<Arc>(ifst1, ifst2, nopts);
170 DifferenceFstOptions<Arc> dopts;
172 *ofst = DifferenceFst<Arc>(ifst1, ifst2, dopts);
174 DifferenceFstOptions<Arc,
[all...]
H A Dintersect.h66 typedef A Arc; typedef in class:fst::IntersectFst
142 template<class Arc>
143 void Intersect(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2,
144 MutableFst<Arc> *ofst,
146 typedef Matcher< Fst<Arc> > M;
151 *ofst = IntersectFst<Arc>(ifst1, ifst2, nopts);
153 IntersectFstOptions<Arc> iopts;
155 *ofst = IntersectFst<Arc>(ifst1, ifst2, iopts);
157 IntersectFstOptions<Arc,
[all...]
H A Dinvert.h55 template<class Arc> inline
56 void Invert(MutableFst<Arc> *fst) {
59 ArcMap(fst, InvertMapper<Arc>());
79 typedef A Arc; typedef in class:fst::InvertFst
H A Dmap.h56 typedef B Arc; typedef in class:fst::MapFst
H A Dproject.h76 template<class Arc> inline
77 void Project(MutableFst<Arc> *fst, ProjectType project_type) {
78 ArcMap(fst, ProjectMapper<Arc>(project_type));
99 typedef A Arc; typedef in class:fst::ProjectFst
H A Dregister.h85 // from 'Fst<Arc>' for this to work.
88 : public GenericRegisterer<FstRegister<typename F::Arc> > {
90 typedef typename F::Arc Arc; typedef in class:fst::FstRegisterer
91 typedef typename FstRegister<Arc>::Entry Entry;
92 typedef typename FstRegister<Arc>::Reader Reader;
95 GenericRegisterer<FstRegister<typename F::Arc> >(
107 static Fst<Arc> *Convert(const Fst<Arc> &fst) { return new F(fst); }
H A Dtopsort.h40 typedef A Arc; typedef in class:fst::TopOrderVisitor
90 template <class Arc>
91 bool TopSort(MutableFst<Arc> *fst) {
92 typedef typename Arc::StateId StateId;
97 TopOrderVisitor<Arc> top_order_visitor(&order, &acyclic);
H A Darc.h75 // Arc with integer labels and state Ids and string weights.
88 static const string &Type() { // Arc type name
104 // Arc with label and state Id type the same as template arg and with
108 typedef A Arc; typedef in struct:fst::GallicArc
122 static const string &Type() { // Arc type name
138 // Arc with the reverse of the weight found in its template arg.
140 typedef A Arc; typedef in struct:fst::ReverseArc
151 static const string &Type() { // Arc type name
152 static const string type = "reverse_" + Arc::Type();
163 // Arc wit
216 typedef A Arc; typedef in struct:fst::PowerArc
247 typedef A Arc; typedef in struct:fst::SparsePowerArc
280 typedef A Arc; typedef in struct:fst::ExpectationArc
[all...]
H A Dconcat.h46 template<class Arc>
47 void Concat(MutableFst<Arc> *fst1, const Fst<Arc> &fst2) {
48 typedef typename Arc::StateId StateId;
49 typedef typename Arc::Label Label;
50 typedef typename Arc::Weight Weight;
75 for (StateIterator< Fst<Arc> > siter2(fst2);
82 for (ArcIterator< Fst<Arc> > aiter(fst2, s2);
85 Arc arc = aiter.Value();
97 fst1->AddArc(s1, Arc(
197 typedef A Arc; typedef in class:fst::ConcatFst
[all...]
H A Dexpanded-fst.h37 typedef A Arc; typedef in class:fst::ExpandedFst
124 template < class I, class F = ExpandedFst<typename I::Arc> >
127 typedef typename I::Arc Arc; typedef in class:fst::ImplToExpandedFst
128 typedef typename Arc::Weight Weight;
129 typedef typename Arc::StateId StateId;
165 ImplToExpandedFst<I, F> &operator=(const Fst<Arc> &fst) {
174 template <class Arc>
175 typename Arc::StateId CountStates(const Fst<Arc>
[all...]
H A Dstate-reachable.h141 typedef A Arc; typedef in class:fst::StateReachable
150 IntervalReachVisitor<Arc> reach_visitor(fst, &isets_, &state2index_);
/external/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp260 /// @brief Dumps each object file in \a Arc;
261 static void dumpArchive(const Archive *Arc) { argument
262 for (Archive::child_iterator ArcI = Arc->child_begin(),
263 ArcE = Arc->child_end();
269 reportError(Arc->getFileName(), EC.message());
276 reportError(Arc->getFileName(), readobj_error::unrecognized_file_format);
297 if (Archive *Arc = dyn_cast<Archive>(Binary.get()))
298 dumpArchive(Arc);
/external/openfst/src/include/fst/script/
H A Dprint-impl.h40 typedef A Arc; typedef in class:fst::FstPrinter
111 Arc arc = aiter.Value();

Completed in 821 milliseconds

1234