Wraps the Wigderson recursive algorithm. More...
Public Member Functions | |
SearchWrapperWigderson (NodeColoringWigderson &coloringWigderson, const Graph &graph, NodeArray< NodeColor > &colors) | |
Creates the wrapper. More... | |
bool | step (int k) override |
Performs a step in the search procedure. More... | |
Public Attributes | |
NodeColoringWigderson & | m_coloring |
NodeArray< NodeColor > & | m_colors |
const Graph & | m_graph |
Wraps the Wigderson recursive algorithm.
Definition at line 185 of file NodeColoringWigderson.h.
|
inline |
Creates the wrapper.
coloringWigderson | Reference to the NodeColoringWigderson |
graph | The graph to color |
colors | The array of colors to be assigned |
Definition at line 192 of file NodeColoringWigderson.h.
|
inlineoverridevirtual |
Performs a step in the search procedure.
It gives feedback if the search was successful or not with the given parameter.
k | The given parameter |
Implements ogdf::NodeColoringModule::SearchWrapper.
Definition at line 196 of file NodeColoringWigderson.h.
NodeColoringWigderson& ogdf::NodeColoringWigderson::SearchWrapperWigderson::m_coloring |
Definition at line 201 of file NodeColoringWigderson.h.
Definition at line 203 of file NodeColoringWigderson.h.
const Graph& ogdf::NodeColoringWigderson::SearchWrapperWigderson::m_graph |
Definition at line 202 of file NodeColoringWigderson.h.