|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pedviz.algorithms.SameParents
public class SameParents
This class clusters all nodes with the same parents. The cluster is a dummy node and his edges are alle edges from his sub nodes.This way of clustering has enabled us to get a visual compression (one line from parents to all children).
Constructor Summary | |
---|---|
SameParents(java.util.ArrayList<Graph> graphs)
Creates the SameParents algorithm with the given collection of Graph objects. |
|
SameParents(Graph graph)
Creates the SameParents algorithm with the given Graph object. |
Method Summary | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener l)
Registers a ChangeListener. |
java.lang.String |
getMessage()
Returns a short description of the algorithm. |
int |
getPercentComplete()
Returns the progress in percents from 0 to 100 |
void |
run()
Starts the algorithm. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SameParents(Graph graph)
graph
- public SameParents(java.util.ArrayList<Graph> graphs)
graph
- Method Detail |
---|
public java.lang.String getMessage()
Algorithm
getMessage
in interface Algorithm
public void run()
Algorithm
run
in interface java.lang.Runnable
run
in interface Algorithm
public int getPercentComplete()
Algorithm
getPercentComplete
in interface Algorithm
public void addChangeListener(javax.swing.event.ChangeListener l)
Algorithm
addChangeListener
in interface Algorithm
l
- Change
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |