public interface ContextCreator
| 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>> contextBefore,
java.util.List<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,java.lang.Double>> contextAfter) |
java.util.List<Modification> |
getModifications()
We can assume that all the events were added
addToContext(int, int, List, List) before. |
void |
setup(org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses classes,
java.lang.String eventClassLabel,
long seed) |
void setup(org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses classes,
java.lang.String eventClassLabel,
long seed)
log - 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 creatorvoid addToContext(int traceId,
int eventId,
java.util.List<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,java.lang.Double>> contextBefore,
java.util.List<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,java.lang.Double>> contextAfter)
traceId - The id of the trace in the log (log.get(traceId) would return
the )eventId - contextBefore - The context before the current eventcontextAfter - The context after the current eventjava.util.List<Modification> getModifications()
addToContext(int, int, List, List) before.