All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GraphEvent.h
Go to the documentation of this file.
1 /*
2  * GraphEvent.h
3  *
4  * Created on: 02.04.2013
5  * Author: cls
6  */
7 
8 #ifndef GRAPHEVENT_H_
9 #define GRAPHEVENT_H_
10 
11 #include "../graph/Graph.h"
12 
13 namespace NetworKit {
14 
15 
19 class GraphEvent {
20 
21 
22 public:
23 
24  enum Type {
33 
34  };
35 
37  node u;
38  node v;
40 
41 
42  GraphEvent() = default;
43 
45 
46  static bool compare(GraphEvent a, GraphEvent b);
47  static bool equal(GraphEvent a, GraphEvent b);
48 
52  std::string toString();
53 
54 };
55 
56 } /* namespace NetworKit */
57 #endif /* GRAPHEVENT_H_ */
Definition: GraphEvent.h:29
node v
second node parameter
Definition: GraphEvent.h:38
Definition: GraphEvent.h:32
static bool compare(GraphEvent a, GraphEvent b)
Definition: GraphEvent.cpp:39
static bool equal(GraphEvent a, GraphEvent b)
Definition: GraphEvent.cpp:44
Definition: GraphEvent.h:26
Definition: GraphEvent.h:19
Type type
type of graph event
Definition: GraphEvent.h:36
Definition: GraphEvent.h:25
constexpr index none
Constants.
Definition: Globals.h:28
index node
Definition: Globals.h:23
Definition: GraphEvent.h:28
Type
Definition: GraphEvent.h:24
std::string toString()
Return string representation.
Definition: GraphEvent.cpp:17
edgeweight w
edge weight parameter
Definition: GraphEvent.h:39
Definition: GraphEvent.h:27
node u
first node parameter
Definition: GraphEvent.h:37
double edgeweight
Definition: Globals.h:24