public int [] compute_totaldegree() {
private int [] compute_totaldegree() {
    public int [] compute_totaldegree() {		int [] deg = new int[_graph.numVertices()];		for(int i = 0; i < _graph.numVertices(); i++) {			Vertex v = _vtx_index_tbl[i];			if (v.inEdges().equals(v.outEdges())) {				// undirected graph				deg[i] = v.inEdges().size();			} else {				// directed				deg[i] = v.inEdges().size() + v.outEdges().size();			}		}		return deg;    }