d = degreeVertex(H,n)
d = degreeVertex(H,V)
The degree of a vertex in a (hyper)graph is the number of edges that contain the vertex. In a graph, the degree is also the number of elements in the neighbor set of a vertex.
|
|
|
|
|
|
|
|
|
The object degreeVertex is a method function.