RMOL Logo Get Revenue Management Optimisation Library at SourceForge.net. Fast, secure and Free Open Source software downloads

HistoricalBookingHolderHolder.hpp

Go to the documentation of this file.
00001 #ifndef __RMOL_BOM_HISTORICALBOOKINGVECTORHOLDER_HPP
00002 #define __RMOL_BOM_HISTORICALBOOKINGVECTORHOLDER_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <iostream>
00009 #include <vector>
00010 // RMOL 
00011 // #include <rmol/RMOL_Types.hpp>
00012 #include <rmol/bom/StructAbstract.hpp>
00013 
00014 namespace RMOL {
00015 
00017   struct HistoricalBookingHolder;
00018     
00020   typedef std::vector<HistoricalBookingHolder> 
00021                                        HistoricalBookingHolderHolder_T;
00022     
00025   struct HistoricalBookingHolderHolder : public StructAbstract {
00026       
00027   public:
00028     // ////// Getters //////
00030     const int getNumberOfSimilarFlights () const;
00031 
00032 //     /** Get number of uncensored booking data. */
00033 //     const short getNumberOfUncensoredData () const;
00034 
00035 //     /** Get number of uncensored bookings. */
00036 //     const double getNumberOfUncensoredBookings () const;
00037 
00038 //     /** Get standard deviation of uncensored bookings. */
00039 //     const double getUncensoredStandardDeviation
00040 //                              (const double iMeanOfUncensoredBookings,
00041 //                               const short iNumberOfUncensoredData) const;
00042 
00043 //     /** Get mean of historical demand. */
00044 //     const double getMeanDemand () const;
00045 
00046 //     /** Get standard deviation of demand. */
00047 //     const double getStandardDeviation (const double) const;
00048 
00049 //     /** Get the list of flags of need to be unconstrained. */
00050 //     const std::vector<bool> getListOfToBeUnconstrainedFlags() const;
00051 
00053 //     HistoricalBookingHolder& getHistoricalBookingVector (const int i) const;
00054 
00055 //     /** Get the unconstraining demand of the (i+1)-th flight. */
00056 //     const double getUnconstrainedDemand (const short i) const;
00057 
00058 //     /** Get the unconstraining demand of the first flight. */
00059 //     const double getUnconstrainedDemandOnFirstElement () const {
00060 //       return getUnconstrainedDemand (0);
00061 //     }
00062 
00063 //     /** Calculate the expected demand. */
00064 //     const double calculateExpectedDemand (const double,
00065 //                                           const double,
00066 //                                           const short,
00067 //                                           const double) const;
00068       
00069 //     /** Set the expected historical demand of the (i+1)-th flight. */
00070 //     void setUnconstrainedDemand (const double iExpectedDemand,
00071 //                                  const short i);
00072 
00073 //     /** Add a HistoricalBooking object to the holder. */
00074 //     void addHistoricalBooking (const HistoricalBooking iHistoricalBooking);
00075       
00076 //     /** Dump a Business Object into an output stream.
00077 //         @param ostream& the output stream
00078 //         @return ostream& the output stream. */
00079 //     void toStream (std::ostream& ioOut) const;
00080 
00081 //     // ///////// Display Methods //////////
00082 //     /** Give a description of the structure (for display purposes). */
00083 //     const std::string describe() const;
00084       
00085 //     /** Display on standard output. */
00086 //     void display () const;
00087       
00089     virtual ~HistoricalBookingHolderHolder();
00090       
00091   public:
00094     HistoricalBookingHolderHolder ();
00095 
00096   private:
00097       
00099     HistoricalBookingHolderHolder_T _historicalBookingHolderHolder;
00100       
00101   };
00102 }
00103 #endif // __RMOL_BOM_HISTORICALBOOKINGVECTORHOLDER_HPP
00104   
SourceForge Logo

Generated on Sat Sep 26 13:13:51 2009 for RMOL by Doxygen 1.6.1