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.[1] 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.
The finite indifference graphs may be equivalently characterized as
u
v
w
uw
uv
vw
For infinite graphs, some of these definitions may differ.
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 graphs, something that is not true of interval graphs more generally.
In the Erdős–Rényi model of random graphs, an
n
n2/3
n2/3
The bandwidth of an arbitrary graph
G
G
Every connected indifference graph has a Hamiltonian path.[13] An indifference graph has a Hamiltonian cycle if and only if it is biconnected.[14]
Indifference graphs obey the reconstruction conjecture: they are uniquely determined by their vertex-deleted subgraphs.[15]
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 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 problem), and filters the resulting list of pairs for the ones whose unrounded values are also within one of each other.[16]
It is possible to test whether a given graph is an indifference graph in linear time, by using PQ trees 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.[4] It is also possible to base a recognition algorithm for indifference graphs on chordal graph recognition algorithms.[14] Several alternative linear time recognition algorithms are based on breadth-first search or lexicographic breadth-first search rather than on the relation between indifference graphs and interval graphs.[17] [18] [19] [20]
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 for these graphs, to solve the shortest path problem, and to construct Hamiltonian paths and maximum matchings, all in linear time.[4] A Hamiltonian cycle can be found from a proper interval representation of the graph in time
O(nlogn)
List coloring remains NP-complete even when restricted to indifference graphs.[23] However, it is fixed-parameter tractable when parameterized by the total number of colors in the input.[12]
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.[1] [24]
In bioinformatics, 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.[25]