1 / 43

On s-t paths and trails in edge-colored graphs

On s-t paths and trails in edge-colored graphs. L. Gourvès, A. Lyra * , C. Martinhon, J. Monnot, F. Protti. Lagos 2009 (RS, Brazil ) *alyra@ic.uff.br. Topics. Applications Basic Definitions Paths and trails in G c without PEC closed trails Monochromatic s-t paths

tivona
Download Presentation

On s-t paths and trails in edge-colored graphs

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. On s-t paths and trails in edge-colored graphs L. Gourvès, A. Lyra* , C. Martinhon, J. Monnot, F. Protti Lagos 2009 (RS, Brazil) *alyra@ic.uff.br

  2. Topics • Applications • Basic Definitions • Paths and trails in Gc without PEC closed trails • Monochromatic s-t paths • Conclusions and future directions

  3. Topics • Applications • Basic Definitions • Paths and trails in Gc without PEC closed trails • Monochromatic s-t paths • Conclusions and future directions

  4. Some Applications using edge colored graphs 1. Computational Biology 2. Criptography (when a color specify a type of transmission) 3. Social Sciences (where a color represents a relation between 2 individuals) etc Some Bibliography D. Dorniger, On permutations of cromossomes, In Contributions of General Algebra, 5, 95-103, 1987. D. Dorniger, Hamiltonian circuits determining the order of cromossomes, In Disc. App. Math., 5, 159-168, 1994. P. Pevzner, Computational Molecular Biology: An Algorithmic Approach, MIT Press, 2000.

  5. Topics • Applications • Basic Definitions • Paths and trails in Gc without PEC closed trails • Monochromatic s-t paths

  6. Basic Definitions • Properly edge-colored (PEC) path between « s » and « t » (without node repetitions!!) 4 2 3 s 1 t source destination

  7. Basic Definitions • Properly edge-colored (PEC) trail between « s » and « t » (without edge repetitions!!) 4 2 3 s 1 t source destination

  8. Basic Definitions • Properly edge-colored (PEC)closed trail. (without edge repetitions!!) 4 2 3 1 5 x start

  9. How to find a PEC s-t Path? Basic Definitions

  10. PEC s-t Paths in colored Graphs (Szeider’s Algorithm, 2003) v’ v’’ u’ u’’ v u va ua ub uc vb t s v1 u1 u2 u3 v2 start dest. q p s t color 1 p1 p2 p3 q1 q3 color 2 pa pb pc qa qb color 3 q’ q’’ p’ p’’ (a) 3-edge colored graph (b) non-colored (Edmond-Szeider) graph

  11. PEC s-t Paths in colored Graphs (Szeider’s Algorithm, 2003) v’ v’’ u’ u’’ v u va ua ub uc vb t s v1 u1 u2 u3 v2 start dest. q p s t color 1 p1 p2 p3 q1 q3 color 2 pa pb pc qa qb color 3 q’ q’’ p’ p’’ (a) 3-edge colored graph (b) non-colored (Edmond-Szeider) graph

  12. PEC s-t Paths in colored Graphs (Szeider’s Algorithm, 2003) v’ v’’ u’ u’’ v u va ua ub uc vb t s v1 u1 u2 u3 v2 start dest. q p s t color 1 p1 p2 p3 q1 q3 color 2 pa pb pc qa qb color 3 q’ q’’ p’ p’’ (a) 3-edge colored graph (b) non-colored (Edmond-Szeider) graph

  13. Equivalence between paths and trails (trail-path graph) y x Graph G X’ y’ 3 2 X’’ y’’ y x 1 s t X’ y’ PEC s-ttrail ρ X’’ y’’

  14. Equivalence between paths and trails (trail-path graph) Graph H Graph G 2’ 3’ 2’’ 3’ 3 2 1’ s 1 t s’ t’ 1’’ PEC s-ttrail ρ PEC s-tpath ρ’ Theorem: Abouelaoualim et al., 2008 We have a properly edge colored trail in G we have a properly edge colored path in H

  15. Topics • Applications • Basic Definitions • Paths and trails in Gc without PEC closed trails • Monochromatic s-t paths

  16. 2 vertex/edge disjoint PEC s-t paths • Theorem: Abouelaoualim et al., 2008 • NP-complete, for general Gc • Even for Ω = (n2) colors, where |V|=n s t

  17. Open problem (Abouelaoualim et al., 2008) • 2 vertex/edge disjoint PEC s-t paths in Gc with no PEC cycles or PEC closed trails. s t

  18. PEC s-t paths with no PEC closed trails • Theorem 1: To find 2 PEC s-t paths with length at most L> 0 is NP-complete. Even for graphs with maximum vertex degree equal to 3.

  19. PEC s-t paths with bounded length • Reduction from the (3, B2)-SAT (2-Balanced 3-SAT) • Each clause has exactly 3 literals • Each variable apears exactly 4 times (2 negated and 2 unnegated)

  20. NP-completeness (Proof)

  21. NP-completeness (Proof)

  22. NP-completeness (Proof) Lv = 14mn+2m-14n+1 L = 14mn + 2m + 2 Lc = 14n - 1 Lv Lc Lc Lc

  23. NP-completeness (Proof) Maximumdegree 3!

  24. Edge-colored graphswith no PEC closed trails Theorem 2: Find a PECs-t trail visiting all vertices x∈ V(Gc) exactly f(x) times, with fmin(x) ≤ f(x) ≤ fmax(x) e d Solved in polynomial time! x = a, f(a)=2 c b a s t

  25. Edge-colored graphswith no PEC closed trails • Finding a PEC s-t trail passing by a vertex v is NP-complete in general edge-colored graphs. (Chou et al., 1994) • Finding a PEC s-t trail visiting A⊆V \{s,t} is polynomial time solvable in 2-edge-colored complete graphs. (Das and Rao, 1983)

  26. Theorem 2 (proof) • The idea is to construct the trail-path graph and the Edmonds-Szeider Graph associated to the trail-path graph. fmin(y) = 1 fmax(y) = 3 y’ fmin(x) = 1 fmax(x) = 2 X’ y’’ X’’ y x y’’’

  27. Theorem 2 (proof) x’a x’’b x’a x’’b x x’1 x’1 x’3 x’2 x’2 x’3 x1 x2 x1 x2 x3 x3 color 1 Subgraph H’x associated to x ∈ S’(x) Subgraph Hx associated to x ∈ S(x) color 2 color 3

  28. Edge-coloredgraphswith no PEC closedtrails Corollary 3: A shortest (resp. longest) PECs-t trail visiting vertices x of Gc at least fmin(x) times (resp. at most fmax(x) times) Solved in polynomial time!

  29. Corollary 3 (proof) x’a x’’b y’a y’’b 0 0 0 0 x’1 y’1 x’3 x’2 y’2 y’3 0 0 0 0 0 0 x1 x2 y1 y2 x3 y3 1 1 1 1 1 1 1 • Compute the minimum perfect matching (resp. maximum perfect matching ) M in Hm.

  30. Edge-colored graphswith no PEC closed trails Theorem 4: The determination of a PECs-t trail visiting all edges of E’⊆ E(Gc) is solved in polynomial time. c b E’ = {ab, bc, ca, df, fe} a s d t e f

  31. Polynomial case (proof): • Construct the trail-path graph, • Construct an associated modified Edmonds-Szeider graph. xy ∈ E’ bxy y x Hx1 Hy1 x1 y1 axy Hx2 Hy2 x2 y2

  32. Edge-colored graphs with no PEC cycles • PEC closed trails are allowed! 3 2 4 5 1 6 7

  33. Theorem 5 Edge-colored graphs with no PEC cycles To find a PEC s-ttrail passing by a vertex v is NP-complete. Surprisingly, finding a PEC s-tpath passing by a subset A={v1,..., vk} is polynomial time solvable!

  34. Theorem 5 (proof) • Use the problem Path Finding Problem in D s t x x c d b t a s

  35. Theorem 5 (proof) G’’(e) G’(v)

  36. Theorem 5 (proof) Without incoming arcs at s Without outgoing arcs at t

  37. Theorem 5 (proof)

  38. Topics • Applications • Basic Definitions • Paths and trails in Gc without PEC closed trails • Monochromatic s-t paths

  39. NP-completeness Theorem 6: Find 2 vertex disjoint monochromatic s-tpaths with different colors in Gc is NP-complete. t s start dest. The edge disjoint case is trivial

  40. Theorem 6 (proof) c1 c2 c3 c4

  41. Theorem 6 (proof) s t

  42. Conclusions and future directions • We deal with PEC and monochromatic s-t paths and trails on c-edge colored graphs. • Future directions: • Given Gc without PEC cycles, is there a polynomial algorithm to find two PEC s-t paths? • If Gc is planar, to find two monochromatic vertex disjoint s-t paths is NP-complete?

  43. Thanks for your attention! You can download this presentation at http://www.ic.uff.br/~alyra My email: alyra@ic.uff.br

More Related