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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 01:30, bri2728
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most? a)give the file a unique name b)name the file in yymmdd format c)use descriptive name while naming the files d)use capital letters while naming the file
Answers: 3
image
Computers and Technology, 23.06.2019 09:10, babyskitt
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, lorelaistudent
Does anybody know how to hack into a google account? i had important information on it and it is gone now and i need getting it back.
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, sweeps8758
Which type of excel chart should be used to track students’ progress on test grades? line column bar pie
Answers: 2
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 in other subjects:

Konu
Chemistry, 28.06.2019 18:30
Konu
Mathematics, 28.06.2019 18:30
Konu
Mathematics, 28.06.2019 18:30
Konu
Mathematics, 28.06.2019 18:30
Konu
History, 28.06.2019 18:30
Konu
History, 28.06.2019 18:30