networkit.base

class networkit.base.Algorithm

Abstract base class for algorithms

hasFinished()

States whether an algorithm has already run.

Returns:

True if Algorithm has finished.

Return type:

bool

run()

Executes the algorithm.

Returns:

self

Return type:

networkit.base.Algorithm