GnpGraphGenerator<V,E> |
GnpGraphGenerator.directed(boolean directed) |
Determine if the generated graph(s) is directed or undirected.
|
GnpGraphGenerator<V,E> |
GnpGraphGenerator.edgeProbability(double p) |
Set the probability each edge will exists in the generated graph(s).
|
GnpGraphGenerator<V,E> |
GnpGraphGenerator.edges(IdBuilder<E> edgeBuilder) |
Set the edge builder that will be used to generate edges.
|
GnpGraphGenerator<V,E> |
GnpGraphGenerator.seed(long seed) |
Set the seed of the random number generator used to generate the graph(s).
|
GnpGraphGenerator<V,E> |
GnpGraphGenerator.selfEdges(boolean selfEdges) |
Determine if the generated graph(s) will contain self-edges.
|
GnpGraphGenerator<V,E> |
GnpGraphGenerator.vertices(int verticesNum) |
Set the number of vertices that will be generated for each graph.
|
GnpGraphGenerator<V,E> |
GnpGraphGenerator.vertices(int verticesNum,
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.
|
GnpGraphGenerator<V,E> |
GnpGraphGenerator.vertices(Collection<? extends V> vertices) |
Set the vertices set of the generated graph(s).
|