|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
35 namespace steiner_tree {
46 double density(2.0 * m);
62 if (coverage < 0.07) {
70 if (density > 0.1 && coverage > 0.3) {
The namespace for all OGDF objects.
static bool shouldUseAllNodeDijkstra(int n, int m)
Returns true iff the rule of thumb predicts to call Dijkstra on all nodes instead of the algorithm by...
static double computeDensity(int n, int m)
Computes the ratio of edges to potential edges in a simple graph.
static bool shouldUseAllTerminalDijkstra(int n, int m, int t)
Returns true iff the rule of thumb predicts to call Dijkstra on all terminals instead of the algorith...
Contains rules of thumb to decide which (sub-)algorithms to use for the generation of full components...
static bool shouldUseDijkstra(int k, int n, int m, int t)
Returns true iff the rule of thumb predicts to use multiple Dijkstra calls instead of the algorithm b...
static bool shouldUseErickson(int n, int m)
Returns true iff the rule of thumb predicts to use the algorithm by Erickson et al instead of the Dre...