Skip to main content

complete_hypergraph

Function complete_hypergraph 

Source
pub fn complete_hypergraph(
    n: usize,
    order: Option<usize>,
    max_order: Option<usize>,
    include_singletons: bool,
) -> Result<Hypergraph, GeneratorError>
Available on crate feature generators only.
Expand description

A complete hypergraph on n nodes. Exactly one of order / max_order must be Some. XGI complete_hypergraph.