org.processmining.mining.fuzzymining.graph
Class FuzzyGraph

java.lang.Object
  extended by org.processmining.mining.fuzzymining.graph.FuzzyGraph
All Implemented Interfaces:
DotFileWriter

public class FuzzyGraph
extends java.lang.Object
implements DotFileWriter


Field Summary
protected  double[][] actBinaryCorrelation
           
protected  double[][] actBinarySignificance
           
protected  java.util.ArrayList<ClusterNode> clusterNodes
           
protected  LogEvents events
           
protected  MetricsRepository metrics
           
protected  Node[] nodeAliasMap
           
protected  java.util.ArrayList<Node> nodes
           
protected static java.text.NumberFormat numberFormat
           
protected  int numberOfInitialNodes
           
protected  Node[] primitiveNodes
           
 
Constructor Summary
FuzzyGraph(MetricsRepository metrics)
           
 
Method Summary
 void addClusterNode(ClusterNode cluster)
           
static java.lang.String format(double number)
           
 double getBinaryCorrelation(int fromIndex, int toIndex)
           
 double getBinarySignificance(int fromIndex, int toIndex)
           
 java.util.List<ClusterNode> getClusterNodes()
           
 javax.swing.JPanel getGraphPanel()
           
 LogEvents getLogEvents()
           
 MetricsRepository getMetrics()
           
 double getMinimalNodeSignificance()
           
 Node getNodeMappedTo(int index)
           
 int getNumberOfInitialNodes()
           
 Node getPrimitiveNode(int index)
           
 double[] getSortedNodeSignificances()
           
 double getThresholdShowingPrimitives(int numberOfPrimitives)
           
 void initializeGraph()
          initializes the graph structure as found in metrics repository
 boolean removeClusterNode(ClusterNode cluster)
           
 void setBinaryCorrelation(int fromIndex, int toIndex, double value)
           
 void setBinarySignificance(int fromIndex, int toIndex, double value)
           
 void setNodeAliasMapping(int index, Node alias)
           
 void writeToDot(java.io.Writer bw)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

FuzzyGraph

public FuzzyGraph(MetricsRepository metrics)
Method Detail

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