FST  openfst-1.7.1
OpenFst Library
topsort.cc
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 #include <fst/script/fst-class.h>
6 #include <fst/script/topsort.h>
7 
8 namespace fst {
9 namespace script {
10 
12  TopSortArgs args(fst);
13  Apply<Operation<TopSortArgs>>("TopSort", fst->ArcType(), &args);
14  return args.retval;
15 }
16 
20 
21 } // namespace script
22 } // namespace fst
void TopSort(TopSortArgs *args)
Definition: topsort.h:17
const string & ArcType() const final
Definition: fst-class.h:290
REGISTER_FST_OPERATION(Compress, StdArc, CompressArgs)