Packages

o

org.apache.spark.graphx.lib

StronglyConnectedComponents

object StronglyConnectedComponents

Strongly connected components algorithm implementation.

Source
StronglyConnectedComponents.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StronglyConnectedComponents
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def run[VD, ED](graph: Graph[VD, ED], numIter: Int)(implicit arg0: ClassTag[VD], arg1: ClassTag[ED]): Graph[VertexId, ED]

    Compute the strongly connected component (SCC) of each vertex and return a graph with the vertex value containing the lowest vertex id in the SCC containing that vertex.

    Compute the strongly connected component (SCC) of each vertex and return a graph with the vertex value containing the lowest vertex id in the SCC containing that vertex.

    VD

    the vertex attribute type (discarded in the computation)

    ED

    the edge attribute type (preserved in the computation)

    graph

    the graph for which to compute the SCC

    returns

    a graph with vertex attributes containing the smallest vertex id in each SCC