subject
Mathematics, 16.11.2019 06:31 monstergirl25

We looked at a greedy algorithm to solve the set cover problem, and proved that if the optimal set cover has size k, then our greedy algorithm will find a set cover of size at most k loge n. here is a generalization of the set cover problem. • input: a set of elements b of size n; sets ; sm b; positive weights wi; . • output: a selection of the sets si whose union is b. • cost: the sum of the weights wi for the sets that were picked. design an algorithm to find the set cover with approximately the smallest cost. prove that if there is a solution with cost k, then your algorithm will find a solution with cost o(k logn).

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 20:30
In the diagram of circle o, what is the measure of zabc?
Answers: 2
question
Mathematics, 21.06.2019 21:30
Are the corresponding angles congruent? explain why or why not.
Answers: 2
question
Mathematics, 21.06.2019 23:30
Which two fractions are equivalent to 6/11? 6/22 and 18/33 12/22 and 18/33 12/22 and 18/22 3/5 and 6/10
Answers: 1
question
Mathematics, 21.06.2019 23:30
In the diagram, ab is tangent to c, ab = 4 inches, and ad = 2 inches. find the radius of the circle.
Answers: 3
You know the right answer?
We looked at a greedy algorithm to solve the set cover problem, and proved that if the optimal set c...
Questions
Questions on the website: 13722363