Implements graph generator for random geographical threshold graphs. More...
#include <ogdf/basic/Graph.h>
Go to the source code of this file.
Namespaces | |
namespace | 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. | |
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. | |
Implements graph generator for random geographical threshold graphs.
Definition in file randomGeographicalThresholdGraph.h.