Interface VertexScorer<V>

    • Method Detail

      • rank

        List<Map.Entry<V,​Double>> rank​(Graph<V> g)
        Ranks the vertices based on the score
        Parameters:
        g - The graph
        Returns:
        A sorted list of vertex - double pairs
      • score

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