Class DGSReader

Inheritance Relationships

Base Type

Class Documentation

class DGSReader : public NetworKit::DynamicGraphReader

DGS is a file format allowing to store graphs and dynamic graphs in a textual human readable way, yet with a small size allowing to store large graphs. Graph dynamics is defined using events like adding, deleting or changing a node or edge. With DGS, graphs will therefore be seen as stream of such events.

Format documentation:

Public Functions

virtual void read(std::string path, GraphEventProxy &Gproxy) override
  • path[in] Path to file in DGS format.

  • Gproxy[in] Graph event proxy receives the events from the file.