Class DynamicPubWebGenerator

Inheritance Relationships

Base Type

Class Documentation

class DynamicPubWebGenerator : public NetworKit::DynamicGraphGenerator

Public Functions

DynamicPubWebGenerator(count numNodes, count numberOfDenseAreas, coordinate neighborhoodRadius, count maxNumberOfNeighbors, bool writeInitialGraphToStream = true)
inline Graph getGraph() const
virtual std::vector<GraphEvent> generate(count nSteps) override

Generate event stream.

Parameters:

nSteps[in] number of time steps in the event stream

inline const std::vector<std::pair<node, Point2D>> &getNewCoordinates() const

Returns a map of coordinates that were updated.

inline std::vector<std::pair<node, Point2D>> moveNewCoordinates()
inline const std::vector<Point2D> &getCoordinates() const

Returns a vector of the currently valid coordinates.