Class WeakTies<U>
java.lang.Object
es.uam.eps.ir.relison.sna.metrics.communities.graph.WeakTies<U>
- Type Parameters:
U
- Type of the users.
- All Implemented Interfaces:
CommunityMetric<U>
public class WeakTies<U> extends java.lang.Object implements CommunityMetric<U>
Computes the number of edges between communities.
Reference: E. Ferrara, P. de Meo, G. Fiumara, A. Provetti. On Facebook, most ties are weak. Communications of the ACM 57(11), pp. 78-84 (2012)
-
Constructor Details
-
WeakTies
public WeakTies()
-
-
Method Details
-
compute
Description copied from interface:CommunityMetric
Computes the value of the metric in the graph.- Specified by:
compute
in interfaceCommunityMetric<U>
- Parameters:
graph
- Graph.comm
- Communities of the graph.- Returns:
- the value of the metric.
-