This commit is contained in:
Ankur Dave 2014-01-13 22:29:23 -08:00
parent 76ebdae798
commit 2cd9358ccf

View file

@ -125,8 +125,10 @@ properties for each vertex and edge. As a consequence, the graph class contains
the vertices and edges of the graph:
{% highlight scala %}
val vertices: VertexRDD[VD]
val edges: EdgeRDD[ED]
class Graph[VD, ED] {
val vertices: VertexRDD[VD]
val edges: EdgeRDD[ED]
}
{% endhighlight %}
The classes `VertexRDD[VD]` and `EdgeRDD[ED]` extend and are optimized versions of `RDD[(VertexId,