Interface GraphMetric<U>

Type Parameters:
U - type of the users.
All Known Implementing Classes:
AggregateEdgeMetric, AggregatePairMetric, AggregateVertexMetric, ASL, Assortativity, AverageReciprocalShortestPathLength, ClusteringCoefficient, ClusteringCoefficientComplement, ComplementaryGraphMetric, CompleteEdgeGini, DegreeAssortativity, DegreeGini, DegreePearsonCorrelation, Density, Diameter, EdgeGini, InfiniteDistances, InterEdgeGini, NumEdges, PearsonCorrelation, Radius, ReciprocalAverageEccentricity, ReciprocalDiameter, ReciprocityRate, SemiCompleteEdgeGini

public interface GraphMetric<U>
Interface for global graph metrics.
  • Method Summary

    Modifier and Type Method Description
    double compute​(Graph<U> graph)
    Computes the value.
  • Method Details

    • compute

      double compute​(Graph<U> graph)
      Computes the value.
      Parameters:
      graph - graph metric.
      Returns:
      the value of the metric.