We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d38c502 commit c269429Copy full SHA for c269429
docs/graphx-programming-guide.md
@@ -800,7 +800,7 @@ import org.apache.spark.graphx._
800
// Import random graph generation library
801
import org.apache.spark.graphx.util.GraphGenerators
802
// A graph with edge attributes containing distances
803
-val graph: Graph[Int, Double] =
+val graph: Graph[Long, Double] =
804
GraphGenerators.logNormalGraph(sc, numVertices = 100).mapEdges(e => e.attr.toDouble)
805
val sourceId: VertexId = 42 // The ultimate source
806
// Initialize the graph such that all vertices except the root have distance infinity.
0 commit comments