Class PageRank<V>

    • Constructor Detail

      • PageRank

        public PageRank()
      • PageRank

        public PageRank​(int maxIterations,
                        double dampingFactor,
                        double tolerance)
    • Method Detail

      • score

        public Counter<V> score​(Graph<V> g)
        Description copied from interface: VertexScorer
        Scores the vertices in the graph
        Parameters:
        g - The graph
        Returns:
        A counter with vertex as key and score as value