[Networkit] CoreDecomposition and self-loops
christian.staudt at kit.edu
Fri Oct 2 11:03:00 CEST 2015
Currently, core decomposition throws an exception if the input graph has self-loops.
if (G.numberOfSelfLoops()) throw std::runtime_error("Core Decomposition implementation does not support graphs with self-loops. Call Graph.removeSelfLoops() first.”);
What is the rationale for this behavior? Self-loops are quite common, so could we make this more user-friendly by letting the algorithm cope with self-loops?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the NetworKit