RandomGraphBuilderExtension<V, E> extension
Creates random graphs using different models.
- on
-
- GraphBuilder<
V, E>
- GraphBuilder<
Methods
-
randomErdosRenyi(
{required int vertexCount, required double probability}) → Graph< V, E> -
Generates a graph using the Erdős–Rényi model with
vertexCount
vertices and a constantprobability
of creating an edge between any pair of vertices.