Uses of Class
com.jgalgo.gen.RecursiveMatrixGraphGenerator
Package
Description
Graph generators used to generate (possibly random) graphs with different distributions and structures.
-
Uses of RecursiveMatrixGraphGenerator in com.jgalgo.gen
Modifier and TypeMethodDescriptionRecursiveMatrixGraphGenerator.directed
(boolean directed) Determine if the generated graph(s) is directed or undirected.RecursiveMatrixGraphGenerator.edgeProbabilities
(double a, double b, double c, double d) Set the edge probabilities of the generated graph(s).RecursiveMatrixGraphGenerator.edges
(int edgesNum) Set the number of edges what will be generated for each graph.Set the number of edges what will be generated for each graph, and the edge builder that will be used to generate them.RecursiveMatrixGraphGenerator.seed
(long seed) Set the seed of the random number generator used to generate the graph(s).RecursiveMatrixGraphGenerator.vertices
(int verticesNum) Set the number of vertices that will be generated for each graph.Set the number of vertices that will be generated for each graph, and the vertex builder that will be used to generate them.RecursiveMatrixGraphGenerator.vertices
(Collection<? extends V> vertices) Set the vertices set of the generated graph(s).