pub fn minimal_transversals<N, E, Ix>(
hypergraph: &Hypergraph<N, E, Ix>,
max_size: Option<usize>,
) -> Vec<MinimalTransversal<N>>Expand description
Find all minimal transversals (hitting sets) of a hypergraph
A transversal is a set of nodes that intersects every hyperedge. This is also known as the hitting set problem.
§Arguments
hypergraph- The hypergraph to analyzemax_size- Maximum size of transversals to consider (for efficiency)
§Returns
- Vector of minimal transversals