Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Weighted interval scheduling on m machines
Разница между en1 и en2, 3 символ(ов) изменены
The following problem was given as an assingment in Introduction to algorithms course:↵

You are given $n$ intervals on real line (integer coordinates) and you have to choose a subset $M$ such that at most $k$ intervals from this subset pairwise intersect (intersection at endpoints doesn't count). Weight $w_i$ of the interval $[s_i,e_i]$ is defined as $e_i - s_i$. The goal is to find a subset $M$ with maximal sum of interval weights.↵

I am aware of a [solution](http://ac.els-cdn.com/0166218X87900370/1-s2.0-0166218X87900370-main.pdf?_tid=3919f160-9f48-11e5-9691-00000aacb35f&acdnat=1449757005_d8be70cba06f80d131c51580ab1e3be3) of a more general problem, where weights of 
an intervals can be arbitrary. But since this problem was presented at Introduction of algorithms course I guess there has to be a simpler solution for this more specific case.↵

Any hints would be very appreciated. :)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский pzajec 2015-12-14 11:44:22 101
en4 Английский pzajec 2015-12-12 15:23:40 893 Tiny change: 'ights.\n\nUPD:\n\nAnd s' -
en3 Английский pzajec 2015-12-10 19:22:50 2
en2 Английский pzajec 2015-12-10 18:01:50 3 Tiny change: 'eights of an intervals' -> 'eights of intervals'
en1 Английский pzajec 2015-12-10 18:00:23 940 Initial revision (published)