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