Enum net_ensembles::sampling::WangLandauErrors [−][src]
pub enum WangLandauErrors {
InvalidMinMaxTrialSteps,
InvalidLogFThreshold,
NotEnoughStatistics,
EstimatedStatistic(Vec<f64, Global>),
InvalidBestof,
CheckRefineEvery0,
NotInitialized,
InitFailed,
}
Expand description
List of possible errors
Variants
trial_step_min <= trial_step_max
has to be true
log_f_threshold
can never be negative or zero!
it also cannot be NaN or infinite!
Still in the process of gathering statistics Not enough to make an estimate
Still Gathering Statistics, this is only an estimate!
bestof has to be at least 1 and at most the number of distinct steps tried, i.e., max_step - min_step + 1
check refine has to be at least 1
you have to call one of the
Step limit exceeded without finding valid starting point
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<WangLandauErrors, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<WangLandauErrors, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for WangLandauErrors
impl Send for WangLandauErrors
impl Sync for WangLandauErrors
impl Unpin for WangLandauErrors
impl UnwindSafe for WangLandauErrors
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn cast_trunc(self) -> T
pub fn cast_trunc(self) -> T
Cast to integer, truncating Read more
pub fn cast_nearest(self) -> T
pub fn cast_nearest(self) -> T
Cast to the nearest integer Read more
pub fn cast_floor(self) -> T
pub fn cast_floor(self) -> T
Cast the floor to an integer Read more
pub fn try_cast_trunc(self) -> Result<T, Error>
pub fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
pub fn try_cast_nearest(self) -> Result<T, Error>
pub fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
pub fn try_cast_floor(self) -> Result<T, Error>
pub fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
pub fn try_cast_ceil(self) -> Result<T, Error>
pub fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more