StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
BasConst.cpp
Go to the documentation of this file.
1 // //////////////////////////////////////////////////////////////////////
2 // Import section
3 // //////////////////////////////////////////////////////////////////////
4 // StdAir
16 
17 namespace stdair {
18 
19  // ///////// General /////////
21  const std::string DEFAULT_BOM_ROOT_KEY (" -- ROOT -- ");
22 
24  const double DEFAULT_EPSILON_VALUE (0.0001);
25 
27  const unsigned int DEFAULT_FLIGHT_SPEED (900);
28 
31 
33  const Duration_T NULL_BOOST_TIME_DURATION (-1, -1, -1);
34 
36  const Duration_T DEFAULT_NULL_DURATION (0, 0, 0);
37 
39  const unsigned int DEFAULT_NB_OF_DAYS_IN_A_YEAR (365);
40 
42  const unsigned int DEFAULT_NUMBER_OF_SUBDIVISIONS (1000);
43 
44  // //////// (Flight-)Period-related BOM ///////
47 
49  const DatePeriod_T BOOST_DEFAULT_DATE_PERIOD (Date_T (2007, 1, 1),
50  Date_T (2007, 1, 1));
51 
53  const std::string DOW_STR[] =
54  {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"};
55 
57  const DOW_String_T DEFAULT_DOW_STRING ("0000000");
58 
61 
62 
63  // // //////// General ///////
65  const Date_T DEFAULT_DATE (2010, boost::gregorian::Jan, 1);
66 
69 
71  const Duration_T DEFAULT_EPSILON_DURATION (0, 0, 0, 1);
72 
74  const Count_T SECONDS_IN_ONE_DAY (86400);
75 
78 
80  const RandomSeed_T DEFAULT_RANDOM_SEED (120765987);
81 
82  // //////// Default BOM tree objects /////// ///////
84  const AirportCode_T AIRPORT_LHR ("LHR");
85 
87  const AirportCode_T AIRPORT_SYD ("SYD");
88 
90  const CityCode_T POS_LHR ("LHR");
91 
93  const Date_T DATE_20110115 (2011, boost::gregorian::Jan, 15);
94  const Date_T DATE_20111231 (2011, boost::gregorian::Dec, 31);
95 
98 
100  const SaturdayStay_T SATURDAY_STAY (true);
101 
103  const SaturdayStay_T NO_SATURDAY_STAY (false);
104 
106  const ChangeFees_T CHANGE_FEES (true);
107 
109  const ChangeFees_T NO_CHANGE_FEES (false);
110 
112  const NonRefundable_T NON_REFUNDABLE (true);
113 
115  const NonRefundable_T NO_NON_REFUNDABLE (false);
116 
119 
122 
125 
128 
130  const AirlineCode_T AIRLINE_CODE_BA ("BA");
131 
133  const CabinCode_T CABIN_Y ("Y");
134 
136  const ClassCode_T CLASS_CODE_Y ("Y");
137 
138  // //////// Travel solutions related objects///////
140  const ClassCode_T CLASS_CODE_Q ("Q");
141 
142  // //////// Booking request related objects///////
144  const AirportCode_T AIRPORT_SIN ("SIN");
145 
147  const AirportCode_T AIRPORT_BKK ("BKK");
148 
150  const CityCode_T POS_SIN ("SIN");
151 
153  const CabinCode_T CABIN_ECO ("Eco");
154 
157 
158  // //////// Default ///////
160  const FamilyCode_T DEFAULT_FAMILY_CODE ("0");
161 
163  const PolicyCode_T DEFAULT_POLICY_CODE ("0");
164 
167 
169  const NestingStructureCode_T DISPLAY_NESTING_STRUCTURE_CODE ("Display Nesting");
170 
172  const NestingStructureCode_T YIELD_BASED_NESTING_STRUCTURE_CODE ("Yield-Based Nesting");
173 
176 
179 
182 
183  // //////// Booking-class-related BOM ///////
186 
189 
193 
197 
200 
203 
206 
209 
212 
215 
218 
220  const BlockSpace_T DEFAULT_BLOCK_SPACE (0.0);
221 
224 
227 
229  const Availability_T MAXIMAL_AVAILABILITY (9999.0);
230 
232  const UnconstrainingMethod DEFAULT_UNCONSTRAINING_METHOD ('E');
233 
235  const PartnershipTechnique DEFAULT_PARTNERSHIP_TECHNIQUE ('N');
236 
238  const ForecastingMethod DEFAULT_FORECASTING_METHOD ('Q');
239 
241  const PreOptimisationMethod DEFAULT_PREOPTIMISATION_METHOD ('N');
242 
244  const OptimisationMethod DEFAULT_OPTIMISATION_METHOD ('M');;
245 
246  // //////// (Segment-)Class-related BOM ///////
250 
254  std::vector<CensorshipFlag_T>();
255 
258 
261 
264 
267 
270 
273 
275  const Fare_T DEFAULT_FARE_VALUE (0.0);
276 
279 
281  const Revenue_T DEFAULT_REVENUE_VALUE (0.0);
282 
285 
286 
287  // //////// (Leg-)YieldRange-related BOM ///////
289  const Yield_T DEFAULT_YIELD_VALUE (0.0);
290 
292  const Yield_T DEFAULT_YIELD_MAX_VALUE (std::numeric_limits<double>::max());
293 
296 
299 
302 
305 
308 
312 
315 
318 
319 
320  // //////// OnD-related BOM ///////
322  const Fare_T DEFAULT_OND_FARE_VALUE (0.0);
323 
324 
325  // //////// Event Generation /////////
326 
328  const Count_T DEFAULT_PROGRESS_STATUS (0);
329 
332 
335  const Date_T DEFAULT_EVENT_OLDEST_DATE (2008, boost::gregorian::Jan, 1);
336 
341 
342 
343  // //////// Booking Request /////////
346 
349 
351  const WTP_T DEFAULT_WTP (1000.0);
352 
355 
358 
361 
365 
367  const Duration_T DEFAULT_REQUEST_TIME (8, 0, 0);
368 
372 
375 
377  const CityCode_T DEFAULT_POS ("ALL");
378 
380  const ChannelLabel_T DEFAULT_CHANNEL ("DC");
381 
383  const ChannelLabel_T CHANNEL_DN ("DN");
384 
386  const ChannelLabel_T CHANNEL_IN ("IN");
387 
389  const TripType_T TRIP_TYPE_ONE_WAY ("OW");
390 
392  const TripType_T TRIP_TYPE_ROUND_TRIP ("RT");
393 
395  const TripType_T TRIP_TYPE_INBOUND ("RI");
396 
398  const TripType_T TRIP_TYPE_OUTBOUND ("RO");
399 
401  const FrequentFlyer_T DEFAULT_FF_TIER ("N");
402 
404  const PriceValue_T DEFAULT_VALUE_OF_TIME (100.0);
405 
408 
409  // //////// Travel Solutions ///////
412 
415 
418 
420  const PriceCurrency_T DEFAULT_CURRENCY ("EUR");
421 
424 
427 
428  // //////// Inventory-related BOM ///////
430  const AirlineCode_T DEFAULT_AIRLINE_CODE ("XX");
431 
434 
437 
440 
443 
445  const TableID_T DEFAULT_TABLE_ID (9999);
446 
448  const Date_T DEFAULT_DEPARTURE_DATE (1900, boost::gregorian::Jan, 1);
449 
451  const AirportCode_T DEFAULT_AIRPORT_CODE ("XXX");
452 
455 
457  const AirportCode_T DEFAULT_ORIGIN ("XXX");
458 
460  const AirportCode_T DEFAULT_DESTINATION ("YYY");
461 
463  const CabinCode_T DEFAULT_CABIN_CODE ("X");
464 
466  const FamilyCode_T DEFAULT_FARE_FAMILY_CODE ("EcoSaver");
467 
470 
472  const ClassCode_T DEFAULT_CLASS_CODE ("X");
473 
476 
479 
481  const BidPrice_T DEFAULT_BID_PRICE (0.0);
482 
484  const BidPriceVector_T DEFAULT_BID_PRICE_VECTOR = std::vector<BidPrice_T>();
485 
489  const unsigned short MAXIMAL_NUMBER_OF_LEGS_IN_FLIGHT (7);
490 
493  const unsigned short MAXIMAL_NUMBER_OF_SEGMENTS_IN_OND (3);
494 
497 
500 
503 
505  const UPR_T DEFAULT_NULL_UPR (0);
506 
508  const std::string DEFAULT_FARE_FAMILY_VALUE_TYPE ("FF");
509 
511  const std::string DEFAULT_SEGMENT_CABIN_VALUE_TYPE ("SC");
512 
514  const int DEFAULT_MAX_DTD = 365;
515 
519  DCPList_T oDCPList;
520  //oDCPList.push_back (72);
521  oDCPList.push_back (63);oDCPList.push_back (56);oDCPList.push_back (49);
522  oDCPList.push_back (42);oDCPList.push_back (35);oDCPList.push_back (31);
523  oDCPList.push_back (27);oDCPList.push_back (23);oDCPList.push_back (19);
524  oDCPList.push_back (16);oDCPList.push_back (13);oDCPList.push_back (10);
525  oDCPList.push_back (7); oDCPList.push_back (5); oDCPList.push_back (3);
526  oDCPList.push_back (1); oDCPList.push_back (0);
527  return oDCPList;
528  }
529 
534  FRAT5Curve_T oCurve;
535  oCurve[63] = 1.05; oCurve[56] = 1.07; oCurve[49] = 1.09;
536  oCurve[42] = 1.11; oCurve[35] = 1.14; oCurve[31] = 1.16;
537  oCurve[27] = 1.18; oCurve[23] = 1.21; oCurve[19] = 1.24;
538  oCurve[16] = 1.27; oCurve[13] = 1.30; oCurve[10] = 1.33;
539  oCurve[7] = 1.37; oCurve[5] = 1.40; oCurve[3] = 1.45;
540  oCurve[1] = 1.50;
541  return oCurve;
542  }
543 
548  FRAT5Curve_T oCurve;
549  oCurve[63] = 1.20; oCurve[56] = 1.23; oCurve[49] = 1.26;
550  oCurve[42] = 1.30; oCurve[35] = 1.35; oCurve[31] = 1.40;
551  oCurve[27] = 1.50; oCurve[23] = 1.60; oCurve[19] = 1.80;
552  oCurve[16] = 2.10; oCurve[13] = 2.20; oCurve[10] = 2.30;
553  oCurve[7] = 2.40; oCurve[5] = 2.44; oCurve[3] = 2.47;
554  oCurve[1] = 2.50;
555  return oCurve;
556  }
557 
562  FRAT5Curve_T oCurve;
563  oCurve[63] = 1.40; oCurve[56] = 1.45; oCurve[49] = 1.50;
564  oCurve[42] = 1.55; oCurve[35] = 1.60; oCurve[31] = 1.70;
565  oCurve[27] = 1.80; oCurve[23] = 2.00; oCurve[19] = 2.30;
566  oCurve[16] = 2.60; oCurve[13] = 3.00; oCurve[10] = 3.30;
567  oCurve[7] = 3.40; oCurve[5] = 3.44; oCurve[3] = 3.47;
568  oCurve[1] = 3.50;
569  return oCurve;
570  }
571 
576  FRAT5Curve_T oCurve;
577  oCurve[63] = 1.60; oCurve[56] = 1.67; oCurve[49] = 1.74;
578  oCurve[42] = 1.81; oCurve[35] = 1.88; oCurve[31] = 2.00;
579  oCurve[27] = 2.15; oCurve[23] = 2.45; oCurve[19] = 2.75;
580  oCurve[16] = 3.20; oCurve[13] = 3.80; oCurve[10] = 4.25;
581  oCurve[7] = 4.35; oCurve[5] = 4.40; oCurve[3] = 4.45;
582  oCurve[1] = 4.50;
583  return oCurve;
584  }
585 
594  FFDisutilityCurve_T oCurve;
595  oCurve[63] = 0.0098; oCurve[56] = 0.0096; oCurve[49] = 0.0093;
596  oCurve[42] = 0.0090; oCurve[35] = 0.0086; oCurve[31] = 0.0082;
597  oCurve[27] = 0.0077; oCurve[23] = 0.0071; oCurve[19] = 0.0065;
598  oCurve[16] = 0.0059; oCurve[13] = 0.0052; oCurve[10] = 0.0045;
599  oCurve[7] = 0.0039; oCurve[5] = 0.0036; oCurve[3] = 0.0033;
600  oCurve[1] = 0.0030;
601  return oCurve;
602  }
603 
612  FFDisutilityCurve_T oCurve;
613  oCurve[63] = 0.0082; oCurve[56] = 0.0080; oCurve[49] = 0.0078;
614  oCurve[42] = 0.0075; oCurve[35] = 0.0072; oCurve[31] = 0.0068;
615  oCurve[27] = 0.0064; oCurve[23] = 0.0059; oCurve[19] = 0.0054;
616  oCurve[16] = 0.0049; oCurve[13] = 0.0044; oCurve[10] = 0.0038;
617  oCurve[7] = 0.0033; oCurve[5] = 0.0030; oCurve[3] = 0.0028;
618  oCurve[1] = 0.0025;
619  return oCurve;
620  }
621 
630  FFDisutilityCurve_T oCurve;
631  oCurve[63] = 0.0065; oCurve[56] = 0.0064; oCurve[49] = 0.0062;
632  oCurve[42] = 0.0060; oCurve[35] = 0.0057; oCurve[31] = 0.0054;
633  oCurve[27] = 0.0051; oCurve[23] = 0.0047; oCurve[19] = 0.0043;
634  oCurve[16] = 0.0039; oCurve[13] = 0.0035; oCurve[10] = 0.0030;
635  oCurve[7] = 0.0026; oCurve[5] = 0.0024; oCurve[3] = 0.0022;
636  oCurve[1] = 0.0020;
637  return oCurve;
638  }
639 
648  FFDisutilityCurve_T oCurve;
649  oCurve[63] = 0.0050; oCurve[56] = 0.0049; oCurve[49] = 0.0047;
650  oCurve[42] = 0.0045; oCurve[35] = 0.0043; oCurve[31] = 0.0040;
651  oCurve[27] = 0.0037; oCurve[23] = 0.0034; oCurve[19] = 0.0030;
652  oCurve[16] = 0.0026; oCurve[13] = 0.0022; oCurve[10] = 0.0017;
653  oCurve[7] = 0.0013; oCurve[5] = 0.0012; oCurve[3] = 0.0011;
654  oCurve[1] = 0.0010;
655  return oCurve;
656  }
657 
666  FFDisutilityCurve_T oCurve;
667  oCurve[63] = 0.0043; oCurve[56] = 0.0042; oCurve[49] = 0.0041;
668  oCurve[42] = 0.0039; oCurve[35] = 0.0037; oCurve[31] = 0.0035;
669  oCurve[27] = 0.0032; oCurve[23] = 0.0029; oCurve[19] = 0.0025;
670  oCurve[16] = 0.0021; oCurve[13] = 0.0018; oCurve[10] = 0.0013;
671  oCurve[7] = 0.0011; oCurve[5] = 0.0010; oCurve[3] = 0.0009;
672  oCurve[1] = 0.0008;
673  return oCurve;
674  }
675 
684  FFDisutilityCurve_T oCurve;
685  oCurve[63] = 0.0032; oCurve[56] = 0.0031; oCurve[49] = 0.0030;
686  oCurve[42] = 0.0029; oCurve[35] = 0.0027; oCurve[31] = 0.0025;
687  oCurve[27] = 0.0022; oCurve[23] = 0.0019; oCurve[19] = 0.0016;
688  oCurve[16] = 0.0013; oCurve[13] = 0.0010; oCurve[10] = 0.0008;
689  oCurve[7] = 0.0007; oCurve[5] = 0.0006; oCurve[3] = 0.0005;
690  oCurve[1] = 0.0004;
691  return oCurve;
692  }
693 
698  DTDFratMap_T oDFCMap;
699  oDFCMap[71] = 2.50583571429; oDFCMap[63] = 2.55994571429;
700  oDFCMap[56] = 2.60841857143; oDFCMap[49] = 2.68888;
701  oDFCMap[42] = 2.78583714286; oDFCMap[35] = 2.89091428571;
702  oDFCMap[31] = 2.97871428571; oDFCMap[28] = 3.05521428571;
703  oDFCMap[24] = 3.15177142857; oDFCMap[21] = 3.22164285714;
704  oDFCMap[17] = 3.32237142857; oDFCMap[14] = 3.38697142857;
705  oDFCMap[10] = 3.44204285714; oDFCMap[7] = 3.46202857143;
706  oDFCMap[5] = 3.47177142857; oDFCMap[3] = 3.4792;
707  oDFCMap[1] = 3.48947142857; // oDFCMap[0] = 3.49111428571;
708  return oDFCMap;
709  }
710 
715  DTDProbMap_T oDPMap;
716  oDPMap[-330] = 0; oDPMap[-150] = 0.1; oDPMap[-92] = 0.2;
717  oDPMap[-55] = 0.3; oDPMap[-34] = 0.4; oDPMap[-21] = 0.5;
718  oDPMap[-12] = 0.6; oDPMap[-6] = 0.7; oDPMap[-3] = 0.8;
719  oDPMap[-1] = 0.9; oDPMap[0] = 1.0;
720  return oDPMap;
721  }
722 
723  // ////////// Key and display related /////////////
726  const std::string DEFAULT_KEY_FLD_DELIMITER (";");
727 
730  const std::string DEFAULT_KEY_SUB_FLD_DELIMITER (",");
731 
733  const boost::char_separator<char> DEFAULT_KEY_TOKEN_DELIMITER (";, ");
734 
737 
738 
739  // ////////// BomManager-related constants ///////////
742  const std::string DISPLAY_LEVEL_STRING_ARRAY[51] =
743  { "", " ", " ", " ",
744  " ", " ", " ", " ",
745  " ", " ", " ",
746  " ", " ",
747  " ", " ",
748  " ", " ",
749  " ",
750  " ",
751  " ",
752  " ",
753  " ",
754  " ",
755  " ",
756  " ",
757  " ",
758  " ",
759  " ",
760  " ",
761  " ",
762  " ",
763  " ",
764  " ",
765  " ",
766  " ",
767  " ",
768  " ",
769  " ",
770  " ",
771  " ",
772  " ",
773  " ",
774  " ",
775  " ",
776  " ",
777  " ",
778  " ",
779  " ",
780  " ",
781  " ",
782  " " };
783 
784 
785 }
std::map< const DTD_T, FRAT5_T > FRAT5Curve_T
const std::string DEFAULT_KEY_SUB_FLD_DELIMITER
const AirlineCodeList_T DEFAULT_AIRLINE_CODE_LIST
Definition: BasConst.cpp:436
const ForecastingMethod DEFAULT_FORECASTING_METHOD('Q')
const DCPList_T DEFAULT_DCP_LIST
Definition: BasConst.cpp:517
const Duration_T DEFAULT_REQUEST_TIME
const FFDisutilityCurve_T FF_DISUTILITY_CURVE_A
Definition: BasConst.cpp:591
static FFDisutilityCurve_T createFFDisutilityCurveA()
Definition: BasConst.cpp:593
const unsigned int DEFAULT_NUMBER_OF_SUBDIVISIONS
static FRAT5Curve_T createFRAT5CurveA()
Definition: BasConst.cpp:533
const PartySize_T DEFAULT_PARTY_SIZE
std::map< const DTD_T, double > FFDisutilityCurve_T
const SeatIndex_T DEFAULT_SEAT_INDEX
const DateOffset_T DEFAULT_ADVANCE_PURCHASE
const ClassCode_T CLASS_CODE_Q
const CabinCode_T DEFAULT_PREFERRED_CABIN
const BookingRatio_T DEFAULT_OND_BOOKING_RATE
const CabinCode_T CABIN_Y
const std::string DEFAULT_BOM_ROOT_KEY
const Date_T DEFAULT_PREFERRED_DEPARTURE_DATE
LocationCode_T AirportCode_T
const Distance_T DEFAULT_DISTANCE_VALUE
std::string CabinCode_T
const Date_T DEFAULT_DEPARTURE_DATE
const NbOfFlightDates_T DEFAULT_NB_OF_FLIGHTDATES
const FrequentFlyer_T FREQUENT_FLYER_MEMBER
const unsigned short MAXIMAL_NUMBER_OF_SEGMENTS_IN_OND
boost::posix_time::ptime DateTime_T
const PartnershipTechnique DEFAULT_PARTNERSHIP_TECHNIQUE('N')
const BidPriceVector_T DEFAULT_BID_PRICE_VECTOR
Definition: BasConst.cpp:484
std::string FlightPathCode_T
const AirportCode_T DEFAULT_ORIGIN
std::string TripType_T
double Availability_T
std::vector< BidPrice_T > BidPriceVector_T
const unsigned int DEFAULT_NB_OF_DAYS_IN_A_YEAR
static FRAT5Curve_T createFRAT5CurveB()
Definition: BasConst.cpp:547
const DTDFratMap_T DEFAULT_DTD_FRAT5COEF_MAP
Definition: BasConst.cpp:695
const SaturdayStay_T NO_SATURDAY_STAY
const CityCode_T DEFAULT_POS
std::map< DTD_T, RealNumber_T > DTDFratMap_T
unsigned short FlightNumber_T
const OptimisationMethod DEFAULT_OPTIMISATION_METHOD('M')
const unsigned short MAXIMAL_NUMBER_OF_LEGS_IN_FLIGHT
const unsigned int DEFAULT_FLIGHT_SPEED
std::vector< ClassList_String_T > ClassList_StringList_T
Handle on the StdAir library context.
boost::posix_time::time_duration Duration_T
const BookingLimit_T DEFAULT_CLASS_BOOKING_LIMIT
const CabinCapacity_T DEFAULT_CABIN_CAPACITY
const TripType_T TRIP_TYPE_OUTBOUND
const FFDisutilityCurve_T FF_DISUTILITY_CURVE_C
Definition: BasConst.cpp:627
const Count_T MILLISECONDS_IN_ONE_SECOND
const Yield_T DEFAULT_CLASS_YIELD_VALUE(0.0)
const FlightPathCode_T DEFAULT_FLIGHTPATH_CODE
const NestingStructureCode_T DISPLAY_NESTING_STRUCTURE_CODE
const std::string DEFAULT_SEGMENT_CABIN_VALUE_TYPE
const DateTime_T DEFAULT_EVENT_OLDEST_DATETIME
unsigned int Count_T
const std::string DEFAULT_KEY_FLD_DELIMITER
const DatePeriod_T BOOST_DEFAULT_DATE_PERIOD
const DateOffset_T DEFAULT_DATE_OFFSET
const FRAT5Curve_T FRAT5_CURVE_D
Definition: BasConst.cpp:573
const FamilyCode_T DEFAULT_NULL_FARE_FAMILY_CODE
std::string AirlineCode_T
NbOfRequests_T NbOfBookings_T
const FRAT5Curve_T FRAT5_CURVE_A
Definition: BasConst.cpp:531
std::string FamilyCode_T
static FFDisutilityCurve_T createFFDisutilityCurveD()
Definition: BasConst.cpp:647
LocationCode_T CityCode_T
double NbOfFlightDates_T
const Date_T DEFAULT_DATE
const AvailabilityStatus_T DEFAULT_AVAILABILITY_STATUS
const FamilyCode_T DEFAULT_FARE_FAMILY_CODE
static FFDisutilityCurve_T createFFDisutilityCurveF()
Definition: BasConst.cpp:683
static FFDisutilityCurve_T createFFDisutilityCurveE()
Definition: BasConst.cpp:665
const NonRefundable_T NO_NON_REFUNDABLE
std::string PolicyCode_T
const DateTime_T DEFAULT_DATETIME
const NbOfBookings_T DEFAULT_CLASS_NB_OF_BOOKINGS
const BidPrice_T DEFAULT_BID_PRICE
const std::string DEFAULT_FARE_FAMILY_VALUE_TYPE
const Availability_T DEFAULT_YIELD_AVAILABILITY(0.0)
std::list< DCP_T > DCPList_T
const ClassList_StringList_T DEFAULT_CLASS_CODE_LIST
Definition: BasConst.cpp:478
unsigned long Identity_T
const NbOfNoShows_T DEFAULT_CLASS_NB_OF_NOSHOWS
const AirportCode_T AIRPORT_BKK
const NbOfCancellations_T DEFAULT_YIELD_NB_OF_CANCELLATIONS(0.0)
const Availability_T DEFAULT_AVAILABILITY
const AirportCode_T DEFAULT_DESTINATION
const PriceCurrency_T DEFAULT_CURRENCY
double Revenue_T
double PriceValue_T
const FrequentFlyer_T DEFAULT_FF_TIER
std::vector< AirlineCode_T > AirlineCodeList_T
const ChannelLabel_T DEFAULT_CHANNEL
const DayDuration_T NO_STAY_DURATION
std::string NestingNodeCode_T
const ClassCode_T CLASS_CODE_Y
const ChangeFees_T DEFAULT_BOM_TREE_CHANGE_FEES(true)
const WTP_T DEFAULT_WTP
const ClassCode_T DEFAULT_CLASS_CODE
const Identity_T DEFAULT_BOOKING_NUMBER(0)
const NonRefundable_T DEFAULT_BOM_TREE_NON_REFUNDABLE(true)
double NbOfSeats_T
std::string PriceCurrency_T
const PolicyCode_T DEFAULT_POLICY_CODE
const DayDuration_T DEFAULT_DAY_DURATION
const CabinCode_T DEFAULT_CABIN_CODE
const ClassCode_T DEFAULT_CLOSED_CLASS_CODE
const FlightNumber_T DEFAULT_FLIGHT_NUMBER_FF
const DateTime_T DEFAULT_REQUEST_DATE_TIME
const NbOfBookings_T DEFAULT_CLASS_TOTAL_NB_OF_BOOKINGS
const Availability_T MAXIMAL_AVAILABILITY
const NbOfBookings_T DEFAULT_CLASS_REMAINING_DEMAND_MEAN
const PriceValue_T DEFAULT_VALUE_OF_TIME
const AirlineCode_T AIRLINE_CODE_BA
const NbOfAirlines_T DEFAULT_NBOFAIRLINES
const MatchingIndicator_T DEFAULT_MATCHING_INDICATOR
double MatchingIndicator_T
const Duration_T DEFAULT_MINIMAL_CONNECTION_TIME
const NbOfBookings_T DEFAULT_CLASS_UNCONSTRAINED_DEMAND
static DTDFratMap_T init()
Definition: BasConst.cpp:697
const CapacityAdjustment_T DEFAULT_NULL_CAPACITY_ADJUSTMENT
const CityCode_T POS_SIN
const CommittedSpace_T DEFAULT_COMMITTED_SPACE
std::vector< CensorshipFlag_T > CensorshipFlagList_T
std::string FrequentFlyer_T
const TripType_T TRIP_TYPE_INBOUND
const SaturdayStay_T SATURDAY_STAY
const ChangeFees_T NO_CHANGE_FEES
const Duration_T DEFAULT_MAXIMAL_CONNECTION_TIME
const TripType_T TRIP_TYPE_ONE_WAY
const Count_T DEFAULT_PROGRESS_STATUS
const NonRefundable_T NON_REFUNDABLE
const ChannelLabel_T CHANNEL_IN
const BookingLimit_T DEFAULT_YIELD_BOOKING_LIMIT(0.0)
const AirportCode_T DEFAULT_NULL_AIRPORT_CODE
const Yield_T DEFAULT_YIELD_MAX_VALUE
const Duration_T DEFAULT_EPSILON_DURATION
const AirportCode_T AIRPORT_SYD
const DayDuration_T NO_ADVANCE_PURCHASE
static DTDProbMap_T init()
Definition: BasConst.cpp:714
const Duration_T DEFAULT_PREFERRED_DEPARTURE_TIME
const Availability_T DEFAULT_NULL_AVAILABILITY
const OverbookingRate_T DEFAULT_YIELD_OVERBOOKING_RATE(0.0)
const Percentage_T DEFAULT_LOAD_FACTOR_VALUE
const Duration_T NULL_BOOST_TIME_DURATION
const Fare_T DEFAULT_FARE_VALUE
const boost::char_separator< char > DEFAULT_KEY_TOKEN_DELIMITER
std::map< FloatDuration_T, float > DTDProbMap_T
static FFDisutilityCurve_T createFFDisutilityCurveB()
Definition: BasConst.cpp:611
const NbOfSeats_T DEFAULT_NULL_BOOKING_NUMBER
const PreOptimisationMethod DEFAULT_PREOPTIMISATION_METHOD('N')
const AuthorizationLevel_T DEFAULT_CLASS_MAX_AUTHORIZATION_LEVEL
const FFDisutilityCurve_T FF_DISUTILITY_CURVE_E
Definition: BasConst.cpp:663
const NbOfNoShows_T DEFAULT_YIELD_NB_OF_NOSHOWS(0.0)
const FRAT5Curve_T FRAT5_CURVE_B
Definition: BasConst.cpp:545
const IntDuration_T HOUR_CONVERTED_IN_SECONDS
static DCPList_T init()
Definition: BasConst.cpp:518
double AuthorizationLevel_T
boost::gregorian::date Date_T
const double DEFAULT_EPSILON_VALUE
const TableID_T DEFAULT_TABLE_ID
const int DEFAULT_MAX_DTD
Definition: BasConst.cpp:514
const DOW_String_T DEFAULT_DOW_STRING
unsigned int SeatIndex_T
const Date_T DEFAULT_EVENT_OLDEST_DATE
const FFDisutilityCurve_T FF_DISUTILITY_CURVE_D
Definition: BasConst.cpp:645
const CensorshipFlag_T DEFAULT_CLASS_CENSORSHIPFLAG
const AuthorizationLevel_T DEFAULT_CLASS_MIN_AUTHORIZATION_LEVEL
const std::string DOW_STR[]
Definition: BasConst.cpp:53
std::string NestingStructureCode_T
const CensorshipFlagList_T DEFAULT_CLASS_CENSORSHIPFLAG_LIST
Definition: BasConst.cpp:253
const NestingStructureCode_T DEFAULT_NESTING_STRUCTURE_CODE
const CabinCode_T CABIN_ECO
const BlockSpace_T DEFAULT_BLOCK_SPACE
const AirlineCode_T DEFAULT_NULL_AIRLINE_CODE
const AuthorizationLevel_T DEFAULT_CLASS_AUTHORIZATION_LEVEL
const Count_T SECONDS_IN_ONE_DAY
unsigned long int RandomSeed_T
const SaturdayStay_T DEFAULT_BOM_TREE_SATURDAY_STAY(true)
const Date_T DEFAULT_REQUEST_DATE
const ClassCode_T DEFAULT_NULL_CLASS_CODE
const Yield_T DEFAULT_YIELD_VALUE
boost::gregorian::date_period DatePeriod_T
std::string DOW_String_T
const AirportCode_T DEFAULT_AIRPORT_CODE
const DTDProbMap_T DEFAULT_DTD_PROB_MAP
Definition: BasConst.cpp:712
const std::string DISPLAY_LEVEL_STRING_ARRAY[51]
Definition: BasConst.cpp:742
const FlightNumber_T DEFAULT_FLIGHT_NUMBER
boost::gregorian::date_duration DateOffset_T
const Date_T DATE_20111231(2011, boost::gregorian::Dec, 31)
const NbOfBookings_T DEFAULT_CLASS_REMAINING_DEMAND_STANDARD_DEVIATION
const NbOfCancellations_T DEFAULT_CLASS_NB_OF_CANCELLATIONS
static FFDisutilityCurve_T createFFDisutilityCurveC()
Definition: BasConst.cpp:629
double Percentage_T
const CityCode_T POS_LHR
const CensorshipFlag_T DEFAULT_YIELD_CENSORSHIPFLAG(false)
unsigned short TableID_T
const AirportCode_T AIRPORT_LHR
NbOfRequests_T NbOfCancellations_T
const Duration_T DEFAULT_NULL_DURATION
const ChangeFees_T CHANGE_FEES
std::list< OnDString_T > OnDStringList_T
const TripType_T TRIP_TYPE_ROUND_TRIP
const OnDStringList_T DEFAULT_OND_STRING_LIST
Definition: BasConst.cpp:736
double CapacityAdjustment_T
const NestingStructureCode_T YIELD_BASED_NESTING_STRUCTURE_CODE
long int IntDuration_T
const AirlineCode_T DEFAULT_AIRLINE_CODE
const Revenue_T DEFAULT_REVENUE_VALUE
unsigned short NbOfAirlines_T
const OverbookingRate_T DEFAULT_CLASS_OVERBOOKING_RATE
const FRAT5Curve_T FRAT5_CURVE_C
Definition: BasConst.cpp:559
static FRAT5Curve_T createFRAT5CurveD()
Definition: BasConst.cpp:575
std::string ClassCode_T
const Date_T DEFAULT_DICO_STUDIED_DATE
Definition: BasConst.cpp:426
NbOfRequests_T NbOfNoShows_T
const Percentage_T MAXIMUM_PROGRESS_STATUS
const UPR_T DEFAULT_NULL_UPR
const Date_T DATE_20110115(2011, boost::gregorian::Jan, 15)
const ChannelLabel_T CHANNEL_DN
const NestingNodeCode_T DEFAULT_NESTING_NODE_CODE
static FRAT5Curve_T createFRAT5CurveC()
Definition: BasConst.cpp:561
unsigned long int Distance_T
const RandomSeed_T DEFAULT_RANDOM_SEED
const FFDisutilityCurve_T FF_DISUTILITY_CURVE_F
Definition: BasConst.cpp:681
std::string ChannelLabel_T
const UnconstrainingMethod DEFAULT_UNCONSTRAINING_METHOD('E')
const NbOfBookings_T DEFAULT_YIELD_NB_OF_BOOKINGS(0.0)
const DayDuration_T DEFAULT_STAY_DURATION
const FFDisutilityCurve_T FF_DISUTILITY_CURVE_B
Definition: BasConst.cpp:609
const FamilyCode_T DEFAULT_FAMILY_CODE("0")
const AirportCode_T AIRPORT_SIN
const Fare_T DEFAULT_OND_FARE_VALUE(0.0)