abstract class EdgeContext[VD, ED, A] extends AnyRef
Represents an edge along with its neighboring vertices and allows sending messages along the edge. Used in Graph#aggregateMessages.
- Source
- EdgeContext.scala
- Alphabetic
- By Inheritance
- EdgeContext
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new EdgeContext()
Abstract Value Members
-
abstract
def
attr: ED
The attribute associated with the edge.
-
abstract
def
dstAttr: VD
The vertex attribute of the edge's destination vertex.
-
abstract
def
dstId: VertexId
The vertex id of the edge's destination vertex.
-
abstract
def
sendToDst(msg: A): Unit
Sends a message to the destination vertex.
-
abstract
def
sendToSrc(msg: A): Unit
Sends a message to the source vertex.
-
abstract
def
srcAttr: VD
The vertex attribute of the edge's source vertex.
-
abstract
def
srcId: VertexId
The vertex id of the edge's source vertex.
Concrete Value Members
-
def
toEdgeTriplet: EdgeTriplet[VD, ED]
Converts the edge and vertex properties into an EdgeTriplet for convenience.