Class PageRankOperator

All Implemented Interfaces:
Serializable, ActualOperator, ElementaryOperator, Operator
Direct Known Subclasses:
FlinkPageRankOperator, GiraphPageRankOperator, JavaPageRankOperator

public class PageRankOperator extends UnaryToUnaryOperator<Tuple2<Long,Long>,Tuple2<Long,Float>>
Operator for the PageRank algorithm. It takes as input a list of directed edges, whereby each edge is represented as (source vertex ID, target vertex ID) tuple. Its output are the page ranks, codified as (vertex ID, page rank) tuples.
See Also:
  • Field Details

  • Constructor Details

    • PageRankOperator

      public PageRankOperator(Integer numIterations)
      Creates a new instance.
      Parameters:
      numIterations - the number of PageRank iterations that this instance should perform
    • PageRankOperator

      public PageRankOperator(Integer numIterations, Double dampingFactor, ProbabilisticDoubleInterval graphDensitiy)
      Creates a new instance.
      Parameters:
      numIterations - the number of PageRank iterations that this instance should perform
    • PageRankOperator

      public PageRankOperator(PageRankOperator that)
      Copies an instance (exclusive of broadcasts).
      Parameters:
      that - that should be copied
  • Method Details