Enumerating the edge-colourings and total colourings of a regular graph
- 153 Downloads
- 3 Citations
Abstract
In this paper, we are interested in computing the number of edge colourings and total colourings of a connected graph. We prove that the maximum number of k-edge-colourings of a connected k-regular graph on n vertices is k⋅((k−1)!) n/2. Our proof is constructive and leads to a branching algorithm enumerating all the k-edge-colourings of a connected k-regular graph in time O ∗(((k−1)!) n/2) and polynomial space. In particular, we obtain a algorithm to enumerate all the 3-edge-colourings of a connected cubic graph in time O ∗(2 n/2)=O ∗(1.4143 n ) and polynomial space. This improves the running time of O ∗(1.5423 n ) of the algorithm due to Golovach et al. (Proceedings of WG 2010, pp. 39–50, 2010). We also show that the number of 4-total-colourings of a connected cubic graph is at most 3⋅23n/2. Again, our proof yields a branching algorithm to enumerate all the 4-total-colourings of a connected cubic graph.
Keywords
Edge colouring Total colouring Enumeration (s,t)-ordering Regular graphNotes
Acknowledgement
The authors would like to thank their children for suggesting them some graph names.
References
- Alon N, Friedland S (2008) The maximum number of perfect matchings in graphs with a given degree sequence. Electron J Comb 15:N13 MathSciNetGoogle Scholar
- Beigel R, Eppstein D (2005) 3-coloring in time O(1.3289n). J Algorithms 54:168–204 MathSciNetCrossRefMATHGoogle Scholar
- Björklund A, Husfeldt T (2006) Inclusion-exclusion algorithms for counting set partitions. In: Proceedings of the 47th annual IEEE symposium on foundations of computer science (FOCS 2006). IEEE Comput. Soc., Los Alamitos, pp 575–582 CrossRefGoogle Scholar
- Björklund A, Husfeldt T, Koivisto M (2009) Set partitioning via Inclusion-Exclusion. SIAM J Comput 39(2):546–563 MathSciNetCrossRefMATHGoogle Scholar
- Björklund A, Husfeldt T, Kaski P, Koivisto M (2010) Narrow sieves for parameterized paths and packings. arXiv:1007.1161v1
- Bondy JA, Murty USR (2008) Graph theory, 2nd edn. Graduate texts in mathematics, vol 244. Springer, Berlin CrossRefMATHGoogle Scholar
- Bregman LM (1973) Some properties of nonnegative matrices and their permanents. Sov Math Dokl 14:945–949 MATHGoogle Scholar
- Even S, Tarjan RE (1976) Computing an st-numbering. Theor Comput Sci 2(3):339–344 MathSciNetCrossRefMATHGoogle Scholar
- Even S, Tarjan RE (1977) Corrigendum: Computing an st-numbering. Theor Comput Sci 4(1):123 MathSciNetCrossRefGoogle Scholar
- Fomin FV, Gaspers S, Saurabh S (2007) Improved exact algorithms for counting 3- and 4-colorings. In: Lin G (ed) COCOON 2007. Lecture notes in computer science, vol 4598, pp 65–74 Google Scholar
- Garey MR, Johnson DS (1979) Computers and intractability. A guide to the theory of NP-completeness. A series of books in the mathematical sciences. Freeman, San Francisco MATHGoogle Scholar
- Golovach PA, Kratsch D, Couturier JF (2010) Colorings with few colors: counting, enumeration and combinatorial bounds. In: Proceedings of WG 2010. Lecture notes in computer science, vol 6410, pp 39–50 Google Scholar
- Holyer I (1981) The NP-completeness of edge-colouring. SIAM J Comput 2:225–231 CrossRefGoogle Scholar
- Jensen TR, Toft B (1995) Graph coloring problems. Wiley-Interscience series in discrete mathematics and optimization. Wiley, New York MATHGoogle Scholar
- Knuth DE (2011) The art of computer programming, vol 4A. Combinatorial algorithms, Part 1. Addison-Wesley, Reading Google Scholar
- Koivisto M (2006) An O(2n) algorithm for graph coloring and other partitioning problems via inclusion-exclusion. In: Proceedings of the 47th annual IEEE symposium on foundations of computer science (FOCS 2006). IEEE Comput. Soc., Los Alamitos, pp 583–590 CrossRefGoogle Scholar
- Kowalik L (2009) Improved edge-coloring with three colors. Theor Comput Sci 410:3733–3742 MathSciNetCrossRefMATHGoogle Scholar
- Lempel A, Even S, Cederbaum I (1967) An algorithm for planarity testing of graphs. In: Rosenstiehl P (ed) Proceedings of the international symposium on the theory of graphs, Rome, July 1966. Gordon & Breach, New York, pp 215–232 Google Scholar
- Sánchez-Arroyo A (1989) Determining the total colouring number is NP-hard. Discrete Math 78(3):315–319 MathSciNetCrossRefMATHGoogle Scholar