提交 10898a90 编写于 作者: T Till Rohrmann

[gelly-doc] Correct Scala code example

上级 2028ba5a
......@@ -1859,10 +1859,10 @@ verticesWithCommunity.print();
{% highlight scala %}
val env = ExecutionEnvironment.getExecutionEnvironment
val graph: Graph[Long, Long, NullValue] = ...
val graph: Graph[java.lang.Long, java.lang.Long, NullValue] = ...
// run Label Propagation for 30 iterations to detect communities on the input graph
val verticesWithCommunity = graph.run(new LabelPropagation[Long](30))
val verticesWithCommunity = graph.run(new LabelPropagation[java.lang.Long, java.lang.Long, NullValue](30))
// print the result
verticesWithCommunity.print
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册