FST  openfst-1.7.3
OpenFst Library
fstshortestpath.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_double(delta, fst::kShortestDelta, "Comparison/quantization delta");
10 DEFINE_int32(nshortest, 1, "Return N-shortest paths");
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 DEFINE_bool(unique, false, "Return unique strings");
16 DEFINE_string(weight, "", "Weight threshold");
17 
18 int fstshortestpath_main(int argc, char **argv);
19 
20 int main(int argc, char **argv) { return fstshortestpath_main(argc, argv); }
DEFINE_int32(nshortest, 1,"Return N-shortest paths")
int main(int argc, char **argv)
DEFINE_double(delta, fst::kShortestDelta,"Comparison/quantization delta")
constexpr int kNoStateId
Definition: fst.h:179
DEFINE_int64(nstate, fst::kNoStateId,"State number threshold")
constexpr float kShortestDelta
DEFINE_string(queue_type,"auto","Queue type: one of \"auto\", ""\"fifo\", \"lifo\", \"shortest\', \"state\", \"top\"")
int fstshortestpath_main(int argc, char **argv)
DEFINE_bool(unique, false,"Return unique strings")