subject
Computers and Technology, 26.11.2019 06:31 ari313

In class (and chapter 5.4) 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 willl find a set cover of size at most klog, n. here is a generalization of the set cover problem. input: a set of elements b of size n; sets c b; positive weights w t' output: a selection of the sets s, whose union is b. cost: the sum of the weights w, 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: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:30
Dave has to create animations for a game. which tool can dave use?
Answers: 3
question
Computers and Technology, 22.06.2019 17:30
How do you make a lenny face? plz, brailiest to who can answer first.
Answers: 1
question
Computers and Technology, 24.06.2019 16:50
Ramp charts are generally created in wordlotusexcelpowerpoint
Answers: 1
question
Computers and Technology, 25.06.2019 00:30
What is a typeface? a. a collection of similar text b. a collection of similar fonts c. a collection of similar designs d. a collection of similar colors e. a collection of similar images
Answers: 1
You know the right answer?
In class (and chapter 5.4) we looked at a greedy algorithm to solve the set cover problem, and prove...
Questions
question
Biology, 08.07.2020 01:01
question
Mathematics, 08.07.2020 01:01
question
Mathematics, 08.07.2020 01:01
question
Mathematics, 08.07.2020 01:01
question
Mathematics, 08.07.2020 01:01
question
Mathematics, 08.07.2020 01:01
question
Mathematics, 08.07.2020 01:01
question
History, 08.07.2020 01:01
Questions on the website: 13722367