Interface EdgeScoringAlgorithm<E,​D>

  • Type Parameters:
    E - the edge type
    D - the score type
    All Known Implementing Classes:
    EdgeBetweennessCentrality

    public interface EdgeScoringAlgorithm<E,​D>
    An interface for all algorithms which assign scores to edges of a graph.
    Author:
    Dimitrios Michail
    • Method Detail

      • getScores

        java.util.Map<E,​D> getScores()
        Get a map with the scores of all edges
        Returns:
        a map with all scores
      • getEdgeScore

        D getEdgeScore​(E e)
        Get an edge score
        Parameters:
        e - the edge
        Returns:
        the score