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.
The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/EdgeIdeals.m2:2391:0.