pub trait LocalTrial<B> {
// Required method
fn propose<R: Rng>(&self, rng: &mut R, body_properties: B) -> B;
}Expand description
Propose a new configuration for given body properties.
A local trial move is one applied to a specific body in the microstate.
Implementations of Trial, such as Sweep, apply a given local move
to one or more bodies in the microstate.
Use one of the provided local trials to Translate and/or Rotate
bodies or implement your own custom LocalTrial.
Local trial moves MUST satisfy local detailed balance, as defined in Manousiouthakis & Deem.
The generic type names are:
B: TheBody::propertiestype.
Required Methods§
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.