Uses of Class
com.jgalgo.gen.GnmBipartiteGraphGenerator
Package
Description
Graph generators used to generate (possibly random) graphs with different distributions and structures.
-
Uses of GnmBipartiteGraphGenerator in com.jgalgo.gen
Modifier and TypeMethodDescriptionGnmBipartiteGraphGenerator.directedAll()
Sets the generated graph(s) to be directed with edges in both directions.GnmBipartiteGraphGenerator.directedLeftToRight()
Sets the generated graph(s) to be directed with edges from left to right.GnmBipartiteGraphGenerator.directedRightToLeft()
Sets the generated graph(s) to be directed with edges from right to left.GnmBipartiteGraphGenerator.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.GnmBipartiteGraphGenerator.parallelEdges
(boolean parallelEdges) Determine if the generated graph(s) will contain parallel-edges.GnmBipartiteGraphGenerator.seed
(long seed) Set the seed of the random number generator used to generate the graph(s).GnmBipartiteGraphGenerator.undirected()
Sets the generated graph(s) to be undirected.GnmBipartiteGraphGenerator.vertices
(int leftVerticesNum, int rightVerticesNum) Set the number of vertices that will be generated for each graph.GnmBipartiteGraphGenerator.vertices
(int leftVerticesNum, int rightVerticesNum, IdBuilder<V> vertexBuilder) Set the number of vertices that will be generated for each graph, and the vertex builder that will be used to generate them.GnmBipartiteGraphGenerator.vertices
(Collection<? extends V> leftVertices, Collection<? extends V> rightVertices) Set the vertices of the generated graph(s).