|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.ics.jung.algorithms.layout.AbstractLayout<V,E>
edu.uci.ics.jung.algorithms.layout.ISOMLayout<V,E>
public class ISOMLayout<V,E>
Implements a self-organizing map layout algorithm, based on Meyer's self-organizing graph methods.
| Nested Class Summary | |
|---|---|
protected static class |
ISOMLayout.ISOMVertexData
|
| Field Summary | |
|---|---|
protected GraphElementAccessor<V,E> |
elementAccessor
|
| Fields inherited from class edu.uci.ics.jung.algorithms.layout.AbstractLayout |
|---|
graph, initialized, locations, size |
| Constructor Summary | |
|---|---|
ISOMLayout(Graph<V,E> g)
Creates an ISOMLayout instance for the specified graph g. |
|
| Method Summary | |
|---|---|
boolean |
done()
Returns true if the vertex positions are no longer being
updated. |
protected ISOMLayout.ISOMVertexData |
getISOMVertexData(V v)
|
String |
getStatus()
Returns the current number of epochs and execution status, as a string. |
void |
initialize()
Initializes fields in the node that may not have been set during the constructor. |
boolean |
isIncremental()
This one is an incremental visualization. |
void |
reset()
Resets the layout iteration count to 0, which allows the layout algorithm to continue updating vertex positions. |
void |
step()
Advances the current positions of the graph elements. |
| Methods inherited from class edu.uci.ics.jung.algorithms.layout.AbstractLayout |
|---|
getGraph, getSize, getX, getY, isLocked, lock, lock, offsetVertex, setGraph, setInitializer, setLocation, setLocation, setSize, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected GraphElementAccessor<V,E> elementAccessor
| Constructor Detail |
|---|
public ISOMLayout(Graph<V,E> g)
ISOMLayout instance for the specified graph g.
g - | Method Detail |
|---|
public String getStatus()
public void initialize()
Layout
initialize in interface Layout<V,E>public void step()
step in interface IterativeContextprotected ISOMLayout.ISOMVertexData getISOMVertexData(V v)
public boolean isIncremental()
true is the layout algorithm is incremental, false otherwisepublic boolean done()
true if the vertex positions are no longer being
updated. Currently ISOMLayout stops updating vertex
positions after a certain number of iterations have taken place.
done in interface IterativeContexttrue if the vertex position updates have stopped,
false otherwisepublic void reset()
reset in interface Layout<V,E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||