public class TriangleCount
extends Object
The algorithm is relatively straightforward and can be computed in three steps:
Note that the input graph should have its edges in canonical direction
(i.e. the sourceId less than destId). Also the graph must have been partitioned
using Graph.partitionBy(org.apache.spark.graphx.PartitionStrategy).
| Constructor and Description |
|---|
TriangleCount() |