1TvlSimServer(1My) TvlSimServer(1My)
2
3
4
6 TvlSimServer - C++ Interactive Travel Market Simulator
7
9 TvlSimServer [--prefix] [-v|--version] [-h|--help] [-b|--builtin]
10 [-i|--input <path-to-input>] [-l|--log <path-to-output-log-file>]
11
13 TvlSimServer is a small interactive program showing how to use the
14 TvlSim library.
15
16 TvlSimServer accepts the following options:
17
18 --prefix
19 Show the TvlSim installation prefix.
20
21 -v, --version
22 Print the currently installed version of TvlSim on the standard
23 output.
24
25 -h, --help
26 Produce that message and show usage.
27
28 -b, --builtin
29 The sample BOM tree can be either built-in or parsed from input files.
30 In that latter case, the input files must then be specified as well
31 (e.g., -d/--demand, -s/--schedule, -o/--ond, -f/--fare, -y/--yield).
32 When that option is not selected, the tvlsim program builds a simple
33 use case directly from internal hard-coded parameters (demand
34 distribution details and resource/cabin capacities).
35
36 -S, --seed <random-seed>
37 The seed for the random generation
38
39 -r, --runs <nb-of-simulation-runs>
40 The number of simulation runs
41
42 -s, --schedule <path-to-schedule-input-file>
43 Path (absolute or relative) of the (CVS) input file specifying the
44 flight schedules.
45
46 -o, --ond <path-to-ond-input-file>
47 Path (absolute or relative) of the (CVS) input file specifying the O&D
48 definitions
49
50 -f, --frat5 <path-to-frat5-input-file>
51 Path (absolute or relative) of the (CVS) input file specifying the
52 FRAT5 curve
53
54 -D, --ff_disutility <path-to-fare-family-input-file>
55 Path (absolute or relative) of the (CVS) input file specifying the
56 fare family (FF) disutility curve
57
58 -y, --yield <path-to-yield-input-file>
59 Path (absolute or relative) of the (CVS) input file specifying the
60 yields
61
62 -f, --fare <path-to-fare-input-file>
63 Path (absolute or relative) of the (CVS) input file specifying the
64 fares
65
66 -d, --demand <path-to-demand-input-file>
67 Path (absolute or relative) of the (CVS) input file specifying the
68 demand distributions
69
70 -t, --protocol <server-protocol>
71 Server protocol (e.g., tcp://)
72
73 -a, --address <server-binding-host-address>
74 Server binding address (e.g., * or localhost)
75
76 -p, --port <server-binding-host-port>
77 Server binding port (e.g., 5555)
78
79 -l, --log <path-to-output-log-file>
80 Path (absolute or relative) of the output log file.
81
82 -G, --demandgeneration <demand-generation-method>
83 Method used to generate the demand (i.e., booking requests): Poisson
84 Process (e.g., P) or Statistics Order (e.g., S)
85
86 -u, --user <database-user>
87 SQL database hostname (e.g., tvlsim)
88
89 -p, --passwd <database-passwd>
90 SQL database hostname (e.g., tvlsim)
91
92 -H, --host <database-host-name>
93 SQL database hostname (e.g., localhost)
94
95 -P, --dbport <database-host-port>
96 SQL database port (e.g., 3306)
97
98 -n, --dbname <database-name>
99 SQL database name (e.g., tvlsim)
100
101 -q, --query <travel-query>
102 Query word list (not used for now)
103
104 See the output of the `TvlSimServer --help' command for default
105 options.
106
108 tvlsim(1), simulate(1), tvlsim-config(1), tvlsim-library(3)
109
111 Please report any bugs to http://github.com/airsim/tvlsim/issues
112
114 Copyright © 2009-2013 Denis Arnaud
115
116 See the COPYING file for more information on the (LGPLv2+) license, or
117 directly on Internet:
118 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
119
120
121
122 Project" TvlSimServer(1My)