public class HighDimensionalContextCreator extends java.lang.Object implements ContextCreator
| Modifier and Type | Field and Description |
|---|---|
protected org.deckfour.xes.classification.XEventClasses |
classes |
protected gnu.trove.map.hash.THashMap<HighDimPoint,HighDimPoint> |
eventsContextsPerClass |
protected org.deckfour.xes.model.XLog |
log |
protected java.lang.String |
origLabel |
| Constructor and Description |
|---|
HighDimensionalContextCreator() |
| 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) |
org.apache.commons.math3.ml.clustering.DBSCANClusterer<HighDimPoint> |
getHighDimPointDBSCANClusterer(java.util.List<HighDimPoint> points,
org.apache.commons.math3.ml.distance.DistanceMeasure measure) |
java.util.List<Modification> |
getModifications()
We can assume that all the events were added
ContextCreator.addToContext(int, int, List, List) before. |
void |
setup(org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses classes,
java.lang.String origLabel,
long seed) |
protected gnu.trove.map.hash.THashMap<HighDimPoint,HighDimPoint> eventsContextsPerClass
protected org.deckfour.xes.model.XLog log
protected org.deckfour.xes.classification.XEventClasses classes
protected java.lang.String origLabel
public void setup(org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses classes,
java.lang.String origLabel,
long seed)
setup in interface ContextCreatorlog - the log which is processedclasses - the event classes that appear in the logorigLabel - 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>> contextBefore,
java.util.List<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,java.lang.Double>> contextAfter)
addToContext in interface ContextCreatortraceId - The id of the trace in the log (log.get(traceId) would return
the )contextBefore - The context before the current eventcontextAfter - The context after the current eventpublic java.util.List<Modification> getModifications()
ContextCreatorContextCreator.addToContext(int, int, List, List) before.getModifications in interface ContextCreatorpublic org.apache.commons.math3.ml.clustering.DBSCANClusterer<HighDimPoint> getHighDimPointDBSCANClusterer(java.util.List<HighDimPoint> points, org.apache.commons.math3.ml.distance.DistanceMeasure measure)