homogenise large_connected_hypergraph implementations
Closed this issue · 0 comments
maximelucas commented
To get the GCC, we have the large_connected_hypergraph()
function:
xgi/xgi/algorithms/connected.py
Lines 226 to 230 in e01ddd5
And we also get the GCC in cleanup()
when connected=True
, but it's implemented slightly differently:
Lines 1471 to 1474 in e01ddd5
If there's no reason for this, I think we should make them the same, or even better, call the first one in the second.
It will be easier to maintain and check that both do the same.