From: <car...@us...> - 2010-02-15 15:20:32
|
Revision: 138 http://stdair.svn.sourceforge.net/stdair/?rev=138&view=rev Author: carobelin Date: 2010-02-15 15:20:23 +0000 (Mon, 15 Feb 2010) Log Message: ----------- [input] Changed pax type to preferred cabin, made the specification of the distribution of number of requests a bit more general Modified Paths: -------------- trunk/stdair/test/samples/README_Demand trunk/stdair/test/samples/demand01.csv Modified: trunk/stdair/test/samples/README_Demand =================================================================== --- trunk/stdair/test/samples/README_Demand 2010-02-15 13:13:27 UTC (rev 137) +++ trunk/stdair/test/samples/README_Demand 2010-02-15 15:20:23 UTC (rev 138) @@ -1,21 +1,30 @@ -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 +// Demand: +// Fixed: +// Prefered departure date (yyyy-mm-dd) +// Origin (3-char airport code) +// Destination (3-char airport code) +// Preferred cabin ('F' for First, 'C' for Coach/Business, 'Y' for Economy) +// 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) +// 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) +// Distribution of number of requests (distribution and parameters) +// 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. +// The distribution of number of requests is specified using comma-separated values: distribution, parameter1, parameter2, ... For example, normal with mean 10.0 and standard deviation 1.0 is specified as N, 10.0, 1.0 +// +2010-02-08; SIN; BKK; Y; 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; 06:0, 07:0.1, 09:0.3, 17:0.4, 19:0.8, 20:0.95, 22:1; 100:0, 500:0.8, 2000:1; 15:0, 60:1; 330:0, 40:0.2, 20:0.6, 1:1; N, 10.0, 1.0 +2010-02-08; SIN; HND; Y; 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; 06:0, 07:0.1, 09:0.8, 12:0.9, 22:1; 300:0, 800:0.8, 3000:1; 15:0, 60:1; 330:0, 1:1; N, 10.0, 2.0 Modified: trunk/stdair/test/samples/demand01.csv =================================================================== --- trunk/stdair/test/samples/demand01.csv 2010-02-15 13:13:27 UTC (rev 137) +++ trunk/stdair/test/samples/demand01.csv 2010-02-15 15:20:23 UTC (rev 138) @@ -3,10 +3,7 @@ // Prefered departure date (yyyy-mm-dd) // Origin (3-char airport code) // Destination (3-char airport code) -// Passenger type (1-char, e.g., 'L' for Leisure, 'B' for Business) -// Observable: -// Mean -// StdDev +// Preferred cabin ('F' for First, 'C' for Coach/Business, 'Y' for Economy) // Distribution with Probability Masses: // POS // Channel (D=direct, I=indirect, N=oNline, F=oFfline) @@ -20,12 +17,14 @@ // Preferred arrival time (equal to prefered departure time) // Value of time // Arrival pattern (DTD as a positive value) +// Distribution of number of requests (distribution and parameters) // 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. +// The distribution of number of requests is specified using comma-separated values: distribution, parameter1, parameter2, ... For example, normal with mean 10.0 and standard deviation 1.0 is specified as N, 10.0, 1.0 // -2010-02-08; SIN; BKK; L; 10.0; 1.0; 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; 06:0, 07:0.1, 09:0.3, 17:0.4, 19:0.8, 20:0.95, 22:1; 100:0, 500:0.8, 2000:1; 15:0, 60:1; 330:0, 40:0.2, 20:0.6, 1:1; -2010-02-08; SIN; HND; L; 10.0; 1.0; 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; 06:0, 07:0.1, 09:0.8, 12:0.9, 22:1; 300:0, 800:0.8, 3000:1; 15:0, 60:1; 330:0, 1:1; +2010-02-08; SIN; BKK; Y; 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; 06:0, 07:0.1, 09:0.3, 17:0.4, 19:0.8, 20:0.95, 22:1; 100:0, 500:0.8, 2000:1; 15:0, 60:1; 330:0, 40:0.2, 20:0.6, 1:1; N, 10.0, 1.0 +2010-02-08; SIN; HND; Y; 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; 06:0, 07:0.1, 09:0.8, 12:0.9, 22:1; 300:0, 800:0.8, 3000:1; 15:0, 60:1; 330:0, 1:1; N, 10.0, 2.0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |