FST  openfst-1.7.2
OpenFst Library
Functions
fstequivalent.cc File Reference
#include <unistd.h>
#include <climits>
#include <ctime>
#include <fst/flags.h>
#include <fst/weight.h>
Include dependency graph for fstequivalent.cc:

Go to the source code of this file.

Functions

 DEFINE_double (delta, fst::kDelta,"Comparison/quantization delta")
 
 DEFINE_bool (random, false,"Test equivalence by randomly selecting paths in the input FSTs")
 
 DEFINE_int32 (max_length, INT32_MAX,"Maximum path length")
 
 DEFINE_int32 (npath, 1,"Number of paths to generate")
 
 DEFINE_int32 (seed, time(nullptr)+getpid(),"Random seed")
 
 DEFINE_string (select,"uniform","Selection type: one of: "" \"uniform\", \"log_prob\" (when appropriate),"" \"fast_log_prob\" (when appropriate)")
 
int fstequivalent_main (int argc, char **argv)
 
int main (int argc, char **argv)
 

Function Documentation

DEFINE_bool ( random  ,
false  ,
"Test equivalence by randomly selecting paths in the input FSTs"   
)
DEFINE_double ( delta  ,
fst::kDelta  ,
"Comparison/quantization delta"   
)
DEFINE_int32 ( max_length  ,
INT32_MAX  ,
"Maximum path length"   
)
DEFINE_int32 ( npath  ,
,
"Number of paths to generate"   
)
DEFINE_int32 ( seed  ,
time(nullptr)+getpid()  ,
"Random seed"   
)
DEFINE_string ( select  ,
"uniform"  ,
"Selection type: one of: "" \"uniform\"  ,
\"log_prob\"   when appropriate,
""\"fast_log_prob\" (when appropriate)"   
)
int fstequivalent_main ( int  argc,
char **  argv 
)

Definition at line 24 of file fstequivalent-main.cc.

int main ( int  argc,
char **  argv 
)

Definition at line 22 of file fstequivalent.cc.