65d5fd1b1453ea295575b552b113fb50ef08ec87
[platform/upstream/openfst.git] / src / bin / fstshortestpath.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_double(delta, fst::kDelta, "Comparison/quantization delta");
9 DEFINE_int32(nshortest, 1, "Return N-shortest paths");
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 DEFINE_bool(unique, false, "Return unique strings");
15 DEFINE_string(weight, "", "Weight threshold");
16
17 int fstshortestpath_main(int argc, char **argv);
18
19 int main(int argc, char **argv) { return fstshortestpath_main(argc, argv); }