spo.src.Generator
Class Generator

java.lang.Object
  |
  +--spo.src.Generator.Generator

public class Generator
extends java.lang.Object

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

mm

int mm

FILE_BASE

static final java.lang.String FILE_BASE
See Also:
Constant Field Values
Constructor Detail

Generator

public Generator(int mm)
Initialize an instance for the class

Parameters:
mm - number of SPOs in the relation
Method Detail

getNumbers

public int[] getNumbers(int limit)
Obtain the actual number of SPOs which have certain number of context/conditional


getPoisson

public double[] getPoisson(int limit)
Obtain the Possion distribution for SPOs which have certain number of context/conditional


main

public static void main(java.lang.String[] args)
The main() method



Copyright © 2003 UKCS. All Rights Reserved.