Wraps the parameterized Berger&Rompel algorithm. More...
Public Member Functions | |
SearchWrapperBergerRompel (NodeColoringBergerRompel &coloringBergerRompel, const Graph &graph, NodeArray< NodeColor > &colors, double alpha) | |
Creates the wrapper. More... | |
bool | step (int k) override |
Performs a step in the search procedure. More... | |
Public Attributes | |
double | m_alpha |
NodeColoringBergerRompel & | m_coloring |
NodeArray< NodeColor > & | m_colors |
const Graph & | m_graph |
Wraps the parameterized Berger&Rompel algorithm.
Definition at line 123 of file NodeColoringBergerRompel.h.
|
inline |
Creates the wrapper.
coloringBergerRompel | Reference to the NodeColoringBergerRompel |
graph | The graph to color |
colors | The array of colors to be assigned |
alpha | The alpha control parameter of the Berger&Rompel algorithm |
Definition at line 131 of file NodeColoringBergerRompel.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 135 of file NodeColoringBergerRompel.h.
double ogdf::NodeColoringBergerRompel::SearchWrapperBergerRompel::m_alpha |
Definition at line 143 of file NodeColoringBergerRompel.h.
NodeColoringBergerRompel& ogdf::NodeColoringBergerRompel::SearchWrapperBergerRompel::m_coloring |
Definition at line 140 of file NodeColoringBergerRompel.h.
Definition at line 142 of file NodeColoringBergerRompel.h.
const Graph& ogdf::NodeColoringBergerRompel::SearchWrapperBergerRompel::m_graph |
Definition at line 141 of file NodeColoringBergerRompel.h.