pub enum ScheduleOutcome {
Feasible(Vec<usize>),
Infeasible(Vec<usize>),
}Expand description
The outcome of scheduling onto m machines.
Variants§
Feasible(Vec<usize>)
Every task placed: assignment[i] is task i’s machine in 0..m (re-checkable via
is_valid_schedule).
Infeasible(Vec<usize>)
No schedule exists, witnessed by a set of mutually-overlapping tasks larger than m
(re-checkable via is_overflow_witness).
Trait Implementations§
Source§impl Clone for ScheduleOutcome
impl Clone for ScheduleOutcome
Source§fn clone(&self) -> ScheduleOutcome
fn clone(&self) -> ScheduleOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScheduleOutcome
impl Debug for ScheduleOutcome
Source§impl PartialEq for ScheduleOutcome
impl PartialEq for ScheduleOutcome
Source§fn eq(&self, other: &ScheduleOutcome) -> bool
fn eq(&self, other: &ScheduleOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ScheduleOutcome
impl StructuralPartialEq for ScheduleOutcome
Auto Trait Implementations§
impl Freeze for ScheduleOutcome
impl RefUnwindSafe for ScheduleOutcome
impl Send for ScheduleOutcome
impl Sync for ScheduleOutcome
impl Unpin for ScheduleOutcome
impl UnsafeUnpin for ScheduleOutcome
impl UnwindSafe for ScheduleOutcome
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