org.processmining.mining.graphclustering
Class Node

java.lang.Object
  extended by org.processmining.mining.graphclustering.Node
All Implemented Interfaces:
DotFileWriter
Direct Known Subclasses:
ClusterNode

public class Node
extends java.lang.Object
implements DotFileWriter

Author:
Christian W. Guenther (christian@deckfour.org)

Field Summary
protected  ClusterGraph graph
           
protected  int index
           
 
Constructor Summary
Node(ClusterGraph graph, int index)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getElement()
           
 double getFrequency()
           
 ClusterGraph getGraph()
           
 java.lang.String getId()
           
 int getIndex()
           
 java.util.Set<Node> getPredecessors()
           
 java.util.Set<Node> getSuccessors()
           
 java.lang.String getToolTipText()
           
 java.lang.String getType()
           
 boolean isDirectlyConnectedTo(Node other)
           
 void writeToDot(java.io.Writer bw)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

protected int index

graph

protected ClusterGraph graph
Constructor Detail

Node

public Node(ClusterGraph graph,
            int index)
Method Detail

getId

public java.lang.String getId()

getIndex

public int getIndex()

getGraph

public ClusterGraph getGraph()

getElement

public java.lang.String getElement()

getType

public java.lang.String getType()

getFrequency

public double getFrequency()

isDirectlyConnectedTo

public boolean isDirectlyConnectedTo(Node other)

getPredecessors

public java.util.Set<Node> getPredecessors()

getSuccessors

public java.util.Set<Node> getSuccessors()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

writeToDot

public void writeToDot(java.io.Writer bw)
                throws java.io.IOException
Specified by:
writeToDot in interface DotFileWriter
Throws:
java.io.IOException

getToolTipText

public java.lang.String getToolTipText()