All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DynamicGraphGenerator.h
Go to the documentation of this file.
1 /*
2  * DynamicGraphGenerator.h
3  *
4  * Created on: 14.01.2014
5  * Author: cls
6  */
7 
8 #ifndef DYNAMICGRAPHGENERATOR_H_
9 #define DYNAMICGRAPHGENERATOR_H_
10 
11 #include "../graph/Graph.h"
12 #include "../dynamics/GraphEvent.h"
13 
14 namespace NetworKit {
15 
22 
23 public:
25  virtual ~DynamicGraphGenerator() = default;
26 
32  virtual std::vector<GraphEvent> generate(count nSteps) = 0;
33 
34 protected:
35 
36  Graph G; // the graph instance
37 };
38 
39 } /* namespace NetworKit */
40 
41 #endif /* DYNAMICGRAPHGENERATOR_H_ */
virtual ~DynamicGraphGenerator()=default
Default destructor.
Graph G
Definition: DynamicGraphGenerator.h:36
virtual std::vector< GraphEvent > generate(count nSteps)=0
Generate event stream.
uint64_t count
Definition: Globals.h:21
Abstract base class for a dynamic graph generator (in the new dynamic architecture).
Definition: DynamicGraphGenerator.h:21
A graph (with optional weights) and parallel iterator methods.
Definition: Graph.h:79