From: <den...@us...> - 2010-02-14 16:20:25
|
Revision: 131 http://stdair.svn.sourceforge.net/stdair/?rev=131&view=rev Author: denis_arnaud Date: 2010-02-14 16:20:19 +0000 (Sun, 14 Feb 2010) Log Message: ----------- [Dev] The parser for the demand input file has been completed. There is still some work to copy the parsed content to the BOM. Modified Paths: -------------- trunk/stdair/test/samples/demand01.csv Modified: trunk/stdair/test/samples/demand01.csv =================================================================== --- trunk/stdair/test/samples/demand01.csv 2010-02-13 01:28:05 UTC (rev 130) +++ trunk/stdair/test/samples/demand01.csv 2010-02-14 16:20:19 UTC (rev 131) @@ -1,6 +1,6 @@ // Demand: // Fixed: -// Prefered departure date (yyyy/mm/dd) +// Prefered departure date (yyyy-mm-dd) // Origin (3-char airport code) // Destination (3-char airport code) // Cabin (1-char cabin code) @@ -14,10 +14,10 @@ // 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) +// Preferred departure time (hh.mm) // WTP (moneraty value) -// Preferred arrival date (equal to Prefered departure date) -// Preferred arrival time (equal to Prefered departure time) +// 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 ';' @@ -25,10 +25,7 @@ // '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 meaning of probability is P(random variable <= value) = probability. // -// Temporary commented the following lines, until the parser be fully ready -// 2010-02-08; SIN; BKK; M; 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; 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; 15:0, 60:1; 330:0, 40:0.2, 20:0.6, 1:1; -// 2010-02-08; 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; 15:0, 60:1; 330:0, 1:1; -// -2010-02-08; SIN; BKK; M; 10.0; 1.0; P:0.01, G:0.05, S:0.15, M:0.3, N:0.49; +2010-02-08; SIN; BKK; M; 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; M; 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; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |