public class FilterLog
extends java.lang.Object
implements org.deckfour.xes.model.XLog
| Constructor and Description |
|---|
FilterLog(org.deckfour.xes.model.XLog log) |
FilterLog(org.deckfour.xes.model.XLog log,
java.util.List<java.util.List<java.lang.Integer>> events) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.deckfour.xes.model.XVisitor arg0) |
void |
add(int index,
org.deckfour.xes.model.XTrace element) |
boolean |
add(org.deckfour.xes.model.XTrace e) |
boolean |
addAll(java.util.Collection<? extends org.deckfour.xes.model.XTrace> c) |
boolean |
addAll(int index,
java.util.Collection<? extends org.deckfour.xes.model.XTrace> c) |
void |
cleanUp()
Clean up remaining traces: check all traces for empty traces and
remove them.
|
void |
clear() |
org.deckfour.xes.model.XLog |
clone()
Clone the FilterLog.
|
boolean |
contains(java.lang.Object trace) |
boolean |
containsAll(java.util.Collection<?> c) |
java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> |
convertToFiltered(java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> events)
Convert set of Event IDs (from the original log) to a set that corresponds
to the filtered log in its current state.
|
java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> |
convertToOriginal(java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> events)
Convert set of Event IDs (from the filtered log in its current state) to a set
that corresponds to the original log.
|
boolean |
equals(java.lang.Object object)
Check whether or not some log is equal to this log.
|
org.deckfour.xes.model.XLog |
generateXLogInstance()
Generate a new (true) XLog instance using the currently active filter state.
|
org.deckfour.xes.model.XTrace |
get(int index) |
org.deckfour.xes.model.XAttributeMap |
getAttributes()
Return the attributes belonging to this XLog instance.
|
java.util.List<org.deckfour.xes.classification.XEventClassifier> |
getClassifiers() |
java.util.Set<org.deckfour.xes.extension.XExtension> |
getExtensions() |
java.util.List<org.deckfour.xes.model.XAttribute> |
getGlobalEventAttributes() |
java.util.List<org.deckfour.xes.model.XAttribute> |
getGlobalTraceAttributes() |
org.deckfour.xes.info.XLogInfo |
getInfo(org.deckfour.xes.classification.XEventClassifier arg0) |
java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> |
getRemainingEvents() |
boolean |
hasAttributes() |
int |
indexOf(java.lang.Object trace) |
int |
indexOfOriginalId(int originalTraceId)
Return the current state index of the trace of which the id is specified.
|
boolean |
isEmpty() |
boolean |
isPristine()
Test whether or not the log has been filtered, or whether it is still the unaltered log.
|
java.util.Iterator<org.deckfour.xes.model.XTrace> |
iterator() |
int |
lastIndexOf(java.lang.Object trace) |
java.util.ListIterator<org.deckfour.xes.model.XTrace> |
listIterator() |
java.util.ListIterator<org.deckfour.xes.model.XTrace> |
listIterator(int index) |
org.deckfour.xes.model.XTrace |
remove(int index) |
boolean |
remove(java.lang.Object trace) |
boolean |
removeAll(java.util.Collection<?> c) |
void |
reset()
Reset filter log to original log (i.e.
|
boolean |
retainAll(java.util.Collection<?> c) |
org.deckfour.xes.model.XTrace |
set(int index,
org.deckfour.xes.model.XTrace trace) |
void |
setAttributes(org.deckfour.xes.model.XAttributeMap attributes) |
void |
setInfo(org.deckfour.xes.classification.XEventClassifier arg0,
org.deckfour.xes.info.XLogInfo arg1) |
void |
setRemainingEvents(java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> remainingEvents)
Specify a new SortedSet of Event IDs as the set of remaining events.
|
int |
size() |
java.util.List<org.deckfour.xes.model.XTrace> |
subList(int fromIndex,
int toIndex) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public FilterLog(org.deckfour.xes.model.XLog log)
public FilterLog(org.deckfour.xes.model.XLog log,
java.util.List<java.util.List<java.lang.Integer>> events)
public boolean equals(java.lang.Object object)
equals in interface java.util.Collection<org.deckfour.xes.model.XTrace>equals in interface java.util.List<org.deckfour.xes.model.XTrace>equals in class java.lang.Objectpublic boolean isPristine()
public void reset()
public void cleanUp()
java.lang.IllegalStateException - Throws an IllegalStateException whenever the
resulting event log is not valid according to the XES Standard. This may
happen when an XLog instance contains 0 traces.public org.deckfour.xes.model.XLog clone()
clone in interface org.deckfour.xes.model.XElementclone in class java.lang.Objectpublic int indexOfOriginalId(int originalTraceId)
originalTraceId - Original Trace ID to search for.public java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> getRemainingEvents()
public void setRemainingEvents(java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> remainingEvents)
remainingEvents - The set of remaining events.public java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> convertToFiltered(java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> events)
events - Set of events with Event IDs corresponding to the original log.public java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> convertToOriginal(java.util.SortedSet<org.processmining.plugins.interactivevisualization.EID> events)
events - Set of events with Event IDs corresponding to the filtered log.public org.deckfour.xes.model.XLog generateXLogInstance()
public boolean hasAttributes()
hasAttributes in interface org.deckfour.xes.model.XAttributablepublic org.deckfour.xes.model.XAttributeMap getAttributes()
getAttributes in interface org.deckfour.xes.model.XAttributablepublic void setAttributes(org.deckfour.xes.model.XAttributeMap attributes)
setAttributes in interface org.deckfour.xes.model.XAttributablepublic java.util.Set<org.deckfour.xes.extension.XExtension> getExtensions()
getExtensions in interface org.deckfour.xes.model.XAttributablepublic boolean add(org.deckfour.xes.model.XTrace e)
add in interface java.util.Collection<org.deckfour.xes.model.XTrace>add in interface java.util.List<org.deckfour.xes.model.XTrace>public void add(int index,
org.deckfour.xes.model.XTrace element)
add in interface java.util.List<org.deckfour.xes.model.XTrace>public boolean addAll(java.util.Collection<? extends org.deckfour.xes.model.XTrace> c)
addAll in interface java.util.Collection<org.deckfour.xes.model.XTrace>addAll in interface java.util.List<org.deckfour.xes.model.XTrace>public boolean addAll(int index,
java.util.Collection<? extends org.deckfour.xes.model.XTrace> c)
addAll in interface java.util.List<org.deckfour.xes.model.XTrace>public void clear()
clear in interface java.util.Collection<org.deckfour.xes.model.XTrace>clear in interface java.util.List<org.deckfour.xes.model.XTrace>public boolean contains(java.lang.Object trace)
contains in interface java.util.Collection<org.deckfour.xes.model.XTrace>contains in interface java.util.List<org.deckfour.xes.model.XTrace>public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<org.deckfour.xes.model.XTrace>containsAll in interface java.util.List<org.deckfour.xes.model.XTrace>public org.deckfour.xes.model.XTrace get(int index)
get in interface java.util.List<org.deckfour.xes.model.XTrace>public int indexOf(java.lang.Object trace)
indexOf in interface java.util.List<org.deckfour.xes.model.XTrace>public boolean isEmpty()
isEmpty in interface java.util.Collection<org.deckfour.xes.model.XTrace>isEmpty in interface java.util.List<org.deckfour.xes.model.XTrace>public java.util.Iterator<org.deckfour.xes.model.XTrace> iterator()
iterator in interface java.lang.Iterable<org.deckfour.xes.model.XTrace>iterator in interface java.util.Collection<org.deckfour.xes.model.XTrace>iterator in interface java.util.List<org.deckfour.xes.model.XTrace>public int lastIndexOf(java.lang.Object trace)
lastIndexOf in interface java.util.List<org.deckfour.xes.model.XTrace>public java.util.ListIterator<org.deckfour.xes.model.XTrace> listIterator()
listIterator in interface java.util.List<org.deckfour.xes.model.XTrace>public java.util.ListIterator<org.deckfour.xes.model.XTrace> listIterator(int index)
listIterator in interface java.util.List<org.deckfour.xes.model.XTrace>public boolean remove(java.lang.Object trace)
remove in interface java.util.Collection<org.deckfour.xes.model.XTrace>remove in interface java.util.List<org.deckfour.xes.model.XTrace>public org.deckfour.xes.model.XTrace remove(int index)
remove in interface java.util.List<org.deckfour.xes.model.XTrace>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<org.deckfour.xes.model.XTrace>removeAll in interface java.util.List<org.deckfour.xes.model.XTrace>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<org.deckfour.xes.model.XTrace>retainAll in interface java.util.List<org.deckfour.xes.model.XTrace>public org.deckfour.xes.model.XTrace set(int index,
org.deckfour.xes.model.XTrace trace)
set in interface java.util.List<org.deckfour.xes.model.XTrace>public int size()
size in interface java.util.Collection<org.deckfour.xes.model.XTrace>size in interface java.util.List<org.deckfour.xes.model.XTrace>public java.util.List<org.deckfour.xes.model.XTrace> subList(int fromIndex,
int toIndex)
subList in interface java.util.List<org.deckfour.xes.model.XTrace>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<org.deckfour.xes.model.XTrace>toArray in interface java.util.List<org.deckfour.xes.model.XTrace>public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<org.deckfour.xes.model.XTrace>toArray in interface java.util.List<org.deckfour.xes.model.XTrace>public java.util.List<org.deckfour.xes.classification.XEventClassifier> getClassifiers()
getClassifiers in interface org.deckfour.xes.model.XLogpublic java.util.List<org.deckfour.xes.model.XAttribute> getGlobalTraceAttributes()
getGlobalTraceAttributes in interface org.deckfour.xes.model.XLogpublic java.util.List<org.deckfour.xes.model.XAttribute> getGlobalEventAttributes()
getGlobalEventAttributes in interface org.deckfour.xes.model.XLogpublic boolean accept(org.deckfour.xes.model.XVisitor arg0)
accept in interface org.deckfour.xes.model.XLogpublic org.deckfour.xes.info.XLogInfo getInfo(org.deckfour.xes.classification.XEventClassifier arg0)
getInfo in interface org.deckfour.xes.model.XLogpublic void setInfo(org.deckfour.xes.classification.XEventClassifier arg0,
org.deckfour.xes.info.XLogInfo arg1)
setInfo in interface org.deckfour.xes.model.XLog