[Networkit] Best file format to read a weighted directed graph

Elisabetta Bergamini elisabetta.bergamini at kit.edu
Thu Nov 24 17:52:01 CET 2016

Hi Iroshani,

NetworKit supports several file formats, listed in the NetworKit documentation (https://networkit.iti.kit.edu/api/DevGuide.html). 
The question is how the file you want to read looks like.
For example, if your file contains, for each edge (u, v) with weight w, a line “u v w”, then you should use Format.EdgeList.
How does your file look like?


Karlsruhe Institute of Technology (KIT)
Institute of Theoretical Informatics (ITI)

Elisabetta Bergamini
Theoret. Informatics / Parallel Computing

Phone: +49-721-608-41821
Web: http://parco.iti.kit.edu/bergamini

KIT - The Research University in the Helmholtz Association

On Nov 24, 2016, at 17:22, Randeniya Vidan Jayawardene <rjayawa at g.clemson.edu> wrote:

> Hi Elisabetta,
> Thank you for your quick reply. 
> What might be the best file format to read a weighted directed graph.
> Thank you.
> Iroshani.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ira.uni-karlsruhe.de/pipermail/networkit/attachments/20161124/e3747c80/attachment.html>

More information about the NetworKit mailing list