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
void print(std::ostream &os) const
TODO: Prints the Markov chain.
double logTarget() const
Logarithm of the value of the target; access to private attribute m_logTarget.
~MarkovChainPositionData()
Destructor.
const V & vecValues() const
Values of the chain (vector); access to private attribute m_vecValues.
A templated class that represents a Markov Chain.
friend std::ostream & operator<<(std::ostream &os, const MarkovChainPositionData< V > &obj)
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
void set(const V &vecValues, bool outOfTargetSupport, double logLikelihood, double logTarget)
Sets the values of the chain.
MarkovChainPositionData< V > & operator=(const MarkovChainPositionData< V > &rhs)
Assignment operator.
const BaseEnvironment & m_env
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.
bool m_outOfTargetSupport
MarkovChainPositionData(const BaseEnvironment &env)
Constructor 1.