In the
mathematical
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
area of
graph theory
In mathematics and computer science, graph theory is the study of ''graph (discrete mathematics), graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of ''Vertex (graph ...
, an induced path in an
undirected graph
In discrete mathematics, particularly in graph theory, a graph is a structure consisting of a set of objects where some pairs of the objects are in some sense "related". The objects are represented by abstractions called '' vertices'' (also call ...
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
* Desir ...
that is an
induced subgraph
In graph theory, an induced subgraph of a graph is another graph, formed from a subset of the vertices of the graph and ''all'' of the edges, from the original graph, connecting pairs of vertices in that subset.
Definition
Formally, let G=(V,E) ...
of . That is, it is a sequence of
vertices in such that each two adjacent vertices in the sequence are connected by an edge in , and each two nonadjacent vertices in the sequence are not connected by any edge in . An induced path is sometimes called a snake, and the problem of finding long induced paths in
hypercube graph
In graph theory, the hypercube graph is the graph formed from the vertices and edges of an -dimensional hypercube. For instance, the cubical graph, cube graph is the graph formed by the 8 vertices and 12 edges of a three-dimensional cube.
has ...
s is known as the
snake-in-the-box
The snake-in-the-box problem in graph theory and computer science deals with finding a certain kind of path along the edges of a hypercube. This path starts at one corner and travels along the edges to as many corners as it can reach. After it g ...
problem.
Similarly, an induced cycle is a
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 ...
that is an induced subgraph of ; induced cycles are also called chordless cycles or (when the length of the cycle is four or more) holes. An antihole is a hole in the
complement
Complement may refer to:
The arts
* Complement (music), an interval that, when added to another, spans an octave
** Aggregate complementation, the separation of pitch-class collections into complementary sets
* Complementary color, in the visu ...
of , i.e., an antihole is a complement of a hole.
The length of the longest induced path in a graph has sometimes been called the detour number of the graph; for
sparse graph
In mathematics, a dense graph is a Graph (discrete mathematics), graph in which the number of edges is close to the maximal number of edges (where every pair of Vertex (graph theory), vertices is connected by one edge). The opposite, a graph with ...
s, having bounded detour number is equivalent to having bounded
tree-depth
In graph theory, the tree-depth of a connected undirected graph G is a numerical invariant of G, the minimum height of a Trémaux tree for a supergraph of G. This invariant and its close relatives have gone under many different names in the lite ...
. The induced path number of a graph is the smallest number of induced paths into which the vertices of the graph may be partitioned, and the closely related path cover number of is the smallest number of induced paths that together include all vertices of . The
girth
Girth may refer to:
Mathematics
* Girth (functional analysis), the length of the shortest centrally symmetric simple closed curve on the unit sphere of a Banach space
* Girth (geometry), the perimeter of a parallel projection of a shape
* Girth ...
of a graph is the length of its shortest cycle, but this cycle must be an induced cycle as any chord could be used to produce a shorter cycle; for similar reasons the odd girth of a graph is also the length of its shortest odd induced cycle.
Example
The illustration shows a cube, a graph with eight vertices and twelve edges, and an induced path of length four in this graph. A straightforward case analysis shows that there can be no longer induced path in the cube, although it has an induced cycle of length six. The problem of finding the longest induced path or cycle in a hypercube, first posed by , is known as the
snake-in-the-box
The snake-in-the-box problem in graph theory and computer science deals with finding a certain kind of path along the edges of a hypercube. This path starts at one corner and travels along the edges to as many corners as it can reach. After it g ...
problem, and it has been studied extensively due to its applications in coding theory and engineering.
Characterization of graph families
Many important graph families can be characterized in terms of the induced paths or cycles of the graphs in the family.
* Trivially, the connected graphs with no induced path of length two are 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 i ...
s, and the connected graphs with no induced cycle are the
tree
In botany, a tree is a perennial plant with an elongated stem, or trunk, usually supporting branches and leaves. In some usages, the definition of a tree may be narrower, e.g., including only woody plants with secondary growth, only ...
s.
* A
triangle-free graph
In the mathematical area of graph theory, a triangle-free graph is an undirected graph in which no three vertices form a triangle of edges. Triangle-free graphs may be equivalently defined as graphs with clique number ≤ 2, graphs with ...
is a graph with no induced cycle of length three.
* The
cograph
In graph theory, a cograph, or complement-reducible graph, or ''P''4-free graph, is a graph that can be generated from the single-vertex graph ''K''1 by complementation and disjoint union. That is, the family of cographs is the smallest class of ...
s are exactly the graphs with no induced path of length three.
* The
chordal graphs are the graphs with no induced cycle of length four or more.
* The
even-hole-free graph
In the mathematical area of graph theory, a graph is even-hole-free if it contains no induced cycle with an even number of vertices. More precisely, the definition may allow the graph to have induced cycles of length four, or may also disallow ...
s are the graphs containing no induced cycles with an even number of vertices.
* The
trivially perfect graph
In graph theory, a trivially perfect graph is a graph with the property that in each of its induced subgraphs the size of the maximum independent set equals the number of maximal cliques. Trivially perfect graphs were first studied by but were na ...
s are the graphs that have neither an induced path of length three nor an induced cycle of length four.
* By the strong perfect graph theorem, the
perfect graph
In graph theory, a perfect graph is a Graph (discrete mathematics), graph in which the Graph coloring, chromatic number equals the size of the maximum clique, both in the graph itself and in every induced subgraph. In all graphs, the chromatic nu ...
s are the graphs with no odd hole and no odd antihole.
* The
distance-hereditary graph
In graph theory, a branch of discrete mathematics, a distance-hereditary graph (also called a completely separable graph) is a graph in which the Distance (graph theory), distances in any connected graph, connected induced subgraph are the same as ...
s are the graphs in which every induced path is a shortest path, and the graphs in which every two induced paths between the same two vertices have the same length.
* The
block graph
Block or blocked may refer to:
Arts, entertainment and media Broadcasting
* Block programming, the result of a programming strategy in broadcasting
* W242BX, a radio station licensed to Greenville, South Carolina, United States known as ''96. ...
s are the graphs in which there is at most one induced path between any two vertices, and the connected block graphs are the graphs in which there is exactly one induced path between every two vertices.
Algorithms and complexity
It is NP-complete to determine, for a graph ''G'' and parameter ''k'', whether the graph has an induced path of length at least ''k''. credit this result to an unpublished communication of
Mihalis Yannakakis
Mihalis Yannakakis (; born 13 September 1953 in Athens, Greece)[Columbia University: CV ...](_blank)
. However, this problem can be solved in polynomial time for certain graph families, such as asteroidal-triple-free graphs or graphs with no long holes.
It is also NP-complete to determine whether the vertices of a graph can be partitioned into two induced paths, or two induced cycles. As a consequence, determining the induced path number of a graph is NP-hard.
The complexity of approximating the longest induced path or cycle problems can be related to that of finding large
independent sets in graphs, by the following reduction. From any graph ''G'' with ''n'' vertices, form another graph ''H'' with twice as many vertices as ''G'', by adding to ''G'' ''n''(''n'' − 1)/2 vertices having two neighbors each, one for each pair of vertices in ''G''. Then if ''G'' has an independent set of size ''k'', ''H'' must have an induced path and an induced cycle of length 2''k'', formed by alternating vertices of the independent set in ''G'' with vertices of ''I''. Conversely, if ''H'' has an induced path or cycle of length ''k'', any maximal set of nonadjacent vertices in ''G'' from this path or cycle forms an independent set in ''G'' of size at least ''k''/3. Thus, the size of the maximum independent set in ''G'' is within a constant factor of the size of the longest induced path and the longest induced cycle in ''H''. Therefore, by the results of on inapproximability of independent sets, unless NP=ZPP, there does not exist a polynomial time algorithm for approximating the longest induced path or the longest induced cycle to within a factor of O(''n''
1/2-ε) of the optimal solution.
Holes (and antiholes in graphs without chordless cycles of length 5) in a graph with n vertices and m edges may be detected in time (n+m
2).
Atomic cycles
Atomic cycles are a generalization of chordless cycles, that contain no ''n''-chords. Given some cycle, an ''n''-chord is defined as a path of length ''n'' connecting two points on the cycle, where ''n'' is less than the length of the shortest path on the cycle connecting those points. If a cycle has no ''n''-chords, it is called an atomic cycle, because it cannot be decomposed into smaller cycles.
[.]
In the worst case, the atomic cycles in a graph can be enumerated in O(''m''
2) time, where ''m'' is the number of edges in the graph.
Notes
References
*
*
*
*
*
*
*
*
*
*
*
*
*
{{refend
Graph theory objects