|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Functor wrapper for welsh_powell_coloring. More...
#include <Graph_Coloring.H>
Public Member Functions | |
| size_t | operator() (const GT &g, DynMapTree< typename GT::Node *, size_t > &colors) const |
| Execute Welsh-Powell coloring. | |
Functor wrapper for welsh_powell_coloring.
| GT | Graph type. |
| SA | Arc-filter functor (defaults to Dft_Show_Arc<GT>). |
Definition at line 655 of file Graph_Coloring.H.
|
inline |
Execute Welsh-Powell 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 664 of file Graph_Coloring.H.
References Aleph::divide_and_conquer_partition_dp().