RMOL Logo  0.25.3
C++ library of Revenue Management and Optimisation classes and functions
DemandGeneratorList.hpp
Go to the documentation of this file.
00001 #ifndef __RMOL_DEMANDGENERATORLIST_HPP
00002 #define __RMOL_DEMANDGENERATORLIST_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <list>
00009 // RMOL
00010 #include <rmol/bom/VariateList.hpp>
00011 #include <rmol/bom/DistributionParameterList.hpp>
00012 #include <rmol/bom/Gaussian.hpp>
00013 
00014 namespace RMOL {
00015 
00017   class DemandGeneratorList {
00018   protected:
00020     typedef std::list<Gaussian> DemandGeneratorList_T;
00021     
00022   public:
00024     DemandGeneratorList ();
00025     DemandGeneratorList (const DemandGeneratorList&);
00027     DemandGeneratorList (const DistributionParameterList_T&);
00028     
00030     virtual ~DemandGeneratorList();
00031 
00033     void generateVariateList (VariateList_T&) const;
00034     
00035   private:
00036     DemandGeneratorList_T _demandGeneratorList;
00037 
00039     void init (const DistributionParameterList_T&);
00040     
00041   };
00042 }
00043 #endif // __RMOL_DEMANDGENERATORLIST_HPP
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines