1trademgen_with_db(1) TraDemGen trademgen_with_db(1)
2
3
4
6 trademgen_with_dbDatabase-enabled C++ Simulated Travel Demand
7 Generation Library
8
10 trademgen_with_db [--prefix] [-v|--version] [-h|--help] [-b|--builtin]
11 [-i|--input <path-to-input>] [-l|--log <path-to-output-log-file>]
12
14 trademgen_with_db is the database-enabled version of the trademgen
15 executable, i.e., a small program showing how to use the TraDemGen
16 library.
17
18 trademgen_with_db accepts the following options:
19
20 --prefix
21 Show the TraDemGen installation prefix.
22
23 -v, --version
24 Print the currently installed version of TraDemGen on the standard
25 output.
26
27 -h, --help
28 Produce that message and show usage.
29
30 -b, --builtin
31 The sample BOM tree can be either built-in or parsed from an input
32 file. That latter must then be given with the -i/--input option.
33
34 -s, --see
35 Seed for the random generation. It allows to reproduce exactly any
36 demand generation.
37
38 -d, --draws Number of runs for the demand generation.
39
40 -G, --demandgeneration Method used to generate the demand (i.e., the
41 booking requests): Poisson Process (P) or Order Statistics (S).
42
43 -i, --input <path-to-input-file>
44 Path (absolute or relative) of the (CSV) input file specifying the
45 demand rule sets.
46
47 -l, --log <path-to-output-log-file>
48 Path (absolute or relative) of the output log file.
49
50 -u, --user <database-user-name>
51 SQL database user (e.g., dsim).
52
53 -p, --passwd <database-user-password>
54 SQL database password (e.g., dsim).
55
56 -H, --host <database-server-host-name>
57 SQL database hostname (e.g., localhost).
58
59 -P, --port <database-server-port>
60 SQL database port (e.g., 3306).
61
62 -m, --dbname <database-name>
63 SQL database name (e.g., sim_dsim).
64
65 See the output of the `trademgen_with_db --help' command for default
66 options.
67
69 trademgen(1), pytrademgen(1), trademgen-config(1), trademgen-library(3)
70
72 Please report any bugs to http://github.com/airsim/trademgen/issues
73
75 Copyright © 2009-2013 Denis Arnaud
76
77 See the COPYING file for more information on the (LGPLv2+) license, or
78 directly on Internet:
79 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
80
81
82
83Version 1.00.7 Sat Jan 22 2022 trademgen_with_db(1)