Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
node_distinct_coloring.h File Reference
#include <stdbool.h>
Include dependency graph for node_distinct_coloring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  { COLOR_RGB , COLOR_GRAY , COLOR_LAB }
 
enum  { ERROR_BAD_COLOR_SCHEME = -9 }
 

Functions

int node_distinct_coloring (char *color_scheme, int *lightness, bool weightedQ, SparseMatrix A, double accuracy, int seed, int *cdim, double **colors)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
COLOR_RGB 
COLOR_GRAY 
COLOR_LAB 

Definition at line 15 of file node_distinct_coloring.h.

◆ anonymous enum

anonymous enum
Enumerator
ERROR_BAD_COLOR_SCHEME 

Definition at line 16 of file node_distinct_coloring.h.

Function Documentation

◆ node_distinct_coloring()

int node_distinct_coloring ( char *  color_scheme,
int *  lightness,
bool  weightedQ,
SparseMatrix  A,
double  accuracy,
int  seed,
int *  cdim,
double **  colors 
)

Definition at line 179 of file node_distinct_coloring.c.

References A, B, color_blend_rgb2lab(), COLOR_GRAY, COLOR_LAB, color_palettes_get(), COLOR_RGB, ERROR_BAD_COLOR_SCHEME, free(), gv_calloc(), lab_gamut_quadtree(), node_distinct_coloring_internal(), NULL, QuadTree_delete(), QuadTree_new_from_point_list(), seed, SparseMatrix_delete(), SparseMatrix_get_submatrix(), SparseMatrix_symmetrize(), SparseMatrix_weakly_connected_components(), and Verbose.

Referenced by edge_distinct_coloring(), and map_palette_optimal_coloring().

Here is the call graph for this function:
Here is the caller graph for this function: