pub struct CpmScheduler;Expand description
CPM scheduler operating on flattened graph
Implementations§
Source§impl CpmScheduler
impl CpmScheduler
pub fn new() -> Self
Sourcepub fn schedule(&self, graph: &SchedulingGraph) -> Result<CpmSchedule, CpmError>
pub fn schedule(&self, graph: &SchedulingGraph) -> Result<CpmSchedule, CpmError>
Schedule using Critical Path Method
The graph must already be topologically sorted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CpmScheduler
impl RefUnwindSafe for CpmScheduler
impl Send for CpmScheduler
impl Sync for CpmScheduler
impl Unpin for CpmScheduler
impl UnwindSafe for CpmScheduler
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