Class GraphToolBinaryWriter

Inheritance Relationships

Base Type

Class Documentation

class GraphToolBinaryWriter : public NetworKit::GraphWriter

Writes graphs to files in the binary format defined by graph-tool1.

Public Functions

GraphToolBinaryWriter(bool littleEndianness = true)
virtual void write(const Graph &G, const std::string &path) override

Given the path of an input file, read the graph contained.

Parameters:

path[in] input file path