hops
|
#include <MarkovChainAdapter.hpp>
Public Member Functions | |
MarkovChainAdapter (const MarkovChainImpl &markovChainImpl) | |
void | draw (RandomNumberGenerator &randomNumberGenerator, long numberOfSamples) override |
Updates internal state of the chain and stores numberOfSamples samples in memory. More... | |
void | draw (RandomNumberGenerator &randomNumberGenerator, long numberOfSamples, long thinning) override |
Updates internal state of the chain and stores numberOfSamples samples in memory. More... | |
void | writeHistory (FileWriter *const fileWriter) override |
Writes all stored chain history using the fileWriter. More... | |
void | installDataObject (ChainData &chainData) override |
const std::vector< Eigen::VectorXd > & | getStateRecords () override |
void | reserveStateRecords (long numberOfSamples) override |
void | clearHistory () override |
Deletes all stored chain history. More... | |
std::string | getName () override |
double | getAcceptanceRate () override |
void | setAttribute (MarkovChainAttribute markovChainAttribute, double value) override |
void | setState (Eigen::Matrix< double, -1, 1, 0, -1, 1 > state) override |
double | getAttribute (MarkovChainAttribute markovChainAttribute) override |
Public Member Functions inherited from hops::MarkovChainInterface< StateType > | |
virtual | ~MarkovChainInterface ()=default |
virtual void | setState (StateType state)=0 |
|
inlineexplicit |
|
inlineoverridevirtual |
Deletes all stored chain history.
Implements hops::MarkovChainInterface< StateType >.
|
inlineoverridevirtual |
Updates internal state of the chain and stores numberOfSamples samples in memory.
randomNumberGenerator | |
numberOfSamples | Number of samples to draw. |
Implements hops::MarkovChainInterface< StateType >.
|
inlineoverridevirtual |
Updates internal state of the chain and stores numberOfSamples samples in memory.
randomNumberGenerator | |
numberOfSamples | Number of samples to draw. |
thinning | Number of internal state updates between every state that is stored. |
Implements hops::MarkovChainInterface< StateType >.
|
inlineoverridevirtual |
Implements hops::MarkovChainInterface< StateType >.
|
inlineoverridevirtual |
Implements hops::MarkovChainInterface< StateType >.
|
inlineoverridevirtual |
Implements hops::MarkovChainInterface< StateType >.
|
inlineoverridevirtual |
Implements hops::MarkovChainInterface< StateType >.
|
inlineoverridevirtual |
Implements hops::MarkovChainInterface< StateType >.
|
inlineoverridevirtual |
Implements hops::MarkovChainInterface< StateType >.
|
inlineoverridevirtual |
Implements hops::MarkovChainInterface< StateType >.
|
inlineoverride |
|
inlineoverridevirtual |
Writes all stored chain history using the fileWriter.
fileWriter |
Implements hops::MarkovChainInterface< StateType >.