subject
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.

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 21:00
2x minus y equals 6, x plus y equals negative 3
Answers: 1
question
Mathematics, 21.06.2019 21:30
Helll ! 1,400 tons of wheat of two different varieties was delivered to the silo. when processing one variety, there was 2% of waste and 3% during the processing of the second variety of wheat. after the processing, the amount of remaining wheat was 1,364 tons. how many tons of each variety of wheat was delivered to the silo?
Answers: 1
question
Mathematics, 21.06.2019 21:30
Hannah paid $3.20 for 16 ounces of potato chips. hank paid $3.23 for 17 ounces of potato chips. who paid less per ounces?
Answers: 1
question
Mathematics, 21.06.2019 23:00
Multiplying fractions by whole number 5 x 1/3=?
Answers: 2
You know the right answer?
Aformal description of the problems: the input is a set x of n points: x = {x1 < x2 < . ....
Questions
question
Mathematics, 03.02.2020 22:47
Questions on the website: 13722359