Class ReciprocalDiameter<U>

java.lang.Object
es.uam.eps.ir.relison.sna.metrics.distance.graph.ReciprocalDiameter<U>
Type Parameters:
U - Type of the users.
All Implemented Interfaces:
GraphMetric<U>

public class ReciprocalDiameter<U>
extends java.lang.Object
implements GraphMetric<U>
Computes the reciprocal diameter of a network.

References:

  1. J. Sanz-Cruzado, P. Castells. Beyond accuracy in link prediction. 3rd Workshop on Social Media for Personalization and Search (SoMePEaS 2019).
  2. J. Sanz-Cruzado, S.M. Pepa, P. Castells. Structural novelty and diversity in link prediction. 0th International Workshop on Modeling Social Media (MSM 2018) at The Web Conference (WWW 2018)
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private Diameter<U> diameter
    Distance calculator.
  • Constructor Summary

    Constructors 
    Constructor Description
    ReciprocalDiameter()
    Constructor.
    ReciprocalDiameter​(DistanceCalculator<U> dc)
    Constructor.
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait