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

#include <SNAPGraphReader.h>

Public Member Functions

 SNAPGraphReader ()=default
 Default constructor. More...
 
virtual Graph read (const std::string &path) override
 Given the path of an input file, read the graph contained. More...
 
std::unordered_map< node, nodegetNodeIdMap ()
 
- Public Member Functions inherited from NetworKit::GraphReader
virtual ~GraphReader ()=default
 

Protected Attributes

std::unordered_map< node, nodemapNodeIds
 

Constructor & Destructor Documentation

NetworKit::SNAPGraphReader::SNAPGraphReader ( )
default

Default constructor.

Member Function Documentation

std::unordered_map< node, node > NetworKit::SNAPGraphReader::getNodeIdMap ( )
Graph NetworKit::SNAPGraphReader::read ( const std::string &  path)
overridevirtual

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

Parameters
[in]pathinput file path

Implements NetworKit::GraphReader.

Member Data Documentation

std::unordered_map<node,node> NetworKit::SNAPGraphReader::mapNodeIds
protected

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