Go to the documentation of this file. 1 #ifndef NEW_HOPS_EXPECTEDSQUAREDJUMPDISTANCETUNER_HPP
2 #define NEW_HOPS_EXPECTEDSQUAREDJUMPDISTANCETUNER_HPP
64 tune(std::vector<std::shared_ptr<MarkovChain>>&,
65 std::vector<RandomNumberGenerator>&,
79 std::vector<std::shared_ptr<MarkovChain>>&,
80 std::vector<RandomNumberGenerator>&,
94 std::vector<std::shared_ptr<MarkovChain>>&,
95 std::vector<RandomNumberGenerator>&,
97 Eigen::MatrixXd& data,
98 Eigen::MatrixXd& posterior);
118 virtual std::tuple<double, double>
operator()(
const Eigen::VectorXd& x)
override;
123 #endif //HOPS_EXPECTEDSQUAREDJUMPDISTANCETUNER_HPP
bool considerTimeCost
Definition: ExpectedSquaredJumpDistanceTuner.hpp:38
size_t stepSizeGridSize
Definition: ExpectedSquaredJumpDistanceTuner.hpp:33
ExpectedSquaredJumpDistanceTuner()=delete
double smoothingLength
Definition: ExpectedSquaredJumpDistanceTuner.hpp:36
size_t pureSamplingIterations
Definition: ExpectedSquaredJumpDistanceTuner.hpp:30
Definition: ThompsonSampling.hpp:17
size_t posteriorUpdateIterationsNeeded
Definition: ExpectedSquaredJumpDistanceTuner.hpp:32
Definition: ExpectedSquaredJumpDistanceTuner.hpp:104
std::vector< std::shared_ptr< hops::MarkovChain > > markovChain
Definition: ExpectedSquaredJumpDistanceTuner.hpp:105
double stepSizeUpperBound
Definition: ExpectedSquaredJumpDistanceTuner.hpp:35
ExpectedSquaredJumpDistanceTarget(std::vector< std::shared_ptr< hops::MarkovChain >> &markovChain, std::vector< hops::RandomNumberGenerator > &randomNumberGenerator, const hops::ExpectedSquaredJumpDistanceTuner::param_type ¶meters)
Definition: ExpectedSquaredJumpDistanceTuner.hpp:109
virtual std::tuple< double, double > operator()(const Eigen::VectorXd &x) override
measures the stepsize of a configured step size
Definition: ExpectedSquaredJumpDistanceTuner.cpp:9
static bool tune(std::vector< std::shared_ptr< MarkovChain >> &, std::vector< RandomNumberGenerator > &, param_type &)
tunes markov chain acceptance rate by nested intervals. The chain is not guaranteed to have converged...
bool recordData
Definition: ExpectedSquaredJumpDistanceTuner.hpp:39
ExpectedSquaredJumpDistanceTuner::param_type parameters
Definition: ExpectedSquaredJumpDistanceTuner.hpp:107
param_type(size_t iterationsToTestStepSize, size_t posteriorUpdateIterations, size_t pureSamplingIterations, size_t iterationsForConvergence, size_t stepSizeGridSize, double stepSizeLowerBound, double stepSizeUpperBound, double smoothingLength, size_t randomSeed, bool considerTimeCost, bool recordData=false)
Definition: ExpectedSquaredJumpDistanceTuner.cpp:135
size_t randomSeed
Definition: ExpectedSquaredJumpDistanceTuner.hpp:37
double stepSizeLowerBound
Definition: ExpectedSquaredJumpDistanceTuner.hpp:34
Definition: ExpectedSquaredJumpDistanceTuner.hpp:27
size_t iterationsToTestStepSize
Definition: ExpectedSquaredJumpDistanceTuner.hpp:28
Definition: CsvReader.hpp:8
std::vector< RandomNumberGenerator > * randomNumberGenerator
Definition: ExpectedSquaredJumpDistanceTuner.hpp:106
size_t posteriorUpdateIterations
Definition: ExpectedSquaredJumpDistanceTuner.hpp:29
Definition: ExpectedSquaredJumpDistanceTuner.hpp:25
size_t iterationsForConvergence
Definition: ExpectedSquaredJumpDistanceTuner.hpp:31