networkit.dynbase

class networkit.dynbase.DynAlgorithm(*args, **namedargs)
update(ev)

The generic update method for updating data structure after an update.

Parameters

ev (networkit.dynamics.GraphEvent) – A graph event.

Returns

self

Return type

networkit.dynbase.DynAlgorithm

updateBatch(batch)

The generic update method for updating data structure after a batch of updates.

Parameters

batch (list(networkit.dynamics.GraphEvent)) – List of graph events.

Returns

self

Return type

networkit.dynbase.DynAlgorithm