ishypergraph_connected

Function ishypergraph_connected 

Source
pub fn ishypergraph_connected<N, E, Ix>(
    hypergraph: &Hypergraph<N, E, Ix>,
) -> bool
where N: Node + Clone + Ord + Debug, E: EdgeWeight, Ix: IndexType,
Expand description

Check if a hypergraph is connected

A hypergraph is connected if there is a path between every pair of nodes.

§Arguments

  • hypergraph - The hypergraph to check

§Returns

  • True if connected, false otherwise