Package com.gengoai.graph.scoring
Class RandomWalkScorer<V>
- java.lang.Object
-
- com.gengoai.graph.scoring.AbstractVertexScorer<V>
-
- com.gengoai.graph.scoring.RandomWalkScorer<V>
-
- All Implemented Interfaces:
VertexScorer<V>
,Serializable
public class RandomWalkScorer<V> extends AbstractVertexScorer<V>
- Author:
- David B. Bracewell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RandomWalkScorer(int numberOfIterations, int numberOfSteps)
Default Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Counter<V>
score(Graph<V> g)
Scores the vertices in the graph-
Methods inherited from class com.gengoai.graph.scoring.AbstractVertexScorer
rank
-
-
-
-
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
-
-