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 is log normal.
Generate a graph whose vertex out degree 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.
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.