$treeview $search $mathjax
AirInv Logo  1.00.0
$projectbrief
$projectbrief
$searchbox

BasConst.cpp

Go to the documentation of this file.
00001 // //////////////////////////////////////////////////////////////////////
00002 // Import section
00003 // //////////////////////////////////////////////////////////////////////
00004 #include <airinv/basic/BasConst_General.hpp>
00005 #include <airinv/basic/BasConst_Curves.hpp>
00006 #include <airinv/basic/BasConst_AIRINV_Service.hpp>
00007 
00008 namespace AIRINV {
00009 
00011   const std::string DEFAULT_AIRLINE_CODE = "BA";
00012 
00014   const FRAT5Curve_T DEFAULT_PICKUP_FRAT5_CURVE =
00015     DefaultMap::createPickupFRAT5Curve();
00016   FRAT5Curve_T DefaultMap::createPickupFRAT5Curve() {
00017     FRAT5Curve_T oCurve;
00018     oCurve[365] = 1.1; oCurve[63] = 1.2; 
00019     oCurve[49] = 1.3;  oCurve[35] = 1.4;
00020     oCurve[23] = 1.7;  oCurve[16] = 2.0; 
00021     oCurve[10] = 2.3;  oCurve[5]  = 2.44;
00022     oCurve[1]  = 2.5;  oCurve[0]  = 2.5;
00023     
00024     return oCurve;
00025   };
00026 
00027 }