Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.grinvin.gred.TransformedEmbedding
Transformation
to an existing embedding.
Constructor Summary | |
|
Method Summary | |
void | |
void |
|
double[] |
|
int |
|
GraphView |
|
void |
public TransformedEmbedding(EmbeddingView delegate, Transformation trans)
Create an embedding of this type.
public void addEmbeddingListener(EmbeddingListener l)
- Specified by:
- addEmbeddingListener in interface EmbeddingModel
public void close()
Decouple listener from delegate. Should be called before this embedding is removed so it can be garbage collected.
public double[] getCoordinates(Vertex v)
Return the coordinates of the given vertex.
- Specified by:
- getCoordinates in interface EmbeddingView
public int getDimension()
Returns the dimension of the Euclidian space into which this graph is embedded.
- Specified by:
- getDimension in interface EmbeddingView
public GraphView getPeer()
Returns the peer graph for this embedding.
- Specified by:
- getPeer in interface EmbeddingView
public void removeEmbeddingListener(EmbeddingListener l)
- Specified by:
- removeEmbeddingListener in interface EmbeddingModel