Created
March 19, 2018 23:19
-
-
Save Shadid12/28b0339878d35e1b976d682c2969233d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from routes import Routes | |
# Graph: AB5, BC4, CD8, DC8, DE6, AD5, CE2, EB3, AE7 | |
graph = { | |
'A': {'B': 5, 'D': 5, 'E': 7 }, | |
'B': {'C': 4}, | |
'C': {'D': 8, 'E': 2}, | |
'D': {'C': 8, 'E': 6}, | |
'E': {'B': 3} | |
} | |
r = Routes(graph) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment