Refactor naming scheme

This commit is contained in:
Johann Dreo 2014-03-22 18:23:22 +01:00
commit 35d9475033
5 changed files with 11 additions and 11 deletions

View file

@ -1,10 +0,0 @@
def graph( segments ):
graph = {}
for start,end in segments:
graph[start] = graph.get( start, [] )
graph[start].append( end )
graph[end] = graph.get( end, [] )
graph[end].append( start )
return graph