e895b3244a51fea3d0fa0c9fc684e73fb9e64bd0
[platform/upstream/openfst.git] / src / bin / fstshortestdistance.cc
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>
6 #include <fst/weight.h>
7
8 DEFINE_bool(reverse, false, "Perform in the reverse direction");
9 DEFINE_double(delta, fst::kDelta, "Comparison/quantization delta");
10 DEFINE_int64(nstate, fst::kNoStateId, "State number threshold");
11 DEFINE_string(queue_type, "auto",
12               "Queue type: one of: \"auto\", "
13               "\"fifo\", \"lifo\", \"shortest\", \"state\", \"top\"");
14
15 int fstshortestdistance_main(int argc, char **argv);
16
17 int main(int argc, char **argv) { return fstshortestdistance_main(argc, argv); }