public final class EventRelationStorageImpl extends java.lang.Object implements EventRelationStorage
EventRelationStorage.Factory
ARTIFICIAL_END, ARTIFICIAL_START
Constructor and Description |
---|
EventRelationStorageImpl(org.deckfour.xes.classification.XEventClasses originalEventClasses) |
Modifier and Type | Method and Description |
---|---|
void |
addDirectlyFollows(org.deckfour.xes.classification.XEventClass source,
org.deckfour.xes.classification.XEventClass target) |
void |
addEventuallyFollows(org.deckfour.xes.classification.XEventClass source,
org.deckfour.xes.classification.XEventClass target) |
void |
addLengthTwoFollows(org.deckfour.xes.classification.XEventClass source,
org.deckfour.xes.classification.XEventClass target) |
void |
addTrace(org.deckfour.xes.model.XTrace trace) |
java.lang.Iterable<org.processmining.models.causalgraph.Relation> |
allCombinations() |
java.lang.Iterable<org.processmining.models.causalgraph.Relation> |
allCombinations(org.deckfour.xes.classification.XEventClass source) |
java.lang.Iterable<org.processmining.models.causalgraph.Relation> |
allNonEqualCombinations() |
java.lang.Iterable<org.processmining.models.causalgraph.Relation> |
allObservedCombinations() |
int |
countDirectlyFollows(org.processmining.models.causalgraph.Relation relation) |
int |
countDirectlyFollows(org.deckfour.xes.classification.XEventClass source,
org.deckfour.xes.classification.XEventClass target) |
int |
countEvents() |
int |
countEventuallyFollows(org.deckfour.xes.classification.XEventClass source,
org.deckfour.xes.classification.XEventClass target) |
int |
countLengthTwoFollows(org.deckfour.xes.classification.XEventClass source,
org.deckfour.xes.classification.XEventClass target) |
int |
countOccurence(org.deckfour.xes.classification.XEventClass eventClass) |
int |
countTraces() |
java.util.Set<org.deckfour.xes.classification.XEventClass> |
directlyFollows(org.deckfour.xes.classification.XEventClass source) |
java.util.Collection<org.deckfour.xes.model.XTrace> |
getAllTraces() |
org.deckfour.xes.classification.XEventClassifier |
getClassifier() |
DependencyRelation |
getDependencyRelation(org.processmining.models.causalgraph.Relation followsRelation) |
com.google.common.collect.Multiset<org.processmining.models.causalgraph.Relation> |
getDirectlyFollowsRelations() |
org.deckfour.xes.classification.XEventClass |
getEndEventClass() |
org.deckfour.xes.classification.XEventClass |
getEventClass(org.deckfour.xes.model.XEvent event) |
com.google.common.collect.ImmutableSet<org.deckfour.xes.classification.XEventClass> |
getEventClasses() |
com.google.common.collect.ImmutableMap<java.lang.String,org.deckfour.xes.classification.XEventClass> |
getEventClassesById() |
com.google.common.collect.Multiset<org.deckfour.xes.classification.XEventClass> |
getEventClassOccurence() |
com.google.common.collect.Multiset<org.processmining.models.causalgraph.Relation> |
getEventuallyFollowsRelations() |
DependencyRelation |
getL1LoopRelation(org.processmining.models.causalgraph.Relation relation) |
com.google.common.collect.Multiset<org.processmining.models.causalgraph.Relation> |
getL2FollowsRelations() |
DependencyRelation |
getL2LoopRelation(org.processmining.models.causalgraph.Relation relation) |
DependencyRelation |
getLongDistanceDependency(org.processmining.models.causalgraph.Relation relation) |
int |
getMaximumDirectlyFollowsCount() |
int[][] |
getRelationAsIntTable(com.google.common.collect.Multiset<org.processmining.models.causalgraph.Relation> relations) |
org.deckfour.xes.classification.XEventClass |
getStartEventClass() |
boolean |
includesStartOrEnd(org.processmining.models.causalgraph.Relation relation) |
java.lang.String |
printRelations() |
public EventRelationStorageImpl(org.deckfour.xes.classification.XEventClasses originalEventClasses)
public java.lang.String printRelations()
public int[][] getRelationAsIntTable(com.google.common.collect.Multiset<org.processmining.models.causalgraph.Relation> relations)
public void addTrace(org.deckfour.xes.model.XTrace trace)
addTrace
in interface EventRelationStorage
public void addEventuallyFollows(org.deckfour.xes.classification.XEventClass source, org.deckfour.xes.classification.XEventClass target)
addEventuallyFollows
in interface EventRelationStorage
public void addLengthTwoFollows(org.deckfour.xes.classification.XEventClass source, org.deckfour.xes.classification.XEventClass target)
addLengthTwoFollows
in interface EventRelationStorage
public void addDirectlyFollows(org.deckfour.xes.classification.XEventClass source, org.deckfour.xes.classification.XEventClass target)
addDirectlyFollows
in interface EventRelationStorage
public org.deckfour.xes.classification.XEventClass getStartEventClass()
getStartEventClass
in interface EventRelationStorage
public org.deckfour.xes.classification.XEventClass getEndEventClass()
getEndEventClass
in interface EventRelationStorage
public org.deckfour.xes.classification.XEventClass getEventClass(org.deckfour.xes.model.XEvent event)
getEventClass
in interface EventRelationStorage
public com.google.common.collect.ImmutableMap<java.lang.String,org.deckfour.xes.classification.XEventClass> getEventClassesById()
getEventClassesById
in interface EventRelationStorage
public org.deckfour.xes.classification.XEventClassifier getClassifier()
getClassifier
in interface EventRelationStorage
public java.util.Collection<org.deckfour.xes.model.XTrace> getAllTraces()
getAllTraces
in interface EventRelationStorage
public com.google.common.collect.Multiset<org.deckfour.xes.classification.XEventClass> getEventClassOccurence()
getEventClassOccurence
in interface EventRelationStorage
public com.google.common.collect.Multiset<org.processmining.models.causalgraph.Relation> getDirectlyFollowsRelations()
getDirectlyFollowsRelations
in interface EventRelationStorage
public com.google.common.collect.Multiset<org.processmining.models.causalgraph.Relation> getL2FollowsRelations()
public com.google.common.collect.Multiset<org.processmining.models.causalgraph.Relation> getEventuallyFollowsRelations()
getEventuallyFollowsRelations
in interface EventRelationStorage
public com.google.common.collect.ImmutableSet<org.deckfour.xes.classification.XEventClass> getEventClasses()
getEventClasses
in interface EventRelationStorage
public int getMaximumDirectlyFollowsCount()
public int countTraces()
countTraces
in interface EventRelationStorage
public int countEvents()
countEvents
in interface EventRelationStorage
public int countOccurence(org.deckfour.xes.classification.XEventClass eventClass)
countOccurence
in interface EventRelationStorage
public int countDirectlyFollows(org.deckfour.xes.classification.XEventClass source, org.deckfour.xes.classification.XEventClass target)
countDirectlyFollows
in interface EventRelationStorage
public int countDirectlyFollows(org.processmining.models.causalgraph.Relation relation)
countDirectlyFollows
in interface EventRelationStorage
public int countLengthTwoFollows(org.deckfour.xes.classification.XEventClass source, org.deckfour.xes.classification.XEventClass target)
countLengthTwoFollows
in interface EventRelationStorage
public int countEventuallyFollows(org.deckfour.xes.classification.XEventClass source, org.deckfour.xes.classification.XEventClass target)
countEventuallyFollows
in interface EventRelationStorage
public DependencyRelation getDependencyRelation(org.processmining.models.causalgraph.Relation followsRelation)
getDependencyRelation
in interface EventRelationStorage
public DependencyRelation getL1LoopRelation(org.processmining.models.causalgraph.Relation relation)
getL1LoopRelation
in interface EventRelationStorage
public DependencyRelation getL2LoopRelation(org.processmining.models.causalgraph.Relation relation)
getL2LoopRelation
in interface EventRelationStorage
public DependencyRelation getLongDistanceDependency(org.processmining.models.causalgraph.Relation relation)
getLongDistanceDependency
in interface EventRelationStorage
public java.lang.Iterable<org.processmining.models.causalgraph.Relation> allCombinations()
allCombinations
in interface EventRelationStorage
public java.lang.Iterable<org.processmining.models.causalgraph.Relation> allCombinations(org.deckfour.xes.classification.XEventClass source)
allCombinations
in interface EventRelationStorage
public java.lang.Iterable<org.processmining.models.causalgraph.Relation> allObservedCombinations()
allObservedCombinations
in interface EventRelationStorage
public java.lang.Iterable<org.processmining.models.causalgraph.Relation> allNonEqualCombinations()
allNonEqualCombinations
in interface EventRelationStorage
public java.util.Set<org.deckfour.xes.classification.XEventClass> directlyFollows(org.deckfour.xes.classification.XEventClass source)
directlyFollows
in interface EventRelationStorage
public boolean includesStartOrEnd(org.processmining.models.causalgraph.Relation relation)
includesStartOrEnd
in interface EventRelationStorage