Uses of Class
com.jgalgo.gen.GnpBipartiteGraphGenerator
Package
Description
Graph generators used to generate (possibly random) graphs with different distributions and structures.
-
Uses of GnpBipartiteGraphGenerator in com.jgalgo.gen
Modifier and TypeMethodDescriptionGnpBipartiteGraphGenerator.directedAll()
Sets the generated graph(s) to be directed with edges in both directions.GnpBipartiteGraphGenerator.directedLeftToRight()
Sets the generated graph(s) to be directed with edges from left to right.GnpBipartiteGraphGenerator.directedRightToLeft()
Sets the generated graph(s) to be directed with edges from right to left.GnpBipartiteGraphGenerator.edgeProbability
(double p) Set the probability each edge will exists in the generated graph(s).Set the edge builder that will be used to generate edges.GnpBipartiteGraphGenerator.seed
(long seed) Set the seed of the random number generator used to generate the graph(s).GnpBipartiteGraphGenerator.undirected()
Sets the generated graph(s) to be undirected.GnpBipartiteGraphGenerator.vertices
(int leftVerticesNum, int rightVerticesNum) Set the number of vertices that will be generated for each graph.GnpBipartiteGraphGenerator.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.GnpBipartiteGraphGenerator.vertices
(Collection<? extends V> leftVertices, Collection<? extends V> rightVertices) Set the vertices of the generated graph(s).