|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.slimgraph.KGraphSection
public class KGraphSection
Section of a slim graph.
TODO: Change the whole concept of subgraphs! This approach here is not good.
Constructor Summary | |
---|---|
KGraphSection()
|
Method Summary | |
---|---|
boolean |
contains(KSlimNode node)
Checks whether this graph section contains the given node by performing a binary search in the sorted list of contained nodes. |
List<KSlimNode> |
getNodes()
Returns the nodes. |
void |
removeEdge(KSlimNode.IncEntry edgeEntry)
Removes the given edge from the incidence lists of its source and target. |
void |
restoreEdges()
Restores all edges that were removed. |
void |
sortNodes()
Sorts the nodes of this graph section. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KGraphSection()
Method Detail |
---|
public List<KSlimNode> getNodes()
public void sortNodes()
contains(TSMNode)
.
public boolean contains(KSlimNode node)
node
- node to lookup
nodes
public void removeEdge(KSlimNode.IncEntry edgeEntry)
edgeEntry
- edge entry to remove from this graph sectionpublic void restoreEdges()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |