This PR overrides the complement function from Graphs such that it can be called directly with a static graph.
The function is more convenient (and hopefully more efficient) than converting a StaticGraph to a SimpleGraph, applying complement and converting back to StaticGraph.
This PR overrides the
complement
function fromGraphs
such that it can be called directly with a static graph.The function is more convenient (and hopefully more efficient) than converting a
StaticGraph
to aSimpleGraph
, applyingcomplement
and converting back toStaticGraph
.