org.processmining.mining.fuzzymining.graph.transform
Class SimpleTransformer

java.lang.Object
  extended by org.processmining.mining.fuzzymining.graph.transform.FuzzyGraphTransformer
      extended by org.processmining.mining.fuzzymining.graph.transform.SimpleTransformer

public class SimpleTransformer
extends FuzzyGraphTransformer

Author:
christian

Field Summary
protected  FuzzyGraph graph
           
protected  double threshold
           
 
Fields inherited from class org.processmining.mining.fuzzymining.graph.transform.FuzzyGraphTransformer
name
 
Constructor Summary
SimpleTransformer()
           
 
Method Summary
protected  void cleanUpEdges(double significanceThreshold, double correlationThreshold)
           
protected  boolean doSignificantlyOverlap(java.util.Set<Node> first, java.util.Set<Node> second)
           
 double getThreshold()
           
protected  void mergeAllClusters()
           
protected  boolean mergeAllPossibleInto(ClusterNode cluster)
           
protected  ClusterNode mergeClusters(ClusterNode first, ClusterNode second)
           
 void setThreshold(double aThreshold)
           
protected  boolean shouldMerge(ClusterNode first, ClusterNode second)
           
protected  boolean shouldMergeWith(Node node, ClusterNode cluster)
           
 void transform(FuzzyGraph graph)
           
 
Methods inherited from class org.processmining.mining.fuzzymining.graph.transform.FuzzyGraphTransformer
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

threshold

protected double threshold

graph

protected FuzzyGraph graph
Constructor Detail

SimpleTransformer

public SimpleTransformer()
Method Detail

setThreshold

public void setThreshold(double aThreshold)

getThreshold

public double getThreshold()

transform

public void transform(FuzzyGraph graph)
Specified by:
transform in class FuzzyGraphTransformer

shouldMergeWith

protected boolean shouldMergeWith(Node node,
                                  ClusterNode cluster)

shouldMerge

protected boolean shouldMerge(ClusterNode first,
                              ClusterNode second)

doSignificantlyOverlap

protected boolean doSignificantlyOverlap(java.util.Set<Node> first,
                                         java.util.Set<Node> second)

mergeClusters

protected ClusterNode mergeClusters(ClusterNode first,
                                    ClusterNode second)

mergeAllPossibleInto

protected boolean mergeAllPossibleInto(ClusterNode cluster)

mergeAllClusters

protected void mergeAllClusters()

cleanUpEdges

protected void cleanUpEdges(double significanceThreshold,
                            double correlationThreshold)