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 ...
, a cactus (sometimes called a cactus tree) is a
connected graph in which any two simple
cycle
Cycle, cycles, or cyclic may refer to:
Anthropology and social sciences
* Cyclic history, a theory of history
* Cyclical theory, a theory of American political history associated with Arthur Schlesinger, Sr.
* Social cycle, various cycles in soc ...
s have at most one
vertex in common. Equivalently, it is a connected graph in which every edge belongs to at most one simple cycle, or (for nontrivial cactus) in which every block (maximal subgraph without a
cut-vertex
In graph theory, a biconnected component (sometimes known as a 2-connected component) is a maximal biconnected subgraph. Any connected graph decomposes into a tree of biconnected components called the block-cut tree of the graph. The blocks a ...
) is an edge or a cycle.
Properties
Cacti are
outerplanar graphs. Every
pseudotree is a cactus. A nontrivial graph is a cactus if and only if every
block is either a
simple cycle or a single edge.
The family of graphs in which each
component is a cactus is
downwardly closed under
graph minor
In graph theory, an undirected graph is called a minor of the graph if can be formed from by deleting edges and vertices and by contracting edges.
The theory of graph minors began with Wagner's theorem that a graph is planar if and only i ...
operations. This graph family may be characterized by a single
forbidden minor
In graph theory, a branch of mathematics, many important families of graphs can be described by a finite set of individual graphs that do not belong to the family and further exclude all graphs from the family which contain any of these forbidde ...
, the four-vertex
diamond graph formed by removing an edge from the
complete graph
In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices ...
''K''
4.
Triangular cactus

A triangular cactus is a special type of cactus graph such that each cycle has length three and each edge belongs to a cycle. For instance, the
friendship graphs, graphs formed from a collection of triangles joined together at a single shared vertex, are triangular cacti. As well as being cactus graphs the triangular cacti are also
block graphs and
locally linear graphs.
Triangular cactuses have the property that they remain connected if any
matching is removed from them; for a given number of vertices, they have the fewest possible edges with this property. Every tree with an odd number of vertices may be augmented to a triangular cactus by adding edges to it,
giving a minimal augmentation with the property of remaining connected after the removal of a matching.
The largest triangular cactus in any graph 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 ...
using an algorithm for the
matroid parity problem. Since triangular cactus graphs are
planar graph
In graph theory, a planar graph is a graph that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. In other words, it can be drawn in such a way that no edges cro ...
s, the largest triangular cactus can be used as an approximation to the largest planar subgraph, an important subproblem in
planarization. As an
approximation algorithm
In computer science and operations research, approximation algorithms are efficient algorithms that find approximate solutions to optimization problems (in particular NP-hard problems) with provable guarantees on the distance of the returned solu ...
, this method has
approximation ratio 4/9, the best known for the maximum planar subgraph problem.
The algorithm for finding the largest triangular cactus is associated with a theorem of Lovász and Plummer that characterizes the number of triangles in this largest cactus.
Lovász and Plummer consider pairs of partitions of the vertices and edges of the given graph into subsets, with the property that every triangle of the graph either has two vertices in a single class of the vertex partition or all three edges in a single class of the edge partition; they call a pair of partitions with this property ''valid''.
Then the number of triangles in the largest triangular cactus equals the maximum, over pairs of valid partitions
and
, of
:
,
where
is the number of vertices in the given graph and
is the number of vertex classes met by edge class
.
Recently, a tight extremal bound was proven which showed that given any
plane graph , there always exist a cactus subgraph
containing at least
fraction of the triangular faces of
. This result implies a direct analysis of the 4/9 - approximation algorithm for maximum planar subgraph problem without using the above min-max formula.
Rosa's Conjecture
An important conjecture related to the triangular cactus is the Rosa's Conjecture, named after Alexander Rosa, which says that all triangular cacti are
graceful or nearly-graceful.
[.] More precisely
''All triangular cacti with t ≡ 0, 1 mod 4 blocks are graceful, and those with t ≡ 2, 3 mod 4 are near graceful.''
Algorithms and applications
Some
facility location problems which are
NP-hard for general graphs, as well as some other graph problems, may be solved 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 ...
for cacti.
Since cacti are special cases of
outerplanar graphs, a number of
combinatorial optimization problems on graphs may be solved for them 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 ...
.
Cacti represent
electrical circuit
An electrical network is an interconnection of electrical components (e.g., batteries, resistors, inductors, capacitors, switches, transistors) or a model of such an interconnection, consisting of electrical elements (e.g., voltage sour ...
s that have useful properties. An early application of cacti was associated with the representation of op-amps.
Cacti have also been used in
comparative genomics as a way of representing the relationship between different genomes or parts of genomes.
If a cactus is connected, and each of its vertices belongs to at most two blocks, then it is called a Christmas cactus. Every
polyhedral graph has a Christmas cactus subgraph that includes all of its vertices, a fact that plays an essential role in a proof by that every polyhedral graph has a
greedy embedding in the
Euclidean plane, an assignment of coordinates to the vertices for which
greedy forwarding succeeds in routing messages between all pairs of vertices.
In
topological graph theory, the graphs whose
cellular embeddings are all
planar are exactly the subfamily of the cactus graphs with the additional property that each vertex belongs to at most one cycle. These graphs have two forbidden minors, the diamond graph and the five-vertex
friendship graph.
History
Cacti were first studied under the name of Husimi trees, bestowed on them by
Frank Harary
Frank Harary (March 11, 1921 – January 4, 2005) was an American mathematician, who specialized in graph theory. He was widely recognized as one of the "fathers" of modern graph theory.
Harary was a master of clear exposition and, together with ...
and
George Eugene Uhlenbeck in honor of previous work on these graphs by
Kôdi Husimi. The same Harary–Uhlenbeck paper reserves the name "cactus" for graphs of this type in which every cycle is a triangle, but now allowing cycles of all lengths is standard.
Meanwhile, the name Husimi tree commonly came to refer to graphs in which every
block is a
complete graph
In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices ...
(equivalently, the intersection graphs of the blocks in some other graph). This usage had little to do with the work of Husimi, and the more pertinent term
block graph is now used for this family; however, because of this ambiguity this phrase has become less frequently used to refer to cactus graphs.
[See, e.g., , a 1983 review by Robert E. Jamison of a paper using the other definition, which attributes the ambiguity to an error in a book by Mehdi Behzad and Gary Chartrand.]
References
{{reflist, colwidth=30em
External links
Application of Cactus Graphs in Analysis and Design of Electronic Circuits
Graph families
Planar graphs
Integrated circuits