StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
stdair_maths_types.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_STDAIR_MATHS_TYPES_HPP
2 #define __STDAIR_STDAIR_MATHS_TYPES_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 #include <vector>
10 #include <map>
11 // Boost Random
12 #include <boost/random/linear_congruential.hpp>
13 #include <boost/random/uniform_real.hpp>
14 #include <boost/random/normal_distribution.hpp>
15 #include <boost/random/exponential_distribution.hpp>
16 #include <boost/random/variate_generator.hpp>
17 
18 namespace stdair {
19 
20  // //////// Type definitions /////////
24  typedef unsigned int ReplicationNumber_T;
25 
29  typedef unsigned long int ExponentialSeed_T;
30 
34  typedef unsigned long int UniformSeed_T;
35 
39  typedef unsigned long int RandomSeed_T;
40 
44  typedef boost::minstd_rand BaseGenerator_T;
45 
49  typedef boost::uniform_real<> UniformDistribution_T;
50 
54  typedef boost::variate_generator<BaseGenerator_T&,
56 
60  typedef boost::normal_distribution<> NormalDistribution_T;
61 
65  typedef boost::variate_generator<BaseGenerator_T&,
67 
69  typedef boost::exponential_distribution<> ExponentialDistribution_T;
70 
71 
73  typedef boost::variate_generator<BaseGenerator_T&,
75 
79  typedef double MeanValue_T;
80 
84  typedef double StdDevValue_T;
85 
89  typedef std::pair<MeanValue_T, StdDevValue_T> MeanStdDevPair_T;
90 
94  typedef std::vector<MeanStdDevPair_T> MeanStdDevPairVector_T;
95 
99  typedef float Probability_T;
100 
101 }
102 #endif // __STDAIR_STDAIR_MATHS_TYPES_HPP