org.processmining.plugins.log.comparison
Class EventMappingComparison

java.lang.Object
  extended by org.processmining.plugins.log.comparison.EventMappingComparison
All Implemented Interfaces:
org.processmining.framework.util.HTMLToString

public class EventMappingComparison
extends java.lang.Object
implements org.processmining.framework.util.HTMLToString

Author:
Thomas Baier

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.processmining.framework.util.HTMLToString
org.processmining.framework.util.HTMLToString.HTMLCellRenderer
 
Field Summary
protected  java.util.Set<java.lang.Object> activitiesOfRelatedNet
           
protected  java.util.Set<java.lang.Object> eventClassesOfRelatedLog
           
protected  java.util.Set<EventActivityRelation> mapping1Relations
           
protected  java.util.Set<EventActivityRelation> mapping2Relations
           
protected  java.util.Set<EventActivityRelation> matchingRelations
           
protected  java.util.Set<EventActivityRelation> missingRelations
           
protected  java.util.Set<EventActivityRelation> nonmatchingRelations
           
protected  boolean petrinetRelated
           
protected  java.util.Set<EventActivityRelation> uncontainedRelations
           
 
Constructor Summary
EventMappingComparison()
           
 
Method Summary
 java.util.Set<java.lang.Object> getActivitiesOfRelatedNet()
           
 float getActivityNamePrecision(boolean inclEvToAllRelations)
           
 int getCorrectActName(boolean inclEvToAllRelations)
           
 int getCorrectDesc(boolean inclEvToAllRelations)
           
 int getCorrectSubActName(boolean inclEvToAllRelations)
           
 float getDescPrecision(boolean inclEvToAllRelations)
           
 java.util.Set<java.lang.Object> getEventClassesOfRelatedLog()
           
 float getFmeasure(boolean inclEvToAllRelations)
           
 java.util.Set<EventActivityRelation> getMapping1Relations()
           
 java.util.Set<EventActivityRelation> getMapping2Relations()
           
 java.util.Set<EventActivityRelation> getMatchingRelations()
           
 java.util.Set<EventActivityRelation> getMatchingRelations(boolean inclEvToAllRelations)
           
 java.util.Set<EventActivityRelation> getMissingRelations()
           
 java.util.Set<EventActivityRelation> getMissingRelations(boolean inclEvToAllRelations)
           
 java.util.Set<EventActivityRelation> getNonmatchingRelations()
           
 java.util.Set<EventActivityRelation> getNonmatchingRelations(boolean inclEvToAllRelations)
           
 float getPrecision(boolean inclEvToAllRelations)
           
 float getRecall(boolean inclEvToAllRelations)
           
 java.util.Set<EventActivityRelation> getRelationsByProvenance(java.util.Set<EventActivityRelation> relations, java.lang.String provenance, java.util.Set<java.lang.String> excludedProvenance, boolean inclEvToAllRelations)
           
 float getSubActivityNamePrecision(boolean inclEvToAllRelations)
           
 java.util.Set<EventActivityRelation> getUncontainedRelations()
           
 boolean isPetrinetRelated()
           
 void setActivitiesOfRelatedNet(java.util.Set<java.lang.Object> activitiesOfRelatedNet)
           
 void setEventClassesOfRelatedLog(java.util.Set<java.lang.Object> eventClassesOfRelatedLog)
           
 void setMapping1Relations(java.util.Set<EventActivityRelation> mapping1Relations)
           
 void setMapping2Relations(java.util.Set<EventActivityRelation> mapping2Relations)
           
 void setMatchingRelations(java.util.Set<EventActivityRelation> matchingRelations)
           
 void setMissingRelations(java.util.Set<EventActivityRelation> missingRelations)
           
 void setNonmatchingRelations(java.util.Set<EventActivityRelation> nonmatchingRelations)
           
 void setPetrinetRelated(boolean petrinetRelated)
           
 void setUncontainedRelations(java.util.Set<EventActivityRelation> uncontainedRelations)
           
 java.lang.String toHTMLString(boolean includeHTMLTags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matchingRelations

protected java.util.Set<EventActivityRelation> matchingRelations

missingRelations

protected java.util.Set<EventActivityRelation> missingRelations

nonmatchingRelations

protected java.util.Set<EventActivityRelation> nonmatchingRelations

petrinetRelated

protected boolean petrinetRelated

uncontainedRelations

protected java.util.Set<EventActivityRelation> uncontainedRelations

mapping1Relations

protected java.util.Set<EventActivityRelation> mapping1Relations

mapping2Relations

protected java.util.Set<EventActivityRelation> mapping2Relations

activitiesOfRelatedNet

protected java.util.Set<java.lang.Object> activitiesOfRelatedNet

eventClassesOfRelatedLog

protected java.util.Set<java.lang.Object> eventClassesOfRelatedLog
Constructor Detail

EventMappingComparison

public EventMappingComparison()
Method Detail

toHTMLString

public java.lang.String toHTMLString(boolean includeHTMLTags)
Specified by:
toHTMLString in interface org.processmining.framework.util.HTMLToString

getMatchingRelations

public java.util.Set<EventActivityRelation> getMatchingRelations()
Returns:
the matchingRelations

setMatchingRelations

public void setMatchingRelations(java.util.Set<EventActivityRelation> matchingRelations)
Parameters:
matchingRelations - the matchingRelations to set

getMissingRelations

public java.util.Set<EventActivityRelation> getMissingRelations()
Returns:
the missingRelations

setMissingRelations

public void setMissingRelations(java.util.Set<EventActivityRelation> missingRelations)
Parameters:
missingRelations - the missingRelations to set

getNonmatchingRelations

public java.util.Set<EventActivityRelation> getNonmatchingRelations()
Returns:
the nonmatchingRelations

setNonmatchingRelations

public void setNonmatchingRelations(java.util.Set<EventActivityRelation> nonmatchingRelations)
Parameters:
nonmatchingRelations - the nonmatchingRelations to set

getMapping1Relations

public java.util.Set<EventActivityRelation> getMapping1Relations()
Returns:
the mapping1Relations

setMapping1Relations

public void setMapping1Relations(java.util.Set<EventActivityRelation> mapping1Relations)
Parameters:
mapping1Relations - the mapping1Relations to set

getMapping2Relations

public java.util.Set<EventActivityRelation> getMapping2Relations()
Returns:
the mapping2Relations

setMapping2Relations

public void setMapping2Relations(java.util.Set<EventActivityRelation> mapping2Relations)
Parameters:
mapping2Relations - the mapping2Relations to set

isPetrinetRelated

public boolean isPetrinetRelated()
Returns:
the petrinetRelated

setPetrinetRelated

public void setPetrinetRelated(boolean petrinetRelated)
Parameters:
petrinetRelated - the petrinetRelated to set

getUncontainedRelations

public java.util.Set<EventActivityRelation> getUncontainedRelations()
Returns:
the uncontainedRelations

setUncontainedRelations

public void setUncontainedRelations(java.util.Set<EventActivityRelation> uncontainedRelations)
Parameters:
uncontainedRelations - the uncontainedRelations to set

getActivitiesOfRelatedNet

public java.util.Set<java.lang.Object> getActivitiesOfRelatedNet()
Returns:
the activitiesOfRelatedNet

setActivitiesOfRelatedNet

public void setActivitiesOfRelatedNet(java.util.Set<java.lang.Object> activitiesOfRelatedNet)
Parameters:
activitiesOfRelatedNet - the activitiesOfRelatedNet to set

getEventClassesOfRelatedLog

public java.util.Set<java.lang.Object> getEventClassesOfRelatedLog()
Returns:
the eventClassesOfRelatedLog

setEventClassesOfRelatedLog

public void setEventClassesOfRelatedLog(java.util.Set<java.lang.Object> eventClassesOfRelatedLog)
Parameters:
eventClassesOfRelatedLog - the eventClassesOfRelatedLog to set

getPrecision

public float getPrecision(boolean inclEvToAllRelations)
Parameters:
inclEvToAllRelations -
Returns:
the precision

getActivityNamePrecision

public float getActivityNamePrecision(boolean inclEvToAllRelations)

getSubActivityNamePrecision

public float getSubActivityNamePrecision(boolean inclEvToAllRelations)

getDescPrecision

public float getDescPrecision(boolean inclEvToAllRelations)

getRelationsByProvenance

public java.util.Set<EventActivityRelation> getRelationsByProvenance(java.util.Set<EventActivityRelation> relations,
                                                                     java.lang.String provenance,
                                                                     java.util.Set<java.lang.String> excludedProvenance,
                                                                     boolean inclEvToAllRelations)

getRecall

public float getRecall(boolean inclEvToAllRelations)
Parameters:
inclEvToAllRelation -
Returns:
the recall

getFmeasure

public float getFmeasure(boolean inclEvToAllRelations)
Returns:
the fmeasure

getCorrectActName

public int getCorrectActName(boolean inclEvToAllRelations)

getCorrectDesc

public int getCorrectDesc(boolean inclEvToAllRelations)

getCorrectSubActName

public int getCorrectSubActName(boolean inclEvToAllRelations)

getMatchingRelations

public java.util.Set<EventActivityRelation> getMatchingRelations(boolean inclEvToAllRelations)

getMissingRelations

public java.util.Set<EventActivityRelation> getMissingRelations(boolean inclEvToAllRelations)

getNonmatchingRelations

public java.util.Set<EventActivityRelation> getNonmatchingRelations(boolean inclEvToAllRelations)