Struct net_ensembles::sampling::GlueResult
source · [−]pub struct GlueResult<T> {
pub glued_log10_probability: Vec<f64, Global>,
pub borders: Vec<T, Global>,
pub log10_vec: Vec<Vec<f64, Global>, Global>,
pub left_list: Vec<usize, Global>,
pub total_steps: usize,
pub total_steps_accepted: usize,
pub total_steps_rejected: usize,
}
Expand description
Glued together probability
- you can write it to a file, maybe the file makes more sense
- If you have problems understanding the fields, please, first look at the documentation of the current master branch to see, if the documentation there makes more sense. If it doesn’t: open an issue on the github repository
Fields
glued_log10_probability: Vec<f64, Global>
probably the result you want, i.e., what you were simulating for
- this is the log10 of the probability of each bin
- you get the probability of a bin by
10_f64.powf(glued_log10_probability[i])
, i.e., 10^bin_value - normed such that the sum of the probabilities is 1.0 (within numerical precision errors)
borders: Vec<T, Global>
This are the bin borders
- bin_i is defined as the interval [
borders[i]
,borders[i + 1]
[, i.e. half open interval - where the right border is exclusive
log10_vec: Vec<Vec<f64, Global>, Global>
log10 of “probabilities” of the curves, you were glueing together
- height adjusted, such that the intervals fit together, but not normalized, the sum can be anything
left_list: Vec<usize, Global>
Index map
self.left_list[i]
is the index ofself.borders
where the intervalself.log10_vec
has the first entry
total_steps: usize
How many markov steps were performed in total?
- includes steps used to find initial valid ensemble
- for entropic sampling, this includes the steps of the wang landau simulation
total_steps_accepted: usize
How many markov steps were accepted in total?
- includes steps used to find initial valid ensemble
- for entropic sampling, this includes the steps of the wang landau simulation
total_steps_rejected: usize
How many markov steps were rejected in total?
- includes steps used to find initial valid ensemble
- for entropic sampling, this includes the steps of the wang landau simulation
Implementations
sourceimpl<T> GlueResult<T>where
T: Display,
impl<T> GlueResult<T>where
T: Display,
Trait Implementations
sourceimpl<T> Clone for GlueResult<T>where
T: Clone,
impl<T> Clone for GlueResult<T>where
T: Clone,
sourcefn clone(&self) -> GlueResult<T>
fn clone(&self) -> GlueResult<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<T> RefUnwindSafe for GlueResult<T>where
T: RefUnwindSafe,
impl<T> Send for GlueResult<T>where
T: Send,
impl<T> Sync for GlueResult<T>where
T: Sync,
impl<T> Unpin for GlueResult<T>where
T: Unpin,
impl<T> UnwindSafe for GlueResult<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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