org.graffiti.plugins.algorithms.generators
Class ExtendedAdjListNode
java.lang.Object
org.graffiti.attributes.AbstractAttributable
org.graffiti.graph.AbstractGraphElement
org.graffiti.graph.AbstractNode
org.graffiti.graph.AdjListNode
org.graffiti.plugins.algorithms.generators.ExtendedAdjListNode
- All Implemented Interfaces:
- Attributable, GraphElement, Node
public class ExtendedAdjListNode
- extends AdjListNode
This class extends the AdjListNode
. The inserting of edges to a
node's internal edge lists is extended. Edges can be inserted at specified
positions now relatively to another edge.
- Version:
- $1.0$ $3.9.2005$
- Author:
- $Marek Piorkowski$
Field Summary |
static int |
AFTER
An edge's position in an edge's list. |
static int |
BEFORE
An edge's position in an edge's list. |
static int |
LAST
An edge's position in an edge's list. |
Methods inherited from class org.graffiti.graph.AbstractNode |
getAllInEdges, getAllInNeighbors, getAllOutEdges, getAllOutNeighbors, getDirectedInEdges, getDirectedOutEdges, getEdges, getInNeighbors, getInNeighborsIterator, getNeighbors, getNeighborsIterator, getOutNeighbors, getOutNeighborsIterator, getUndirectedEdges, getUndirectedNeighbors |
Methods inherited from class org.graffiti.attributes.AbstractAttributable |
addAttribute, addBoolean, addByte, addDouble, addFloat, addInteger, addLong, addShort, addString, changeBoolean, changeByte, changeDouble, changeFloat, changeInteger, changeLong, changeShort, changeString, containsAttribute, getAttribute, getAttributes, getBoolean, getByte, getDouble, getFloat, getInteger, getLong, getShort, getString, removeAttribute, setBoolean, setByte, setDouble, setFloat, setInteger, setLong, setShort, setString |
Methods inherited from interface org.graffiti.graph.Node |
getAllInEdges, getAllInNeighbors, getAllOutEdges, getAllOutNeighbors, getDirectedInEdges, getDirectedOutEdges, getEdges, getInNeighbors, getInNeighborsIterator, getNeighbors, getNeighborsIterator, getOutNeighbors, getOutNeighborsIterator, getUndirectedEdges, getUndirectedNeighbors |
Methods inherited from interface org.graffiti.attributes.Attributable |
addAttribute, addBoolean, addByte, addDouble, addFloat, addInteger, addLong, addShort, addString, changeBoolean, changeByte, changeDouble, changeFloat, changeInteger, changeLong, changeShort, changeString, containsAttribute, getAttribute, getAttributes, getBoolean, getByte, getDouble, getFloat, getInteger, getListenerManager, getLong, getShort, getString, removeAttribute, setBoolean, setByte, setDouble, setFloat, setInteger, setLong, setShort, setString |
BEFORE
public static final int BEFORE
- An edge's position in an edge's list.
- See Also:
- Constant Field Values
AFTER
public static final int AFTER
- An edge's position in an edge's list.
- See Also:
- Constant Field Values
LAST
public static final int LAST
- An edge's position in an edge's list.
- See Also:
- Constant Field Values
addInEdgeAt
public void addInEdgeAt(AdjListEdge edge,
AdjListEdge positionEdge,
int position)
- Adds a new ingoing
Edge
to the corresponding
Edge
list. Informs the ListenerManageer about the change.
The new edge is positioned as specified at the parameter position
relatively to the Edge
positionEdge.
- Parameters:
edge
- the Edge
to be added.positionEdge
- The position of Edge
edge is set relatively to
this positionEdge.position
- The position the Edge
edge.
Generated at 2012-05-30 11:01:25 PM CEST