[Networkit] Error report KONECT reader

Christian Staudt christian.staudt at kit.edu
Thu Oct 1 16:20:19 CEST 2015

Thank you Max, this fixed my issue.

On 01 Oct 2015, at 15:32, Maximilian Vogel <maximilian.vogel at student.kit.edu> wrote:

> On 01.10.2015 13:08, Christian Staudt wrote:
>> Is the file actually malformed or could the reader be more robust?
> Both. :)
> The line contains two spaces between the second and third number and therefore the split-operation on the string creates an empty string. But the graph reader should be able to recover from that. I've pushed a quick fix[1], so you should be able to read the graph. As the graph is declared unweighted, the third number is ignored. I assume it's just "1" throughout the whole file anyways. Metadata/attributes as in this case the timestamp as the fourth number in a line aren't supported.
> The KONECTGraphReader definitely is a candidate for a complete reimplementation...
> [1]: https://algohub.iti.kit.edu/parco/NetworKit/NetworKit/changeset/4d151e6250eac70e380777e7855f0464f2c4c1b6
> _______________________________________________
> NetworKit mailing list
> NetworKit at ira.uni-karlsruhe.de
> https://lists.ira.uni-karlsruhe.de/mailman/listinfo/networkit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20151001/56fe9d59/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20151001/56fe9d59/attachment-0001.sig>

More information about the NetworKit mailing list