FST  openfst-1.7.1
OpenFst Library
fstshortestdistance.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/flags.h>
5 #include <fst/fst.h>
7 #include <fst/weight.h>
8 
9 DEFINE_bool(reverse, false, "Perform in the reverse direction");
10 DEFINE_double(delta, fst::kShortestDelta, "Comparison/quantization delta");
11 DEFINE_int64(nstate, fst::kNoStateId, "State number threshold");
12 DEFINE_string(queue_type, "auto",
13  "Queue type: one of: \"auto\", "
14  "\"fifo\", \"lifo\", \"shortest\", \"state\", \"top\"");
15 
16 int fstshortestdistance_main(int argc, char **argv);
17 
18 int main(int argc, char **argv) { return fstshortestdistance_main(argc, argv); }
int fstshortestdistance_main(int argc, char **argv)
DEFINE_double(delta, fst::kShortestDelta,"Comparison/quantization delta")
DEFINE_int64(nstate, fst::kNoStateId,"State number threshold")
DEFINE_bool(reverse, false,"Perform in the reverse direction")
int main(int argc, char **argv)
constexpr int kNoStateId
Definition: fst.h:180
constexpr float kShortestDelta
DEFINE_string(queue_type,"auto","Queue type: one of: \"auto\", ""\"fifo\", \"lifo\", \"shortest\", \"state\", \"top\"")