Class InfiniteDistances<U>

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

public class InfiniteDistances<U>
extends java.lang.Object
implements GraphMetric<U>
Finds the number of infinite distance pairs of nodes.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private DistanceCalculator<U> calculator
    The distance calculator.
  • Constructor Summary

    Constructors 
    Constructor Description
    InfiniteDistances​(DistanceCalculator<U> calculator)
    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