Interface VertexScoringAlgorithm<V,D>

Type Parameters:
V - the vertex type
D - the score type
All Known Implementing Classes:
ApBetweennessCentrality, 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 Summary

    Modifier and Type
    Method
    Description
    Get a map with the scores of all vertices
    Get a vertex score
  • Method Details

    • getScores

      Map<V,D> getScores()
      Get a map with the scores of all vertices
      Returns:
      a map with all scores
    • getVertexScore

      D getVertexScore(V v)
      Get a vertex score
      Parameters:
      v - the vertex
      Returns:
      the score