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