subject
Mathematics, 18.11.2019 19:31 pippalotta

Let p = {p1, p2, · · · , pn} be a set of points on the x axis with each point pi , 1 ≤ i ≤ n, represented by its coordinates. design a greedy algorithm to find a minimum number of intervals with unit length on the x axis to cover the set of points in p, where a point pi is covered by an interval if its x coordinate falls in the interval. for each interval you need to determine its position (i. e., its starting and ending points). prove the correctness of your algorithm. now suppose that the points in p are located on a 2d plane and each interval becomes an axis-aligned unit square. prove or disprove whether your greedy strategy for the 1-d case can still be extended to the 2-d case. for proving it works, you need to clear state how the greedy strategy is extended to 2d and prove its correctness. for disproving it, you just need to give a counter example.

ansver
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 14:30, stacy021603
In trapezoid efgh, m∠hef=(4x2+16)∘ and m∠gfe=(5x2+12)∘. find the value of x so that efgh is isosceles.
Answers: 1
image
Mathematics, 21.06.2019 16:30, ryleepretty
Quadrilateral ghjk has vertices g(2, 3), h(8, 2), j(6, 8), and k(3, 6). it is transformed according to the rule t(–4, –5). what are the coordinates of g”? (–7, 3) (–2, 2) (–1, –7) (2, –2)
Answers: 2
image
Mathematics, 21.06.2019 22:00, emadrid76
  cassidy wants to cut the yellow fabric into strips that are 0.3 yards wide. how many strips of yellow fabric can cassidy make? yellow fabric 16 yards for $108.00.
Answers: 1
image
Mathematics, 21.06.2019 22:30, brookerebman15
Find solution of the linear equation y = 2/3x + 1/3
Answers: 2
You know the right answer?
Let p = {p1, p2, · · · , pn} be a set of points on the x axis with each point pi , 1 ≤ i ≤ n, repres...

Questions in other subjects:

Konu
Mathematics, 12.10.2019 17:30
Konu
Mathematics, 12.10.2019 17:30