Class Radius<U>
java.lang.Object
es.uam.eps.ir.relison.sna.metrics.distance.graph.Radius<U>
- Type Parameters:
U
- type of the users
- All Implemented Interfaces:
GraphMetric<U>
public class Radius<U> extends java.lang.Object implements GraphMetric<U>
Computes the radius of a network. The radius is the minimum
eccentricity of the network.
-
Field Summary
Fields Modifier and Type Field Description private DistanceCalculator<U>
dc
Distance calculator. -
Constructor Summary
Constructors Constructor Description Radius()
Constructor.Radius(DistanceCalculator<U> dc)
Constructor. -
Method Summary
-
Field Details
-
dc
Distance calculator.
-
-
Constructor Details
-
Method Details
-
compute
Description copied from interface:GraphMetric
Computes the value.- Specified by:
compute
in interfaceGraphMetric<U>
- Parameters:
graph
- graph metric.- Returns:
- the value of the metric.
-