All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
NetworKit::GraphToolBinaryWriter Class Reference

Writes graphs to files in the binary format defined by graph-tool[1]. More...

#include <GraphToolBinaryWriter.h>

Public Member Functions

 GraphToolBinaryWriter (bool littleEndianness=true)
 
void write (const Graph &G, const std::string &path)
 Given the path of an input file, read the graph contained. More...
 
- Public Member Functions inherited from NetworKit::GraphWriter
virtual ~GraphWriter ()=default
 

Protected Attributes

bool littleEndianness
 

Detailed Description

Writes graphs to files in the binary format defined by graph-tool[1].

Constructor & Destructor Documentation

NetworKit::GraphToolBinaryWriter::GraphToolBinaryWriter ( bool  littleEndianness = true)

Member Function Documentation

void NetworKit::GraphToolBinaryWriter::write ( const Graph G,
const std::string &  path 
)
virtual

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

Parameters
[in]pathinput file path

Implements NetworKit::GraphWriter.

Member Data Documentation

bool NetworKit::GraphToolBinaryWriter::littleEndianness
protected

The documentation for this class was generated from the following files: