Indegrees and outdegrees of multigraph orientations #
The indegree of a vertex under an orientation of a multigraph with finitely many actual edges counts the actual edges whose chosen head is that vertex; the outdegree counts those whose chosen tail is that vertex. Parallel edges are counted separately and a loop contributes one to each. Reversal exchanges the two counts, and summing either over all vertices counts every edge once.
On a vertex set S, the total indegree lies between the number of edges internal to S and the
number of edges incident with S: an internal edge has its head in S, and an edge with its head
in S is incident with S. These are the necessary conditions of the prescribed and bounded
indegree theorems.
Main declarations #
Graph.Orientation.indegree,Graph.Orientation.outdegree: the two degree counts.Graph.Orientation.sum_indegree: the indegrees sum to the number of actual edges.Graph.Orientation.card_internalEdges_le_sum_indegreeandGraph.Orientation.sum_indegree_le_card_incidentEdges: the bounds on total indegree.
The number of actual edges whose chosen head is v. A loop at v counts once.
Instances For
The number of actual edges whose chosen tail is v. A loop at v counts once.
Instances For
The total indegree on S counts the actual edges whose head lies in S.
The indegrees of an orientation sum to the number of actual edges, loops included.
The outdegrees of an orientation sum to the number of actual edges, loops included.
Every edge internal to S has its head in S, so it is counted by the total indegree on
S.
Every edge with its head in S is incident with S, so the total indegree on S is at most
the number of edges incident with S.