|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.change.CommutativityLogRelationBuilder
public class CommutativityLogRelationBuilder
This class builds log relations based on the notion of commutativity defined between change operations. It is expected that audit trail entries in the log under consideration adhere to the change log format, as defined. In particular, the presence of the following data attributes is expected (Missing attributes will cause null pointer exceptions and failure):
Field Summary | |
---|---|
protected boolean |
allowConflictingCausality
|
protected LogReader |
log
|
protected Progress |
progress
|
Constructor Summary | |
---|---|
CommutativityLogRelationBuilder(LogReader logReader)
Creates a new instance based on a specific log(reader). |
Method Summary | |
---|---|
protected java.util.ArrayList |
extractParameterList(AuditTrailEntry ate)
This method returns the parameter list of a change operation. |
protected cern.colt.matrix.DoubleMatrix2D |
generateCausalMatrix(cern.colt.matrix.DoubleMatrix2D parallel,
cern.colt.matrix.DoubleMatrix2D directSuccession)
Generates the causal matrix with the option to include conflicting causalities in the final matrix. |
protected cern.colt.matrix.DoubleMatrix2D |
generateParallelMatrix()
Generates the parallelity matrix based on change operation ATE commutativity. |
LogRelations |
getLogRelations()
|
protected boolean |
isCommutative(AuditTrailEntry a,
AuditTrailEntry b)
Checks for two given audit trail entries, whether their represented change operations are considered commutative. |
void |
setAllowConflictingCausality(boolean allowed)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected LogReader log
protected Progress progress
protected boolean allowConflictingCausality
Constructor Detail |
---|
public CommutativityLogRelationBuilder(LogReader logReader)
Method Detail |
---|
public void setAllowConflictingCausality(boolean allowed)
public LogRelations getLogRelations()
getLogRelations
in interface LogRelationBuilder
protected cern.colt.matrix.DoubleMatrix2D generateParallelMatrix()
protected cern.colt.matrix.DoubleMatrix2D generateCausalMatrix(cern.colt.matrix.DoubleMatrix2D parallel, cern.colt.matrix.DoubleMatrix2D directSuccession)
parallel
- directSuccession
-
protected boolean isCommutative(AuditTrailEntry a, AuditTrailEntry b)
a
- b
-
protected java.util.ArrayList extractParameterList(AuditTrailEntry ate)
ate
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |