Enum net_ensembles::sampling::entropic_sampling::EntropicErrors [−][src]
pub enum EntropicErrors {
InvalidWangLandau,
NotEnoughStatistics,
EstimatedStatistic(Vec<f64, Global>),
InvalidMinMaxTrialSteps,
InvalidLogDensity,
InvalidBestof,
}
Expand description
Error states, that entropic sampling, or the creation of EntropicSamplingAdaptive
could encounter
Variants
source (WangLandauAdaptive
) was in an invalid state
- did you forget to use one of the
init*
methods to initialize a valid WangLandau state?
Still in the process of gathering statistics Not enough to make an estimate
Still Gathering Statistics, this is only an estimate!
Invalid trial step. Is your max_step smaller than your min_step?
Posible reasons
log_density.len()
andhistogram.bin_count()
are not equal- not all values of
log_density
are finite
You are trying to have a min_best_of_count
that is
larger than the total steps you try!
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<EntropicErrors, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<EntropicErrors, <__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 EntropicErrors
impl Send for EntropicErrors
impl Sync for EntropicErrors
impl Unpin for EntropicErrors
impl UnwindSafe for EntropicErrors
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