pub enum ActiveDesignError {
NonFiniteVarianceTolerance,
NegativeVarianceTolerance,
NonFiniteCandidate,
NonFiniteFunctionValue,
Selection(ActiveSelectionError),
Posterior(BayesianQuadratureError),
}Expand description
Errors raised while running sequential active Bayesian quadrature.
Variants§
NonFiniteVarianceTolerance
The posterior-variance stopping tolerance is not finite.
NegativeVarianceTolerance
The posterior-variance stopping tolerance is negative.
NonFiniteCandidate
At least one candidate point is not finite.
NonFiniteFunctionValue
A user-supplied function evaluation returned a non-finite value.
Selection(ActiveSelectionError)
Candidate selection failed.
Posterior(BayesianQuadratureError)
Bayesian-quadrature posterior construction failed.
Trait Implementations§
Source§impl Clone for ActiveDesignError
impl Clone for ActiveDesignError
Source§fn clone(&self) -> ActiveDesignError
fn clone(&self) -> ActiveDesignError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ActiveDesignError
Source§impl Debug for ActiveDesignError
impl Debug for ActiveDesignError
Source§impl Display for ActiveDesignError
impl Display for ActiveDesignError
Source§impl Error for ActiveDesignError
impl Error for ActiveDesignError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ActiveSelectionError> for ActiveDesignError
impl From<ActiveSelectionError> for ActiveDesignError
Source§fn from(error: ActiveSelectionError) -> Self
fn from(error: ActiveSelectionError) -> Self
Converts to this type from the input type.
Source§impl From<BayesianQuadratureError> for ActiveDesignError
impl From<BayesianQuadratureError> for ActiveDesignError
Source§fn from(error: BayesianQuadratureError) -> Self
fn from(error: BayesianQuadratureError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActiveDesignError
impl PartialEq for ActiveDesignError
impl StructuralPartialEq for ActiveDesignError
Auto Trait Implementations§
impl Freeze for ActiveDesignError
impl RefUnwindSafe for ActiveDesignError
impl Send for ActiveDesignError
impl Sync for ActiveDesignError
impl Unpin for ActiveDesignError
impl UnsafeUnpin for ActiveDesignError
impl UnwindSafe for ActiveDesignError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.