pub struct BinderGLossComputer<'a> { /* private fields */ }Implementations§
Source§impl<'a> BinderGLossComputer<'a>
impl<'a> BinderGLossComputer<'a>
pub fn new(psm: &'a SquareMatrixBorrower<'a>) -> Self
Trait Implementations§
Source§impl GeneralLossComputer for BinderGLossComputer<'_>
impl GeneralLossComputer for BinderGLossComputer<'_>
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 BinderGLossComputer<'a>
impl<'a> RefUnwindSafe for BinderGLossComputer<'a>
impl<'a> Send for BinderGLossComputer<'a>
impl<'a> Sync for BinderGLossComputer<'a>
impl<'a> Unpin for BinderGLossComputer<'a>
impl<'a> UnsafeUnpin for BinderGLossComputer<'a>
impl<'a> UnwindSafe for BinderGLossComputer<'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