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