25 #ifndef UQ_FINITE_DISTRIBUTION_H
26 #define UQ_FINITE_DISTRIBUTION_H
30 #include <queso/Environment.h>
52 const std::vector<double>& inpWeights);
65 const std::vector<double>&
weights()
const;
69 unsigned int sample ()
const;
77 std::map<double,unsigned int>
m_map;
82 #endif // UQ_FINITE_DISTRIBUTION_H
FiniteDistribution(const BaseEnvironment &env, const char *prefix, const std::vector< double > &inpWeights)
Constructor.
const std::vector< double > & weights() const
Weights.
std::map< double, unsigned int > m_map
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
const BaseEnvironment & env() const
Environment; access to protected attribute m_env.
std::vector< double > m_weights
unsigned int sample() const
Samples.
A templated class for a finite distribution.
virtual ~FiniteDistribution()
Virtual destructor.
const BaseEnvironment & m_env