Fast map matching
0.1.0
|
Configuration of ubodt_gen command line program. More...
#include <ubodt_gen_app_config.hpp>
Public Member Functions | |
UBODTGenAppConfig (int argc, char **argv) | |
Constructor of Configuration of ubodt_gen command line program. More... | |
void | load_xml (const std::string &file) |
Load configuration from xml file. More... | |
void | load_arg (int argc, char **argv) |
Load configuration from arguments. More... | |
void | print () const |
Print information. | |
bool | validate () const |
Check the validity of the configuration. More... | |
bool | is_binary_output () const |
Check if the output is in binary format. More... | |
Static Public Member Functions | |
static void | print_help () |
Print help information. | |
Public Attributes | |
CONFIG::NetworkConfig | network_config |
Network configuration. | |
double | delta |
Upper-bound of the routing result. | |
std::string | result_file |
Result file. | |
int | log_level = 2 |
Level level. More... | |
bool | use_omp = false |
If true, parallel computing performed. | |
bool | help_specified |
Help is specified or not. | |
Configuration of ubodt_gen command line program.
Definition at line 21 of file ubodt_gen_app_config.hpp.
UBODTGenAppConfig::UBODTGenAppConfig | ( | int | argc, |
char ** | argv | ||
) |
Constructor of Configuration of ubodt_gen command line program.
argc | number of argument |
argv | argument data |
Definition at line 10 of file ubodt_gen_app_config.cpp.
bool UBODTGenAppConfig::is_binary_output | ( | ) | const |
Check if the output is in binary format.
Definition at line 129 of file ubodt_gen_app_config.cpp.
void UBODTGenAppConfig::load_arg | ( | int | argc, |
char ** | argv | ||
) |
Load configuration from arguments.
argc | number of argument |
argv | argument data |
Definition at line 41 of file ubodt_gen_app_config.cpp.
void UBODTGenAppConfig::load_xml | ( | const std::string & | file | ) |
Load configuration from xml file.
file | input xml configuration file |
Definition at line 27 of file ubodt_gen_app_config.cpp.
bool UBODTGenAppConfig::validate | ( | ) | const |
Check the validity of the configuration.
Definition at line 103 of file ubodt_gen_app_config.cpp.
int FMM::MM::UBODTGenAppConfig::log_level = 2 |
Level level.
0-trace,1-debug,2-info,3-warn,4-err, 5-critical,6-off
Definition at line 62 of file ubodt_gen_app_config.hpp.