Colour refinement algorithm
Appearance
In graph theory and theoretical computer science, the colour refinement algorithm also known as the naive vertex classification, or the 1-dimensional version of the Weisfeiler-Leman algorithm, is a routine used for testing whether two graphs are isomorphic or not[1].
History
Description
We define a sequence of vertex colourings defined as follows:
- is the initial colouring. If the graph is unlabeled, the initial colouring assigns a trivial color to each vertex . If the graph is labeled, is the label of vertex .
- For all vertices , we set . In other words, the new color of the vertex is the pair formed from the previous color and the multiset of the colors of its neighbors.
- ^ direct.mit.edu https://direct.mit.edu/books/edited-volume/5150/chapter-abstract/3403134/Color-Refinement-and-Its-Applications?redirectedFrom=fulltext. Retrieved 2022-09-12.
{{cite web}}
: Missing or empty|title=
(help)