pub enum MultinomialPosteriorRule {
Exact,
ConditionedThreeClass(usize),
AnisotropicTensor(Vec<usize>),
IsotropicSparse(usize),
}Expand description
Which deterministic rule produced a certified answer.
The rank of the retained posterior decides which rule can certify inside the evaluation budget, and the two are not interchangeable: a sparse grid is a saving only when the resolution a direction needs is much smaller than the number of directions, and at rank two it is strictly worse than the tensor product it is built from (#2612).
Variants§
Exact
Exact reduction: the binary logistic-normal evaluator, or a covariance that is a point mass.
ConditionedThreeClass(usize)
Exact Gaussian conditioning reduces a three-class, rank-two posterior to one Gauss-Hermite direction plus the controlled scalar logistic-normal evaluator. Carries the outer rule’s node count.
AnisotropicTensor(Vec<usize>)
Tensor-product Gauss-Hermite whose one-dimensional node count is chosen per retained posterior direction. Carries those node counts.
IsotropicSparse(usize)
Isotropic Smolyak sparse grid, carrying the level that certified.
Trait Implementations§
Source§impl Clone for MultinomialPosteriorRule
impl Clone for MultinomialPosteriorRule
Source§fn clone(&self) -> MultinomialPosteriorRule
fn clone(&self) -> MultinomialPosteriorRule
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MultinomialPosteriorRule
impl Debug for MultinomialPosteriorRule
impl Eq for MultinomialPosteriorRule
Source§impl PartialEq for MultinomialPosteriorRule
impl PartialEq for MultinomialPosteriorRule
impl StructuralPartialEq for MultinomialPosteriorRule
Auto Trait Implementations§
impl Freeze for MultinomialPosteriorRule
impl RefUnwindSafe for MultinomialPosteriorRule
impl Send for MultinomialPosteriorRule
impl Sync for MultinomialPosteriorRule
impl Unpin for MultinomialPosteriorRule
impl UnsafeUnpin for MultinomialPosteriorRule
impl UnwindSafe for MultinomialPosteriorRule
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.