|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.analysis.decisionmining.DecisionCategory
public class DecisionCategory
A decision category represents one alternative branch spawned by a
decision point.
It is characterized by one or more log events, each indicating that
the corresponding path has been taken with respect to an event log.
The case that there are more than one log event characterizing the
decision category occurs if there are invisible tasks directly following
the decision point (which in turn spawn further parallel or alternative
paths).
The list of log events must then be understood as a disjunction, i.e., the
occurrence of each of the events in the log is sufficient to determine that
that path has been taken.
A category can also be empty if there are no visible tasks contained in
that alternative branch (i.e., from a log perspective it cannot be
determined whether this path has been taken).
Constructor Summary | |
---|---|
DecisionCategory(DecisionPoint parent,
int ID,
java.util.ArrayList logEvents,
ModelGraphVertex target)
Creates a new decision category for the given decision point. |
Method Summary | |
---|---|
void |
addDecisionRule(java.lang.String rule)
Adds the given rule to the rule set for this decision class. |
void |
cleanDecisionRules()
Removes all decision rules attached to this data dependency. |
boolean |
contains(LogEvent toCompare)
Determines whether the given log event is associated to this decision category. |
java.util.ArrayList |
getAssociatedLogEvents()
Retrieves the log events associated to this decision class. |
java.lang.String |
getBranchSpecification()
Returns the list of log events that indicate the occurrence of this alternative branch. |
java.lang.String |
getDataDependencyExpression()
Creates a data dependency expression that can be readily included in a CPN guard condition representing that data dependency. |
java.lang.String |
getID()
Creates a compound ID of the form "ParentDecisionPointID.DecisionCategoryID", which can be, e.g., used for serialization. |
ModelGraphVertex |
getTargetNode()
Retrieves the target node of the data dependency associated to this decision category (i.e., the first transition on this alternative branch). |
boolean |
isEmpty()
Determines whether there is at least one log event associated to this decision category that indicates its occurrence with respect to the log. |
java.lang.String |
toString()
Creates a name for this decision category based on the associated log events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DecisionCategory(DecisionPoint parent, int ID, java.util.ArrayList logEvents, ModelGraphVertex target)
parent
- the belonging decisin pointID
- the local ID with respect to the belonging decision pointlogEvents
- the log events associated to this categorytarget
- the target node of the data dependency associated to this decision category
(necessary for exporting a simulation model to CPN)Method Detail |
---|
public ModelGraphVertex getTargetNode()
public java.lang.String getID()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getBranchSpecification()
public boolean isEmpty()
false
if there is at least one log event assigned
to this category, true
otherwisepublic boolean contains(LogEvent toCompare)
toCompare
- the log event to be compared with the assigned log events
true
if there could be a log event found in the list that
is equal to the given one, false
otherwisepublic java.util.ArrayList getAssociatedLogEvents()
public void addDecisionRule(java.lang.String rule)
rule
- the rule to be added to this decision classgetDataDependencyExpression()
public void cleanDecisionRules()
public java.lang.String getDataDependencyExpression()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |