Class MultiPhaseMinerMatrix
- java.lang.Object
-
- org.processmining.logprojection.abstraction.MultiPhaseMinerMatrix
-
- All Implemented Interfaces:
CausalDependencyMatrix
public class MultiPhaseMinerMatrix extends java.lang.Object implements CausalDependencyMatrix
-
-
Field Summary
Fields Modifier and Type Field Description protected int[][]edgeOccCountprotected LightLoglogprotected int[]occCountprotected int[]postSetSizeprotected int[][]predecessorsprotected int[]preSetSizeprotected int[][]successors
-
Constructor Summary
Constructors Constructor Description MultiPhaseMinerMatrix(LightLog log, CausalDependencyMatrix causal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuildTrace(int t)doublegetCausalDependency(int node1, int node2)Returns a value between 0 and 1 indicating the strenght of the causal depencencies between two nodes.protected MultiPhaseContextgetContextForEvent(int t, int e, int depth, boolean useFrequencies)intgetCount(int node1, int node2)java.lang.StringgetEventClass(int i)gnu.trove.map.TObjectIntMap<MultiPhaseContext>getFeatureSet(int node, boolean useFrequencies)protected intgetFirstPredecessor(LightTrace trace, int e, int evt)protected intgetFirstSuccessor(LightTrace trace, int e, int evt)intgetNumberOfNodes()intgetOccurenceCount(int i)intgetSuccessionCount(int node1, int node2)protected voidreLabelLog(CausalDependencyMatrix matrix)java.lang.StringtoString()
-
-
-
Field Detail
-
predecessors
protected final int[][] predecessors
-
successors
protected final int[][] successors
-
edgeOccCount
protected final int[][] edgeOccCount
-
occCount
protected final int[] occCount
-
preSetSize
protected final int[] preSetSize
-
postSetSize
protected final int[] postSetSize
-
log
protected final LightLog log
-
-
Constructor Detail
-
MultiPhaseMinerMatrix
public MultiPhaseMinerMatrix(LightLog log, CausalDependencyMatrix causal)
-
-
Method Detail
-
reLabelLog
protected void reLabelLog(CausalDependencyMatrix matrix)
-
buildTrace
protected void buildTrace(int t)
-
getContextForEvent
protected MultiPhaseContext getContextForEvent(int t, int e, int depth, boolean useFrequencies)
-
getFeatureSet
public gnu.trove.map.TObjectIntMap<MultiPhaseContext> getFeatureSet(int node, boolean useFrequencies)
-
getFirstPredecessor
protected int getFirstPredecessor(LightTrace trace, int e, int evt)
-
getFirstSuccessor
protected int getFirstSuccessor(LightTrace trace, int e, int evt)
-
getSuccessionCount
public int getSuccessionCount(int node1, int node2)
-
getCausalDependency
public double getCausalDependency(int node1, int node2)Description copied from interface:CausalDependencyMatrixReturns a value between 0 and 1 indicating the strenght of the causal depencencies between two nodes.- Specified by:
getCausalDependencyin interfaceCausalDependencyMatrix- Returns:
-
getNumberOfNodes
public int getNumberOfNodes()
- Specified by:
getNumberOfNodesin interfaceCausalDependencyMatrix
-
getOccurenceCount
public int getOccurenceCount(int i)
- Specified by:
getOccurenceCountin interfaceCausalDependencyMatrix
-
getEventClass
public java.lang.String getEventClass(int i)
- Specified by:
getEventClassin interfaceCausalDependencyMatrix
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getCount
public int getCount(int node1, int node2)- Specified by:
getCountin interfaceCausalDependencyMatrix
-
-