Home | History | Annotate | Download | only in lib

Lines Matching refs:fst

17 // Functions and classes to project an Fst on to its domain or range.
22 #include "fst/lib/map.h"
23 #include "fst/lib/mutable-fst.h"
25 namespace fst {
54 // Projects an FST onto its domain or range by either copying each arcs'
63 void Project(MutableFst<Arc> *fst, ProjectType project_type) {
64 Map(fst, ProjectMapper<Arc>(project_type));
68 // Projects an FST onto its domain or range by either copying each arc's
70 // Fst.
84 ProjectFst(const Fst<A> &fst, ProjectType project_type)
85 : MapFst<A, A, C>(fst, C(project_type)) {}
87 ProjectFst(const ProjectFst<A> &fst) : MapFst<A, A, C>(fst) {}
98 explicit StateIterator(const ProjectFst<A> &fst)
99 : StateIterator< MapFst<A, A, ProjectMapper<A> > >(fst) {}
108 ArcIterator(const ProjectFst<A> &fst, typename A::StateId s)
109 : ArcIterator< MapFst<A, A, ProjectMapper<A> > >(fst, s) {}
116 } // namespace fst