|
Limbo 3.5.4
|
#include <GreedyColoring.h>
Classes | |
| class | saturation_degree_type |
Public Types | |
| typedef GraphType | graph_type |
| typedef boost::graph_traits< graph_type >::vertex_descriptor | graph_vertex_type |
Public Member Functions | |
| DsatColoring (graph_type const &g) | |
| map< graph_vertex_type, int > const & | color_map () const |
| int | color (graph_vertex_type v) const |
| int | operator() () |
Protected Member Functions | |
| int | run () |
Protected Attributes | |
| graph_type const & | m_graph |
| graph | |
| map< graph_vertex_type, int > | m_mColor |
| color map | |
Coloring a graph with saturation degree based heuristics
| GraphType | graph type |
Definition at line 42 of file GreedyColoring.h.
| typedef GraphType limbo::algorithms::coloring::DsatColoring< GraphType >::graph_type |
Definition at line 46 of file GreedyColoring.h.
| typedef boost::graph_traits<graph_type>::vertex_descriptor limbo::algorithms::coloring::DsatColoring< GraphType >::graph_vertex_type |
Definition at line 47 of file GreedyColoring.h.
|
inline |
|
inline |
get color of vertex
| v | vertex |
Definition at line 107 of file GreedyColoring.h.
|
inline |
|
inline |
|
inlineprotected |
kernel function to run the algorithm
Definition at line 123 of file GreedyColoring.h.
|
protected |
graph
Definition at line 167 of file GreedyColoring.h.
|
protected |
color map
Definition at line 168 of file GreedyColoring.h.