Simpact Cyan
Population based event driven simulation using mNRM
configdistributionhelper.h
Go to the documentation of this file.
1 #ifndef CONFIGDISTRIBUTIONHELPER_H
2 
3 #define CONFIGDISTRIBUTIONHELPER_H
4 
10 #include <string>
11 
12 class ConfigSettings;
13 class ConfigWriter;
15 
67  const std::string &prefix);
68 
69 void addDistributionToConfig(ProbabilityDistribution *pDist, ConfigWriter &config, const std::string &prefix);
70 
71 #endif // CONFIGDISTRIBUTIONHELPER_H
Helper class to read configuration settings, more advanced than ConfigReader.
Definition: configsettings.h:20
This class allows you to generate random numbers, and uses the GNU Scientific Library for this...
Definition: gslrandomnumbergenerator.h:16
Abstract base class for probability distribution implementations so that they can be used interchange...
Definition: probabilitydistribution.h:15
ProbabilityDistribution * getDistributionFromConfig(ConfigSettings &config, GslRandomNumberGenerator *pRndGen, const std::string &prefix)
This is a helper function to more easily specify a particular 1D probability distribution in a config...