python Programming Glossary: current_vertex
Finding a Eulerian Tour http://stackoverflow.com/questions/12447880/finding-a-eulerian-tour graph 0 0 tour.append start_vertex while len graph 0 current_vertex tour len tour 1 for edge in graph if current_vertex in edge.. 0 current_vertex tour len tour 1 for edge in graph if current_vertex in edge if edge 0 current_vertex current_vertex edge 1 elif.. 1 for edge in graph if current_vertex in edge if edge 0 current_vertex current_vertex edge 1 elif edge 1 current_vertex current_vertex..
|