1 / 63

The Complexity of the Evolution of Graph Labelings

The Complexity of the Evolution of Graph Labelings. Geir Agnarsson Raymond Greenlaw Sanpawat Kantabutra. Outline. Introduction Preliminaries and Problem Definitions Relating Vertex and Edge Relabeling Tight Bounds for the Relabeling Problem Relabeling with Privileged Labels Open Problems

blaine
Download Presentation

The Complexity of the Evolution of Graph Labelings

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Complexity of the Evolution of Graph Labelings Geir Agnarsson Raymond Greenlaw Sanpawat Kantabutra

  2. Outline • Introduction • Preliminaries and Problem Definitions • Relating Vertex and Edge Relabeling • Tight Bounds for the Relabeling Problem • Relabeling with Privileged Labels • Open Problems • References

  3. Outline • Introduction • Preliminaries and Problem Definitions • Relating Vertex and Edge Relabeling • Tight Bounds for the Relabeling Problem • Relabeling with Privileged Labels • Open Problems • References

  4. Introduction • Graph labeling is a well-studied subject in computer science and mathematics. • Problem that has widespread applications, including in many other disciplines. • Graph Relabeling Problem is a variant of graph labeling. • See next slide for example.

  5. Introduction • Two configurations, a “start” and “goal” are given. Transform the “start” to the “goal” configuration with certain conditions on the movement of labels.

  6. Introduction • Presentation of new results and the extension of existing results; in particular, • NC1 reduce the Vertex Relabeling problem to the Edge Relabeling Problem and vice versa. • Provide upper and lower bounds on the complexity of the Vertex and Edge Relabeling Problems. • Provide precise characterizations of when instances of relabeling with privileged labels are solvable.

  7. Introduction • A number of puzzles can be viewed as relabeled graphs. • One of the most famous is the 15-Puzzle which consists of 15 tiles on a 4 x 4 board with one position empty. • Graph labeling has been studied (and continues to have ongoing research) in the context of cartography, codings, colorings, and rankings.

  8. Introduction • Applications in bioinformatics, networks, and VLSI; also appear in unexpected places. • Graph Relabeling Problem can model a wormhole routing in processor networks. • Well-known Pancake Flipping Problem can be modeled as a special case of our problem.

  9. Outline • Introduction • Preliminaries and Problem Definitions • Relating Vertex and Edge Relabeling • Tight Bounds for the Relabeling Problem • Relabeling with Privileged Labels • Open Problems • References

  10. Preliminaries and Problem Definitions • Let SV, SEN = {1,2,…}. • A labeling LV of V is a mapping LV: V  SV. • A labeling LE of E is a mapping LE: ESE. • SV = {1,2,…,n} and SE = {1,2,…,m}. • Graphs are associated with labelings using angle bracket notation. • A mutation or flip function f maps triples <G, LV,LE> to triples <G, L′V,L′E>.

  11. Preliminaries and Problem Definitions • A consecutive vertex mutation function is defined where f maps a pair <G, LV> to a pair <G, L′V> with the following conditions: • LV = L′V, except on two vertices u and w. • {u, w} E. • LV(u) = L′V(w) and LV(w) = L′V(u). • SV = {1,2,…,n}. • f is a bijection.

  12. Preliminaries and Problem Definitions Vertex Relabeling Problem • Instance: A graph G, labelings LV and L′V, and tN. • Question: Can labeling LV evolve into L′V in t or fewer vertex mutations?

  13. Preliminaries and Problem Definitions Edge Relabeling Problem • Instance: A graph G, labelings LE and L′E, and tN. • Question: Can labeling LE evolve into L′E in t or fewer edge mutations?

  14. Outline • Introduction • Preliminaries and Problem Definitions • Relating Vertex and Edge Relabeling • Tight Bounds for the Relabeling Problem • Relabeling with Privileged Labels • Open Problems • References

  15. Relating Vertex and Edge Relabeling Theorem (Vertex/Edge Relabeling Related) • Vertex Relabeling Problem is NC1 many-one reducible to the Edge Relabeling Problem, and the Edge Relabeling Problem is NC1 many-one reducible to the Vertex Relabeling Problem.

  16. Outline • Introduction • Preliminaries and Problem Definitions • Relating Vertex and Edge Relabeling • Tight Bounds for the Relabeling Problem • Relabeling with Privileged Labels • Open Problems • References

  17. Tight Bounds for the Relabeling Problem Theorem (Vertex Relabeling Upper Bound) • Let G = (V,E) be a graph, LV and L′V vertex labelings, and t = n(n — 1)/2, then the answer to the Vertex Relabeling Problem is YES. That is, any labeled graph can evolve into any other labeled graph in at most n(n — 1)/2 mutations.

  18. Tight Bounds for the Relabeling Problem Theorem (Vertex Relabeling Upper Bound) • Proof: • Consider the number of mutations required to change an arbitrary labeling LV into an arbitrary labeling L′V. • Construct a spanning tree T of G. Let p1p2 … pn be vertex numbers (not labels) that denote the Prüfer code order when the leaves of T are deleted during the process of constructing a Prüfer code. • Note, pj {vi | 1 ≤i≤n} for 1 ≤j≤n.

  19. Tight Bounds for the Relabeling Problem Theorem (Vertex Relabeling Upper Bound) • Proof (cont.): • Not interested in the actual Prüfer code itself but rather just the leaf elimination order. • Mutate labels from LV into their positions in L′V in the order specified by the pi’s and along the path in the spanning tree from their starting position in LV to their final position in L′V .

  20. Tight Bounds for the Relabeling Problem Theorem (Vertex Relabeling Upper Bound) • Proof (cont.): • To move L′V(p1) from the initial labeling to its final position can take at most n — 1 mutations. Note, p1 is an initial leaf in T, and T contains at most n – 1 edges. • To move L′ (p2) from the initial labeling to its final position, we need at most n — 2 mutations, since L′ (p1) is already in its rightful place.

  21. Tight Bounds for the Relabeling Problem Theorem (Vertex Relabeling Upper Bound) • Proof (cont.): • After k iterations, where all of the labels L′V(p1) through and including L′ (pk) are in their correct places, then, to move L′V(p(k+1)) to its correct place, we need at most n – k – 1 mutations, since the remaining spanning tree induced by the vertex set, V(T) — {pi | 1 ≤i≤k} has at most n — k — 1 edges.

  22. Tight Bounds for the Relabeling Problem Theorem (Vertex Relabeling Upper Bound) • Proof (cont.): • No mutations are performed in locations of the tree that have already been completed. • The total number of mutations is therefore at most n(n — 1)/2. □

  23. Tight Bounds for the Relabeling Problem Corollary (Edge Relabeling Upper Bound) • Let G = (V,E) be a graph, LE and L′E edge labelings, and t = m(m — 1)/2, then the answer to the Edge Relabeling Problem is YES. That is, any labeled graph can evolve into any other labeled graph in at most m(m — 1)/2 mutations.

  24. Tight Bounds for the Relabeling Problem Theorem (Lower Bounds for Relabeling Graphs) [Muir 1882] • There is a graph G = (V,E), labelings LV and L′V, and t = (n(n — 1)/2) — 1 such that the Vertex Relabeling Problem has an answer of NO. That is, there exist two labelings that require n(n — 1)/2 mutations to evolve one into the other. There is a graph H = (V′,E′), labelings LE′ and L′E′, and t = (m(m— 1)/2) — 1 such that the Edge Relabeling Problem has an answer of NO.

  25. Tight Bounds for the Relabeling Problem Theorem (Lower Bounds for Relabeling Graphs) • Proof: We provide two vertex labelings on a path that require n(n — 1)/2 mutations to be evolved from one to the other. • For convenience, a labeling is represented by a permutation of {1,2,…,n}. • There exists a permutation, namely, n(n — 1)…1, where at least n(n — 1)/2 mutations are needed to obtain it from the permutation 1 2 … n.

  26. Tight Bounds for the Relabeling Problem Theorem (Lower Bounds for Relabeling Graphs) • Proof (cont.): If we use fewer than n(n — 1)/2 mutations on 1 2 … n, we can not end up with n(n — 1)…1. • View the permutation a1a2…an as a string s. • Continued…

  27. Tight Bounds for the Relabeling Problem Theorem (Lower Bounds for Relabeling Graphs) • Attach a unique parameter p(s) to each string by letting p(s) be the number of occurrences ai and aj, where ai > aj among all i < j, so p(s) = |{{i,j} : 1 ≤i<j≤n and ai > aj}|. • p(s) is the number of inversions of the permutation.

  28. Tight Bounds for the Relabeling Problem Theorem (Lower Bounds for Relabeling Graphs) • Proof (cont.): There are exactly n(n — 1)/2 pairs i < j if i and j are among 1,2,…,n, so for every such strings s, we clearly have 0 ≤p(s) ≤n(n — 1)/2. • Each mutation reduces or increases the value of p(.) by exactly one. If s′ is the string obtained from s, then |p(s′)–p(s)| = 1, the absolute value of p(s′)–p(s) equals 1.

  29. Tight Bounds for the Relabeling Problem Theorem (Lower Bounds for Relabeling Graphs) • Proof (cont.): Since p(1 2…n) = 0 and p(n(n — 1)…1) = n(n — 1)/2, we need at least n(n — 1)/2 mutations to obtain n(n — 1)…1 from 1 2…n. In fact, we can use exactly n(n — 1)/2 mutations to obtain n(n — 1)…1 from 1 2…n. • This shows there are graphs and vertex labelings that require n(n — 1)/2 mutations. □

  30. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) [Muir 1882] • Let Pn be the path on n vertices, LV and L′V vertex labelings, and tN. Then the answer to the Vertex Relabeling Problem is YES if and only if t ≥ p(LV,L′V). • Proof: For the sake of simplicity, assume we are to evolve s into s′.

  31. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) • Proof (cont.): A mutate sequence is a sequence of strings with s0 = s, sm = s′, and where si+1 is obtained from si by a single mutation, 0 ≤i≤m — 1. • In this case, we have for an arbitrary labeling s = a1a2 … an that the parameter p(.) satisfies

  32. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) • Proof (cont.): We now argue by using induction on n that p(s) mutations suffice to evolve s into s′. This is clearly true for n = 2. • Assume this assertion is true for length (n — 1)-strings, and let s = a1a2…an be such that n = ai, for a fixed i, 1 ≤i≤n. In this case, we have p(s) = n — i + p(ŝ), where ŝ = a1…ai-1ai+1…an.

  33. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) • Proof (cont.): Clearly in s we can move n = ai to the rightmost position by precisely n — i mutations. • By induction, we can obtain 1 2 … (n — 1) from ŝ by p(ŝ) mutations. Hence, we are able to evolve s into s′ using p(s) mutations.

  34. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) • Proof (cont.): If we have two vertex labelings LV and L′V of the vertices of the path Pn, we can define the corresponding relative parameter p(LV,L′V), as p(s), where s is the unique permutation obtained from LV by renaming the labels in L′V from left-to-right as 1,2,…,n. We note that p(LV,L′V) = p(L′V,LV). □

  35. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) • Let Pn be the path on n vertices, LV and L′V vertex labelings, and tN. Then we can evolve the labeling LV into L′V using t mutations if and only if t = p(LV,L′V) + 2k for some nonnegative integer k.

  36. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) • Proof: By the previous theorem we can always evolve LV into L′V using the minimum of p(LV,L′V) mutations. Repeating the last mutation 2k times is not going to alter L′V, since repeating a fixed mutation an even number of times corresponds to the identity (or neutral) relabeling. For any nonnegative integer k one can always evolve LV into L′V using t = p(LV,L′V) + 2k mutations.

  37. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) • Proof (cont.): We show that t — p(LV,L′V) must be even. Assume LV is given by the string s = a1a2…an and L′V by the string s′ = 1 2 … n. • Now, let and be two mutation sequences with s0 = s′0 = s and sm = s′m′ = s′.

  38. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) • Proof (cont.): Since p(s0) = p(s′0) = p(s) and p(sm) = p(s′m′) = 0, we have and (cont. next slide)

  39. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) • Proof (cont.): where • = |{i {1,…,m} : p(si) – p(si+1) = 1}|, • = |{i {1,…,m} : p(si) – p(si+1) = -1}|, • = |{i {1,…,m′ } : p(s′i) – p(s′i+1) = 1}|, and • = |{i {1,…,m′ } : p(s′i) – p(s′i+1) = -1}|. • We have . • m = and m′ = and we obtain…

  40. Tight Bounds for the Relabeling Problem Theorem (Tight Bound on Path Relabeling Complexity) • Proof (cont.): • m′ — m = , and thus m and m′ must have the same parity. • This shows that if LVis evolved intoL′V in exactly t mutations, then t — p(s) must be even. □ • This theorem re-establishes a known result in the theory of permutations that each permutation has unique parity.

  41. Outline • Introduction • Preliminaries and Problem Definitions • Relating Vertex and Edge Relabeling • Tight Bounds for the Relabeling Problem • Relabeling with Privileged Labels • Open Problems • References

  42. Relabeling with Privileged Labels Definition (Vertex Relabeling with Privileged Labels Problem) • Instance: A graph G, labelings LV and L′V, a nonempty set S {1,2,…,n} of privileged labels, and tN. • Question: Can labeling LV evolve into L′V in less than t restricted vertex mutations?

  43. Relabeling with Privileged Labels Definition (Edge Relabeling with Privileged Labels Problem) • Instance: A graph G, labelings LE and L′E, a nonempty set S {1,2,…,n} of privileged labels, and tN. • Question: Can labeling LE evolve into L′E in less than t restricted edge mutations?

  44. Relabeling with Privileged Labels Theorem (General Unsolvability, Privileged Labels) • Among all connected vertex labeled graphs on n vertices with k privileged labels where k {0,1,…,n — 2}, the Vertex Relabeling with Privileged Labels Problem is, in general, unsolvable. Among all connected edge labeled graphs on m edges with k privileged labels where k {0,1,…,m — 2}, the Edge Relabeling with Privileged Labels Problem is, in general, unsolvable.

  45. Relabeling with Privileged Labels Definition ((n x n)-Puzzle Problem) • Instance: Two n x n board configurations B1 and B2, and k N. • Question: Is there a sequence of at most k moves that transforms B1 into B2?

  46. Relabeling with Privileged Labels Theorem (Intractability, Privileged Labels) • The Vertex Graph Relabeling with Privileged Labels Problem is NP-complete. • Proof: Reduce the (n x n)-Puzzle Problem to the Vertex Graph Relabeling with Privileged Labels Problem by taking G as an n x n mesh, LV corresponding to B1, L'V corresponding to B2, S = {n2} corresponding to the blank space, and t = k.

  47. Relabeling with Privileged Labels Theorem (Intractability, Privileged Labels) • Proof (cont.): The instance of the (n x n)-Puzzle Problem is YES if and only if the answer to the constructed instance of the Vertex Graph Relabeling with Privileged Labels Problem is also YES.

  48. Relabeling with Privileged Labels Theorem (2-Connected Unsolvability, Privileged Labels) • Among all 2-connected vertex labeled graphs on n vertices with k privileged labels where k {0,1,…,n — 3}, the Vertex Relabeling with Privileged Labels Problem is, in general, unsolvable. Among all 2-connected edge labeled graphs on m edges with k privileged labels where k {0,1,…, m — 3}, the Edge Relabeling with Privileged Labels Problem is, in general, unsolvable.

  49. Relabeling with Privileged Labels Theorem (2-Connected Unsolvability, Privileged Labels) • Proof: Let n ≥ 3 and consider two vertex labelings LV and L′V of the cycle Cn, where we have precisely k privileged labels p1,…,pk, where k {0,1,…,n — 3}. For a fixed planar embedding of Cn, assume the labelings are given cyclically in clockwise order: LV : (p1,…,pk,1,2,3,…,n – k), and L′V : (p1,…,pk,2,1,3,…,n – k).

  50. Relabeling with Privileged Labels Claims • If a simple graph is neither a path nor a cycle, then it has a spanning tree that is not a path (and hence contains a vertex of degree of at least three). • Among vertex labeled trees, which are not paths, with exactly two non-privileged labels, any two labels can be swapped using restricted mutations.

More Related