Packages

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
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EdgeContext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EdgeContext()

Abstract Value Members

  1. abstract def attr: ED

    The attribute associated with the edge.

  2. abstract def dstAttr: VD

    The vertex attribute of the edge's destination vertex.

  3. abstract def dstId: VertexId

    The vertex id of the edge's destination vertex.

  4. abstract def sendToDst(msg: A): Unit

    Sends a message to the destination vertex.

  5. abstract def sendToSrc(msg: A): Unit

    Sends a message to the source vertex.

  6. abstract def srcAttr: VD

    The vertex attribute of the edge's source vertex.

  7. abstract def srcId: VertexId

    The vertex id of the edge's source vertex.

Concrete Value Members

  1. def toEdgeTriplet: EdgeTriplet[VD, ED]

    Converts the edge and vertex properties into an EdgeTriplet for convenience.