pub struct Wspt;Expand description
Weighted Shortest Processing Time.
Prioritizes by the ratio of importance to processing time.
Weight is derived from priority: weight = 1000 / (priority + 1).
§Reference
Smith (1956), optimal for minimizing weighted mean flow time.
Trait Implementations§
Source§impl DispatchingRule for Wspt
impl DispatchingRule for Wspt
impl Copy for Wspt
Auto Trait Implementations§
impl Freeze for Wspt
impl RefUnwindSafe for Wspt
impl Send for Wspt
impl Sync for Wspt
impl Unpin for Wspt
impl UnsafeUnpin for Wspt
impl UnwindSafe for Wspt
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