ibspan.tss.test
Class RandomEventGenerator
java.lang.Object
ibspan.tss.test.RandomGenerator
ibspan.tss.test.RandomEventGenerator
public class RandomEventGenerator
- extends RandomGenerator
- Author:
- maciek
Method Summary |
Event |
createClickOrRateEvent(Integer uid,
Integer sid,
String targetURI,
OntModel umModel,
OntModel history,
boolean rate)
|
Event |
createEvent(OntModel history)
|
Event |
createQueryEvent(Integer uid,
Integer sid,
Map<String,String> mappedContext,
OntModel umModel,
OntModel history)
|
protected Object |
getRandomObject(List l)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomEventGenerator
public RandomEventGenerator(OntModel umModel,
OntModel restaurants,
OntModel domain,
int uidsSize,
int sidsSize)
throws com.ibm.adtech.jastor.JastorException
- Throws:
com.ibm.adtech.jastor.JastorException
createClickOrRateEvent
public Event createClickOrRateEvent(Integer uid,
Integer sid,
String targetURI,
OntModel umModel,
OntModel history,
boolean rate)
throws com.ibm.adtech.jastor.JastorException
- Throws:
com.ibm.adtech.jastor.JastorException
createQueryEvent
public Event createQueryEvent(Integer uid,
Integer sid,
Map<String,String> mappedContext,
OntModel umModel,
OntModel history)
throws com.ibm.adtech.jastor.JastorException
- Throws:
com.ibm.adtech.jastor.JastorException
getRandomObject
protected Object getRandomObject(List l)
- Overrides:
getRandomObject
in class RandomGenerator
createEvent
public Event createEvent(OntModel history)
throws com.ibm.adtech.jastor.JastorException
- Throws:
com.ibm.adtech.jastor.JastorException