[Networkit] Feedback req'd: Multi-edges
christian.staudt at kit.edu
Wed Sep 2 10:52:48 CEST 2015
On 14 Aug 2015, at 18:40, Patrick Bisenius <patrick.bisenius at gmail.com> wrote:
> While this is only an anecdote, a warning in debug mode would probably be a good idea to avoid problems like this for other developers.
It’s possible to implement the expensive check in Graph.addEdge only in debug mode (using #ifdef DEBUG ). Then everything that creates graphs would be slow in debug mode (e.g in unit tests), but you get an error when you corrupt the graph data structure.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the NetworKit