#include <DynamicGraphSource.h>
Public Member Functions  
DynamicGraphSource ()  
Default constructor. More...  
virtual  ~DynamicGraphSource ()=default 
GraphEventProxy *  newGraph () 
After constructing a DynamicGraphGenerator, call this to set a new a Graph and GraphEventProxy instance and get access to them. More...  
virtual void  initializeGraph ()=0 
The generator may expect the graph to be in a certain initial state. More...  
virtual void  generate ()=0 
Perform one generative step  as defined by the implementation. More...  
virtual void  generateWhile (std::function< bool(void)> cont) 
virtual void  generateNodes (count n) 
Continue generating until the number of nodes reaches this upper limit. More...  
virtual void  generateEdges (count m) 
Continue generating until the number of edges reaches this upper limit. More...  
virtual void  generateTimeSteps (count t) 
Continue generating until the number of time steps reaches this upper limit. More...  
Protected Attributes  
GraphEventProxy *  Gproxy 
receives events produced by the generator and forwards them More...  
Graph *  G 
bool  graphSet 
true if newGraph has been called and graph and proxy instances are properly set More...  
bool  graphInitialized 
true if initializeGraph has been called and graph has been properly initialized More...  
NetworKit::DynamicGraphSource::DynamicGraphSource  (  ) 
Default constructor.

virtualdefault 

pure virtual 
Perform one generative step  as defined by the implementation.
Implemented in NetworKit::DynamicDGSParser, and NetworKit::DynamicBarabasiAlbertGenerator.

virtual 
Continue generating until the number of edges reaches this upper limit.
[in]  m  number of edges 

virtual 
Continue generating until the number of nodes reaches this upper limit.
[in]  n  number of nodes 

virtual 
Continue generating until the number of time steps reaches this upper limit.

virtual 

pure virtual 
The generator may expect the graph to be in a certain initial state.
Call this method first.
Implemented in NetworKit::DynamicBarabasiAlbertGenerator, and NetworKit::DynamicDGSParser.
GraphEventProxy * NetworKit::DynamicGraphSource::newGraph  (  ) 
After constructing a DynamicGraphGenerator, call this to set a new a Graph and GraphEventProxy instance and get access to them.

protected 

protected 
receives events produced by the generator and forwards them

protected 
true if initializeGraph has been called and graph has been properly initialized

protected 
true if newGraph has been called and graph and proxy instances are properly set