Permutation graph

From HandWiki
Short description: Graph representing a permutation
The permutation graph and the matching diagram for the permutation (4,3,5,1,2)

In the mathematical field of graph theory, a permutation graph is a graph whose vertices represent the elements of a permutation, and whose edges represent pairs of elements that are reversed by the permutation. Permutation graphs may also be defined geometrically, as the intersection graphs of line segments whose endpoints lie on two parallel lines. Different permutations may give rise to the same permutation graph; a given graph has a unique representation (up to permutation symmetry) if it is prime with respect to the modular decomposition.[1]

Definition and characterization

If [math]\displaystyle{ \rho = (\sigma_1,\sigma_2,...,\sigma_n) }[/math] is any permutation of the numbers from [math]\displaystyle{ 1 }[/math] to [math]\displaystyle{ n }[/math], then one may define a permutation graph from [math]\displaystyle{ \sigma }[/math] in which there are [math]\displaystyle{ n }[/math] vertices [math]\displaystyle{ v_1, v_2, ..., v_n }[/math], and in which there is an edge [math]\displaystyle{ v_i v_j }[/math] for any two indices [math]\displaystyle{ i \lt j }[/math] for which [math]\displaystyle{ j }[/math] appears before [math]\displaystyle{ i }[/math] in [math]\displaystyle{ \rho }[/math]. That is, two indices [math]\displaystyle{ i }[/math] and [math]\displaystyle{ j }[/math] determine an edge in the permutation graph exactly when they determine an inversion in the permutation.

Given a permutation [math]\displaystyle{ \sigma }[/math], one may also determine a set of line segments [math]\displaystyle{ s_i }[/math] with endpoints [math]\displaystyle{ (i,0) }[/math] and [math]\displaystyle{ (k, 1) }[/math], such that [math]\displaystyle{ \sigma_k=i }[/math]. The endpoints of these segments lie on the two parallel lines [math]\displaystyle{ y=0 }[/math] and [math]\displaystyle{ y=1 }[/math], and two segments have a non-empty intersection if and only if they correspond to an inversion in the permutation. Thus, the permutation graph of [math]\displaystyle{ \sigma }[/math] coincides with the intersection graph of the segments. For every two parallel lines, and every finite set of line segments with endpoints on both lines, the intersection graph of the segments is a permutation graph; in the case that the segment endpoints are all distinct, a permutation for which it is the permutation graph may be given by numbering the segments on one of the two lines in consecutive order, and reading off these numbers in the order that the segment endpoints appear on the other line.

Permutation graphs have several other equivalent characterizations:

  • A graph [math]\displaystyle{ G }[/math] is a permutation graph if and only if [math]\displaystyle{ G }[/math] is a circle graph that admits an equator, i.e., an additional chord that intersects every other chord.[2]
  • A graph [math]\displaystyle{ G }[/math] is a permutation graph if and only if both [math]\displaystyle{ G }[/math] and its complement [math]\displaystyle{ \overline{G} }[/math] are comparability graphs.[3]
  • A graph [math]\displaystyle{ G }[/math] is a permutation graph if and only if it is the comparability graph of a partially ordered set that has order dimension at most two.[4]
  • If a graph [math]\displaystyle{ G }[/math] is a permutation graph, so is its complement. A permutation that represents the complement of [math]\displaystyle{ G }[/math] may be obtained by reversing the permutation representing [math]\displaystyle{ G }[/math].

Efficient algorithms

It is possible to test whether a given graph is a permutation graph, and if so construct a permutation representing it, in linear time.[5]

As a subclass of the perfect graphs, many problems that are NP-complete for arbitrary graphs may be solved efficiently for permutation graphs. For instance:

  • the largest clique in a permutation graph corresponds to the longest decreasing subsequence in the permutation defining the graph, so the clique problem may be solved in polynomial time for permutation graphs by using a longest decreasing subsequence algorithm.[6]
  • likewise, an increasing subsequence in a permutation corresponds to an independent set of the same size in the corresponding permutation graph.
  • the treewidth and pathwidth of permutation graphs can be computed in polynomial time; these algorithms exploit the fact that the number of inclusion minimal vertex separators in a permutation graph is polynomial in the size of the graph.[7]

Relation to other graph classes

Permutation graphs are a special case of circle graphs, comparability graphs, the complements of comparability graphs, and trapezoid graphs.

The subclasses of the permutation graphs include the bipartite permutation graphs (characterized by Spinrad, Brandstädt & Stewart 1987) and the cographs.

Notes

  1. (Brandstädt Le), p.191.
  2. (Brandstädt Le), Proposition 4.7.1, p.57.
  3. (Dushnik Miller).
  4. (Baker Fishburn).
  5. (McConnell Spinrad).
  6. (Golumbic 1980).
  7. (Bodlaender Kloks)

References

External links