Struct BoltzmannHMCWalk::Walk::Settings
-
struct Settings
A struct containing the parameters for the random walk.
Public Functions
-
template<typename Point>
inline Settings(const int walkLength, const RandomNumberGenerator &randomNumberGenerator, const Point &c, const NT temperature, const NT diameter, unsigned int reflectionsBound = 2000, NT stepScale = NT(1.0)) Constructs an object of Settings
- Parameters:
walkLength – [in] The number of points to “burn” before keeping the following as a sample
randomNumberGenerator – [in] For generating random numbers
c – [in] The c in the distribution e^(-c*x/T)
temperature – [in] The T in the distribution
diameter – [in] The diameter of the convex body
reflectionsBound – [in] Maximum number of reflections allowed per step
stepScale – [in] Initial step size scaling factor (default 1.0)
- Returns:
An instance of this struct
-
inline Settings()
Public Members
-
int walk_length
The number of points to “burn” before keeping the following as a sample.
-
RandomNumberGenerator randomNumberGenerator
For generating random numbers.
-
unsigned int reflectionsBound
Set the maximum number of allowed reflections at each step.
-
template<typename Point>