Mathematics
Mathematics, 05.11.2019 00:31, nathang444

Aformal description of the problems: the input is a set x of n points: x = {x1 < x2 < . . < xn}, where each xi (1 ≀ i ≀ n) represents a house. we need to select a subset y βŠ† x such that: (1) for every point xi ∈ x, there is a point xj ∈ y with |xi βˆ’ xj | ≀ 5, and (2) the 2 size of y is minimum, subject to condition (1). describe a polynomial time greedy algorithm for solving this problem. you need to prove the correctness of the algorithm.

answer
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 15:50, tmarie03
Which formula finds the probability that a point on the grid below will be in the blue area? p(blue) = total number of squares number of blue squares number of blue squares p(blue) = total number of squares number of blue squares p(blue) = number of white squares
Answers: 1
image
Mathematics, 21.06.2019 19:10, kg4385649
Which equation results from adding the equations in this system? x+6y=9 and -x+2y=-15
Answers: 1
image
Mathematics, 21.06.2019 22:30, ferny5133
Need this at the city museum, child admission is 6 and adult admission is 9.20. on tuesday, 132 tickets were sold for a total sales of 961.60. how many adult tickets were sold that day?
Answers: 1
image
Mathematics, 22.06.2019 02:10, babas97
You use technology ans find a sum of 6.712e-8. write this sum in standard form
Answers: 1
Do you know the correct answer?
Aformal description of the problems: the input is a set x of n points: x = {x1 < x2 < . ....

Questions in other subjects:

Konu
Computers and Technology, 12.04.2021 02:20
Konu
Mathematics, 12.04.2021 02:30