From: <den...@us...> - 2010-02-11 14:38:12
|
Revision: 128 http://stdair.svn.sourceforge.net/stdair/?rev=128&view=rev Author: denis_arnaud Date: 2010-02-11 14:38:06 +0000 (Thu, 11 Feb 2010) Log Message: ----------- [Test] Added a sample for the demand generation (by TraDemGen). Modified Paths: -------------- trunk/stdair/test/samples/demand01.csv Added Paths: ----------- trunk/stdair/test/samples/README_Demand Added: trunk/stdair/test/samples/README_Demand =================================================================== --- trunk/stdair/test/samples/README_Demand (rev 0) +++ trunk/stdair/test/samples/README_Demand 2010-02-11 14:38:06 UTC (rev 128) @@ -0,0 +1,21 @@ +preferred departure date: fixed (yymmdd) +origin: fixed +destination: fixed +cabin: fixed +pos: probability mass +channel: probability mass (D=direct, I=indirect, N=oNline, F=oFfline) +trip type: probability mass (RO=outbound of round-trip, RI=inbound of round-trip, OW=one way) +stay duration: probability mass (number of days) +frequent flyer: probability mass (P=Platinum, G=Gold, S=Silver, M=Member, N=None) +preferred departure time: continuous cumulative distribution (hours in decimal form, e.g. 8.5 = 8:30) +wtp: continuous cumulative distribution (moneraty value) +preferred arrival date and time: on va hard-coder celui-là et le mettre égal à preferred departure date and time +value of time: continuous cumulative distribution +arrival pattern: continuous cumulative distribution (dtd as a positive value) + +The main fields are separated by ';'. +Probability mass distributions are defined by comma-separated 'value:probability' pairs +Continuous cumulative distribution are defined by comma-separated 'value:probability' pairs, sorted in increasing order of values. The meaning of probability is P(random variable<=value) = probability. + +100208;SIN;BKK;M;SIN:0.7,BKK:0.2,row:0.1;DF:0.1,DN:0.3,IF:0.4,IN:0.2;RO:0.6,RI:0.2,OW:0.2;0:0.1,1:0.1,2:0.15,3:0.15,4:0.15,5:0.35;P:0.01,G:0.05,S:0.15,M:0.3,N:0.49;6:0,7:0.1,9:0.3,17:0.4,19:0.8,20:0.95,22:1;100:0,500:0.8,2000:1;0;15:0,60:1;330:0,40:0.2,20:0.6,1:1 +100208;SIN;HND;M;SIN:0.5,HND:0.4,row:0.1;DF:0.2,DN:0.2,IF:0.5,IN:0.1;RO:0.5,RI:0.4,OW:0.1;1:0.9,2:0.1;P:0.1,G:0.01,S:0.09,M:0.4,N:0.4;6:0,7:0.1,9:0.8,12:0.9,22:1;300:0,800:0.8,3000:1;0;15:0,60:1;330:0,1:1 Modified: trunk/stdair/test/samples/demand01.csv =================================================================== --- trunk/stdair/test/samples/demand01.csv 2010-02-11 12:59:00 UTC (rev 127) +++ trunk/stdair/test/samples/demand01.csv 2010-02-11 14:38:06 UTC (rev 128) @@ -1,4 +1,31 @@ -// Demand: Origin; Destination; PreferedDepartureDate; Mean; StdDev; -NCE; JFK; 2011-01-15; 50; 0; -NCE; LHR; 2011-01-15; 300; 0; - +// Demand: +// Fixed: +// Prefered departure date (dd/mm/yyyy) +// Origin (3-char airport code) +// Destination (3-char airport code) +// Cabin (1-char cabin code) +// Observable: +// Mean +// StdDev +// Distribution with Probability Masses: +// POS +// Channel (D=direct, I=indirect, N=oNline, F=oFfline) +// Trip type (RO=outbound of round-trip, RI=inbound of round-trip,OW=one way) +// Stay duration (number of days) +// Frequent flyer (P=Platinum, G=Gold, S=Silver, M=Member, N=None) +// Continuous cumulative distribution: +// Preferred departure time (hh:mm:ss) +// WTP (moneraty value) +// Preferred arrival date (equal to Prefered departure date) +// Preferred arrival time (equal to Prefered departure time) +// Value of time +// Arrival pattern (DTD as a positive value) +// The main fields are separated by ';' +// Probability mass distributions are defined by comma-separated +// 'value:probability' pairs +// Continuous cumulative distribution are defined by comma-separated +// 'value:probability' pairs, sorted in increasing order of values. +// The meaning of probability is P(random variable<=value) = probability. +// +100208;SIN;BKK;M;SIN:0.7,BKK:0.2,row:0.1;DF:0.1,DN:0.3,IF:0.4,IN:0.2;RO:0.6,RI:0.2,OW:0.2;0:0.1,1:0.1,2:0.15,3:0.15,4:0.15,5:0.35;P:0.01,G:0.05,S:0.15,M:0.3,N:0.49;6:0,7:0.1,9:0.3,17:0.4,19:0.8,20:0.95,22:1;100:0,500:0.8,2000:1;0;15:0,60:1;330:0,40:0.2,20:0.6,1:1 +100208;SIN;HND;M;SIN:0.5,HND:0.4,row:0.1;DF:0.2,DN:0.2,IF:0.5,IN:0.1;RO:0.5,RI:0.4,OW:0.1;1:0.9,2:0.1;P:0.1,G:0.01,S:0.09,M:0.4,N:0.4;6:0,7:0.1,9:0.8,12:0.9,22:1;300:0,800:0.8,3000:1;0;15:0,60:1;330:0,1:1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |