Tomographer
v5.4
Tomographer C++ Framework Documentation
|
A MHRWAcceptanceRatioBasedParamsAdjuster is responsible for modifying the parameters of the random walk MHWalker (i.e., the MHWalkerParams), in order to correct for an acceptance ratio which is not in the required interval.
This type interface allows to abstract out the kind of parameters used by the MHWalker when adjusting those using a Tomographer::MHRWAcceptRatioWalkerParamsController. Usually the parameters are just a step size, but one could think of more elaborate parameter kinds (say, if we're exploring a space that has more complicated structure); in such cases one can still use the class Tomographer::MHRWAcceptRatioWalkerParamsController, while specifying simply how to adapt the parameters by supplying a MHRWAcceptanceRatioBasedParamsAdjuster class. For correcting a step size, you can use the ready-to-use Tomographer::MHRWStepSizeController.
Objects complying with this type interface should provide the following members:
controller.desiredAcceptanceRatioMin()
etc. (see Tomographer::MHRWAcceptRatioWalkerParamsController). The remaining arguments are given for convenience.