From 622b7f7d391375cced8633e4a2546dbca60a3907 Mon Sep 17 00:00:00 2001 From: "Joseph E. Gonzalez" Date: Mon, 13 Jan 2014 17:46:47 -0800 Subject: Minor changes in graphx programming guide. --- docs/graphx-programming-guide.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/graphx-programming-guide.md b/docs/graphx-programming-guide.md index c82c3d7358..c6505d21f1 100644 --- a/docs/graphx-programming-guide.md +++ b/docs/graphx-programming-guide.md @@ -543,7 +543,6 @@ val maxOutDegree: (VertexID, Int) = graph.outDegrees.reduce(max) val maxDegrees: (VertexID, Int) = graph.degrees.reduce(max) {% endhighlight %} - ### Collecting Neighbors In some cases it may be easier to express computation by collecting neighboring vertices and their @@ -562,8 +561,8 @@ def collectNeighbors(edgeDirection: EdgeDirection): VertexRDD[ Array[(VertexID, # Pregel API -Graphs are inherently recursive data-structures as properties of a vertices depend on properties of -their neighbors which intern depend on properties of the neighbors of their neighbors. As a +Graphs are inherently recursive data-structures as properties of vertices depend on properties of +their neighbors which intern depend on properties of *their* neighbors. As a consequence many important graph algorithms iteratively recompute the properties of each vertex until a fixed-point condition is reached. A range of graph-parallel abstractions have been proposed to express these iterative algorithms. GraphX exposes a Pregel operator which is a fusion of -- cgit v1.2.3