Defined in File SNAPGraphReader.hpp
public NetworKit::GraphReader
(Class GraphReader)
Public Functions
Default constructor for the SNAPGraphReader. NOTE: Keep in mind that many SNAP graphs do not have consecutive node ids. Passing a “false” in remapNodes forces the reader to add nodes for the highest occuring node id. This may result in a lot of isolated nodes, but further increases the speed of x2(in benchmarking)
directed – [in] reads in the graph as directed, if set to true
remapNodes – [in] indicates whether nodes should be remapped to other node ids in order to create consecutive node ids
nodeCount – [in] nodeCount is used to preallocated memory for the number of nodes