Go to the documentation of this file. 1 #ifndef HOPS_STATETRANSFORMATION_HPP
2 #define HOPS_STATETRANSFORMATION_HPP
10 template<
typename MarkovChainImpl,
typename Transformation>
14 MarkovChainImpl(markovChainImpl),
15 transformation(transformation) {}
17 typename MarkovChainImpl::StateType
getState() {
18 return transformation.
apply(MarkovChainImpl::getState());
22 return transformation.
apply(MarkovChainImpl::getProposal());
25 void setState(
const typename MarkovChainImpl::StateType &state) {
26 MarkovChainImpl::setState(transformation.
applyInverse(state));
34 #endif //HOPS_STATETRANSFORMATION_HPP
Definition: CsvReader.hpp:8