|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface NeighborhoodGraphProp
Graph property for exploring the local neighborhood of a node in the graph.
| Method Summary | |
|---|---|
Node |
getFirstNode(Edge e)
Return the first node of an edge. |
EdgeIterator |
getIncidentEdges(Node v)
Return an iterator for the local neighborhood of v |
Node |
getOtherNode(Edge e,
Node v)
Given an edge and an incident node, return the other node of the edge |
Node |
getSecondNode(Edge e)
Return the second node of an edge. |
| Methods inherited from interface net.sourceforge.combean.interfaces.graph.Graph |
|---|
getEdgeClass, getNodeClass |
| Method Detail |
|---|
EdgeIterator getIncidentEdges(Node v)
v - the node for which the neighborhood shall be given.
Node getOtherNode(Edge e,
Node v)
e - the given edgev - the give node
Node getFirstNode(Edge e)
e - the edge
Node getSecondNode(Edge e)
e - the edge
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||