Let $D= \{a_1,a_2,...,a_n\}$ be a set of constants. For any subset of $D$ of cardinality $3$, we define another set (we call it hyper-edge) containing all $3 \choose 2$ pair-wise combinations (we call them nodes) of the constants. How can I compute the minimum number of hyper edges required to cover all such pair-wise combinations of constants in $D$ in general ?
I did the first non-trivial example:
Example: $D = \{a_1,a_2,a_3,a_4\}$, In this case you have $4$ possible subsets, each giving us 3 nodes in a hyper edge, and picking any three such hyper-edges or any three such subsets gives us a complete cover. I list all possible hyper edges below:
- ${a_1a_2 , a_1a_3, a_2a_3}$
- ${a_1a_2 , a_1a_4, a_2a_4}$
- ${a_2a_3,a_3a_4,a_2a_4}$
- ${a_1a_4,a_1a_3,a_3a_4}$
You can take any three of these subsets and it has all the pairwise nodes.