|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Node
A Node object models a Node of a Graph or HyperGraph. It provides access to all properties that a Node may have. In a hierarchical Graph, the interface reveals the view on a Node from outside. Normally, a class which implements this interface has no public constructor, but its instances are created by a factory method of the corresponding Graph class.
Method Summary | |
---|---|
int |
degree()
Delivers the number of undirected edges incident to this Node. |
NodeType |
getNodeType()
Delivers the Type of this Node. |
java.util.Iterator |
inArcs()
Delivers an Iterator to traverse all incoming arcs of this Node. |
java.util.Iterator |
incidentEdges()
Delivers an Iterator to traverse all incident edges of this Node. |
int |
indegree()
Delivers the number of incoming arcs of this Node. |
boolean |
isAtomar()
Indicates whether this Node is atomar, i.e. does not contain any inner graph hierarchically. |
java.util.Iterator |
outArcs()
Delivers an Iterator to traverse all outgoing arcs of this Node. |
int |
outdegree()
Delivers the number of outgoing arcs of this Node. |
java.util.Iterator |
undirectedEdges()
Delivers an Iterator to traverse all undirected edges incident to this Node. |
Methods inherited from interface de.fhstralsund.vinets.structure.NetElement |
---|
clearLabels, containsLabel, getBooleanLabel, getData, getDoubleLabel, getGeometry, getHost, getID, getIntLabel, getLabel, getLabelKeySet, getName, getOriginal, getRepresentation, removeLabel, setBooleanLabel, setData, setDoubleLabel, setGeometry, setIntLabel, setLabel, setName, setRepresentation |
Method Detail |
---|
boolean isAtomar()
int outdegree()
int indegree()
int degree()
java.util.Iterator outArcs()
java.util.Iterator inArcs()
java.util.Iterator undirectedEdges()
java.util.Iterator incidentEdges()
NodeType getNodeType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |