00001 // ////////////////////////////////////////////////////////////////////// 00002 // Import section 00003 // ////////////////////////////////////////////////////////////////////// 00004 #include <rmol/basic/BasConst_General.hpp> 00005 #include <rmol/basic/BasConst_Curves.hpp> 00006 #include <rmol/basic/BasConst_RMOL_Service.hpp> 00007 00008 namespace RMOL { 00009 00011 const stdair::AirlineCode_T DEFAULT_RMOL_SERVICE_AIRLINE_CODE = "BA"; 00012 00014 const double DEFAULT_RMOL_SERVICE_CAPACITY = 1.0; 00015 00018 const int DEFAULT_NUMBER_OF_DRAWS_FOR_MC_SIMULATION = 100000; 00019 00023 const int DEFAULT_PRECISION = 10; 00024 00026 const double DEFAULT_EPSILON = 0.0001; 00027 00029 const double DEFAULT_STOPPING_CRITERION = 0.01; 00030 00032 const double DEFAULT_INITIALIZER_DOUBLE_NEGATIVE = -10.0; 00033 00036 const FRAT5Curve_T DEFAULT_CUMULATIVE_FRAT5_CURVE = 00037 DefaultMap::createCumulativeFRAT5Curve(); 00038 FRAT5Curve_T DefaultMap::createCumulativeFRAT5Curve() { 00039 FRAT5Curve_T oCurve; 00040 // oCurve[63] = 1.4; oCurve[56] = 1.45; 00041 // oCurve[49] = 1.5; oCurve[42] = 1.55; oCurve[35] = 1.6; 00042 // oCurve[31] = 1.7; oCurve[27] = 1.8; oCurve[23] = 2.0; 00043 // oCurve[19] = 2.3; oCurve[16] = 2.6; oCurve[13] = 3.0; 00044 // oCurve[10] = 3.3; oCurve[7] = 3.4; oCurve[5] = 3.44; 00045 // oCurve[3] = 3.47; oCurve[1] = 3.5; 00046 oCurve[63] = 1.1; oCurve[56] = 1.11; 00047 oCurve[49] = 1.17; oCurve[42] = 1.27; 00048 oCurve[35] = 1.28; oCurve[31] = 1.28; oCurve[27] = 1.28; 00049 oCurve[23] = 1.37; oCurve[19] = 1.37; 00050 oCurve[16] = 1.6; oCurve[13] = 1.6; 00051 oCurve[10] = 1.8; oCurve[7] = 1.8; 00052 oCurve[5] = 2.23; oCurve[3] = 2.23; 00053 oCurve[1] = 2.5; 00054 // oCurve[63] = 1.05; oCurve[56] = 1.07; 00055 // oCurve[49] = 1.09; oCurve[42] = 1.11; oCurve[35] = 1.14; 00056 // oCurve[31] = 1.16; oCurve[27] = 1.18; oCurve[23] = 1.21; 00057 // oCurve[19] = 1.24; oCurve[16] = 1.27; oCurve[13] = 1.3; 00058 // oCurve[10] = 1.33; oCurve[7] = 1.37; oCurve[5] = 1.4; 00059 // oCurve[3] = 1.45; oCurve[1] = 1.5; 00060 // oCurve[63] = 1.4; 00061 // oCurve[49] = 1.5; oCurve[35] = 1.6; 00062 // oCurve[23] = 2.0; oCurve[16] = 2.6; 00063 // oCurve[10] = 3.3; oCurve[5] = 3.44; 00064 // oCurve[1] = 3.5; 00065 return oCurve; 00066 }; 00067 00069 const stdair::DCPList_T DEFAULT_DCP_LIST = DefaultDCPList::init(); 00070 stdair::DCPList_T DefaultDCPList::init() { 00071 stdair::DCPList_T oDCPList; 00072 oDCPList.push_back (63); oDCPList.push_back (49); 00073 oDCPList.push_back (35); oDCPList.push_back (23); 00074 oDCPList.push_back (16); oDCPList.push_back (10); 00075 oDCPList.push_back (5); oDCPList.push_back (1); 00076 oDCPList.push_back (0); 00077 return oDCPList; 00078 } 00079 00080 }