public class EventLogFilter
extends java.lang.Object
Constructor and Description |
---|
EventLogFilter() |
Modifier and Type | Method and Description |
---|---|
org.deckfour.xes.model.XLog |
filterWithBoth(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses allEventClasses,
org.deckfour.xes.classification.XEventClass[] eventClassesToKeep,
java.lang.Double minOccurrence,
java.lang.Double minCases,
java.lang.Boolean fullfillBoth)
This method filters a log by removing XEvent objects from all XTrace
object in the given XLog, if the getName() of XEvent is not contained in
the given set of labels.
|
org.deckfour.xes.model.XLog |
filterWithClassifier(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClassifier classifier,
java.lang.String[] selectedIds) |
org.deckfour.xes.model.XLog |
filterWithMinCases(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses allEventClasses,
org.deckfour.xes.classification.XEventClass[] eventClassesToKeep,
java.lang.Double minCases)
This method filters a log by removing XEvent objects from all XTrace
object in the given XLog, if the getName() of XEvent is not contained in
the given set of labels.
|
org.deckfour.xes.model.XLog |
filterWithMinOccFreq(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses allEventClasses,
org.deckfour.xes.classification.XEventClass[] eventClassesToKeep,
java.lang.Double minOccurrence)
This method filters a log by removing XEvent objects from all XTrace
object in the given XLog, if the getName() of XEvent is not contained in
the given set of labels.
|
org.deckfour.xes.model.XLog |
filterWithNames(org.processmining.framework.plugin.PluginContext context,
org.deckfour.xes.model.XLog log,
org.deckfour.xes.classification.XEventClasses allEventClasses,
org.deckfour.xes.classification.XEventClass[] eventClassesToKeep)
This method filters a log by removing XEvent objects from all XTrace
object in the given XLog, if the XEventClass belonging to this XEvent is
not provided in the given XEventClasses object
|
public org.deckfour.xes.model.XLog filterWithNames(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.classification.XEventClasses allEventClasses, org.deckfour.xes.classification.XEventClass[] eventClassesToKeep)
context
- The pluginContext in which this plugin is executedlog
- The log that needs to be filtered.allEventClasses
- All event classesevents
- The event classes that should be kept in the log. Events not
belonging to these classes are removed, after which emtpy
traces are also removedpublic org.deckfour.xes.model.XLog filterWithClassifier(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.classification.XEventClassifier classifier, java.lang.String[] selectedIds)
public org.deckfour.xes.model.XLog filterWithMinOccFreq(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.classification.XEventClasses allEventClasses, org.deckfour.xes.classification.XEventClass[] eventClassesToKeep, java.lang.Double minOccurrence)
context
- The pluginContext in which this plugin is executedlog
- The log that needs to be filtered.allEventClasses
- All event classeseventClassesToKeep
- The event classes that should be kept in the log. Events not
belonging to these classes are removed, after which emtpy
traces are also removedminOccurrence
- All events with an event class which represent less than this
percentage of the events in the log are removed. Value should
be 0 <= minOccurrence <= 1. If 0, then all events are kept, if
1, then no events are kept.public org.deckfour.xes.model.XLog filterWithMinCases(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.classification.XEventClasses allEventClasses, org.deckfour.xes.classification.XEventClass[] eventClassesToKeep, java.lang.Double minCases)
context
- The pluginContext in which this plugin is executedlog
- The log that needs to be filtered.allEventClasses
- All event classeseventClassesToKeep
- The event classes that should be kept in the log. Events not
belonging to these classes are removed, after which emtpy
traces are also removedminCases
- All events which occur in less than minCasses percent of the
cases are removed. Value should be 0 <= minCases <= 1. If 0,
then all events are kept, if 1, then only events appearing in
all cases are kept.public org.deckfour.xes.model.XLog filterWithBoth(org.processmining.framework.plugin.PluginContext context, org.deckfour.xes.model.XLog log, org.deckfour.xes.classification.XEventClasses allEventClasses, org.deckfour.xes.classification.XEventClass[] eventClassesToKeep, java.lang.Double minOccurrence, java.lang.Double minCases, java.lang.Boolean fullfillBoth)
context
- The pluginContext in which this plugin is executedlog
- The log that needs to be filtered.allEventClasses
- All event classeseventClassesToKeep
- The event classes that should be kept in the log. Events not
belonging to these classes are removed, after which emtpy
traces are also removedminOccurrence
- All events with an event class which represent less than this
percentage of the events in the log are removed. Value should
be 0 <= minOccurrence <= 1. If 0, then all events are kept, if
1, then no events are kept.minCases
- All events which occur in less than minCasses percent of the
cases are removed. Value should be 0 <= minCases <= 1. If 0,
then all events are kept, if 1, then only events appearing in
all cases are kept.fullfillBoth
- A boolean indicating wheter both minimal frequencies should be
obeyed (true) or whether one is enough (false)