I am looking for advice on what would be a reasonable or useful generalization of vertex- and edge-connectivity to the graphs with 0 and 1 vertices (null graph and singleton graph).
Motivation: Creating a software package that computes these quantities, as well as checks connectivity and biconnectivity.
It is often practically useful for such software not to explicitly fail for similar edge cases, but return a result anyway. For example, in Mathematica Min[{}]
and Max[{}]
are Infinity
and -Infinity
respectively, Total[{}]
is 0
, etc.
Similar questions have been discussed here before: Is the empty graph connected?
Specific issues:
What is the edge and vertex connectivity of the graph with no vertices, $K_0$?
What is the edge and vertex connectivity of the graph with one vertex, $K_1$?
Is $K_2$ bi-connected? It is often considered to be, even though its vertex connectivity is 1.
Similarly, is $K_3$ tri-connected, etc.?
I am looking for reasons why a particular choice would be useful or consistent with various theorems, other definitions, etc.