pub struct OMARIApproxGLossComputer<'a> { /* private fields */ }Implementations§
Source§impl<'a> OMARIApproxGLossComputer<'a>
impl<'a> OMARIApproxGLossComputer<'a>
pub fn new(psm: &'a SquareMatrixBorrower<'a>) -> Self
Trait Implementations§
Source§impl GeneralLossComputer for OMARIApproxGLossComputer<'_>
impl GeneralLossComputer for OMARIApproxGLossComputer<'_>
fn expected_loss_kernel(&self) -> f64
fn speculative_add( &mut self, partition: &Partition, i: usize, subset_index: LabelType, ) -> f64
fn new_subset(&mut self, partition: &mut Partition)
fn add_with_index( &mut self, partition: &mut Partition, i: usize, subset_index: LabelType, )
fn remove(&mut self, partition: &mut Partition, i: usize) -> LabelType
Auto Trait Implementations§
impl<'a> Freeze for OMARIApproxGLossComputer<'a>
impl<'a> RefUnwindSafe for OMARIApproxGLossComputer<'a>
impl<'a> Send for OMARIApproxGLossComputer<'a>
impl<'a> Sync for OMARIApproxGLossComputer<'a>
impl<'a> Unpin for OMARIApproxGLossComputer<'a>
impl<'a> UnsafeUnpin for OMARIApproxGLossComputer<'a>
impl<'a> UnwindSafe for OMARIApproxGLossComputer<'a>
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