pub struct EsperEstimator<R, Input, Class, FC, FF>where
R: Field,
R::Additive: Invertible,
R::Multiplicative: Invertible,
Class: Eq + Hash,
FC: Fn(&Input) -> Class,
FF: Fn(&Input) -> Vec<R::T>,{ /* private fields */ }
Implementations§
Source§impl<R, Input, Class, FC, FF> EsperEstimator<R, Input, Class, FC, FF>where
R: Field,
R::Additive: Invertible,
R::Multiplicative: Invertible,
Class: Eq + Hash,
FC: Fn(&Input) -> Class,
FF: Fn(&Input) -> Vec<R::T>,
impl<R, Input, Class, FC, FF> EsperEstimator<R, Input, Class, FC, FF>where
R: Field,
R::Additive: Invertible,
R::Multiplicative: Invertible,
Class: Eq + Hash,
FC: Fn(&Input) -> Class,
FF: Fn(&Input) -> Vec<R::T>,
Source§impl<R, Input, Class, FC, FF> EsperEstimator<R, Input, Class, FC, FF>where
R: Field,
R::Additive: Invertible,
R::Multiplicative: Invertible,
R::T: PartialEq,
Class: Eq + Hash,
FC: Fn(&Input) -> Class,
FF: Fn(&Input) -> Vec<R::T>,
impl<R, Input, Class, FC, FF> EsperEstimator<R, Input, Class, FC, FF>where
R: Field,
R::Additive: Invertible,
R::Multiplicative: Invertible,
R::T: PartialEq,
Class: Eq + Hash,
FC: Fn(&Input) -> Class,
FF: Fn(&Input) -> Vec<R::T>,
pub fn solve(self) -> EsperSolver<R, Input, Class, FC, FF>
pub fn solve_checked(self) -> EsperSolver<R, Input, Class, FC, FF>
Trait Implementations§
Source§impl<R, Input: Clone, Class, FC, FF> Clone for EsperEstimator<R, Input, Class, FC, FF>
impl<R, Input: Clone, Class, FC, FF> Clone for EsperEstimator<R, Input, Class, FC, FF>
Source§fn clone(&self) -> EsperEstimator<R, Input, Class, FC, FF>
fn clone(&self) -> EsperEstimator<R, Input, Class, FC, FF>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<R, Input: Debug, Class, FC, FF> Debug for EsperEstimator<R, Input, Class, FC, FF>
impl<R, Input: Debug, Class, FC, FF> Debug for EsperEstimator<R, Input, Class, FC, FF>
Auto Trait Implementations§
impl<R, Input, Class, FC, FF> Freeze for EsperEstimator<R, Input, Class, FC, FF>
impl<R, Input, Class, FC, FF> RefUnwindSafe for EsperEstimator<R, Input, Class, FC, FF>where
FC: RefUnwindSafe,
FF: RefUnwindSafe,
Class: RefUnwindSafe,
<R as SemiRing>::T: RefUnwindSafe,
impl<R, Input, Class, FC, FF> Send for EsperEstimator<R, Input, Class, FC, FF>
impl<R, Input, Class, FC, FF> Sync for EsperEstimator<R, Input, Class, FC, FF>
impl<R, Input, Class, FC, FF> Unpin for EsperEstimator<R, Input, Class, FC, FF>
impl<R, Input, Class, FC, FF> UnwindSafe for EsperEstimator<R, Input, Class, FC, FF>
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