Skip to content

A Haskell HittingSetModule.hs module exporting a function that finds the lexicographically minimal blocking set, of minimum cardinality, of a family of sets of integers. In the spirit of Theorem 9.12(ii) and Example 9.13 from the monograph A.O. Matveev, Symmetric Cycles, Jenny Stanford Publishing, 2023.

License

Notifications You must be signed in to change notification settings

andreyomatveev/hitting-set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HittingSetModule.hs

A Haskell HittingSetModule.hs module exporting a function that finds the solution to the basic variant of the HittingSet problem: The function takes in a moderate-size family of moderate-size sets of integers, and it slowly returns the corresponding lexicographically minimal blocking set of minimum cardinality.

In the spirit of Theorem 9.12(ii) and Example 9.13 from the monograph A.O. Matveev, Symmetric Cycles, Jenny Stanford Publishing, 2023.

Blocking Sets

Let $\mathcal{A} := \langle A_1, A_2, ..., A_k\rangle$ be a nonempty family of nonempty subsets of a finite set $E$. A subset $B$ of the set $E$ is called a blocking set (or hitting set, transversal, vertex cover (or node cover), system of representatives) of the family $\mathcal{A}$ if and only if the set $B$ has a nonempty intersection with each set $A_i$ from the family $\mathcal{A}$.

About

A Haskell HittingSetModule.hs module exporting a function that finds the lexicographically minimal blocking set, of minimum cardinality, of a family of sets of integers. In the spirit of Theorem 9.12(ii) and Example 9.13 from the monograph A.O. Matveev, Symmetric Cycles, Jenny Stanford Publishing, 2023.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published