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 15:30
1. what is the measure of ∠abc? what is the measure of ∠abd?
Answers: 1
question
Mathematics, 21.06.2019 19:30
Click the arrows to advance or review slides. mapping carbohydrates to food carbohydrates (grams) 15 food (quantity) bread (1 slice) pasta (1/3 cup) apple (1 medium) mashed potatoes (1/2 cup) broccoli (1/2 cup) carrots (1/2 cup) milk (1 cup) yogurt (6 oz.) 12 12 is jennifer's relation a function? yes no f 1 of 2 → jennifer figure out the difference between a function and a relation by answering the questions about her food choices
Answers: 2
question
Mathematics, 21.06.2019 20:30
What’s -11-33k and factor each expression completely
Answers: 2
question
Mathematics, 21.06.2019 21:30
The measures of the legs of a right triangle are 15m and 20m . what is the length of the hypotenuse
Answers: 1
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, 20.04.2020 04:17
question
Mathematics, 20.04.2020 04:17
question
Mathematics, 20.04.2020 04:17
Questions on the website: 13722361