Module monte_carlo

Module monte_carlo 

Source
Expand description

Module for Monte-Carlo algrorithme, see the trait MonteCarlo.

This is one of the way to carry out simulation. This work by taking a state and progressively changing it (most of the time randomly).

§Examples

see MetropolisHastingsSweep, HeatBathSweep, overrelaxation etc…

Re-exports§

pub use heat_bath::*;
pub use hybrid::*;
pub use hybrid_monte_carlo::*;
pub use metropolis_hastings::*;
pub use metropolis_hastings_sweep::*;
pub use overrelaxation::*;

Modules§

heat_bath
Pseudo heat bath methods
hybrid
Combine multiple Monte Carlo methods.
hybrid_monte_carlo
Hybrid Monte Carlo method
metropolis_hastings
Metropolis Hastings method
metropolis_hastings_sweep
Metropolis Hastings method
overrelaxation
Overrelaxation method

Structs§

McWrapper
A wrapper used to implement MonteCarlo from a MonteCarloDefault

Traits§

MonteCarlo
Monte-Carlo algorithm, giving the next element in the simulation. It is also a Markov chain.
MonteCarloDefault
Some times it is easier to just implement a potential next element, the rest is done automatically using an McWrapper.