Documentation FPractical Work
Documentation FPractical Work
Implementation
In order to implement the Graph class, we used the Python-specific dynamically
allocated lists, an unordered set for vertices, as well as dictionaries to retain the the
“in” and “out” neighbours, and the cost of each edge.