|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Functor wrapper for dsatur_coloring. More...
#include <Graph_Coloring.H>
Public Member Functions | |
| DSatur_Coloring (SA __sa=SA()) | |
| Keeps sa, the filter of the arcs. | |
| size_t | operator() (const GT &g, DynMapTree< typename GT::Node *, size_t > &colors) const |
| Execute DSatur coloring. | |
Private Attributes | |
| SA | sa |
Functor wrapper for dsatur_coloring.
| GT | Graph type. |
| SA | Arc-filter functor (defaults to Dft_Show_Arc<GT>). |
Definition at line 701 of file Graph_Coloring.H.
|
inlineexplicit |
Keeps sa, the filter of the arcs.
Definition at line 707 of file Graph_Coloring.H.
|
inline |
Execute DSatur coloring.
| [in] | g | Input graph (no self-loops). |
| [out] | colors | Output node→color map (overwritten). |
| std::domain_error | if g contains a self-loop. |
Definition at line 715 of file Graph_Coloring.H.
References Aleph::DSatur_Coloring< GT, SA >::sa.
|
private |
Definition at line 703 of file Graph_Coloring.H.
Referenced by Aleph::DSatur_Coloring< GT, SA >::operator()().