firstEdgeId = start; Iterator<Edge> i = outgoingEdgeMap.values().iterator(); while (i.hasNext()) { Edge edge = i.next(); edge.setId(start++);
firstEdgeId = start; Iterator<Edge> i = edgeIterator(); while (i.hasNext()) { Edge edge = i.next(); edge.setId(start++); } maxEdgeId = start; return start;
    public int assignEdgeIds(int start) {	firstEdgeId = start;	Iterator<Edge> i = outgoingEdgeMap.values().iterator();	while (i.hasNext()) {	    Edge edge = i.next();	    edge.setId(start++);	}	maxEdgeId = start;	return start;    }