An algorithm for the difference between set covers
详细信息查看全文 | 推荐本文 |
摘要
A set cover for a set S is a collection C of special subsets whose union is S. Given covers 05aca9fb0b396d6bfdab2627ce" title="Click to view the MathML source" alt="Click to view the MathML source">A and a30e433eea5a005b4" title="Click to view the MathML source" alt="Click to view the MathML source">B for two sets, the set-cover difference problem is to construct a new cover for the elements covered by A but not B. Applications include testing equivalence of set covers and maintaining a set cover dynamically. In this paper, we solve the set-cover difference problem by defining a difference operation A-B, which turns out to be a pseudocomplement on a distributive lattice. We give an algorithm for constructing this difference, and show how to implement the algorithm for two examples with applications in computer science: face covers on a hypercube, and rectangle covers on a grid. We derive an upper bound on the time complexity of the algorithm, and give upper and lower bounds on complexity for face covers and rectangle covers.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700