Class DegreeScorer<V>

    • Constructor Detail

      • DegreeScorer

        public DegreeScorer​(DegreeScorer.DEGREE_TYPE rankType)
        Default Constructor
        Parameters:
        rankType - Which degree to use for ranking
    • 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