All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GraphEventHandler.h
Go to the documentation of this file.
1 /*
2  * GraphEventHandler.h
3  *
4  * Created on: 02.04.2013
5  * Author: cls
6  */
7 
8 #ifndef GRAPHEVENTHANDLER_H_
9 #define GRAPHEVENTHANDLER_H_
10 
11 #include "../graph/Graph.h"
12 
13 namespace NetworKit {
14 
19 
20 public:
21  virtual void onNodeAddition(node u) = 0;
22 
23  virtual void onNodeRemoval(node u) = 0;
24 
25  virtual void onNodeRestoration(node u) = 0;
26 
27  virtual void onEdgeAddition(node u, node v, edgeweight w = 1.0) = 0;
28 
29  virtual void onEdgeRemoval(node u, node v, edgeweight w = 1.0) = 0;
30 
31  virtual void onWeightUpdate(node u, node v, edgeweight wOld, edgeweight wNew) = 0;
32 
33  virtual void onWeightIncrement(node u, node v, edgeweight wOld, edgeweight delta) = 0;
34 
35  virtual void onTimeStep() = 0;
36 };
37 
38 } /* namespace NetworKit */
39 #endif /* GRAPHEVENTHANDLER_H_ */
virtual void onEdgeAddition(node u, node v, edgeweight w=1.0)=0
virtual void onWeightIncrement(node u, node v, edgeweight wOld, edgeweight delta)=0
Definition: GraphEventHandler.h:18
virtual void onWeightUpdate(node u, node v, edgeweight wOld, edgeweight wNew)=0
virtual void onTimeStep()=0
virtual void onNodeRestoration(node u)=0
virtual void onNodeRemoval(node u)=0
index node
Definition: Globals.h:23
virtual void onEdgeRemoval(node u, node v, edgeweight w=1.0)=0
virtual void onNodeAddition(node u)=0
double edgeweight
Definition: Globals.h:24