Create rows
by cols
grid graph with each vertex connected to its
row+1 and col+1 neighbors.
Create rows
by cols
grid graph with each vertex connected to its
row+1 and col+1 neighbors. Vertex ids are assigned in row major
order.
the spark context in which to construct the graph
the number of rows
the number of columns
A graph containing vertices with the row and column ids as their attributes and edge values as 1.0.
Generate a graph whose vertex out degree distribution is log normal.
Generate a graph whose vertex out degree distribution is log normal.
The default values for mu and sigma are taken from the Pregel paper:
Grzegorz Malewicz, Matthew H. Austern, Aart J.C Bik, James C. Dehnert, Ilan Horn, Naty Leiser, and Grzegorz Czajkowski. 2010. Pregel: a system for large-scale graph processing. SIGMOD '10.
If the seed is -1 (default), a random seed is chosen. Otherwise, use the user-specified seed.
Spark Context
number of vertices in generated graph
(optional) number of partitions
(optional, default: 4.0) mean of out-degree distribution
(optional, default: 1.3) standard deviation of out-degree distribution
(optional, default: -1) seed for RNGs, -1 causes a random seed to be chosen
Graph object
A random graph generator using the R-MAT model, proposed in "R-MAT: A Recursive Model for Graph Mining" by Chakrabarti et al.
A random graph generator using the R-MAT model, proposed in "R-MAT: A Recursive Model for Graph Mining" by Chakrabarti et al.
See http://www.cs.cmu.edu/~christos/PUBLICATIONS/siam04.pdf.
Create a star graph with vertex 0 being the center.
Create a star graph with vertex 0 being the center.
the spark context in which to construct the graph
the number of vertices in the star
A star graph containing nverts
vertices with vertex 0
being the center vertex.
A collection of graph generating functions.