TraDemGen Logo  0.2.2
C++ Simulated Travel Demand Generation Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines
DemandDistribution.hpp
Go to the documentation of this file.
00001 #ifndef __TRADEMGEN_BAS_DEMAND_DISTRIBUTION_HPP
00002 #define __TRADEMGEN_BAS_DEMAND_DISTRIBUTION_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 // StdAir
00010 #include <stdair/stdair_basic_types.hpp>
00011 #include <stdair/basic/StructAbstract.hpp>
00012 // TraDemGen
00013 #include <trademgen/basic/ContinuousAttribute.hpp>
00014 
00015 namespace TRADEMGEN {
00016   
00020   struct DemandDistribution : public stdair::StructAbstract {
00021   public:
00022     // ////////// Constructors and destructors /////////
00026     DemandDistribution (const stdair::NbOfRequests_T& iMean,
00027                         const stdair::StdDevValue_T& iStdDev);
00031     DemandDistribution();
00035     DemandDistribution (const DemandDistribution&);
00039      ~DemandDistribution();
00040 
00041 
00042   public:    
00043     // ////////////// Display Support Methods //////////
00049     void fromStream (std::istream& ioIn);
00050 
00054     const std::string describe() const;
00055 
00059     std::string display() const;
00060 
00061 
00062   public:    
00063     // ////////// Attributes //////////
00067     stdair::NbOfRequests_T _meanNumberOfRequests;
00068     
00072     stdair::StdDevValue_T _stdDevNumberOfRequests;
00073   };
00074 
00075 }
00076 #endif // __TRADEMGEN_BAS_DEMAND_DISTRIBUTION_HPP