Uses of Package
com.jgalgo.gen
Package
Description
Graph generators used to generate (possibly random) graphs with different distributions and structures.
-
ClassDescriptionGenerates a Barabási–Albert graph.Generates the complement graph of a given graph.Generates a complete bipartite graph.Generates a complete graph.Generate a graph that contains the edges that exist in one graph but not in the other.Generate a graph with no edges.Generates a uniformly random bipartite graph among all graphs with \(n\) vertices and \(m\) edges.Generates a uniformly random graph among all graphs with \(n\) vertices and \(m\) edges.Generates a random bipartite graph using the \(G(n_1,n_2,p)\) model in which every edge exists with probability \(p\).Generates a random graph using the \(G(n,p)\) model in which every edge exists with probability \(p\).A generator of graphs.Generate the intersection graph of two or more given graphs.Generates the line graph given an existing graph.Generates a random graph using the R-MAT model.Generate a graph that contains the edges that exist in one of two input graphs but not in both.Generate a uniform random tree.Generate the union graph of two or more given graphs.