Implements graph generator for random geographical threshold graphs. More...
#include <ogdf/basic/Array.h>
#include <ogdf/basic/Graph.h>
#include <ogdf/basic/basic.h>
#include <cmath>
#include <functional>
#include <random>
Go to the source code of this file.
Namespaces | |
ogdf | |
The namespace for all OGDF objects. | |
Functions | |
Randomized graph generators | |
template<typename D > | |
void | ogdf::randomGeographicalThresholdGraph (Graph &G, Array< int > &weights, D &dist, double threshold, int alpha=2, int dimension=2) |
Creates a random geometric graph where edges are created based on their distance and the weight of nodes. More... | |
template<typename D > | |
void | ogdf::randomGeographicalThresholdGraph (Graph &G, Array< int > &weights, D &dist, double threshold, std::function< double(double)> h, int dimension=2) |
Creates a random geometric graph where edges are created based on their distance and the weight of nodes. More... | |
Implements graph generator for random geographical threshold graphs.
Definition in file randomGeographicalThresholdGraph.h.