Class RandomWalkScorer<V>

    • Constructor Detail

      • RandomWalkScorer

        public RandomWalkScorer​(int numberOfIterations,
                                int numberOfSteps)
        Default Constructor
        Parameters:
        numberOfIterations - Number of iterations to run
        numberOfSteps - Number of steps to take on each random walk
    • 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