me.lemire.integercompression.synth
Class ClusteredDataGenerator
java.lang.Object
me.lemire.integercompression.synth.ClusteredDataGenerator
public class ClusteredDataGenerator
- extends Object
This class will generate lists of random integers based on the clustered model:
Reference:
Vo Ngoc Anh and Alistair Moffat. 2010. Index compression using 64-bit words.
Softw. Pract. Exper.40, 2 (February 2010), 131-147.
- Author:
- Daniel Lemire
|
Method Summary |
int[] |
generateClustered(int N,
int Max)
generates randomly N distinct integers from 0 to Max. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusteredDataGenerator
public ClusteredDataGenerator()
generateClustered
public int[] generateClustered(int N,
int Max)
- generates randomly N distinct integers from 0 to Max.
main
public static void main(String[] args)
Copyright © 2013. All Rights Reserved.