The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998 The.Algorithm.Design.Manual.Springer-Verlag.1998

18.04.2013 Views

Set and String Problems ● Shortest Common Superstring Algorithms Mon Jun 2 23:33:50 EDT 1997 file:///E|/BOOK/BOOK5/NODE200.HTM (2 of 2) [19/1/2003 1:32:02]

Set Cover Next: Set Packing Up: Set and String Problems Previous: Set and String Problems Set Cover Input description: A set of subsets of the universal set . Problem description: What is the smallest subset T of S such that ? Discussion: Set cover arises when you try to efficiently acquire or represent items that have been packaged in a fixed set of lots. You want to obtain all the items, while buying as few lots as possible. Finding a cover is easy, because you can always buy one of each lot. However, by finding a small set cover you can do the same job for less money. An interesting application of set cover is Boolean logic minimization. We are given a particular Boolean function of k variables, which for each of the possible input vectors describes whether the desired output is 0 or 1. We seek the simplest circuit that exactly implements this function. One approach is to find a disjunctive normal form (DNF) formula on the variables and their complements, such as . We could build one ``and'' term for each input vector and then ``or'' them all together, but we might save considerably by factoring out common subsets of variables. Given a set of feasible ``and'' terms, each of which covers a subset of the vectors we need, we seek to ``or'' together the smallest number of terms that realize the function. This is exactly the set cover problem. file:///E|/BOOK/BOOK5/NODE201.HTM (1 of 4) [19/1/2003 1:32:04]

Set Cover<br />

Next: Set Packing Up: Set and String Problems Previous: Set and String Problems<br />

Set Cover<br />

Input description: A set of subsets of the universal set .<br />

Problem description: What is the smallest subset T of S such that ?<br />

Discussion: Set cover arises when you try to efficiently acquire or represent items that have been<br />

packaged in a fixed set of lots. You want to obtain all the items, while buying as few lots as possible.<br />

Finding a cover is easy, because you can always buy one of each lot. However, by finding a small set<br />

cover you can do the same job for less money.<br />

An interesting application of set cover is Boolean logic minimization. We are given a particular Boolean<br />

function of k variables, which for each of the possible input vectors describes whether the desired<br />

output is 0 or 1. We seek the simplest circuit that exactly implements this function. One approach is to<br />

find a disjunctive normal form (DNF) formula on the variables and their complements, such as<br />

. We could build one ``and'' term for each input vector and then ``or'' them all together, but<br />

we might save considerably by factoring out common subsets of variables. Given a set of feasible ``and''<br />

terms, each of which covers a subset of the vectors we need, we seek to ``or'' together the smallest<br />

number of terms that realize the function. This is exactly the set cover problem.<br />

file:///E|/BOOK/BOOK5/NODE201.HTM (1 of 4) [19/1/2003 1:32:04]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!