Skip to content

Commit

Permalink
add @SInCE doc line
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonnal committed May 11, 2021
1 parent 60482b3 commit 5a52408
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ object PageRank extends Logging {
* @return the graph containing with each vertex containing the PageRank and each edge
* containing the normalized weight.
*
* @since 3.2.0
*/
def runWithOptions[VD: ClassTag, ED: ClassTag](
graph: Graph[VD, ED], numIter: Int, resetProb: Double,
Expand Down Expand Up @@ -254,6 +255,8 @@ object PageRank extends Logging {
*
* @return the graph containing with each vertex containing the PageRank and each edge
* containing the normalized weight.
*
* @since 3.2.0
*/
def runWithOptionsWithPreviousPageRank[VD: ClassTag, ED: ClassTag](
graph: Graph[VD, ED], numIter: Int, resetProb: Double, srcId: Option[VertexId],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class PageRankSuite extends SparkFunSuite with LocalSparkContext {
).vertices.collect()

// assert that all scores are equal
assert(ranksA.zip(ranksB).forall{ case(rankA, rankB) => rankA == rankB })
assert(ranksA.zip(ranksB).forall { case(rankA, rankB) => rankA == rankB })
}
} // end of Grid PageRank with checkpoint without intermediate normalization

Expand Down

0 comments on commit 5a52408

Please sign in to comment.