
In
graph theory
In mathematics, graph theory is the study of '' graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''points'') which are conn ...
, an ear of an
undirected graph
In discrete mathematics, and more specifically in graph theory, a graph is a structure amounting to a set of objects in which some pairs of the objects are in some sense "related". The objects correspond to mathematical abstractions called '' v ...
''G'' is a
path
A path is a route for physical travel – see Trail.
Path or PATH may also refer to:
Physical paths of different types
* Bicycle path
* Bridle path, used by people on horseback
* Course (navigation), the intended path of a vehicle
* Desire ...
''P'' where the two endpoints of the path may coincide, but where otherwise no repetition of edges or vertices is allowed, so every internal vertex of ''P'' has
degree
Degree may refer to:
As a unit of measurement
* Degree (angle), a unit of angle measurement
** Degree of geographical latitude
** Degree of geographical longitude
* Degree symbol (°), a notation used in science, engineering, and mathemati ...
two in ''G''. An ear decomposition of an undirected graph ''G'' is a
partition of its set of edges into a sequence of ears, such that the one or two endpoints of each ear belong to earlier ears in the sequence and such that the internal vertices of each ear do not belong to any earlier ear. Additionally, in most cases the first ear in the sequence must be a cycle. An open ear decomposition or a proper ear decomposition is an ear decomposition in which the two endpoints of each ear after the first are distinct from each other.
Ear decompositions may be used to characterize several important graph classes, and as part of efficient
graph algorithm
The following is a list of well-known algorithms along with one-line descriptions for each.
Automated planning
Combinatorial algorithms
General combinatorial algorithms
* Brent's algorithm: finds a cycle in function value iterations using on ...
s. They may also be generalized from graphs to
matroid
In combinatorics, a branch of mathematics, a matroid is a structure that abstracts and generalizes the notion of linear independence in vector spaces. There are many equivalent ways to define a matroid axiomatically, the most significant being ...
s.
Characterizing graph classes
Several important classes of graphs may be characterized as the graphs having certain types of ear decompositions.
Graph connectivity
A graph is
''k''-vertex-connected if the removal of any (''k'' − 1) vertices leaves a connected subgraph, and
''k''-edge-connected if the removal of any (''k'' − 1) edges leaves a connected subgraph.
The following result is due to :
:A graph
with
is 2-vertex-connected if and only if it has an open ear decomposition.
The following result is due to :
:A graph is 2-edge-connected if and only if it has an ear decomposition.
In both cases the number of ears is necessarily equal to the
circuit rank
In graph theory, a branch of mathematics, the circuit rank, cyclomatic number, cycle rank, or nullity of an undirected graph is the minimum number of edges that must be removed from the graph to break all its cycle (graph theory), cycles, making ...
of the given graph. Robbins introduced the ear decomposition of 2-edge-connected graphs as a tool for proving the
Robbins theorem, that these are exactly the graphs that may be given a
strongly connected
In the mathematical theory of directed graphs, a graph is said to be strongly connected if every vertex is reachable from every other vertex. The strongly connected components of an arbitrary directed graph form a partition into subgraphs that ...
orientation. Because of the pioneering work of Whitney and Robbins on ear decompositions, an ear decomposition is sometimes also called a Whitney–Robbins synthesis .
A non-separating ear decomposition is an open ear decomposition such that, for each vertex ''v'' with only one exception, ''v'' has a neighbor whose first appearance in the decomposition is in a later ear than the first appearance of ''v''. This type of ear decomposition may be used to generalize Whitney's result:
:A graph
with
is 3-vertex-connected if and only if ''G'' has a non-separating ear decomposition.
If such a decomposition exists, it can be chosen with respect to a particular edge ''uv'' of ''G'' in such a way that ''u'' is in the first ear, ''v'' is the new vertex in the last ear with more than one edge, and ''uv'' is a single-edge ear.
This result was first stated explicitly by , but as describes, it is equivalent to a result in the 1971 Ph.D. thesis of Lee Mondshein. Structures closely related to non-separating ear decompositions of maximal planar graphs, called canonical orderings, are also a standard tool in
graph drawing
Graph drawing is an area of mathematics and computer science combining methods from geometric graph theory and information visualization to derive two-dimensional depictions of graphs arising from applications such as social network analysis, car ...
.
Strong connectivity of directed graphs
The above definitions can also be applied to
directed graph
In mathematics, and more specifically in graph theory, a directed graph (or digraph) is a graph that is made up of a set of vertices connected by directed edges, often called arcs.
Definition
In formal terms, a directed graph is an ordered pai ...
s. An ear would then be a directed path where all internal vertices have
indegree
In mathematics, and more specifically in graph theory, a directed graph (or digraph) is a graph that is made up of a set of vertices connected by directed edges, often called arcs.
Definition
In formal terms, a directed graph is an ordered pa ...
and
outdegree
In mathematics, and more specifically in graph theory, a directed graph (or digraph) is a graph that is made up of a set of vertices connected by directed edges, often called arcs.
Definition
In formal terms, a directed graph is an ordered pai ...
equal to 1. A directed graph is
strongly connected
In the mathematical theory of directed graphs, a graph is said to be strongly connected if every vertex is reachable from every other vertex. The strongly connected components of an arbitrary directed graph form a partition into subgraphs that ...
if it contains a directed path from every vertex to every other vertex. Then we have the following theorem :
:A directed graph is strongly connected if and only if it has an ear decomposition.
Factor-critical graphs
An ear decomposition is ''odd'' if each of its ears uses an odd number of edges. A
factor-critical graph
In graph theory, a mathematical discipline, a factor-critical graph (or hypomatchable graph.) is a graph with vertices in which every subgraph of vertices has a perfect matching. (A perfect matching in a graph is a subset of its edges with the p ...
is a graph with an odd number of vertices, such that for each vertex ''v'', if ''v'' is removed from the graph then the remaining vertices have a
perfect matching
In graph theory, a perfect matching in a graph is a matching that covers every vertex of the graph. More formally, given a graph , a perfect matching in is a subset of edge set , such that every vertex in the vertex set is adjacent to exactly ...
. found that:
:A graph ''G'' is factor-critical if and only if ''G'' has an odd ear decomposition.
More generally, a result of makes it possible to find in any graph ''G'' the ear decomposition with the fewest even ears.
Series–parallel graphs
A ''tree'' ear decomposition is a proper ear decomposition in which the first ear is a single edge and for each subsequent ear
, there is a single ear
,
, such that both endpoints of
lie on
. A ''nested'' ear decomposition is a tree ear decomposition such that, within each ear
, the set of pairs of endpoints of other ears
that lie within
form a set of nested intervals. A
series–parallel graph
In graph theory, series–parallel graphs are graphs with two distinguished vertices called ''terminals'', formed recursively by two simple composition operations. They can be used to model series and parallel electric circuits.
Definition and t ...
is a graph with two designated terminals ''s'' and ''t'' that can be formed recursively by combining smaller series–parallel graphs in one of two ways: series composition (identifying one terminal from one smaller graph with one terminal from the other smaller graph, and keeping the other two terminals as the terminals of the combined graph) and parallel composition (identifying both pairs of terminals from the two smaller graphs).
The following result is due to :
:A 2-vertex-connected graph is series–parallel if and only if it has a nested ear decomposition.
Moreover, any open ear decomposition of a 2-vertex-connected series–parallel graph must be nested. The result may be extended to series–parallel graphs that are not 2-vertex-connected by using open ear decompositions that start with a path between the two terminals.
Matroids
The concept of an ear decomposition can be extended from graphs to
matroid
In combinatorics, a branch of mathematics, a matroid is a structure that abstracts and generalizes the notion of linear independence in vector spaces. There are many equivalent ways to define a matroid axiomatically, the most significant being ...
s. An ear decomposition of a matroid is defined to be a sequence of circuits of the matroid, with two properties:
* each circuit in the sequence has a nonempty intersection with the previous circuits, and
* each circuit in the sequence remains a circuit even if all previous circuits in the sequence are contracted.
When applied to the
graphic matroid
In the mathematical theory of matroids, a graphic matroid (also called a cycle matroid or polygon matroid) is a matroid whose independent sets are the forests in a given finite undirected graph. The dual matroids of graphic matroids are called c ...
of a graph ''G'', this definition of an ear decomposition coincides with the definition of a proper ear decomposition of ''G'': improper decompositions are excluded by the requirement that each circuit include at least one edge that also belongs to previous circuits. Using this definition, a matroid may be defined as factor-critical when it has an ear decomposition in which each circuit in the sequence has an odd number of new elements .
Algorithms
On classical computers, ear decompositions of 2-edge-connected graphs and open ear decompositions of 2-vertex-connected graphs may be found by
greedy algorithms
A greedy algorithm is any algorithm that follows the problem-solving heuristic of making the locally optimal choice at each stage. In many problems, a greedy strategy does not produce an optimal solution, but a greedy heuristic can yield locally ...
that find each ear one at a time. A simple greedy approach that computes at the same time ear decompositions, open ear decompositions, st-numberings and -orientations in linear time (if exist) is given in . The approach is based on computing a special ear decomposition named
chain decomposition
In mathematics, in the areas of order theory and combinatorics, Dilworth's theorem characterizes the width of any finite partially ordered set in terms of a partition of the order into a minimum number of chains. It is named for the mathematician ...
by one path-generating rule. shows that non-separating ear decompositions may also be constructed in linear time.
, , and provided efficient
parallel algorithm
In computer science, a parallel algorithm, as opposed to a traditional serial algorithm, is an algorithm which can do multiple operations in a given time. It has been a tradition of computer science to describe serial algorithms in abstract machine ...
s for constructing ear decompositions of various types. For instance, to find an ear decomposition of a 2-edge-connected graph, the algorithm of proceeds according to the following steps:
# Find a
spanning tree
In the mathematical field of graph theory, a spanning tree ''T'' of an undirected graph ''G'' is a subgraph that is a tree which includes all of the vertices of ''G''. In general, a graph may have several spanning trees, but a graph that is no ...
of the given graph and choose a root for the tree.
# Determine, for each edge ''uv'' that is not part of the tree, the distance between the root and the
lowest common ancestor
In graph theory and computer science, the lowest common ancestor (LCA) (also called least common ancestor) of two nodes and in a tree or directed acyclic graph (DAG) is the lowest (i.e. deepest) node that has both and as descendants, where ...
of ''u'' and ''v''.
# For each edge ''uv'' that is part of the tree, find the corresponding "master edge", a non-tree edge ''wx'' such that the cycle formed by adding ''wx'' to the tree passes through ''uv'' and such that, among such edges, ''w'' and ''x'' have a lowest common ancestor that is as close to the root as possible (with ties broken by edge identifiers).
# Form an ear for each non-tree edge, consisting of it and the tree edges for which it is the master, and order the ears by their master edges' distance from the root (with the same tie-breaking rule).
These algorithms may be used as subroutines for other problems including testing connectivity, recognizing series–parallel graphs, and constructing ''st''-numberings of graphs (an important subroutine in
planarity testing
In graph theory, the planarity testing problem is the algorithmic problem of testing whether a given graph is a planar graph (that is, whether it can be drawn in the plane without edge intersections). This is a well-studied problem in computer scie ...
).
An ear decomposition of a given matroid, with the additional constraint that every ear contains the same fixed element of the matroid, may be found in
polynomial time
In computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by ...
given access to an
independence oracle
In mathematics and computer science, a matroid oracle is a subroutine through which an algorithm may access a matroid, an abstract combinatorial structure that can be used to describe the linear dependencies between vectors in a vector space or th ...
for the matroid .
References
*
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
{{refend
Graph theory objects
Matroid theory