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

java.lang.Objectnet.sourceforge.combean.adapters.drasys.graph.DRAGraphAsGraph
public class DRAGraphAsGraph
| Constructor Summary | |
|---|---|
DRAGraphAsGraph()
|
|
DRAGraphAsGraph(drasys.or.graph.GraphI draGraph)
|
|
| Method Summary | |
|---|---|
protected Edge |
convertToEdge(drasys.or.graph.EdgeI draEdge)
|
protected Node |
convertToNode(drasys.or.graph.VertexI draVertex)
|
EdgeIterator |
getAllEdgesIterator()
|
NodeIterator |
getAllNodesIterator()
Return an iterator for all nodes in the graph |
drasys.or.graph.GraphI |
getDraGraph()
|
Class |
getEdgeClass()
|
Object |
getEdgeValue(Edge e)
|
Node |
getFirstNode(Edge e)
Return the first node of an edge. |
EdgeIterator |
getIncidentEdges(Node v)
Return an iterator for the local neighborhood of v |
EdgeIterator |
getIncomingEdges(Node v)
Get all incoming edges of a given node |
Class |
getNodeClass()
|
int |
getNumEdges()
|
int |
getNumNodes()
Return number of nodes in the graph. |
Node |
getOtherNode(Edge e,
Node v)
Given an edge and an incident node, return the other node of the edge |
EdgeIterator |
getOutgoingEdges(Node v)
Get all outgoing edges of a given node |
Node |
getSecondNode(Edge e)
Return the second node of an edge. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DRAGraphAsGraph()
public DRAGraphAsGraph(drasys.or.graph.GraphI draGraph)
| Method Detail |
|---|
public Class getNodeClass()
getNodeClass in interface Graphpublic Class getEdgeClass()
getEdgeClass in interface Graphpublic final EdgeIterator getAllEdgesIterator()
getAllEdgesIterator in interface GlobalEdgesGraphProppublic final int getNumEdges()
getNumEdges in interface GlobalEdgesGraphProppublic final NodeIterator getAllNodesIterator()
GlobalNodesGraphProp
getAllNodesIterator in interface GlobalNodesGraphProppublic final int getNumNodes()
GlobalNodesGraphProp
getNumNodes in interface GlobalNodesGraphProppublic final EdgeIterator getOutgoingEdges(Node v)
OutgoingEdgeNeighborhoodGraphProp
getOutgoingEdges in interface OutgoingEdgeNeighborhoodGraphProppublic final EdgeIterator getIncomingEdges(Node v)
IncomingEdgeNeighborhoodGraphProp
getIncomingEdges in interface IncomingEdgeNeighborhoodGraphProppublic final Node getFirstNode(Edge e)
NeighborhoodGraphProp
getFirstNode in interface NeighborhoodGraphPrope - the edge
public final EdgeIterator getIncidentEdges(Node v)
NeighborhoodGraphProp
getIncidentEdges in interface NeighborhoodGraphPropv - the node for which the neighborhood shall be given.
public final Node getOtherNode(Edge e,
Node v)
NeighborhoodGraphProp
getOtherNode in interface NeighborhoodGraphPrope - the given edgev - the give node
public final Node getSecondNode(Edge e)
NeighborhoodGraphProp
getSecondNode in interface NeighborhoodGraphPrope - the edge
public final drasys.or.graph.GraphI getDraGraph()
public final Object getEdgeValue(Edge e)
protected Node convertToNode(drasys.or.graph.VertexI draVertex)
protected Edge convertToEdge(drasys.or.graph.EdgeI draEdge)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||