|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fhstralsund.vinets.structure.DefaultNetElement
de.fhstralsund.vinets.structure.SimpleGraph.SimpleNode
protected class SimpleGraph.SimpleNode
The standard implementation of the Node interface, an atomar Node.
Field Summary | |
---|---|
protected java.util.Set |
edges
|
protected java.util.Set |
inArcs
|
protected java.util.Set |
outArcs
|
Fields inherited from class de.fhstralsund.vinets.structure.DefaultNetElement |
---|
host, labelMap, original |
Constructor Summary | |
---|---|
protected |
SimpleGraph.SimpleNode(java.lang.String name,
java.lang.Object data)
Creates a new SimpleNode that has this SimpleGraph as its host. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Delivers only a copy of the NetElement, the clone is a Node without any incident Edges. |
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.Set |
inArcsSet()
|
java.util.Iterator |
incidentEdges()
Delivers an Iterator to traverse all incident edges of this Node. |
java.util.Set |
incidentEdgesSet()
|
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. |
java.util.Set |
outArcsSet()
|
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. |
java.util.Set |
undirectedEdgesSet()
|
Methods inherited from class de.fhstralsund.vinets.structure.DefaultNetElement |
---|
clearLabels, containsLabel, getBooleanLabel, getData, getDoubleLabel, getGeometry, getHost, getID, getIntLabel, getLabel, getLabelKeySet, getName, getOriginal, getRepresentation, removeLabel, setBooleanLabel, setData, setDoubleLabel, setGeometry, setIntLabel, setLabel, setName, setRepresentation, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 |
Field Detail |
---|
protected java.util.Set inArcs
protected java.util.Set outArcs
protected java.util.Set edges
Constructor Detail |
---|
protected SimpleGraph.SimpleNode(java.lang.String name, java.lang.Object data)
name
- a name used to identify this Node for the userdata
- external data of any kindMethod Detail |
---|
public boolean isAtomar()
Node
isAtomar
in interface Node
public int outdegree()
Node
outdegree
in interface Node
public int indegree()
Node
indegree
in interface Node
public int degree()
Node
degree
in interface Node
public java.util.Iterator inArcs()
Node
inArcs
in interface Node
public java.util.Iterator outArcs()
Node
outArcs
in interface Node
public java.util.Iterator undirectedEdges()
Node
undirectedEdges
in interface Node
public java.util.Iterator incidentEdges()
Node
incidentEdges
in interface Node
public NodeType getNodeType()
Node
getNodeType
in interface Node
public java.lang.Object clone()
clone
in class DefaultNetElement
public java.util.Set inArcsSet()
public java.util.Set outArcsSet()
public java.util.Set undirectedEdgesSet()
public java.util.Set incidentEdgesSet()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |