Trait SearchSpace

Source
pub trait SearchSpace {
    type ArrayType;

    // Required methods
    fn xc(&self) -> Self::ArrayType;
    fn tsq(&self) -> f64;
    fn update_bias_cut<T>(&mut self, cut: &(Self::ArrayType, T)) -> CutStatus
       where T: UpdateByCutChoice<Self, ArrayType = Self::ArrayType>,
             Self: Sized;
    fn update_central_cut<T>(&mut self, cut: &(Self::ArrayType, T)) -> CutStatus
       where T: UpdateByCutChoice<Self, ArrayType = Self::ArrayType>,
             Self: Sized;
    fn set_xc(&mut self, x: Self::ArrayType);
}

Required Associated Types§

Required Methods§

Source

fn xc(&self) -> Self::ArrayType

Source

fn tsq(&self) -> f64

Source

fn update_bias_cut<T>(&mut self, cut: &(Self::ArrayType, T)) -> CutStatus
where T: UpdateByCutChoice<Self, ArrayType = Self::ArrayType>, Self: Sized,

Source

fn update_central_cut<T>(&mut self, cut: &(Self::ArrayType, T)) -> CutStatus
where T: UpdateByCutChoice<Self, ArrayType = Self::ArrayType>, Self: Sized,

Source

fn set_xc(&mut self, x: Self::ArrayType)

Implementors§

Source§

impl SearchSpace for Ell

The impl SearchSpace for Ell block is implementing the SearchSpace trait for the Ell struct.

Source§

impl SearchSpace for EllStable