pub struct Spt;Expand description
Shortest Processing Time.
Prioritizes tasks with shorter total processing time. Minimizes average flow time and WIP (Work-In-Process).
§Reference
Smith (1956), optimal for minimizing mean flow time on single machine.
Trait Implementations§
Source§impl DispatchingRule for Spt
impl DispatchingRule for Spt
impl Copy for Spt
Auto Trait Implementations§
impl Freeze for Spt
impl RefUnwindSafe for Spt
impl Send for Spt
impl Sync for Spt
impl Unpin for Spt
impl UnsafeUnpin for Spt
impl UnwindSafe for Spt
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more