Class ReciprocityRate<U>
java.lang.Object
es.uam.eps.ir.relison.sna.metrics.graph.ReciprocityRate<U>
- Type Parameters:
U
- Type of the users.
- All Implemented Interfaces:
GraphMetric<U>
public class ReciprocityRate<U> extends java.lang.Object implements GraphMetric<U>
Reciprocity rate of the graph (proportion of reciprocal links)
-
Constructor Summary
Constructors Constructor Description ReciprocityRate()
-
Method Summary
-
Constructor Details
-
ReciprocityRate
public ReciprocityRate()
-
-
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.
-