pub fn spinglass_with_options(
graph: &Graph,
weights: Option<&[f64]>,
options: &SpinglassOptions,
) -> IgraphResult<SpinglassResult>Expand description
Spinglass community detection with full options.
ยงErrors
Returns an error if the graph is disconnected, has fewer than 2 vertices, or if invalid options are provided.