Content deleted Content added
→Single-Interval Scheduling Maximization: added clarification Tags: Mobile edit Mobile app edit Android app edit |
m →Single-Interval Scheduling Maximization: reorganized to be better categorized Tags: Mobile edit Mobile app edit Android app edit |
||
Line 21:
==Single-Interval Scheduling Maximization==
Single-interval scheduling refers to creating an interval schedule in which no intervals overlap.
=== Unweighted ===
Line 38 ⟶ 39:
=== Weighted ===
When the intervals have weights, the interval scheduling problem is equivalent to finding a maximum-weight [[Independent set (graph theory)|independent set]] in an [[interval graph]].
To find the maximum weight of a single
<syntaxhighlight line="1" lang="c">
// The vectors are already sorted from earliest to latest finish time.
|