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