org.processmining.mining.graphclustering
Class SpareClusterGraph
java.lang.Object
org.processmining.mining.graphclustering.SpareClusterGraph
public class SpareClusterGraph
- extends java.lang.Object
- Author:
- Christian W. Guenther (christian@deckfour.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clusterCounter
protected static int clusterCounter
numberFormat
protected static java.text.NumberFormat numberFormat
logEvents
protected LogEvents logEvents
followMatrix
protected cern.colt.matrix.DoubleMatrix2D followMatrix
threshold
protected double threshold
normalizationFactor
protected double normalizationFactor
clusters
protected java.util.ArrayList<SpareClusterGraph.SpareCluster> clusters
clusterMap
protected SpareClusterGraph.SpareCluster[] clusterMap
SpareClusterGraph
public SpareClusterGraph(LogEvents aLogEvents,
cern.colt.matrix.DoubleMatrix2D aFollowMatrix,
double aThreshold)
format
public static java.lang.String format(double number)
calculateNormalizationFactor
protected double calculateNormalizationFactor()
getClusterForIndex
protected SpareClusterGraph.SpareCluster getClusterForIndex(int index)
setThreshold
public void setThreshold(double aThreshold)
getGraphPanel
public javax.swing.JPanel getGraphPanel(double threshold)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeToDot
public void writeToDot(java.io.Writer bw)
throws java.io.IOException
- Throws:
java.io.IOException
getNodeId
protected java.lang.String getNodeId(int index)
clusterGraph
protected void clusterGraph()
victimLeft
protected boolean victimLeft(boolean[] victimMap)