Go to the documentation of this file. 1 #ifndef HOPS_MARKOVCHAIN_HPP
2 #define HOPS_MARKOVCHAIN_HPP
16 template<
typename StateType = Eigen::VectorXd>
57 virtual void setState(StateType state) = 0;
67 #endif //HOPS_MARKOVCHAIN_HPP
virtual void setAttribute(MarkovChainAttribute markovChainAttribute, double value)=0
virtual void setState(StateType state)=0
virtual const std::vector< StateType > & getStateRecords()=0
Definition: pcg_random.hpp:364
virtual double getAcceptanceRate()=0
Definition: ChainData.hpp:12
virtual void clearHistory()=0
Deletes all stored chain history.
Definition: FileWriter.hpp:9
Definition: CsvReader.hpp:8
virtual ~MarkovChainInterface()=default
Definition: MarkovChain.hpp:17
virtual std::string getName()=0
MarkovChainAttribute
Definition: MarkovChainAttribute.hpp:5
virtual void installDataObject(ChainData &chainData)=0
NAME string(REPLACE ".cpp" "_bin" example_name ${example_filename}) if($
Definition: hops/Third-party/HighFive/src/examples/CMakeLists.txt:6
virtual void writeHistory(FileWriter *fileWriter)=0
Writes all stored chain history using the fileWriter.
virtual void reserveStateRecords(long numberOfSamples)=0
virtual double getAttribute(MarkovChainAttribute markovChainAttribute)=0
virtual void draw(RandomNumberGenerator &randomNumberGenerator, long numberOfSamples)=0
Updates internal state of the chain and stores numberOfSamples samples in memory.
MarkovChainInterface< Eigen::VectorXd > MarkovChain
Definition: MarkovChain.hpp:64