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 Summary

    Modifier and Type
    Method
    Description
    Get an edge score
    Get a map with the scores of all edges
  • Method Details

    • getScores

      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