Skip to main content

is_valid_schedule

Function is_valid_schedule 

Source
pub fn is_valid_schedule(
    tasks: &[Interval],
    machines: usize,
    assignment: &[usize],
) -> bool
Expand description

Re-check a schedule: every assigned machine is in range and no two overlapping tasks share one.