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
const std::vector< double > & weights() const
Weights.
std::map< double, unsigned int > m_map
const BaseEnvironment & m_env
unsigned int sample() const
Samples.
const BaseEnvironment & env() const
Environment; access to protected attribute m_env.
std::vector< double > m_weights
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
virtual ~FiniteDistribution()
Virtual destructor.
FiniteDistribution(const BaseEnvironment &env, const char *prefix, const std::vector< double > &inpWeights)
Constructor.
A templated class for a finite distribution.