From: <den...@us...> - 2010-01-21 20:04:06
|
Revision: 292 http://rmol.svn.sourceforge.net/rmol/?rev=292&view=rev Author: denis_arnaud Date: 2010-01-21 20:03:59 +0000 (Thu, 21 Jan 2010) Log Message: ----------- [Dev] The initialisation now requires an airline code. Modified Paths: -------------- trunk/rmol/test/rmol/ForecasterTestSuite.cpp trunk/rmol/test/rmol/OptimiseTestSuite.cpp trunk/rmol/test/rmol/UnconstrainerTestSuite.cpp trunk/rmol/test/rmol/bomsforforecaster.cpp Modified: trunk/rmol/test/rmol/ForecasterTestSuite.cpp =================================================================== --- trunk/rmol/test/rmol/ForecasterTestSuite.cpp 2010-01-21 20:03:39 UTC (rev 291) +++ trunk/rmol/test/rmol/ForecasterTestSuite.cpp 2010-01-21 20:03:59 UTC (rev 292) @@ -34,7 +34,8 @@ // Initialise the RMOL service const stdair::BasLogParams lLogParams (stdair::LOG::DEBUG, logOutputFile); - RMOL::RMOL_Service rmolService (lLogParams); + const stdair::AirlineCode_T lAirlineCode ("BA"); + RMOL::RMOL_Service rmolService (lLogParams, lAirlineCode); // A sample historical demand data to be processed by forecaster // Class | Q | M | B | Y | Modified: trunk/rmol/test/rmol/OptimiseTestSuite.cpp =================================================================== --- trunk/rmol/test/rmol/OptimiseTestSuite.cpp 2010-01-21 20:03:39 UTC (rev 291) +++ trunk/rmol/test/rmol/OptimiseTestSuite.cpp 2010-01-21 20:03:59 UTC (rev 292) @@ -42,7 +42,8 @@ // Initialise the RMOL service const stdair::BasLogParams lLogParams (stdair::LOG::DEBUG, logOutputFile); - RMOL::RMOL_Service rmolService (lLogParams, cabinCapacity); + const stdair::AirlineCode_T lAirlineCode ("BA"); + RMOL::RMOL_Service rmolService (lLogParams, lAirlineCode, cabinCapacity); rmolService.setUpStudyStatManager(); // Define bid price and booking Limit vectors Modified: trunk/rmol/test/rmol/UnconstrainerTestSuite.cpp =================================================================== --- trunk/rmol/test/rmol/UnconstrainerTestSuite.cpp 2010-01-21 20:03:39 UTC (rev 291) +++ trunk/rmol/test/rmol/UnconstrainerTestSuite.cpp 2010-01-21 20:03:59 UTC (rev 292) @@ -34,7 +34,8 @@ // Initialise the RMOL service const stdair::BasLogParams lLogParams (stdair::LOG::DEBUG, logOutputFile); - RMOL::RMOL_Service rmolService (lLogParams); + const stdair::AirlineCode_T lAirlineCode ("BA"); + RMOL::RMOL_Service rmolService (lLogParams, lAirlineCode); // A sample historical booking data to be processed by unconstrainer RMOL::ConstrainedDataHolder_T lConstrainedDataHolder; Modified: trunk/rmol/test/rmol/bomsforforecaster.cpp =================================================================== --- trunk/rmol/test/rmol/bomsforforecaster.cpp 2010-01-21 20:03:39 UTC (rev 291) +++ trunk/rmol/test/rmol/bomsforforecaster.cpp 2010-01-21 20:03:59 UTC (rev 292) @@ -190,7 +190,8 @@ // Initialise the RMOL service const stdair::BasLogParams lLogParams (stdair::LOG::DEBUG, logOutputFile); - RMOL::RMOL_Service lRmolService (lLogParams); + const stdair::AirlineCode_T lAirlineCode ("BA"); + RMOL::RMOL_Service lRmolService (lLogParams, lAirlineCode); // Register BCDataSet RMOL::BookingClassDataSet lBookingClassDataSet; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |