Description Usage Arguments Value
View source: R/solver_dsatur.R
Auxiliar function for DSatur Given a set of colors of G, compute adjancent colors to each vertex This is an auxiliary struture to compute the saturation degrees of G
1 | adjacent_color_set(s, G)
|
s, |
set of colors, size |V| |
a matrix (col: vertices, row: colors) containing the colors adjacent to each vertex (a V vector of 1:3) and the total number of evaluations spent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.