|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--spo.src.Generator.Generator
A class which generates the data for testing the SPO data management system
| Field Summary | |
(package private) static java.lang.String |
FILE_BASE
|
(package private) int |
mm
|
| Constructor Summary | |
Generator(int mm)
Initialize an instance for the class |
|
| Method Summary | |
int[] |
getNumbers(int limit)
Obtain the actual number of SPOs which have certain number of context/conditional |
double[] |
getPoisson(int limit)
Obtain the Possion distribution for SPOs which have certain number of context/conditional |
static void |
main(java.lang.String[] args)
The main() method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int mm
static final java.lang.String FILE_BASE
| Constructor Detail |
public Generator(int mm)
mm - number of SPOs in the relation| Method Detail |
public int[] getNumbers(int limit)
public double[] getPoisson(int limit)
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||