|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.planar.CombinatorialEmbedder
public class CombinatorialEmbedder
Interface implementation for an embedder.
| Field Summary | |
|---|---|
static short |
DFS_TREE
|
static short |
GT
|
| Constructor Summary | |
|---|---|
CombinatorialEmbedder()
|
|
| Method Summary | |
|---|---|
void |
dispose()
Undoes the changes in the graph and removes the complete help info |
void |
embed()
This method does the whole embedding work |
protected InitialPlanarSubgraph |
getPlanarSubgraphInstance(short _subgraphType)
Returns an instance of which a planar subgraph. |
int |
getPlanarSubgraphRandomizationIterations()
Returns the number of iterations used by the planar subgraph algorithm. |
int |
getRerouteIterations()
Returns the number of iterations over the list of all split edges. |
int |
getReroutingTime()
|
int |
getRoutingTime()
|
int |
getSubgraphTime()
|
boolean |
getUseBiconnectedComponents()
Returns indicator for usage of bccs is allowed or not resp. |
boolean |
getUseEdgeRerouting()
Returns indicator for edge re-routing is allowed or not resp. |
boolean |
getUseFaceMaximization()
Returns if the usage of a face maximizer is wanted or not. |
boolean |
getUseRandomization()
Returns whether randomization is used or not. |
void |
setPlanarInformation(PlanarInformation planar)
Sets the planar information which will contain the embedding. |
void |
setPlanarSubgraphRandomizationIterations(int planarSubgraphRandomizationIterations)
Sets the number of iterations used by the planar subgraph algorithm. |
void |
setRerouteIterations(int i)
Sets the number of iterations over the list of all split edges |
void |
setUseBiconnectedComponents(boolean b)
Sets indicator for usage of bccs is allowed or not resp. |
void |
setUseEdgeRerouting(boolean b)
Sets indicator for edge re-routing is allowed or not resp. |
void |
setUseFaceMaximization(boolean b)
Sets indicator if the usage of a face maximizer is wanted or not. |
void |
setUseRandomization(boolean b)
Sets whether randomization is used or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short GT
public static final short DFS_TREE
| Constructor Detail |
|---|
public CombinatorialEmbedder()
| Method Detail |
|---|
public void setPlanarInformation(PlanarInformation planar)
setPlanarInformation in interface Embedderplanar - a PlanarInformation objectpublic void setUseEdgeRerouting(boolean b)
b - true if edge re-routing is wanted,
else falsepublic boolean getUseEdgeRerouting()
public void setUseBiconnectedComponents(boolean b)
b - true if bcc usage is wanted, else falsepublic boolean getUseBiconnectedComponents()
true if bcc usage is wanted, else falsepublic void setUseFaceMaximization(boolean b)
b - true if one face of the embedding should be
maximized, else falsepublic boolean getUseFaceMaximization()
true if one face of the embedding should be
maximized, else falsepublic void setRerouteIterations(int i)
i - the number of iterationspublic int getRerouteIterations()
public void setUseRandomization(boolean b)
b - true if randomization is wanted,
else falsepublic boolean getUseRandomization()
true if randomization is wanted,
else falsepublic int getPlanarSubgraphRandomizationIterations()
public void setPlanarSubgraphRandomizationIterations(int planarSubgraphRandomizationIterations)
planarSubgraphRandomizationIterations - positive number.public int getSubgraphTime()
public int getRoutingTime()
public int getReroutingTime()
public void embed()
embed in interface Embedderpublic void dispose()
dispose in interface Embedderprotected InitialPlanarSubgraph getPlanarSubgraphInstance(short _subgraphType)
_subgraphType - specifies the technique used to find a planar subgraph
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||