hops
Public Member Functions | Friends | List of all members
hops::Data Class Reference

#include <Data.hpp>

Collaboration diagram for hops::Data:
Collaboration graph

Public Member Functions

 Data (long dimension=0)
 
 Data (const std::vector< std::shared_ptr< MarkovChain >> &m_markovChains, long dimension=0)
 
void setDimension (long dimension)
 
void linkWithChains (const std::vector< std::shared_ptr< MarkovChain >> &m_markovChains)
 
std::vector< const std::vector< double > * > getAcceptanceRates ()
 
std::vector< const std::vector< double > * > getNegativeLogLikelihood ()
 
std::vector< const std::vector< Eigen::VectorXd > * > getStates ()
 
std::vector< const std::vector< long > * > getTimestamps ()
 
void computeTotalNumberOfSamples ()
 
void computeAcceptanceRate ()
 
void computeEffectiveSampleSize ()
 
void computeExpectedSquaredJumpDistance ()
 
void computePotentialScaleReductionFactor ()
 
void computeTotalTimeTaken ()
 
void reset ()
 
void write (const std::string &outputDirectory, bool discardRawData=false) const
 
void setTuningMethod (const std::string &tuningMethod)
 
void setTotalNumberOfTuningSamples (unsigned long totalNumberOfTuningSamples)
 
void setTunedStepSize (double tunedStepSize)
 
void setTunedObjectiveValue (double tunedObjectiveValue)
 
void setTotalTuningTimeTaken (double totalTuningTimeTaken)
 
void setTuningData (const Eigen::MatrixXd &tuningData)
 
void setTuningPosterior (const Eigen::MatrixXd &tuningPosterior)
 

Friends

Eigen::VectorXd computeAcceptanceRate (Data &data)
 
Eigen::VectorXd computeExpectedSquaredJumpDistance (Data &data)
 
Eigen::VectorXd computeEffectiveSampleSize (Data &data)
 
Eigen::VectorXd computePotentialScaleReductionFactor (Data &data)
 
double computeTotalNumberOfSamples (Data &data)
 
Eigen::VectorXd computeTotalTimeTaken (Data &data)
 

Constructor & Destructor Documentation

◆ Data() [1/2]

hops::Data::Data ( long  dimension = 0)
inline

◆ Data() [2/2]

hops::Data::Data ( const std::vector< std::shared_ptr< MarkovChain >> &  m_markovChains,
long  dimension = 0 
)
inline

Member Function Documentation

◆ computeAcceptanceRate()

void hops::Data::computeAcceptanceRate ( )
inline

◆ computeEffectiveSampleSize()

void hops::Data::computeEffectiveSampleSize ( )
inline

◆ computeExpectedSquaredJumpDistance()

void hops::Data::computeExpectedSquaredJumpDistance ( )
inline

◆ computePotentialScaleReductionFactor()

void hops::Data::computePotentialScaleReductionFactor ( )
inline

◆ computeTotalNumberOfSamples()

void hops::Data::computeTotalNumberOfSamples ( )
inline

◆ computeTotalTimeTaken()

void hops::Data::computeTotalTimeTaken ( )
inline

◆ getAcceptanceRates()

std::vector<const std::vector<double>*> hops::Data::getAcceptanceRates ( )
inline

◆ getNegativeLogLikelihood()

std::vector<const std::vector<double>*> hops::Data::getNegativeLogLikelihood ( )
inline

◆ getStates()

std::vector<const std::vector<Eigen::VectorXd>*> hops::Data::getStates ( )
inline

◆ getTimestamps()

std::vector<const std::vector<long>*> hops::Data::getTimestamps ( )
inline

◆ linkWithChains()

void hops::Data::linkWithChains ( const std::vector< std::shared_ptr< MarkovChain >> &  m_markovChains)
inline

◆ reset()

void hops::Data::reset ( )
inline

◆ setDimension()

void hops::Data::setDimension ( long  dimension)
inline

◆ setTotalNumberOfTuningSamples()

void hops::Data::setTotalNumberOfTuningSamples ( unsigned long  totalNumberOfTuningSamples)
inline

◆ setTotalTuningTimeTaken()

void hops::Data::setTotalTuningTimeTaken ( double  totalTuningTimeTaken)
inline

◆ setTunedObjectiveValue()

void hops::Data::setTunedObjectiveValue ( double  tunedObjectiveValue)
inline

◆ setTunedStepSize()

void hops::Data::setTunedStepSize ( double  tunedStepSize)
inline

◆ setTuningData()

void hops::Data::setTuningData ( const Eigen::MatrixXd &  tuningData)
inline

◆ setTuningMethod()

void hops::Data::setTuningMethod ( const std::string tuningMethod)
inline

◆ setTuningPosterior()

void hops::Data::setTuningPosterior ( const Eigen::MatrixXd &  tuningPosterior)
inline

◆ write()

void hops::Data::write ( const std::string outputDirectory,
bool  discardRawData = false 
) const
inline

Friends And Related Function Documentation

◆ computeAcceptanceRate

Eigen::VectorXd computeAcceptanceRate ( Data data)
friend

◆ computeEffectiveSampleSize

Eigen::VectorXd computeEffectiveSampleSize ( Data data)
friend

◆ computeExpectedSquaredJumpDistance

Eigen::VectorXd computeExpectedSquaredJumpDistance ( Data data)
friend

◆ computePotentialScaleReductionFactor

Eigen::VectorXd computePotentialScaleReductionFactor ( Data data)
friend

◆ computeTotalNumberOfSamples

double computeTotalNumberOfSamples ( Data data)
friend

◆ computeTotalTimeTaken

Eigen::VectorXd computeTotalTimeTaken ( Data data)
friend

The documentation for this class was generated from the following file: