pub trait EntropicEnergy<Energy>: Entropic {
    // Required method
    fn energy(&self) -> &Energy;
}
Expand description

trait to request the current energy from a Entropic simulation

  • None if the energy was not calculated yet
  • See also EntropicEEH

Required Methods§

source

fn energy(&self) -> &Energy

returns the last accepted Energy calculated None if no energy was calculated yet

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Hist, R, E, S, Res, Energy> EntropicEnergy<Energy> for EntropicSampling<Hist, R, E, S, Res, Energy>
where Hist: Histogram, R: Rng,

source§

impl<Hist, R, E, S, Res, Energy> EntropicEnergy<Energy> for EntropicSamplingAdaptive<Hist, R, E, S, Res, Energy>
where Hist: Histogram, R: Rng,