trademgen_with_db man page

trademgen_with_db — Database-enabled C++ Simulated Travel Demand Generation Library


trademgen_with_db [--prefix] [-v|--version] [-h|--help] [-b|--builtin] [-i|--input <path-to-input>] [-l|--log <path-to-output-log-file>]


trademgen_with_db is the database-enabled version of the trademgen executable, i.e., a small program showing how to use the TraDemGen library.

trademgen_with_db accepts the following options:

Show the TraDemGen installation prefix.

-v, --version
Print the currently installed version of TraDemGen on the standard output.

-h, --help
Produce that message and show usage.

-b, --builtin
The sample BOM tree can be either built-in or parsed from an input file. That latter must then be given with the -i/--input option.

-s, --see
Seed for the random generation. It allows to reproduce exactly any demand generation.

-d, --draws Number of runs for the demand generation.

-G, --demandgeneration Method used to generate the demand (i.e., the booking requests): Poisson Process (P) or Order Statistics (S).

-i, --input <path-to-input-file>
Path (absolute or relative) of the (CSV) input file specifying the demand rule sets.

-l, --log <path-to-output-log-file>
Path (absolute or relative) of the output log file.

-u, --user <database-user-name>
SQL database user (e.g., dsim).

-p, --passwd <database-user-password>
SQL database password (e.g., dsim).

-H, --host <database-server-host-name>
SQL database hostname (e.g., localhost).

-P, --port <database-server-port>
SQL database port (e.g., 3306).

-m, --dbname <database-name>
SQL database name (e.g., sim_dsim).

See the output of the `trademgen_with_db --help' command for default options.

See Also

trademgen(1), pytrademgen(1), trademgen-config(1), trademgen-library(3)


Please report any bugs to

Referenced By

trademgen(1), trademgen_drawBookingArrivals(1), trademgen_extractBookingRequests(1), trademgen_generateDemand(1).

Sun Feb 26 2017 Version 1.00.2 TraDemGen