|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.analysis.decisionmining.DecisionMiningLogTrace
public class DecisionMiningLogTrace
Records additional information related to the decision points of the connected process model for one Process instance (i.e., records which alternative paths have been taken in this trace).
Constructor Summary | |
---|---|
DecisionMiningLogTrace(ProcessInstance pi)
Create a diagnostic log trace by copying the ordinary process instance. |
Method Summary | |
---|---|
void |
addDecisionOccurrences(java.lang.String branchName,
java.lang.Integer value)
Increment the corresponding entry by the specified value. |
ProcessInstance |
getProcessInstance()
Retrieves the process instance represented by this log trace. |
void |
incrementDecisionOccurrences(java.lang.String branchName)
The increment of the corresponding missingTokens entry is assumed to be 1. |
void |
initDiagnosticDataStructures(java.util.List<DecisionPoint> decisionPoints)
Initializes the diagnostic entry for each branch of each decision point with 0 . |
weka.core.Instance |
makeInstance(weka.core.Instances dataset,
int attInfoSize)
Creates a learning instance that can be used by a weka data mining algorithm. |
java.lang.String |
toString()
Returns the name of this process instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DecisionMiningLogTrace(ProcessInstance pi)
pi
- the template process instance used to create the diagnostic log traceMethod Detail |
---|
public ProcessInstance getProcessInstance()
public void initDiagnosticDataStructures(java.util.List<DecisionPoint> decisionPoints)
0
.
decisionPoints
- the list of decision points for which the taken
branches will be recordedpublic void addDecisionOccurrences(java.lang.String branchName, java.lang.Integer value) throws java.lang.Exception
branchName
- the name of the decision branch to be updatedvalue
- the value to be added to the current value
java.lang.Exception
- in the case that the specified entry is missingpublic void incrementDecisionOccurrences(java.lang.String branchName) throws java.lang.Exception
branchName
- the name of the decision branch to be updated
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
public weka.core.Instance makeInstance(weka.core.Instances dataset, int attInfoSize)
dataset
- the enclosing data setattInfoSize
- the number of attributes (including the class attribute) specified by the instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |