a region.
a region.
the minimum source node id in the region
the minimum destination node id in the region
the source node ids in the region are less than srcMax
the destination node ids in the region are less than dstMax
the number of edges in the region
generate edges within a given region
generate edges within a given region
to process
list of edges in the region
get a sample following a multinomial distribution
get a sample following a multinomial distribution
the number of trials
list of probability
a sample following a multinomial distribution
submit the spark job.
submit the spark job.
the number of nodes
the number of edges
degree of parallelism (the number of tasks to run)
spark context
an RDD containing edges of the generated graph
split a region
split a region
to split
list of splitted regions