void function ( int arg0 , int arg1 , int arg2 ) { Vertex loc0 = verts . get ( arg0 ) ; Vertex loc1 = verts . get ( arg1 ) ; Edge loc2 = new Edge ( loc0 , loc1 , arg2 ) ; loc0 . Adj . add ( loc2 ) ; loc1 . Adj . add ( loc2 ) ; edges . add ( loc2 ) ; }
method to add an edge to the graph concode_field_sep int numNodes concode_elem_sep List<Edge> edges concode_elem_sep Iterator<Vertex> it concode_elem_sep List<Vertex> verts concode_field_sep Vertex next concode_elem_sep Iterator<Vertex> iterator concode_elem_sep void clearVertexCount concode_elem_sep Graph readGraph concode_elem_sep void clearVertexSeen concode_elem_sep boolean hasNext concode_elem_sep Vertex initialize concode_elem_sep Vertex getVertex concode_elem_sep void addDirectedEdge concode_elem_sep void remove