mcpele
1.0.0
The Monte Carlo Python Energy Landscape Explorer
|
#include <gaussian_coords_displacement.h>
Public Member Functions | |
GaussianCoordsDisplacement (const size_t rseed, const double stepsize) | |
virtual | ~GaussianCoordsDisplacement () |
virtual void | displace (pele::Array< double > &coords, MC *mc) |
size_t | get_seed () const |
void | set_generator_seed (const size_t inp) |
double | expected_mean () const |
double | expected_variance (const double ss) const |
double | get_stepsize () const |
void | set_stepsize (const double input) |
size_t | get_count () const |
Protected Attributes | |
size_t | m_seed |
double | m_mean |
double | m_stdev |
std::mt19937_64 | m_generator |
std::normal_distribution< double > | m_distribution |
double | m_stepsize |
size_t | m_count |
Uniform Gaussian step this step samples first from the standard normal N(0, 1) and outputs a random variate sampled from N(0, stepsize)
Definition at line 15 of file gaussian_coords_displacement.h.
mcpele::GaussianCoordsDisplacement::GaussianCoordsDisplacement | ( | const size_t | rseed, |
const double | stepsize | ||
) |
Definition at line 5 of file gaussian_coords_displacement.cpp.
virtual mcpele::GaussianCoordsDisplacement::~GaussianCoordsDisplacement | ( | ) | [inline, virtual] |
Definition at line 26 of file gaussian_coords_displacement.h.
void mcpele::GaussianCoordsDisplacement::displace | ( | pele::Array< double > & | coords, |
MC * | mc | ||
) | [virtual] |
Implements mcpele::TakeStep.
Definition at line 19 of file gaussian_coords_displacement.cpp.
double mcpele::GaussianCoordsDisplacement::expected_mean | ( | ) | const [inline] |
Definition at line 30 of file gaussian_coords_displacement.h.
double mcpele::GaussianCoordsDisplacement::expected_variance | ( | const double | ss | ) | const [inline] |
Reference: http://mathworld.wolfram.com/NormalDistribution.html
Definition at line 34 of file gaussian_coords_displacement.h.
size_t mcpele::GaussianCoordsDisplacement::get_count | ( | ) | const [inline] |
Definition at line 37 of file gaussian_coords_displacement.h.
size_t mcpele::GaussianCoordsDisplacement::get_seed | ( | ) | const [inline] |
Definition at line 28 of file gaussian_coords_displacement.h.
double mcpele::GaussianCoordsDisplacement::get_stepsize | ( | ) | const [inline] |
Definition at line 35 of file gaussian_coords_displacement.h.
void mcpele::GaussianCoordsDisplacement::set_generator_seed | ( | const size_t | inp | ) | [inline] |
Definition at line 29 of file gaussian_coords_displacement.h.
void mcpele::GaussianCoordsDisplacement::set_stepsize | ( | const double | input | ) | [inline] |
Definition at line 36 of file gaussian_coords_displacement.h.
size_t mcpele::GaussianCoordsDisplacement::m_count [protected] |
Definition at line 23 of file gaussian_coords_displacement.h.
std::normal_distribution<double> mcpele::GaussianCoordsDisplacement::m_distribution [protected] |
Definition at line 21 of file gaussian_coords_displacement.h.
std::mt19937_64 mcpele::GaussianCoordsDisplacement::m_generator [protected] |
Definition at line 20 of file gaussian_coords_displacement.h.
double mcpele::GaussianCoordsDisplacement::m_mean [protected] |
Definition at line 18 of file gaussian_coords_displacement.h.
size_t mcpele::GaussianCoordsDisplacement::m_seed [protected] |
Definition at line 17 of file gaussian_coords_displacement.h.
double mcpele::GaussianCoordsDisplacement::m_stdev [protected] |
Definition at line 19 of file gaussian_coords_displacement.h.
double mcpele::GaussianCoordsDisplacement::m_stepsize [protected] |
Definition at line 22 of file gaussian_coords_displacement.h.