|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectccvisu.Minimizer
public abstract class Minimizer
Minimizer for a given energy model, which is set by the constructor of the concrete minimizer implementation.
| Field Summary | |
|---|---|
protected java.util.Vector<GraphEventListener> |
listeners
when chages occur in the graph |
| Constructor Summary | |
|---|---|
Minimizer()
|
|
| Method Summary | |
|---|---|
void |
addGraphEventListener(GraphEventListener listener)
Constructor |
abstract void |
minimizeEnergy()
Minimizes iteratively the energy using the Barnes-Hut algorithm. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Vector<GraphEventListener> listeners
| Constructor Detail |
|---|
public Minimizer()
| Method Detail |
|---|
public void addGraphEventListener(GraphEventListener listener)
listener - a GraphEventListenerpublic abstract void minimizeEnergy()
pos,
and stores the computed layout as positions in pos.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||