|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectme.lemire.integercompression.synth.ClusteredDataGenerator
public class ClusteredDataGenerator
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.
| Constructor Summary | |
|---|---|
ClusteredDataGenerator()
Creating random array generator. |
|
| Method Summary | |
|---|---|
int[] |
generateClustered(int N,
int Max)
generates randomly N distinct integers from 0 to Max. |
static void |
main(String[] args)
Little test program. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClusteredDataGenerator()
| Method Detail |
|---|
public int[] generateClustered(int N,
int Max)
N - number of integers to generateMax - maximal value of the integers
public static void main(String[] args)
args - arguments are ignored
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||