Generation of colored graphs with isomorphism rejection

In the article we consider graphs whose vertices or edges are colored in a given number of colors - vertex and edge colorings. The study of colorings of graphs began in the middle of the 19th century, but the main attention is paid to proper colorings, in which the restriction applies that the color...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Izvestiâ Saratovskogo universiteta. Novaâ seriâ. Seriâ Matematika. Mehanika. Informatika (Online) 2021-05, Vol.21 (2), p.267-277
Hauptverfasser: Razumovsky, P. V., Abrosimov, M. B.
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:In the article we consider graphs whose vertices or edges are colored in a given number of colors - vertex and edge colorings. The study of colorings of graphs began in the middle of the 19th century, but the main attention is paid to proper colorings, in which the restriction applies that the colors of adjacent vertices or edges must be different. This paper considers colorings of graphs without any restrictions. We study the problem of generating all non-isomorphic vertex and edge $k$-colorings of a given graph without direct checking for isomorphism. The problem of generating non-isomorphic edge $k$-colorings is reduced to the problem of constructing all vertex $k$-colorings of a graph. Methods for generating graphs without direct checking for isomorphism or isomorphism rejection are based on the method of canonical representatives. The idea of the method is that a method for encoding graphs is proposed and a certain rule is chosen according to which one of all isomorphic graphs is declared canonical. All codes are built and only the canonical ones are accepted. Often, the representative with the largest or smallest code is chosen as the canonical one. In practice, generating all codes requires large computational resources; therefore, various methods of enumeration optimization are used. The paper proposes two algorithms for solving the problem of generating vertex $k$-colorings with isomorphism rejection by McKay and Reed - Faradzhev methods. A comparison of the proposed algorithms for generating colorings on two classes of graphs - paths and cycles is made. Computational experiments show that the Reed - Faradzhev method is faster for paths and cycles.
ISSN:1816-9791
2541-9005
DOI:10.18500/1816-9791-2021-21-2-267-277