This commit is contained in:
Reynold Xin 2015-03-22 12:08:15 -07:00
parent a41b9c6004
commit 7a0da47708

View file

@ -25,8 +25,8 @@ import org.apache.spark.graphx._
/** /**
* PageRank algorithm implementation. There are two implementations of PageRank implemented. * PageRank algorithm implementation. There are two implementations of PageRank implemented.
* *
* The first implementation uses the standalone [[Graph]] interface and runs PageRank for a fixed number * The first implementation uses the standalone [[Graph]] interface and runs PageRank
* of iterations: * for a fixed number of iterations:
* {{{ * {{{
* var PR = Array.fill(n)( 1.0 ) * var PR = Array.fill(n)( 1.0 )
* val oldPR = Array.fill(n)( 1.0 ) * val oldPR = Array.fill(n)( 1.0 )