pub trait EntropicEnsemble<E>: Entropic {
    fn ensemble(&self) -> &E;
    unsafe fn ensemble_mut(&mut self) -> &mut E;
}
Expand description

Required Methods

return reference to current state of ensemble

returns mutable reference to ensemble
Safety
  • If, whatever you do with the ensemble, changes the energy of the current state, you cannot trust the results of entropic sampling anymore
  • use with care

Implementors