SysTutorials

Linux Manual Pages › Section 1

trademgen_extractbookingrequests(1)

trademgen_extractBookingRequests –

 Script extracting booking requests, as generated by the C++ Simulated Travel Demand Generation (TraDemGen) Library

Synopsis

trademgen_extractBookingRequests [-h|–help] [-i|–input <path-to-input-log-file>

Description

trademgen_extractBookingRequests is a small shell script, extracting the booking requests from the log file produced by the ‘trademgen_generateDemand’ binary.

It produces an output with the following format: Logfile line number, Booking date, Orign-Destination, Departure date For instance: 39, 2009-May-26, SIN-HND, 2010-Feb-09

See also the trademgen_drawBookingArrivals script, which plots booking arrival curves from those very same booking requests. Note that there is no dependency between those two scripts.

trademgen_extractBookingRequests accepts the following options:

-h, –help

 Produce that message and show usage.

<path-to-input-log-file>

 Path to the input file, i.e., to the log file generated by the trademgen_generateDemand utility. If blank, the default log file is ‘trademgen_generateDemand.log’.

See the output of the `trademgen_extractBookingRequests –help’ command for default options.

See Also

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

Support

Please report any bugs to http://github.com/airsim/trademgen/issues

Copyright

Copyright © 2009-2013 Denis Arnaud

See the COPYING file for more information on the (LGPLv2+) license, or directly on Internet:

 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html