[][src]Struct dahl_salso::optimize::BinderComputer

pub struct BinderComputer<'a> { /* fields omitted */ }

Methods

impl<'a> BinderComputer<'a>[src]

pub fn new(psm: &'a PairwiseSimilarityMatrixView<'a>) -> BinderComputer<'a>[src]

pub fn new_subset(&mut self, partition: &mut Partition)[src]

pub fn speculative_add(
    &mut self,
    partition: &Partition,
    i: usize,
    subset_index: usize
) -> f64
[src]

pub fn add_with_index(
    &mut self,
    partition: &mut Partition,
    i: usize,
    subset_index: usize
)
[src]

pub fn remove(&mut self, partition: &mut Partition, i: usize) -> usize[src]

pub fn expected_loss(&self) -> f64[src]

pub fn expected_loss_unnormalized(&self) -> f64[src]

Auto Trait Implementations

impl<'a> Send for BinderComputer<'a>

impl<'a> Unpin for BinderComputer<'a>

impl<'a> Sync for BinderComputer<'a>

impl<'a> UnwindSafe for BinderComputer<'a>

impl<'a> RefUnwindSafe for BinderComputer<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,