
In
graph theory, a branch of mathematics, an indifference graph is an
undirected graph constructed by assigning a
real number to each vertex and connecting two vertices by an edge when their numbers are within one unit of each other.
[.] Indifference graphs are also the
intersection graphs of sets of
unit intervals, or of properly nested intervals (intervals none of which contains any other one). Based on these two types of interval representations, these graphs are also called unit interval graphs or proper interval graphs; they form a subclass of the
interval graphs.
Equivalent characterizations

The finite indifference graphs may be equivalently characterized as
*The
intersection graphs of
unit intervals,
*The intersection graphs of sets of intervals no two of which are nested (one containing the other),
[.]
*The
claw-free In the Mathematics, mathematical and computer science field of cryptography, a group of three numbers (''x'',''y'',''z'') is said to be a claw of two permutations ''f''0 and ''f''1 if
:''f''0(''x'') = ''f''1(''y'') = ''z''.
A pair of permutations ...
interval graphs,
*The graphs that do not have an
induced subgraph isomorphic to a
claw ''K''
1,3, net (a triangle with a degree-one vertex adjacent to each of the triangle vertices), sun (a triangle surrounded by three other triangles that each share one edge with the central triangle), or hole (cycle of length four or more),
*The
incomparability graphs of
semiorders,
*The undirected graphs that have a
linear order such that, for every three vertices ordered
–
–
, if
is an edge then so are
and
[.]
*The graphs with no astral triple, three vertices connected pairwise by paths that avoid the third vertex and also do not contain two consecutive neighbors of the third vertex,
*The graphs in which each connected component contains a path in which each
maximal clique of the component forms a contiguous sub-path,
[.]
*The graphs whose vertices can be numbered in such a way that every shortest path forms a
monotonic sequence
In mathematics, a monotonic function (or monotone function) is a function between ordered sets that preserves or reverses the given order. This concept first arose in calculus, and was later generalized to the more abstract setting of orde ...
,
*The graphs whose
adjacency matrices can be ordered such that, in each row and each column, the nonzeros of the matrix form a contiguous interval adjacent to the main diagonal of the matrix.
*The induced subgraphs of powers of chordless paths.
[.]
*The
leaf powers having a leaf root which is a caterpillar.
For infinite graphs, some of these definitions may differ.
Properties
Because they are special cases of
interval graphs, indifference graphs have all the properties of interval graphs; in particular they are a special case of the
chordal graphs and of the
perfect graphs. They are also a special case of the
circle graph
In graph theory, a circle graph is the intersection graph of a chord diagram. That is, it is an undirected graph whose vertices can be associated with a finite system of chords of a circle such that two vertices are adjacent if and only if the ...
s, something that is not true of interval graphs more generally.
In the
Erdős–Rényi model of
random graphs, an
-vertex graph whose number of edges is significantly less than
will be an indifference graph with high probability, whereas a graph whose number of edges is significantly more than
will not be an indifference graph with high probability.
The
bandwidth of an arbitrary graph
is one less than the size of the
maximum clique in an indifference graph that contains
as a subgraph and is chosen to minimize the size of the maximum clique. This property parallels similar relations between
pathwidth and
interval graphs, and between
treewidth and
chordal graphs. A weaker notion of width, the
clique-width, may be arbitrarily large on indifference graphs. However, every proper subclass of the indifference graphs that is closed under
induced subgraphs has bounded clique-width.
[.]
Every
connected indifference graph has a
Hamiltonian path.
[.] An indifference graph has a
Hamiltonian cycle if and only if it is
biconnected.
[.]
Indifference graphs obey the
reconstruction conjecture: they are uniquely determined by their vertex-deleted subgraphs.
Algorithms
As with higher dimensional
unit disk graphs, it is possible to transform a set of points into their indifference graph, or a set of unit intervals into their unit interval graph, in
linear 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 ...
as measured in terms of the size of the output graph. The algorithm rounds the points (or interval centers) down to the nearest smaller integer, uses a
hash table to find all pairs of points whose rounded integers are within one of each other (the
fixed-radius near neighbors In computational geometry, the fixed-radius near neighbor problem is a variant of the nearest neighbor search problem. In the fixed-radius near neighbor problem, one is given as input a set of points in ''d''-dimensional Euclidean space and a fixed ...
problem), and filters the resulting list of pairs for the ones whose unrounded values are also within one of each other.
It is possible to test whether a given graph is an indifference graph in linear time, by using
PQ tree A PQ tree is a tree-based data structure that represents a family of permutations on a set of elements, discovered and named by Kellogg S. Booth and George S. Lueker in 1976. It is a rooted, labeled tree, in which each element is represented by one ...
s to construct an interval representation of the graph and then testing whether a vertex ordering derived from this representation satisfies the properties of an indifference graph.
It is also possible to base a recognition algorithm for indifference graphs on
chordal graph recognition algorithms.
Several alternative linear time recognition algorithms are based on
breadth-first search or
lexicographic breadth-first search
In computer science, lexicographic breadth-first search or Lex-BFS is a linear time algorithm for ordering the vertices of a graph. The algorithm is different from a breadth-first search, but it produces an ordering that is consistent with breadt ...
rather than on the relation between indifference graphs and interval graphs.
Once the vertices have been sorted by the numerical values that describe an indifference graph (or by the sequence of unit intervals in an interval representation) the same ordering can be used to find an optimal
graph coloring
In graph theory, graph coloring is a special case of graph labeling; it is an assignment of labels traditionally called "colors" to elements of a graph subject to certain constraints. In its simplest form, it is a way of coloring the vertices o ...
for these graphs, to solve the
shortest path problem
In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized.
The problem of finding the shortest path between tw ...
, and to construct
Hamiltonian paths and
maximum matchings, all in linear time.
A
Hamiltonian cycle can be found from a proper interval representation of the graph in time
,
but when the graph itself is given as input, the same problem admits linear-time solution that can be generalized to interval graphs.
List coloring In graph theory, a branch of mathematics, list coloring is a type of graph coloring where each vertex can be restricted to a list of allowed colors. It was first studied in the 1970s in independent papers by Vizing
and by Erdős, Rubin, and Taylor ...
remains
NP-complete even when restricted to indifference graphs. However, it is
fixed-parameter tractable when parameterized by the total number of colors in the input.
Applications
In
mathematical psychology, indifference graphs arise from
utility functions, by scaling the function so that one unit represents a difference in utilities small enough that individuals can be assumed to be indifferent to it.
In this application, pairs of items whose utilities have a large difference may be
partially ordered by the relative order of their utilities, giving a
semiorder.
In
bioinformatics
Bioinformatics () is an interdisciplinary field that develops methods and software tools for understanding biological data, in particular when the data sets are large and complex. As an interdisciplinary field of science, bioinformatics combi ...
, the problem of augmenting a colored graph to a properly colored unit interval graph can be used to model the detection of false negatives in
DNA sequence assembly from complete
digests.
[.]
See also
*
Threshold graph, a graph whose edges are determined by sums of vertex labels rather than differences of labels
*
Trivially perfect graph, interval graphs for which every pair of intervals is nested or disjoint rather than properly intersecting
*
Unit disk graph, a two-dimensional analogue of the indifference graphs
References
{{reflist, 30em
External links
Information System on Graph Class Inclusions
Perfect graphs
Intersection classes of graphs
Geometric graphs