FST  openfst-1.7.1
OpenFst Library
topsort.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_TOPSORT_H_
5 #define FST_SCRIPT_TOPSORT_H_
6 
7 #include <fst/topsort.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 TopSort(TopSortArgs *args) {
18  args->retval = TopSort(args->args->GetMutableFst<Arc>());
19 }
20 
22 
23 } // namespace script
24 } // namespace fst
25 
26 #endif // FST_SCRIPT_TOPSORT_H_
void TopSort(TopSortArgs *args)
Definition: topsort.h:17