Anders and Briegel in Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
254B

  1. from abp.graphstate import GraphState
  2. def demograph():
  3. """ A graph for testing with """
  4. g = GraphState([0,1,2,3,100,200])
  5. g.add_edge(0, 1)
  6. g.add_edge(1, 2)
  7. g.add_edge(2, 0)
  8. g.add_edge(0, 3)
  9. g.add_edge(100, 200)
  10. return g