Macaulay2 » Documentation
Packages » Graphs :: minimalDegree
next | previous | forward | backward | up | index | toc

minimalDegree -- computes the minimal degree of a graph

Description

This computes the minimal vertex degree of an undirected graph.

i1 : G = graph({{1,2}});
i2 : minimalDegree G

o2 = 1

See also

Ways to use minimalDegree:

  • minimalDegree(Graph)

For the programmer

The object minimalDegree is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Graphs.m2:2960:0.