Interface NodeColouringStrategy


public interface NodeColouringStrategy
A colouring on the nodes. It is given by a colour(int) function that returns the colour of a node.
  • Method Summary

    Modifier and Type Method Description
    int colour​(int x)
    Returns the colour for node x.
  • Method Details

    • colour

      int colour​(int x)
      Returns the colour for node x.
      Parameters:
      x - a node.
      Returns:
      the colour of x.