|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.planar.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()
Get number of iterations used by the planar subgraph algorithm. |
int |
getRerouteIterations()
returns the number of iterations over the list of all splitted 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 rerouting is allowed or not resp. |
boolean |
getUseRandomization()
returns indicator for randomization is allowed or not resp. |
boolean |
getUseSmartrouting()
Returns if smart routing should be used. |
void |
setPlanarInformation(PlanarInformation planar)
Set the planar information which will contain the embedding. |
void |
setPlanarSubgraphRandomizationIterations(int planarSubgraphRandomizationIterations)
Sets number of iterations used by the planar subgraph algorithm. |
void |
setRerouteIterations(int i)
sets the number of iterations over the list of all splitted edges |
void |
setUseBiconnectedComponents(boolean b)
sets indicator for usage of bccs is allowed or not resp. |
void |
setUseEdgeRerouting(boolean b)
sets indicator for edge rerouting is allowed or not resp. |
void |
setUseRandomization(boolean b)
sets indicator for randomization is allowed or not resp. |
void |
setUseSmartRouting(boolean value)
Sets if smart routing should be used. |
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 Embedder
planar
- a PlanarInformation objectpublic void setUseEdgeRerouting(boolean b)
b
- true
if edge rerouting is wanted,
else false
public boolean getUseEdgeRerouting()
public void setUseBiconnectedComponents(boolean b)
b
- true
if bcc usage is wanted, else false
public boolean getUseBiconnectedComponents()
true
if bcc usage is wanted, else false
public void setRerouteIterations(int i)
i
- the number of iterationspublic int getRerouteIterations()
public void setUseRandomization(boolean b)
b
- true
if randomization is wanted,
else false
public boolean getUseRandomization()
true
if randomization is wanted,
else false
public void setUseSmartRouting(boolean value)
public boolean getUseSmartrouting()
public 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 Embedder
public void dispose()
dispose
in interface Embedder
protected InitialPlanarSubgraph getPlanarSubgraphInstance(short _subgraphType)
_subgraphType
- specifies the technique used to find a planar subgraph
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |