Graphviz 13.0.0~dev.20241220.2304
|
#include <sparse/SparseMatrix.h>
Go to the source code of this file.
Functions | |
void | country_graph_coloring (int seed, SparseMatrix A, int **p) |
void | improve_antibandwidth_by_swapping (SparseMatrix A, int *p) |
void country_graph_coloring | ( | int | seed, |
SparseMatrix | A, | ||
int ** | p | ||
) |
Definition at line 105 of file country_graph_coloring.c.
References A, FORMAT_COORD, get_12_norm(), SparseMatrix_struct::ia, improve_antibandwidth_by_swapping(), SparseMatrix_struct::ja, L, MATRIX_TYPE_REAL, power_method(), seed, SparseMatrix_coordinate_form_add_entry(), SparseMatrix_delete(), SparseMatrix_from_coordinate_format(), SparseMatrix_new(), SparseMatrix_symmetrize(), vector_ordering(), and Verbose.
Referenced by map_optimal_coloring().
void improve_antibandwidth_by_swapping | ( | SparseMatrix | A, |
int * | p | ||
) |
Definition at line 53 of file country_graph_coloring.c.
References A, cnt(), get_12_norm(), get_local_12_norm(), NULL, SparseMatrix_is_symmetric(), and Verbose.
Referenced by country_graph_coloring().