[][src]Struct sparrow::head::model_manager::scheduler::Scheduler

pub struct Scheduler {
    pub grids_version: usize,
    // some fields omitted
}

Fields

grids_version: usize

Methods

impl Scheduler[src]

pub fn new(
    num_machines: usize,
    exp_name: &String,
    _bins: &Vec<Bins>,
    model: &mut ModelWithVersion
) -> Scheduler
[src]

pub fn set_assignments(
    &mut self,
    model: &mut ModelWithVersion,
    gamma: f32
) -> usize
[src]

pub fn handle_accept(&mut self, packet: &Packet) -> bool[src]

pub fn handle_empty(&mut self, packet: &Packet) -> bool[src]

pub fn refresh_grid(&mut self, min_size: usize)[src]

pub fn print_log(&self, num_consecutive_err: usize, gamma: &Gamma)[src]

Auto Trait Implementations

impl RefUnwindSafe for Scheduler

impl Send for Scheduler

impl Sync for Scheduler

impl Unpin for Scheduler

impl UnwindSafe for Scheduler

Blanket Implementations

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

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

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

impl<T> Erased for T

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

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