Deprecated as there are issues due to the uncertainty in estimating acceptance rates.
More...
#include <BinarySearchAcceptanceRateTuner.hpp>
|
static bool | tune (MarkovChain *markovChain, RandomNumberGenerator &randomNumberGenerator, const param_type ¶meters) |
| tunes markov chain acceptance rate by nested intervals. The chain is not guaranteed to have converged to the specified acceptance rate. More...
|
|
static bool | tune (double &stepSize, double &AcceptanceRate, MarkovChain *markovChain, RandomNumberGenerator &randomNumberGenerator, const param_type ¶meters) |
| tunes markov chain acceptance rate by nested intervals. The chain is not guaranteed to have converged to the specified acceptance rate. More...
|
|
static bool | tune (std::vector< std::shared_ptr< MarkovChain >> &markovChain, std::vector< RandomNumberGenerator > &randomNumberGenerator, const param_type ¶meters) |
| tunes markov chain acceptance rate by nested intervals. The chain is not guaranteed to have converged to the specified acceptance rate. More...
|
|
static bool | tune (double &stepSize, double &acceptanceRate, std::vector< std::shared_ptr< MarkovChain >> &markovChain, std::vector< RandomNumberGenerator > &randomNumberGenerator, const param_type ¶meters) |
| tunes markov chain acceptance rate by nested intervals. The chain is not guaranteed to have converged to the specified acceptance rate. More...
|
|
Deprecated as there are issues due to the uncertainty in estimating acceptance rates.
- Deprecated:
- Binary search does not work well for acceptance rate tuning, because the acceptance rate is uncertain.
◆ BinarySearchAcceptanceRateTuner()
hops::BinarySearchAcceptanceRateTuner::BinarySearchAcceptanceRateTuner |
( |
| ) |
|
|
delete |
◆ tune() [1/4]
tunes markov chain acceptance rate by nested intervals. The chain is not guaranteed to have converged to the specified acceptance rate.
Clears Markov chain history.
- Parameters
-
- Returns
- true if markov chain is tuned
◆ tune() [2/4]
static bool hops::BinarySearchAcceptanceRateTuner::tune |
( |
double & |
stepSize, |
|
|
double & |
acceptanceRate, |
|
|
std::vector< std::shared_ptr< MarkovChain >> & |
markovChain, |
|
|
std::vector< RandomNumberGenerator > & |
randomNumberGenerator, |
|
|
const param_type & |
parameters |
|
) |
| |
|
static |
tunes markov chain acceptance rate by nested intervals. The chain is not guaranteed to have converged to the specified acceptance rate.
Clears Markov chain history.
- Parameters
-
- Returns
- true if markov chain is tuned
◆ tune() [3/4]
tunes markov chain acceptance rate by nested intervals. The chain is not guaranteed to have converged to the specified acceptance rate.
Clears Markov chain history.
- Parameters
-
markovChain | |
parameters | size_t indiciation number of iterations used and the tuned MarkovChain |
- Returns
- true if markov chain is tuned
◆ tune() [4/4]
static bool hops::BinarySearchAcceptanceRateTuner::tune |
( |
std::vector< std::shared_ptr< MarkovChain >> & |
markovChain, |
|
|
std::vector< RandomNumberGenerator > & |
randomNumberGenerator, |
|
|
const param_type & |
parameters |
|
) |
| |
|
static |
tunes markov chain acceptance rate by nested intervals. The chain is not guaranteed to have converged to the specified acceptance rate.
Clears Markov chain history.
- Parameters
-
- Returns
- true if markov chain is tuned
The documentation for this class was generated from the following files: