@Deprecated public class CausalActivityGraphImpl extends java.lang.Object implements CausalActivityGraph
Modifier | Constructor and Description |
---|---|
protected |
CausalActivityGraphImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
exportToFile(java.io.File file)
Deprecated.
|
java.util.List<org.deckfour.xes.classification.XEventClass> |
getActivities()
Deprecated.
Returns the (ordered) list of activities in the graph.
|
double |
getCausality(org.deckfour.xes.classification.XEventClass fromActivity,
org.deckfour.xes.classification.XEventClass toActivity)
Deprecated.
Returns the weight of the given edge in the graph.
|
java.lang.String |
getLabel()
Deprecated.
Returns the label for this graph.
|
double |
getMatch(CausalActivityGraph graph)
Deprecated.
Gets the value how good the given graph matches this graph:
- 1.0 means a perfect positive match, both graphs are equal.
|
java.util.Set<org.deckfour.xes.classification.XEventClass> |
getPostSetActivities(org.deckfour.xes.classification.XEventClass activity)
Deprecated.
Returns the postset of the given set activity, that is, the set of set
activities that a incoming causalities from the given activity.
|
java.util.Set<org.deckfour.xes.classification.XEventClass> |
getPreSetActivities(org.deckfour.xes.classification.XEventClass activity)
Deprecated.
Returns the preset of the given set activity, that is, the set of set
activities that a outgoing causalities to the given activity.
|
java.util.Set<org.deckfour.xes.classification.XEventClass> |
getSetActivities()
Deprecated.
Returns the set of set activities in the graph.
|
java.util.Set<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>> |
getSetCausalities()
Deprecated.
Returns the set of set causalities in the graph.
|
java.util.Set<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>> |
getSetCausalities(double threshold)
Deprecated.
Returns the set of causalities in the graph with weight more than the given threshold.
|
java.util.Set<org.deckfour.xes.classification.XEventClass> |
getSinkSetActivities()
Deprecated.
Returns the set activities in the graph that have no outgoing
causalities.
|
java.util.Set<org.deckfour.xes.classification.XEventClass> |
getSourceSetActivities()
Deprecated.
Returns the set activities in the graph that have no incoming
causalities.
|
void |
importFromStream(java.io.InputStream input)
Deprecated.
|
void |
init(java.lang.String label,
java.util.Set<org.deckfour.xes.classification.XEventClass> activities)
Deprecated.
Initializes the graph with the given set of activities.
|
void |
resetActivity(org.deckfour.xes.classification.XEventClass activity)
Deprecated.
Resets the given activity.
|
void |
resetCausality(org.deckfour.xes.classification.XEventClass fromActivity,
org.deckfour.xes.classification.XEventClass toActivity)
Deprecated.
Resets the causality from the given first activity to the given second
activity.
|
void |
setActivity(org.deckfour.xes.classification.XEventClass activity)
Deprecated.
Sets the given activity.
|
void |
setCausality(org.deckfour.xes.classification.XEventClass fromActivity,
org.deckfour.xes.classification.XEventClass toActivity)
Deprecated.
Sets the causality from the given first activity to the given second
activity.
|
void |
setCausality(org.deckfour.xes.classification.XEventClass fromActivity,
org.deckfour.xes.classification.XEventClass toActivity,
double weight)
Deprecated.
Sets the causality from the given first activity to the given second
activity to the given weight.
|
java.lang.String |
toHTMLString(boolean includeHTMLTags)
Deprecated.
|
public void init(java.lang.String label, java.util.Set<org.deckfour.xes.classification.XEventClass> activities)
CausalActivityGraph
init
in interface CausalActivityGraph
label
- The label to use for this graph.activities
- The given set of activities.public java.lang.String getLabel()
CausalActivityGraph
getLabel
in interface CausalActivityGraph
public void setActivity(org.deckfour.xes.classification.XEventClass activity)
CausalActivityGraph
setActivity
in interface CausalActivityGraph
activity
- The given activity.public void setCausality(org.deckfour.xes.classification.XEventClass fromActivity, org.deckfour.xes.classification.XEventClass toActivity)
CausalActivityGraph
setCausality
in interface CausalActivityGraph
fromActivity
- The given first activity.toActivity
- The given second activity.public void setCausality(org.deckfour.xes.classification.XEventClass fromActivity, org.deckfour.xes.classification.XEventClass toActivity, double weight)
CausalActivityGraph
setCausality
in interface CausalActivityGraph
fromActivity
- The given first activity.toActivity
- The given second activity.weight
- The given weight.public void resetActivity(org.deckfour.xes.classification.XEventClass activity)
CausalActivityGraph
resetActivity
in interface CausalActivityGraph
activity
- The given activity.public void resetCausality(org.deckfour.xes.classification.XEventClass fromActivity, org.deckfour.xes.classification.XEventClass toActivity)
CausalActivityGraph
resetCausality
in interface CausalActivityGraph
fromActivity
- The given first activity.toActivity
- The given second activity.public double getCausality(org.deckfour.xes.classification.XEventClass fromActivity, org.deckfour.xes.classification.XEventClass toActivity)
CausalActivityGraph
getCausality
in interface CausalActivityGraph
public java.util.List<org.deckfour.xes.classification.XEventClass> getActivities()
CausalActivityGraph
getActivities
in interface CausalActivityGraph
public java.util.Set<org.deckfour.xes.classification.XEventClass> getSetActivities()
CausalActivityGraph
getSetActivities
in interface CausalActivityGraph
public java.util.Set<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>> getSetCausalities()
CausalActivityGraph
getSetCausalities
in interface CausalActivityGraph
public java.util.Set<org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass>> getSetCausalities(double threshold)
CausalActivityGraph
getSetCausalities
in interface CausalActivityGraph
threshold
- The given threshold.public java.util.Set<org.deckfour.xes.classification.XEventClass> getPreSetActivities(org.deckfour.xes.classification.XEventClass activity)
CausalActivityGraph
getPreSetActivities
in interface CausalActivityGraph
activity
- The given set activity.public java.util.Set<org.deckfour.xes.classification.XEventClass> getPostSetActivities(org.deckfour.xes.classification.XEventClass activity)
CausalActivityGraph
getPostSetActivities
in interface CausalActivityGraph
activity
- The given set activity.public java.util.Set<org.deckfour.xes.classification.XEventClass> getSourceSetActivities()
CausalActivityGraph
getSourceSetActivities
in interface CausalActivityGraph
public java.util.Set<org.deckfour.xes.classification.XEventClass> getSinkSetActivities()
CausalActivityGraph
getSinkSetActivities
in interface CausalActivityGraph
public double getMatch(CausalActivityGraph graph)
CausalActivityGraph
getMatch
in interface CausalActivityGraph
public void importFromStream(java.io.InputStream input) throws java.io.IOException
importFromStream
in interface CausalActivityGraph
java.io.IOException
public void exportToFile(java.io.File file) throws java.io.IOException
exportToFile
in interface CausalActivityGraph
java.io.IOException
public java.lang.String toHTMLString(boolean includeHTMLTags)
toHTMLString
in interface org.processmining.framework.util.HTMLToString