pub struct OMARICMLossComputer { /* private fields */ }Implementations§
Trait Implementations§
Source§impl CMLossComputer for OMARICMLossComputer
impl CMLossComputer for OMARICMLossComputer
fn initialize(&mut self, state: &WorkingClustering, cms: &Array3<CountType>)
fn compute_loss( &self, _state: &WorkingClustering, _cms: &Array3<CountType>, ) -> f64
fn change_in_loss( &self, item_index: usize, to_label: LabelType, from_label_option: Option<LabelType>, state: &WorkingClustering, cms: &Array3<CountType>, draws: &Clusterings, ) -> f64
fn decision_callback( &mut self, item_index: usize, to_label_option: Option<LabelType>, from_label_option: Option<LabelType>, state: &WorkingClustering, cms: &Array3<CountType>, draws: &Clusterings, )
Auto Trait Implementations§
impl Freeze for OMARICMLossComputer
impl RefUnwindSafe for OMARICMLossComputer
impl Send for OMARICMLossComputer
impl Sync for OMARICMLossComputer
impl Unpin for OMARICMLossComputer
impl UnsafeUnpin for OMARICMLossComputer
impl UnwindSafe for OMARICMLossComputer
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