$treeview $search $mathjax
StdAir Logo  1.00.1
$projectbrief
$projectbrief
$searchbox

stdair/stdair_maths_types.hpp

Go to the documentation of this file.
00001 #ifndef __STDAIR_STDAIR_MATHS_TYPES_HPP
00002 #define __STDAIR_STDAIR_MATHS_TYPES_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 #include <vector>
00010 #include <map>
00011 // Boost Random
00012 #include <boost/random/linear_congruential.hpp>
00013 #include <boost/random/uniform_real.hpp>
00014 #include <boost/random/normal_distribution.hpp>
00015 #include <boost/random/exponential_distribution.hpp>
00016 #include <boost/random/variate_generator.hpp>
00017 
00018 namespace stdair {
00019 
00020   // //////// Type definitions /////////
00024   typedef unsigned int ReplicationNumber_T;
00025 
00029   typedef unsigned long int ExponentialSeed_T;
00030 
00034   typedef unsigned long int UniformSeed_T;
00035 
00039   typedef unsigned long int RandomSeed_T;
00040   
00044   typedef boost::minstd_rand BaseGenerator_T;
00045 
00049   typedef boost::uniform_real<> UniformDistribution_T;
00050 
00054   typedef boost::variate_generator<BaseGenerator_T&,
00055                                    UniformDistribution_T> UniformGenerator_T;
00056 
00060   typedef boost::normal_distribution<> NormalDistribution_T;
00061 
00065   typedef boost::variate_generator<BaseGenerator_T&,
00066                                    NormalDistribution_T> NormalGenerator_T;
00067 
00069   typedef boost::exponential_distribution<> ExponentialDistribution_T;
00070 
00071 
00073   typedef boost::variate_generator<BaseGenerator_T&,
00074                                    ExponentialDistribution_T> ExponentialGenerator_T;
00075 
00079   typedef double MeanValue_T;
00080 
00084   typedef double StdDevValue_T;
00085 
00089   typedef std::pair<MeanValue_T, StdDevValue_T> MeanStdDevPair_T;
00090 
00094   typedef std::vector<MeanStdDevPair_T> MeanStdDevPairVector_T;
00095 
00099   typedef float Probability_T; 
00100   
00101 }
00102 #endif // __STDAIR_STDAIR_MATHS_TYPES_HPP