Interface Edge
- All Superinterfaces:
GraphElement
- All Known Implementing Classes:
EgressEdge
,GraphEdge
,HiddenEdge
,IngressEdge
-
Method Summary
-
Method Details
-
getDestination
Node getDestination() -
getSource
Node getSource() -
setDestination
-
setSource
-
getWeight
double getWeight() -
copy
Edge copy() -
get
Returns null if the edge does not contain n. Returns the source if n is the destination. Returns the destination if n is the source.- Parameters:
n
- the node of the edge not to return.
-