Uses of Class
com.jgalgo.gen.EmptyGraphGenerator
Package
Description
Graph generators used to generate (possibly random) graphs with different distributions and structures.
-
Uses of EmptyGraphGenerator in com.jgalgo.gen
Modifier and TypeMethodDescriptionEmptyGraphGenerator.directed
(boolean directed) Determine if the generated graph(s) is directed or undirected.EmptyGraphGenerator.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.EmptyGraphGenerator.vertices
(Collection<? extends V> vertices) Set the vertices set of the generated graph(s).