Enum net_ensembles::sampling::GlueErrors
source · [−]pub enum GlueErrors {
BorderCreation(HistErrors),
EmptyList,
BinarySearch,
OutOfBounds,
NoOverlap,
}
Expand description
Possible errors that can occur during gluing together WangLandau intervals or Entropic Sampling intervals
Variants
BorderCreation(HistErrors)
original_hist.borders_clone()
failed
EmptyList
Nothing to be glued, glue interval list was empty
BinarySearch
Binary search failed - PartialOrd::partial_cmp returned None
OutOfBounds
Glue interval and intervals to be glued do not match
- Likely
original_hist
is to small
NoOverlap
The intervals need to overlap, otherwise no gluing can occur
Trait Implementations
sourceimpl Debug for GlueErrors
impl Debug for GlueErrors
sourceimpl From<HistErrors> for GlueErrors
impl From<HistErrors> for GlueErrors
sourcefn from(e: HistErrors) -> GlueErrors
fn from(e: HistErrors) -> GlueErrors
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for GlueErrors
impl Send for GlueErrors
impl Sync for GlueErrors
impl Unpin for GlueErrors
impl UnwindSafe for GlueErrors
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