© 1988 by British Computer Society
Applications of a Subset-Generating Algorithm to Base Enumeration, Knapsack and Minimal Covering Problems
1 *
1 Institute of Mathematics, University of Novi Sad, dr Ilije Djuricica 4, 21000 Novi Sad, Yugoslavia, 2 Electrotechnical Laboratory, 1-1-4 Umezono, Sakura-mura, Niihari-gun, Ibaraki 305, Japan
On the basis of a backtrack procedure for lexicographic enumeration of all subsets of a set of n elements, we give an algorithm both for determining all bases consisting of functions from a given complete set in a considered subset of the set of k-valued logical functions, and for enumeration of all classes of bases in the subset. We use the lexicographic algorithm also for solving knapsack and minimal covering problems. A cut technique is described which is used in these algorithms to reduce the number of examined subsets of {1, ..., n}.
Received May 1986.
* Institute of Mathematics, University of Novi Sad, dr Ilije Djuricica 4, 21000 Novi Sad, Yugoslavia
Electrotechnical Laboratory, 1-1-4 Umezono, Sakura-mura, Niihari-gun, Ibaraki 305, Japan