public class Edge<ED>
extends java.lang.Object
implements scala.Serializable, scala.Product
| Modifier and Type | Method and Description |
|---|---|
ED |
attr() |
long |
dstId() |
long |
otherVertexId(long vid)
Given one vertex in the edge return the other vertex.
|
EdgeDirection |
relativeDirection(long vid)
Return the relative direction of the edge to the corresponding
vertex.
|
long |
srcId() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Edge(long srcId,
long dstId,
ED attr)
public long srcId()
public long dstId()
public ED attr()
public long otherVertexId(long vid)
vid - the id one of the two vertices on the edge.public EdgeDirection relativeDirection(long vid)
vid - the id of one of the two vertices in the edge.