PandA-2024.02
|
helper used to color the graph. More...
#include <dsatur2_coloring.hpp>
Public Member Functions | |
dsatur2_coloring_helper (const VertexListGraph &_G, ColorMap &_CM, const size_type _num_node) | |
~dsatur2_coloring_helper () | |
dsatur2_coloring_helper (const dsatur2_coloring_helper &inst)=delete | |
void | AssignColor (size_type node, size_type color) |
size_type | SeqColor () |
Private Types | |
using | GraphTraits = graph_traits< VertexListGraph > |
using | Vertex = typename GraphTraits::vertex_descriptor |
Private Attributes | |
const size_type | num_node |
std::vector< bool > | valid |
boost::numeric::ublas::matrix< bool > | ColorAdj |
std::vector< size_type > | ColorCount |
std::vector< size_type > | DegreeCount |
const VertexListGraph & | G |
ColorMap & | CM |
size_type * | heap_container |
dsatur2_heap_compare_functor< size_type > | HCF |
helper used to color the graph.
Definition at line 120 of file dsatur2_coloring.hpp.
|
private |
Definition at line 123 of file dsatur2_coloring.hpp.
|
private |
Definition at line 124 of file dsatur2_coloring.hpp.
|
inline |
Definition at line 136 of file dsatur2_coloring.hpp.
|
inline |
Definition at line 157 of file dsatur2_coloring.hpp.
|
delete |
|
inline |
Definition at line 164 of file dsatur2_coloring.hpp.
|
inline |
color each vertex
Find node with maximum color_adj
look for a color for vertex v
not able to color so we have to increase the maximum color available
Definition at line 182 of file dsatur2_coloring.hpp.
Referenced by boost::dsatur2_coloring().
|
private |
Definition at line 131 of file dsatur2_coloring.hpp.
|
private |
Definition at line 127 of file dsatur2_coloring.hpp.
|
private |
Definition at line 128 of file dsatur2_coloring.hpp.
|
private |
Definition at line 129 of file dsatur2_coloring.hpp.
|
private |
Definition at line 130 of file dsatur2_coloring.hpp.
|
private |
Definition at line 133 of file dsatur2_coloring.hpp.
|
private |
Definition at line 132 of file dsatur2_coloring.hpp.
|
private |
Definition at line 125 of file dsatur2_coloring.hpp.
|
private |
Definition at line 126 of file dsatur2_coloring.hpp.