Trait WangLandauHist

Source
pub trait WangLandauHist<Hist>: WangLandau {
    // Required method
    fn hist(&self) -> &Hist;
}
Expand description

§trait to request the current histogram from a WangLandau simulation

  • Note: The histogram will likely be reset multiple times during a simulation
  • See also WangLandauEEH

Required Methods§

Source

fn hist(&self) -> &Hist

§returns current histogram
  • Note: histogram will be reset multiple times during the simulation
  • please refer to the papers

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Hist, R, E, S, Res, Energy> WangLandauHist<Hist> for WangLandau1T<Hist, R, E, S, Res, Energy>

Source§

impl<R, E, S, Res, Hist, Energy> WangLandauHist<Hist> for WangLandauAdaptive<Hist, R, E, S, Res, Energy>