Class ClusteredDataGenerator
- java.lang.Object
-
- com.googlecode.javaewah.benchmark.ClusteredDataGenerator
-
public class ClusteredDataGenerator extends java.lang.Object
This class will generate lists of random integers with a "clustered" distribution. Reference: Anh VN, Moffat A. Index compression using 64-bit words. Software: Practice and Experience 2010; 40(2):131-147.- Author:
- Daniel Lemire
-
-
Constructor Summary
Constructors Constructor Description ClusteredDataGenerator()
ClusteredDataGenerator(int seed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
generateClustered(int N, int Max)
generates randomly N distinct integers from 0 to Max.
-