org.processmining.mining.graphclustering
Class Node
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
index
protected int index
graph
protected ClusterGraph graph
Node
public Node(ClusterGraph graph,
int index)
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()