(g, v, i, j)
return max([ _rec_degree_in(c, v, i, j) for c in g ])
Recursive helper function for :func:`dmp_degree_in`.
Recursive helper function for :func:`dmp_degree_in`.
Recursive helper function for : func : dmp_degree_in .
def _rec_degree_in(g, v, i, j):
    """Recursive helper function for :func:`dmp_degree_in`."""
    if i == j:
        return dmp_degree(g, v)

    v, i = v - 1, i + 1

    return max([ _rec_degree_in(c, v, i, j) for c in g ])
def _rec_degree_in ( g , v , i , j ) : if i == j : return dmp_degree ( g , v ) v , i = v - 1 , i + 1 return max ( [ _rec_degree_in ( c , v , i , j ) for c in g ] )