[Networkit] Algorithm base class

Christian Staudt christian.staudt at kit.edu
Mon Aug 17 12:14:56 CEST 2015

Hi NetworKit developers,
for any algorithm class that is exposed to the user, please remember to inherit from the base class “Algorithm”, both on the C++ and Python side. Having a common base class simplifies many things.

I’ve also added a new method Algorithm.isParallel() that should return true if the algorithm can run multi-threaded. This helps with scheduling several algorithms efficiently. A subclass should implement this, otherwise an exception is raised when the method is called. Please add the implementations where they are missing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20150817/7b8cd174/attachment.sig>

More information about the NetworKit mailing list