Struct sampling::glue::IntervalSimStats
source · pub struct IntervalSimStats {
pub sim_progress: SimProgress,
pub interval_sim_type: SimulationType,
pub rejected_steps: u64,
pub accepted_steps: u64,
pub replica_exchanges: Option<u64>,
pub proposed_replica_exchanges: Option<u64>,
pub merged_over_walkers: NonZeroUsize,
}
Expand description
Statistics of one interval, used to gauge how well the simulation works etc.
Fields§
§sim_progress: SimProgress
the progress of the Interval
interval_sim_type: SimulationType
Which type of simulation did the interval come from
rejected_steps: u64
How many steps were rejected in total in the interval
accepted_steps: u64
How many steps were accepted in total in the interval
replica_exchanges: Option<u64>
How many replica exchanges were performed? None for Simulations that don’t do replica exchanges
proposed_replica_exchanges: Option<u64>
How many replica exchanges were proposed? None for simulations that do not perform replica exchanges
merged_over_walkers: NonZeroUsize
The number of walkers used to generate this sim. In Replica exchange sims you can have more than one walker per interval, which is where this comes from
Implementations§
Trait Implementations§
source§impl Clone for IntervalSimStats
impl Clone for IntervalSimStats
source§fn clone(&self) -> IntervalSimStats
fn clone(&self) -> IntervalSimStats
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IntervalSimStats
impl Debug for IntervalSimStats
source§impl<'de> Deserialize<'de> for IntervalSimStats
impl<'de> Deserialize<'de> for IntervalSimStats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for IntervalSimStats
impl Send for IntervalSimStats
impl Sync for IntervalSimStats
impl Unpin for IntervalSimStats
impl UnwindSafe for IntervalSimStats
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<S, T> Cast<T> for Swhere
T: Conv<S>,
impl<S, T> Cast<T> for Swhere
T: Conv<S>,
§impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
§fn cast_approx(self) -> T
fn cast_approx(self) -> T
§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
§fn try_cast_trunc(self) -> Result<T, Error>
fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
§fn try_cast_nearest(self) -> Result<T, Error>
fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
§fn try_cast_floor(self) -> Result<T, Error>
fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
§fn try_cast_ceil(self) -> Result<T, Error>
fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more