File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
graphx/src/main/scala/org/apache/spark/graphx/lib Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -28,17 +28,17 @@ import org.apache.spark.graphx.PartitionStrategy.EdgePartition2D
2828 * The algorithm is relatively straightforward and can be computed in three steps:
2929 *
3030 * <ul>
31- * <li> Compute the set of neighbors for each vertex
32- * <li> For each edge compute the intersection of the sets and send the count to both vertices.
33- * <li> Compute the sum at each vertex and divide by two since each triangle is counted twice.
31+ * <li> Compute the set of neighbors for each vertex</li>
32+ * <li> For each edge compute the intersection of the sets and send the count to both vertices.</li>
33+ * <li> Compute the sum at each vertex and divide by two since each triangle is counted twice.</li>
3434 * </ul>
3535 *
3636 * There are two implementations. The default `TriangleCount.run` implementation first removes
3737 * self cycles and canonicalizes the graph to ensure that the following conditions hold:
3838 * <ul>
39- * <li> There are no self edges
40- * <li> All edges are oriented src > dst
41- * <li> There are no duplicate edges
39+ * <li> There are no self edges</li>
40+ * <li> All edges are oriented src > dst</li>
41+ * <li> There are no duplicate edges</li>
4242 * </ul>
4343 * However, the canonicalization procedure is costly as it requires repartitioning the graph.
4444 * If the input data is already in "canonical form" with self cycles removed then the
You can’t perform that action at this time.
0 commit comments