The generic update method for updating data structure after an update.
ev (networkit.dynamics.GraphEvent) – A graph event.
self
The generic update method for updating data structure after a batch of updates.
batch (list(networkit.dynamics.GraphEvent)) – List of graph events.
self