25 #ifndef UQ_CHAIN_POSITION_DATA_H
26 #define UQ_CHAIN_POSITION_DATA_H
28 #include <queso/Environment.h>
48 template <
class V = GslVector>
96 void set (
const V& vecValues,
97 bool outOfTargetSupport,
105 void print (std::ostream& os)
const;
125 #endif // UQ_CHAIN_POSITION_DATA_H
friend std::ostream & operator<<(std::ostream &os, const MarkovChainPositionData< V > &obj)
bool m_outOfTargetSupport
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
const BaseEnvironment & m_env
const V & vecValues() const
Values of the chain (vector); access to private attribute m_vecValues.
void print(std::ostream &os) const
TODO: Prints the Markov chain.
~MarkovChainPositionData()
Destructor.
MarkovChainPositionData< V > & operator=(const MarkovChainPositionData< V > &rhs)
Assignment operator.
double logTarget() const
Logarithm of the value of the target; access to private attribute m_logTarget.
void set(const V &vecValues, bool outOfTargetSupport, double logLikelihood, double logTarget)
Sets the values of the chain.
MarkovChainPositionData(const BaseEnvironment &env)
Constructor 1.
A templated class that represents a Markov Chain.
bool outOfTargetSupport() const
Whether or not a position is out of target support; access to private attribute m_outOfTargetSupport...
double logLikelihood() const
Logarithm of the value of the likelihood; access to private attribute m_logLikelihood.