public class CrazyGraph extends java.lang.Object implements ContextCreator
| Modifier and Type | Field and Description |
|---|---|
protected long |
seed |
| Constructor and Description |
|---|
CrazyGraph(boolean split_context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToContext(int traceId,
int eventId,
java.util.List<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,java.lang.Double>> pre_context,
java.util.List<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,java.lang.Double>> post_context) |
java.util.List<Modification> |
getModifications()
We can assume that all the events were added
ContextCreator.addToContext(int, int, List, List) before. |
static void |
main(java.lang.String[] args) |
void |
setup(org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses classes,
java.lang.String eventClassLabel,
long seed) |
public static void main(java.lang.String[] args)
public void setup(org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses classes,
java.lang.String eventClassLabel,
long seed)
setup in interface ContextCreatorlog - the log which is processedclasses - the event classes that appear in the logeventClassLabel - the event label for the class that will be disambiguated.seed - the seed for any random stuff that is happening inside the context creatorpublic void addToContext(int traceId,
int eventId,
java.util.List<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,java.lang.Double>> pre_context,
java.util.List<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,java.lang.Double>> post_context)
addToContext in interface ContextCreatortraceId - The id of the trace in the log (log.get(traceId) would return
the )pre_context - The context before the current eventpost_context - The context after the current eventpublic java.util.List<Modification> getModifications()
ContextCreatorContextCreator.addToContext(int, int, List, List) before.getModifications in interface ContextCreator