iTranslated by AI
The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🌾
Understanding Hitting Sets
What is a Hitting Set?
A Hitting Set is a set that has a non-empty intersection with each set in a given collection of sets.
For example, consider the following collection of sets:
A1 = {1, 2, 3}
A2 = {2, 4}
A3 = {3, 4, 5}
In this case,
{2, 3}
is a Hitting Set.
If we name this set
A1 ∩ H = {2, 3}
A2 ∩ H = {2}
A3 ∩ H = {3}
Since it has a non-empty intersection with each set,
Formal Definition
Let
U = {1, 2, 3, 4, 5}
S = {A1, A2, A3}
In this context,
Two Types of Hitting Sets
There is a distinction between Minimal and Minimum Hitting Sets.
- Minimal Hitting Set: A set from which no element can be removed without it ceasing to be a Hitting Set.
- Minimum Hitting Set: A Hitting Set with the smallest number of elements.
For instance, given:
A1 = {1, 2}
A2 = {2, 3}
{1, 3} is a Minimal Hitting Set.
On the other hand, {2} is a Minimum Hitting Set.
Addendum
- By using Hitting Sets, one can view MUS (Minimal Unsatisfiable Subset) and MCS (Minimal Correction Subset) in a dual relationship.
For more on MUS and MCS, please refer to this article ↓
Discussion