- Type Parameters:
V- the vertex typeD- the score type
- All Known Implementing Classes:
AlphaCentrality,BetweennessCentrality,ClosenessCentrality,ClusteringCoefficient,Coreness,EigenvectorCentrality,HarmonicCentrality,KatzCentrality,PageRank
public interface VertexScoringAlgorithm<V,D>
An interface for all algorithms which assign scores to vertices of a graph.
- Author:
- Dimitrios Michail
-
Method Details
-
getScores
Get a map with the scores of all vertices- Returns:
- a map with all scores
-
getVertexScore
Get a vertex score- Parameters:
v- the vertex- Returns:
- the score
-