All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tclique_coloring.c File Reference Detailed Descriptioncoloring part of algorithm for maximum cliques Definition in file tclique_coloring.c. #include <stdio.h> #include <assert.h> #include <stdlib.h> #include "tclique/tclique.h" #include "tclique/tclique_def.h" #include "tclique/tclique_coloring.h" #include "blockmemshell/memory.h" Go to the source code of this file.
Function Documentation
gets index of the uncolored node in a given array of nodes in V with maximum satdeg; in case of a tie choose node with maximum weight; if no uncolored node is found, -1 is returned
Definition at line 42 of file tclique_coloring.c. References NULL. Referenced by tcliqueColoring().
gets index of the node in a given set of nodes with maximum weight
Definition at line 88 of file tclique_coloring.c. References NULL. Referenced by tcliqueColoring().
updates the neighbor colors information of a node: updates the list of neighbor color intervals by making the union of the existing list and the given list of color intervals, and updates the saturation degree
Definition at line 132 of file tclique_coloring.c. References ALLOC_ABORT, BMSallocChunkMemory, BMSfreeChunkMemory, and NULL. Referenced by tcliqueColoring().
colors the positive weighted nodes of a given set of nodes V with the lowest possible number of colors and finds a clique in the graph induced by V, an upper bound and an apriori bound for further branching steps
Definition at line 219 of file tclique_coloring.c. References ALLOC_ABORT, BMSallocChunkMemory, BMSallocMemoryArray, BMSclearChunkMemory, BMSclearMemoryArray, BMScopyMemoryArray, BMSfreeChunkMemory, BMSfreeMemoryArray, debugMessage, debugPrintf, FALSE, getMaxSatdegIndex(), getMaxWeightIndex(), NULL, TCLIQUE_Bool, TRUE, and updateNeighbor(). Referenced by boundSubgraph(). |