adjacent_color_set: Auxiliar function for DSatur Given a set of colors of G,...

Description Usage Arguments Value

View source: R/solver_dsatur.R

Description

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

Usage

1

Arguments

s,

set of colors, size |V|

Value

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


caranha/EvoGCP documentation built on May 3, 2021, 3:40 p.m.