|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.klodd.hierarchical.structures.slimgraph.KSlimGraph
public class KSlimGraph
The general-purpose slim graph structure. This structure is specially designed for use in graph algorithms for undirected graphs, because each node has only one incidence list for both the incoming and the outgoing edges. However, the direction of each edge can be obtained by a respective entry in the incidence list of the respective node.
Constructor Summary | |
---|---|
KSlimGraph()
|
Method Summary | |
---|---|
List<KSlimEdge> |
getEdges()
Returns the edges. |
KSlimFace |
getExternalFace()
Returns the externalFace. |
List<KSlimFace> |
getFaces()
Returns the faces. |
float |
getHeight()
Returns the height. |
List<KSlimNode> |
getNodes()
Returns the nodes. |
float |
getWidth()
Returns the width. |
void |
setExternalFace(KSlimFace theexternalFace)
Sets the externalFace. |
void |
setHeight(float theheight)
Sets the height. |
void |
setWidth(float thewidth)
Sets the width. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KSlimGraph()
Method Detail |
---|
public String toString()
toString
in class Object
public List<KSlimNode> getNodes()
public List<KSlimEdge> getEdges()
public List<KSlimFace> getFaces()
public void setExternalFace(KSlimFace theexternalFace)
theexternalFace
- the externalFace to setpublic KSlimFace getExternalFace()
public void setWidth(float thewidth)
thewidth
- the width to setpublic float getWidth()
public void setHeight(float theheight)
theheight
- the height to setpublic float getHeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |