FST  openfst-1.6.1
OpenFst Library
closure.h
Go to the documentation of this file.
1 // See www.openfst.org for extensive documentation on this weighted
2 // finite-state transducer library.
3 
4 #ifndef FST_SCRIPT_CLOSURE_H_
5 #define FST_SCRIPT_CLOSURE_H_
6 
7 #include <fst/closure.h>
8 #include <fst/script/arg-packs.h>
9 #include <fst/script/fst-class.h>
10 
11 namespace fst {
12 namespace script {
13 
15 
16 template <class Arc>
17 void Closure(ClosureArgs *args) {
18  MutableFst<Arc> *fst = args->arg1->GetMutableFst<Arc>();
19  Closure(fst, args->arg2);
20 }
21 
22 void Closure(MutableFstClass *ofst, ClosureType closure_type);
23 
24 } // namespace script
25 } // namespace fst
26 
27 #endif // FST_SCRIPT_CLOSURE_H_
ClosureType
Definition: rational.h:24
void Closure(ClosureArgs *args)
Definition: closure.h:17