org.processmining.mining.fuzzymining.graph
Class FuzzyGraph
java.lang.Object
org.processmining.mining.fuzzymining.graph.FuzzyGraph
- All Implemented Interfaces:
- DotFileWriter
public class FuzzyGraph
- extends java.lang.Object
- implements DotFileWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metrics
protected MetricsRepository metrics
numberOfInitialNodes
protected int numberOfInitialNodes
events
protected LogEvents events
nodes
protected java.util.ArrayList<Node> nodes
primitiveNodes
protected Node[] primitiveNodes
clusterNodes
protected java.util.ArrayList<ClusterNode> clusterNodes
actBinarySignificance
protected double[][] actBinarySignificance
actBinaryCorrelation
protected double[][] actBinaryCorrelation
nodeAliasMap
protected Node[] nodeAliasMap
numberFormat
protected static java.text.NumberFormat numberFormat
FuzzyGraph
public FuzzyGraph(MetricsRepository metrics)
format
public static java.lang.String format(double number)
initializeGraph
public void initializeGraph()
- initializes the graph structure as found in metrics repository
getNumberOfInitialNodes
public int getNumberOfInitialNodes()
getMetrics
public MetricsRepository getMetrics()
getLogEvents
public LogEvents getLogEvents()
getPrimitiveNode
public Node getPrimitiveNode(int index)
getNodeMappedTo
public Node getNodeMappedTo(int index)
setNodeAliasMapping
public void setNodeAliasMapping(int index,
Node alias)
getClusterNodes
public java.util.List<ClusterNode> getClusterNodes()
addClusterNode
public void addClusterNode(ClusterNode cluster)
removeClusterNode
public boolean removeClusterNode(ClusterNode cluster)
getBinarySignificance
public double getBinarySignificance(int fromIndex,
int toIndex)
getBinaryCorrelation
public double getBinaryCorrelation(int fromIndex,
int toIndex)
setBinarySignificance
public void setBinarySignificance(int fromIndex,
int toIndex,
double value)
setBinaryCorrelation
public void setBinaryCorrelation(int fromIndex,
int toIndex,
double value)
getThresholdShowingPrimitives
public double getThresholdShowingPrimitives(int numberOfPrimitives)
getMinimalNodeSignificance
public double getMinimalNodeSignificance()
getSortedNodeSignificances
public double[] getSortedNodeSignificances()
writeToDot
public void writeToDot(java.io.Writer bw)
throws java.io.IOException
- Specified by:
writeToDot
in interface DotFileWriter
- Throws:
java.io.IOException
getGraphPanel
public javax.swing.JPanel getGraphPanel()
throws java.lang.Exception
- Throws:
java.lang.Exception