Guest User

Untitled

a guest
Jul 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. # A Node is an str
  2. # An Edge is tuple(Node, Node)
  3. # A Graph is a list(Graph)
  4.  
  5.  
  6. example_graph = [
  7. ("A", "B"),
  8. ("A", "E"),
  9. ("B", "E"),
  10. ("B", "F"),
  11. ("C", "D"),
  12. ("E", "C"),
  13. ("E", "F"),
  14. ("F", "G")]
Add Comment
Please, Sign In to add comment