jirka-fink
jirka-fink
Thanks for considering another API. Especially for weighted graphs need them. Here are my thoughts: Should functions vertices and edges be required? There are algorithms like DFS, Dijkstra, A* and...
Let me emphasize that I use tuples in the adjacency lists only for demonstration purposes. My goal was to show that there should be a function which returns pairs of...
OK. So I would recommend to change the API so that a weight matrix is no longer needed and every representation of a weighted graph is required to provide functions...