Skip to content

Files

Latest commit

author
Travis CI User
Mar 12, 2019
03343e9 · Mar 12, 2019

History

History
This branch is 282 commits behind gchq/gaffer-tools:master.

random-element-generation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 1, 2019
May 11, 2017
Mar 12, 2019

Random element generation

This module allows the creation of randomly generated large-scale graphs. It is extensible in that new random element generation techniques can be used. Currently it provides an implementation of the RMAT graph generation technique. The user specifies the number of elements the graph should have. The nodes are longs between 0 and the number of nodes specified. Edges are generated at random between nodes. The RMAT technique ensures that the degree distribution is roughly power-law. The Edges have a simple count. The Entities also have a count and a HyperLogLogPlusPlus sketch which gives an approximation of the degree.

The class RandomElementGenerator can be used to produce an Iterable of random elements.