-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi, I've noticed that the NetworKit shortest-path benchmark is executed with
distance.BFS(g, node_index).run()
However, with this API NetworKit will also store all shortest paths from node_index
to all the other nodes, which implies a significant memory and time overhead. This behavior is a bit counterintuitive, and should be better documented, one does not expect BFS to store by default all shortest paths.
Since the other tools only compute the shortest distances, for a fair comparison you should run this:
distance.BFS(g, node_index, storePaths=False).run()
Metadata
Metadata
Assignees
Labels
No labels