public interface GraphGenerator
| Modifier and Type | Method and Description |
|---|---|
void |
generateGraph(double avgDegree,
int numberOfEdges,
long seed,
GraphBuilder builder)
Generates a graph based on the given parameters using the given
GraphBuilder. |
void |
generateGraph(int numberOfNodes,
double avgDegree,
long seed,
GraphBuilder builder)
Generates a graph based on the given parameters using the given
GraphBuilder. |
void generateGraph(int numberOfNodes,
double avgDegree,
long seed,
GraphBuilder builder)
GraphBuilder.numberOfNodes - the number of nodes the generated graph should haveavgDegree - the average degree the nodes in the graph should haveseed - the seed that should be used to initialize pseudo random processes
to enable reproducibility of graphs.builder - the GraphBuilder that should be used to create the graph.void generateGraph(double avgDegree,
int numberOfEdges,
long seed,
GraphBuilder builder)
GraphBuilder.avgDegree - the average degree the nodes in the graph should havenumberOfEdges - the number of edges the generated graph should haveseed - the seed that should be used to initialize pseudo random processes
to enable reproducibility of graphs.builder - the GraphBuilder that should be used to create the graph.Copyright © 2019–2020. All rights reserved.