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

java.lang.Objectnet.sourceforge.combean.graph.decorators.AbstractDecoratedGraph
net.sourceforge.combean.graph.decorators.TransposedGraph
public class TransposedGraph
Decorator which turns a graph into the transposed graph, i.e., the graph with the same structure but all edges reversed.
| Constructor Summary | |
|---|---|
TransposedGraph(DirectedEdgeNeighborhoodGraphProp g)
Constructor param g the graph which shall be transposed |
|
| 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 |
EdgeIterator |
getIncomingEdges(Node v)
Get all incoming edges of a given node |
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. |
boolean |
mayNestGraphProp(Class wantedProp)
Check whether a property may be provided to the user by the nested graph |
| Methods inherited from class net.sourceforge.combean.graph.decorators.AbstractDecoratedGraph |
|---|
getEdgeClass, getNestedGraph, getNodeClass, isModifiableGraphProp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sourceforge.combean.interfaces.graph.Graph |
|---|
getEdgeClass, getNodeClass |
| Methods inherited from interface net.sourceforge.combean.interfaces.graph.prop.NestedGraphProp |
|---|
getNestedGraph |
| Constructor Detail |
|---|
public TransposedGraph(DirectedEdgeNeighborhoodGraphProp g)
| Method Detail |
|---|
public EdgeIterator getOutgoingEdges(Node v)
OutgoingEdgeNeighborhoodGraphProp
getOutgoingEdges in interface OutgoingEdgeNeighborhoodGraphProppublic EdgeIterator getIncomingEdges(Node v)
IncomingEdgeNeighborhoodGraphProp
getIncomingEdges in interface IncomingEdgeNeighborhoodGraphProppublic EdgeIterator getIncidentEdges(Node v)
NeighborhoodGraphProp
getIncidentEdges in interface NeighborhoodGraphPropv - the node for which the neighborhood shall be given.
public Node getOtherNode(Edge e,
Node v)
NeighborhoodGraphProp
getOtherNode in interface NeighborhoodGraphPrope - the given edgev - the give node
public Node getFirstNode(Edge e)
NeighborhoodGraphProp
getFirstNode in interface NeighborhoodGraphPrope - the edge
public Node getSecondNode(Edge e)
NeighborhoodGraphProp
getSecondNode in interface NeighborhoodGraphPrope - the edge
public boolean mayNestGraphProp(Class wantedProp)
NestedGraphProp
mayNestGraphProp in interface NestedGraphPropwantedProp - the property which the user wants to use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||