|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.log.LogEvent
org.processmining.analysis.conformance.DiagnosticLogEvent
public class DiagnosticLogEvent
Data structure to represent a log event, i.e., the actual type of log event, such as 'A complete' (i.e., including event type and opposed to the audit trail entry, which is an occurrence of a log event).
Field Summary |
---|
Fields inherited from class org.processmining.framework.log.LogEvent |
---|
modelElementName, modelElementType, occurenceCount |
Constructor Summary | |
---|---|
DiagnosticLogEvent(java.lang.String name,
java.lang.String type)
Constructor taking the model element and the event type for this log event. |
Method Summary | |
---|---|
void |
addPostActivity(DiagnosticLogEvent event)
Increments the post-occurrence status of the indicated log event by 1. |
void |
addPostActivity(DiagnosticLogEvent event,
int value)
Increments the post-occurrence status of the indicated log event by the indicated value. |
void |
addPreActivity(DiagnosticLogEvent event)
Increments the pre-occurrence status of the indicated log event by 1. |
void |
addPreActivity(DiagnosticLogEvent event,
int value)
Increments the pre-occurrence status of the indicated log event by the indicated value. |
java.util.Set<DiagnosticLogEvent> |
getAlwaysRelationsBackwards(int threshold)
Retrieves all those log events that always happened (some time) before this one. |
java.util.Set<DiagnosticLogEvent> |
getAlwaysRelationsForwards(int threshold)
Retrieves all those log events that always happened (some time) after this one. |
java.util.Set<DiagnosticLogEvent> |
getNeverRelationsBackwards(int threshold)
Retrieves all those log events that never happened (some time) before this one. |
java.util.Set<DiagnosticLogEvent> |
getNeverRelationsForwards(int threshold)
Retrieves all those log events that never happened (some time) after this one. |
java.util.Set<DiagnosticLogEvent> |
getPostActivities()
Retrieves all activities that have occurred after this one. |
int |
getPostActivityStatus(DiagnosticLogEvent event)
Gets the post-occurrence status of the indicated log event. |
java.util.Set<DiagnosticLogEvent> |
getPreActivities()
Retrieves all activities that have occurred before this one. |
int |
getPreActivityStatus(DiagnosticLogEvent event)
Gets the pre-occurrence status of the indicated log event. |
java.util.Set<DiagnosticLogEvent> |
getSometimesRelationForwards(int threshold)
Retrieves all those log events that sometimes happened (some time) after this one. |
java.util.Set<DiagnosticLogEvent> |
getSometimesRelationsBackwards(int threshold)
Retrieves all those log events that sometimes happened (some time) before this one. |
Methods inherited from class org.processmining.framework.log.LogEvent |
---|
clone, compareTo, copy, equals, equals, getEventType, getModelElementName, getOccurrenceCount, hashCode, incOccurrenceCount, incOccurrenceCount, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DiagnosticLogEvent(java.lang.String name, java.lang.String type)
name
- the name of the task in the corresponding processtype
- the life-cycle stage of this log event with respect to the specified activityMethod Detail |
---|
public void addPreActivity(DiagnosticLogEvent event)
event
- the log event which has been occurred some time agopublic void addPreActivity(DiagnosticLogEvent event, int value)
event
- the log event which has been occurred some time agovalue
- the number of times this activity newly occurred before this onepublic int getPreActivityStatus(DiagnosticLogEvent event)
event
- the log event which status is requested
public java.util.Set<DiagnosticLogEvent> getPreActivities()
public void addPostActivity(DiagnosticLogEvent event)
event
- the log event which status is to be updatedpublic void addPostActivity(DiagnosticLogEvent event, int value)
event
- the log event which status is to be updatedvalue
- the number of times this activity newly occurred after this onepublic int getPostActivityStatus(DiagnosticLogEvent event)
event
- the log event which status is requested
public java.util.Set<DiagnosticLogEvent> getPostActivities()
public java.util.Set<DiagnosticLogEvent> getAlwaysRelationsForwards(int threshold)
threshold
- the number of times that an activity may not have occurred
after this one while still being considered to be in "always follows" relation
public java.util.Set<DiagnosticLogEvent> getNeverRelationsForwards(int threshold)
threshold
- the number of times that an activity may have occurred
after this one while still being considered to be in "never follows" relation
public java.util.Set<DiagnosticLogEvent> getSometimesRelationForwards(int threshold)
threshold
- the number of times that an activity may not have occurred
after this one while still being considered to be in "always follows" relation
and the number of times that an activity may have occurred
after this one while still being considered to be in "never follows" relation as
sometimes := all - (always + never)
public java.util.Set<DiagnosticLogEvent> getAlwaysRelationsBackwards(int threshold)
threshold
- the number of times that an activity may not have occurred
before this one while still being considered to be in "always precedes" relation
public java.util.Set<DiagnosticLogEvent> getNeverRelationsBackwards(int threshold)
threshold
- the number of times that an activity may have occurred
before this one while still being considered to be in "never precedes" relation
public java.util.Set<DiagnosticLogEvent> getSometimesRelationsBackwards(int threshold)
threshold
- the number of times that an activity may not have occurred
before this one while still being considered to be in "always precedes" relation
and the number of times that an activity may have occurred
before this one while still being considered to be in "never precedes" relation as
sometimes := all - (always + never)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |