Computes a random set of core edges. More...
#include <ogdf/graphalg/steiner_tree/goemans/CoreEdgeRandomSpanningTree.h>
Public Member Functions | |
CoreEdgeRandomSpanningTree (std::minstd_rand &rng) | |
void | call (const Graph &graph, const List< node > &terminals, EdgeArray< bool > &isInTree) const override |
Compute a set of core edges. More... | |
Private Attributes | |
std::minstd_rand & | m_rng |
Computes a random set of core edges.
Definition at line 50 of file CoreEdgeRandomSpanningTree.h.
|
inline |
Definition at line 54 of file CoreEdgeRandomSpanningTree.h.
|
inlineoverridevirtual |
Compute a set of core edges.
graph | The input graph |
terminals | The terminals of the given graph |
isInTree | The resulting EdgeArray where an edge is true iff it is not a core edge |
Implements ogdf::steiner_tree::goemans::CoreEdgeModule< T >.
Definition at line 56 of file CoreEdgeRandomSpanningTree.h.
|
private |
Definition at line 51 of file CoreEdgeRandomSpanningTree.h.