[Networkit] Algorithm base class
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...
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the NetworKit