From: <qua...@us...> - 2009-10-08 15:22:59
|
Revision: 37 http://stdair.svn.sourceforge.net/stdair/?rev=37&view=rev Author: quannaus Date: 2009-10-08 15:22:51 +0000 (Thu, 08 Oct 2009) Log Message: ----------- [Dev] Removed an emply line. Modified Paths: -------------- trunk/stdair/stdair/STDAIR_Types.hpp Modified: trunk/stdair/stdair/STDAIR_Types.hpp =================================================================== --- trunk/stdair/stdair/STDAIR_Types.hpp 2009-10-06 15:40:12 UTC (rev 36) +++ trunk/stdair/stdair/STDAIR_Types.hpp 2009-10-08 15:22:51 UTC (rev 37) @@ -33,7 +33,6 @@ class DocumentNotFoundException : public RootException { }; - // /////////////// Log ///////////// /** Level of logs. */ namespace LOG { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <qua...@us...> - 2010-01-04 10:53:03
|
Revision: 83 http://stdair.svn.sourceforge.net/stdair/?rev=83&view=rev Author: quannaus Date: 2010-01-04 10:52:57 +0000 (Mon, 04 Jan 2010) Log Message: ----------- [Dev] Some small changes in the type definition. Modified Paths: -------------- trunk/stdair/stdair/STDAIR_Types.hpp Modified: trunk/stdair/stdair/STDAIR_Types.hpp =================================================================== --- trunk/stdair/stdair/STDAIR_Types.hpp 2010-01-02 01:12:19 UTC (rev 82) +++ trunk/stdair/stdair/STDAIR_Types.hpp 2010-01-04 10:52:57 UTC (rev 83) @@ -167,6 +167,9 @@ /** Define the number of seats required by a demand. */ typedef unsigned short NbOfSeats_T; + /** Number of passengers (in a group) for a booking. */ + typedef unsigned short PartySize_T; + /** Define a mean value (e.g., 20.2). */ typedef double MeanValue_T; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <den...@us...> - 2010-02-14 16:21:54
|
Revision: 132 http://stdair.svn.sourceforge.net/stdair/?rev=132&view=rev Author: denis_arnaud Date: 2010-02-14 16:21:47 +0000 (Sun, 14 Feb 2010) Log Message: ----------- [TraDemGen] 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/stdair/STDAIR_Types.hpp Modified: trunk/stdair/stdair/STDAIR_Types.hpp =================================================================== --- trunk/stdair/stdair/STDAIR_Types.hpp 2010-02-14 16:20:19 UTC (rev 131) +++ trunk/stdair/stdair/STDAIR_Types.hpp 2010-02-14 16:21:47 UTC (rev 132) @@ -83,12 +83,6 @@ /** Database request statement handler. */ typedef soci::statement DBRequestStatement_T; - /** Define the type for durations (e.g., elapsed in-flight time). */ - typedef boost::posix_time::time_duration Duration_T; - - /** Define the type for date (e.g., departure date of a flight). */ - typedef boost::gregorian::date Date_T; - /** Define the type for network ID. */ typedef std::string NetworkID_T; @@ -120,12 +114,12 @@ B: booked, C: cancelled, R: Rejected). */ typedef std::string RequestStatus_T; - /** Define the Date (e.g., flight-date departure date). */ - typedef boost::gregorian::date Date_T; - - /** Define the Duration (e.g., elapsed in-flight time). */ + /** Define the type for durations (e.g., elapsed in-flight time). */ typedef boost::posix_time::time_duration Duration_T; + /** Define the type for date (e.g., departure date of a flight). */ + typedef boost::gregorian::date Date_T; + /** Time */ typedef boost::posix_time::time_duration Time_T; @@ -145,7 +139,7 @@ typedef boost::gregorian::date_duration DateOffSet_T; /** Define a duration in number of days. */ - typedef long DayDuration_T; + typedef unsigned int DayDuration_T; /** Define the Saturday stay status of a travel. */ typedef bool SaturdayStay_T; @@ -204,6 +198,9 @@ /** Define a price currency (e.g., EUR for Euros). */ typedef std::string PriceCurrency_T; + /** Define a Willingness-To-Pay (WTP) (e.g., 1000.0 Euros). */ + typedef double WTP_T; + /** Define the number of seats required by a demand. */ typedef unsigned short NbOfSeats_T; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <den...@us...> - 2010-03-21 10:50:21
|
Revision: 162 http://stdair.svn.sourceforge.net/stdair/?rev=162&view=rev Author: denis_arnaud Date: 2010-03-21 10:50:15 +0000 (Sun, 21 Mar 2010) Log Message: ----------- [API] Added a few type definitions for bucket-related structures. Modified Paths: -------------- trunk/stdair/stdair/STDAIR_Types.hpp Modified: trunk/stdair/stdair/STDAIR_Types.hpp =================================================================== --- trunk/stdair/stdair/STDAIR_Types.hpp 2010-03-20 12:06:38 UTC (rev 161) +++ trunk/stdair/stdair/STDAIR_Types.hpp 2010-03-21 10:50:15 UTC (rev 162) @@ -213,8 +213,12 @@ /** Define a Willingness-To-Pay (WTP) (e.g., 1000.0 Euros). */ typedef double WTP_T; + /** Define the number of seats (it can be non integer, because the + overbooking can be applied at booking class or PNR level). */ + typedef double NbOfSeats_T; + /** Define the number of seats required by a demand. */ - typedef unsigned short NbOfSeats_T; + // typedef unsigned short NbOfSeats_T; /** Number of passengers (in a group) for a booking. */ typedef unsigned short PartySize_T; @@ -281,9 +285,12 @@ /** Define a number of flight dates. */ typedef double NbOfFlightDates_T; - /** Define a number of commited spaces in a cabin. */ + /** Define the commited space of a cabin. */ typedef double CommitedSpace_T; + /** Define the unsold protection (UPR). */ + typedef double UPR_T; + /** Define availibility of booking limit. */ typedef bool CensorshipFlag_T; @@ -297,6 +304,9 @@ /** Define the value of the authorization level. */ typedef double AuthorizationLevel_T; + /** Define the value of the adjustment for cabin capacity. */ + typedef double CapacityAdjustment_T; + /** Define the rate of overbooking */ typedef double OverbookingRate_T; @@ -325,6 +335,9 @@ /** Define a Bid-Price Vector. */ typedef std::vector<BidPrice_T> BidPriceVector_T; + /** Define the current index of a Bid-Price Vector (for a given LegCabin). */ + typedef unsigned int SeatIndex_T; + /** Define a number of travel solutions (in a travel solution block). */ typedef unsigned short NbOfTravelSolutions_T; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <den...@us...> - 2010-03-27 18:15:55
|
Revision: 163 http://stdair.svn.sourceforge.net/stdair/?rev=163&view=rev Author: denis_arnaud Date: 2010-03-27 18:15:49 +0000 (Sat, 27 Mar 2010) Log Message: ----------- [API] Added a few type definitions. Modified Paths: -------------- trunk/stdair/stdair/STDAIR_Types.hpp Modified: trunk/stdair/stdair/STDAIR_Types.hpp =================================================================== --- trunk/stdair/stdair/STDAIR_Types.hpp 2010-03-21 10:50:15 UTC (rev 162) +++ trunk/stdair/stdair/STDAIR_Types.hpp 2010-03-27 18:15:49 UTC (rev 163) @@ -98,9 +98,15 @@ /** Define the type for network ID. */ typedef std::string NetworkID_T; - /** Define the type for airport codes. */ - typedef std::string AirportCode_T; + /** Define the Airline Code type (2-letter-code, e.g., BA). */ + typedef std::string AirlineCode_T; + /** Location code (3-letter-code, e.g., LON). */ + typedef std::string LocationCode_T; + + /** Define the Airport Code type (3-letter-code, e.g., LHR). */ + typedef LocationCode_T AirportCode_T; + /** Define the type for flight numbers. */ typedef unsigned short FlightNumber_T; @@ -116,12 +122,6 @@ /** Define the seed type of an Uniform function. */ typedef unsigned long int UniformSeed_T; - /** Define the Airline Code type (2-letter-code, e.g., BA). */ - typedef std::string AirlineCode_T; - - /** Define the Airport Code type (3-letter-code, e.g., LHR). */ - typedef std::string AirportCode_T; - /** Define the Request status for booking (1-letter-code, e.g., B: booked, C: cancelled, R: Rejected). */ typedef std::string RequestStatus_T; @@ -243,6 +243,11 @@ B, K, etc.). */ typedef std::string ClassCode_T; + /** Define the sub-class code (e.g., 0, 1, 2, etc.). The subclass is + a sub-structure for the booking class, allowing to have specific + rules for some criteria like POS. */ + typedef std::string SubclassCode_T; + /** Define the flight path code (code made by a suite of flight numbers). */ typedef std::string FlightPathCode_T; @@ -449,12 +454,6 @@ /** Count */ typedef int Count_T; - /** Location code */ - typedef std::string LocationCode_T; - - /** Airport code */ - typedef LocationCode_T AirportCode_T; - /** City code */ typedef LocationCode_T CityCode_T; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <den...@us...> - 2010-05-01 17:32:29
|
Revision: 185 http://stdair.svn.sourceforge.net/stdair/?rev=185&view=rev Author: denis_arnaud Date: 2010-05-01 17:32:23 +0000 (Sat, 01 May 2010) Log Message: ----------- [API] Altered the type definition of the subclass code. Modified Paths: -------------- trunk/stdair/stdair/STDAIR_Types.hpp Modified: trunk/stdair/stdair/STDAIR_Types.hpp =================================================================== --- trunk/stdair/stdair/STDAIR_Types.hpp 2010-05-01 17:08:48 UTC (rev 184) +++ trunk/stdair/stdair/STDAIR_Types.hpp 2010-05-01 17:32:23 UTC (rev 185) @@ -246,7 +246,7 @@ /** Define the sub-class code (e.g., 0, 1, 2, etc.). The subclass is a sub-structure for the booking class, allowing to have specific rules for some criteria like POS. */ - typedef std::string SubclassCode_T; + typedef unsigned short SubclassCode_T; /** Define the flight path code (code made by a suite of flight numbers). */ typedef std::string FlightPathCode_T; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |