Nothing Special   »   [go: up one dir, main page]

Skip to main content
Log in

Parallel Connectivity in Edge-Colored Complete Graphs: Complexity Results

  • Original Paper
  • Published:
Graphs and Combinatorics Aims and scope Submit manuscript

Abstract

Given an edge-colored graph \(G_c\), a set of p pairs of vertices \((a_i,b_i)\) together with p numbers \(k_1,k_2, \ldots k_p\) associated with the pairs, can we find a set of alternating paths linking the pairs \((a_1,b_1)\), \((a_2,b_2), \ldots \), in their respective numbers \(k_1,k_2,\ldots k_p\)? Such is the question addressed in this paper. The problem being highly intractable, we consider a restricted version of it to edge-colored complete graphs. Even so restricted, the problem remains intractable if the paths/trails must be edge-disjoint, but it ceases to be so if the paths/trails are to be vertex-disjoint, as is proved in this paper. An approximation algorithm is presented in the end, with a performance ratio asymptotically close to 3/4 for a restricted version of the problem.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Data Availibility

Data Sharing is not applicable to this article as no datasets were generated or analysed during the current studey

References

  1. Abouelaoualim, A., Das, KCh., Fernandez de la Vega, W., Karpinski, M., Manoussakis, Y., Martinhon, C.A., Saad, R.: Cycles and paths in edge-colored graphs with given degrees. J. Graph Theory 64(1), 63–86 (2010)

    Article  MathSciNet  Google Scholar 

  2. Abouelaoualim, A., Das, KCh., Faria, L., Karpinski, M., Manoussakis, Y., Martinhon, C.A., Saad, R.: Paths and trails in edge-colored graphs. Theor. Comput. Sci. 409, 497–510 (2007)

    Article  MathSciNet  Google Scholar 

  3. Alon, N., Yuster, R., Zwick, U.: Color-coding. J. ACM 42(4), 844–856 (1995)

    Article  MathSciNet  Google Scholar 

  4. Bang-Jensen, J., Gutin, G.: Properly edge colored paths and cycles in edge coloured multigraphs: a survey. Discrete Math. 165–166, 39–60 (1997)

    Article  Google Scholar 

  5. Bang-Jensen, J., Gutin, G.: Properly edge colored cycles and trails in 2-edge-coloured complete multigraphs. Discrete Math. 188, 61–72 (1998)

    Article  MathSciNet  Google Scholar 

  6. Bang-Jensen, J., Gutin, G.: Digraphs: Theory, Algorithms and Applications. Springer, Berlin (2002)

    Book  Google Scholar 

  7. Becu, J.M., Dah, M., Manoussakis, Y., Mendy, G.: Links in edge-colored graphs. Eur. J. Combin. 31, 442–460 (2010)

    Article  MathSciNet  Google Scholar 

  8. Benkouar, A., Manoussakis, Y., Paschos, V.T., Saad, R.: On the complexity of some Hamiltonian and Eurelian problems in edge-colored complete graphs. RAIRO - Oper. Res. 30, 417–438 (1996)

    Article  Google Scholar 

  9. Benkouar, A., Manoussakis, Y., Saad, R.: The number of 2-edge-colored complete graphs with unique Hamiltonian alternating cycle. Discrete Math. 263(1–3), 1–10 (2003)

    Article  MathSciNet  Google Scholar 

  10. Bollobás, B., Erdos, P.: Properly edge colored Hamiltonian cycles. Isr. J. Math. 23, 126–131 (1976)

    Article  Google Scholar 

  11. Borozan, V., Fernandez de la Vega, W., Manoussakis, Y., Martignoon, C., Muthu, R., Pham, H.-P., Saad, R.: Maximum colored trees in edge-colored graphs. Eur. J. Math. 80, 296–310 (2019)

    MathSciNet  Google Scholar 

  12. Dorniger, D.: On permutations of chromosomes, in contributions of general. Algebra 5, 95–103 (1987)

    Google Scholar 

  13. Dorniger, D.: Hamiltonian circuits determining the order of chromosomes. Discrete Appl. Math. 50, 159–168 (1994)

    Article  MathSciNet  Google Scholar 

  14. Dorniger, D., Timischl, W.: Geometrical constraints on Bennett’s predictions of chromosome order. Heredity 58, 321–325 (1987)

    Article  Google Scholar 

  15. Even, S., Itai, A., Shamir, A.: On the complexity of time-table and multicommodity flow problems. SIAM J. Comput. 5, 691–703 (1976)

  16. Even, K.: An \(O(n^{2.5}\) algorithm for maximum matching in general graphs. In: Proceedings of the 16th Annual Symposium on Foundations of Computer Science, Berkeley, pp. 100–112 (1975)

  17. Guruswami, V., Khanna, S., Rajaraman, R., Shepherd, B., Yannakakis, M.: Near-optimal hardness results and approximation algorithms for edge-disjoint paths and related problems. In: Proceedings of the 31st Annual ACM Symposium on Theory of Computing, pp. 19–28 (1999)

  18. Hu, T.C., Kuo, Y.S.: Graph folding and programmable logical arrays. Networks 17, 19–37 (1987)

    Article  MathSciNet  Google Scholar 

  19. Karp, R.M.: On the computational complexity of combinatorial problems. Networks 5, 45–68 (1975)

    Article  Google Scholar 

  20. Kleinberg, J.M.: Approximation algorithms for disjoint path problems. PhD. Thesis, MIT (1996)

  21. Manoussakis, Y.: Alternating paths in edge-colored complete graphs. Discrete Appl. Math. 56, 297–309 (1995)

    Article  MathSciNet  Google Scholar 

  22. Pevzner, P.A.: DNA physical mapping and properly edge-colored Eurelian cycles in colored graphs. Algorithmica 13, 77–105 (1995)

    Article  MathSciNet  Google Scholar 

  23. Pevzner, P.A.: Computational Molecular Biology: An Algorithmic Approach. MIT Press, Cambridge (2000)

    Book  Google Scholar 

  24. Saad, R.: Finding a longest alternating Hamiltonian cycle in an edge colored complete graph is not hard. Comb. Probab. Comput. 5, 297–306 (1996)

    Article  Google Scholar 

Download references

Funding

The author declares that no funds, grants or other support were received during the preparation of this manuscript.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rachid Saad.

Ethics declarations

Competing interests

The author has no relevant financial or non-financial interests to disclose.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix

Appendix

The 3-Factor Partition Problem: Instance: a graph G(VE) of order n.

Question: Is there a partition of E into three edge-disjoint factors in G?

The 2-Factor Problem:

Instance: a graph G(VE) of order n.

Question: Find two edge-disjoint factors in G, or else decide that no such two factors exist.

We will first prove that 3-Factor Partition is NP-complete.

Lemma 7.1

3-Factor Partition is NP-complete.

Proof

We will first prove the result for multigraphs. The reduction is from the well-known Chromatic Index Problem (CIP), which we present for completeness’ sake. Given in CIP are: a graph G(VE) of order and size n and m respectively, and an integer k. What is sought then is a partition of E into k edge-disjoint matchings. It is known that CIP is NP-complete even for \(k=3\) and for regular graphs of degree 3. Let then \(G=(V,E)\) be such an instance of CIP. An instance I of 3-Factor Partition is constructed from G as follows:

  1. 1)

    Construct a copy \(G^\prime \) of G

  2. 2)

    For every vertex x of G, consider its counterpart \(x^\prime \) in \(G^\prime \) and link the pair \(x,x^\prime \) with the local component described below. The colors in the graph are intended to show how the component itself can be partitioned into 2-matchings. The square dots shown in the component will be referred to as the square vertices. Every pair in a triple of square vertices is linked by a double edge, as shown.

We claim that the resulting graph I has a partition of its edges into three factors if and only if G has a partition of its edges into 3 perfect matchings. Before proceeding with the proof of the claim, let us observe that the component of Fig. 7 in the construction is so designed that any partition of it into three 2-matchings \(D_1,D_2,D_3\) has one (single) path from x to \(x^\prime \) in each of its 2-matchings \(D_1,D_2,D_3\), the other edges forming cycles internal to the component. The observation follows from these two facts:

  1. (a)

    the 3-partition will split the five multiple edges between \(x_i\) and \(x^\prime _i\) (for all \(i\in \{1,2,3\}\)) into two pairs of double edges and one single edge,

  2. (b)

    no two single edges \(x_ix^\prime _i\) and \(x_jx^\prime _j\), with \(i\ne j\), will be in the same 2-matching of the partition, since that would destroy the unique (monochromatic) cycle of length four through \(c_i\) and \(c_j\), leaving a triple of square vertices uncoverable by the partition \(D_1, D_2, D_3\). Now for the proof of the claim.

For the if part of the proof, suppose that G has a partition into three perfect matchings \(M_1,M_2,M_3\). Consider the counterparts \(M^\prime _1,M^\prime _2,M^\prime _3\) of those matchings in \(G^\prime \). We will color \(M_1\) and \(M^\prime _1\) blue, \(M_2\) and \(M^\prime _2\) red, and \(M_3\) and \(M^\prime _3\) green. We form a factor \(F_i\) of I (for \(i\in \{1,2,3\}\) by adding to \(M_i\) and \(M^\prime _i\) (from \(i:=1\) to \(i=3\)) the 2-factor of the same color in each component representaing a vertex. We will thus have 3 factors partitioning I.

Conversely, suppose that \(F_1,F_2,F_3\) is a partition of I into 3 factors. From the above observations, each of \(F_1,F_2,F_3\), is incident to x (for every vertex x in G) with precisely one edge from G, since it contains one path from x to \(x^\prime \) inside the local component associated to x. It follows that the restriction of \(F_1,F_2,F_3\) to G is a partition of G into 3 perfect matchings, which proves the lemma for multigraphs.

To prove the lemma for graphs rather than multigraphs, we will use simple local transformations. First, we will replace the five multiple edges between \(x_i\) and \(x^\prime _i\) in the component of Fig. 7 (for every x and every \(i\in \{1,2,3\}\)) with the subcomponent constructed as follows:

  1. 1)

    Make a copyA of \(K_7\), the complete graph of order 7

  2. 2)

    remove one edge from A between any two arbitrarily chosen vertices, say, ab of A

  3. 3)

    embed A into the component of Fig. 7, mapping a onto \(x_i\) and b onto \(x^\prime _i\)

The subcomponent has the property that every partition of it into three 2-matchings \(D_1\), \(D_2\), \(D_3\) will be made up of two factors and one 2-matching including a path from \(x_i\) to \(x^\prime _i\), which makes the subcomponent perform the same function as the set of 5 multiple edges between \(x_i\) and \(x^\prime _i\): the path from \(x_i\) to \(x^\prime _i\) plays the part of the (single) edge involved in the partition of the 5 multiple edges into 2-matchings, while the factors act like the double edges. \(\square \)

Fig. 7
figure 7

Representation of a vertex x

Lemma 7.2

The 2-Factor Problem is NP-hard

Proof

If we can find two edge-disjoint factors in a graph in polynomial time, then we can decide in polynomial time whether a 6-regular graph admits a partition into three edge-disjoint factors, which we know is NP-complete. \(\square \)

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Saad, R. Parallel Connectivity in Edge-Colored Complete Graphs: Complexity Results. Graphs and Combinatorics 40, 25 (2024). https://doi.org/10.1007/s00373-023-02747-4

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s00373-023-02747-4

Keywords

Navigation