Class CommunityDestinySize<U>
java.lang.Object
es.uam.eps.ir.relison.sna.metrics.communities.graph.CommunityDestinySize<U>
- Type Parameters:
U- Type of the users.
- All Implemented Interfaces:
CommunityMetric<U>
public class CommunityDestinySize<U> extends java.lang.Object implements CommunityMetric<U>
Computes the average size of the destiny communities of the links.
-
Constructor Summary
Constructors Constructor Description CommunityDestinySize() -
Method Summary
Modifier and Type Method Description doublecompute(Graph<U> graph, Communities<U> comm)Computes the value of the metric in the graph.
-
Constructor Details
-
CommunityDestinySize
public CommunityDestinySize()
-
-
Method Details
-
compute
Description copied from interface:CommunityMetricComputes the value of the metric in the graph.- Specified by:
computein interfaceCommunityMetric<U>- Parameters:
graph- Graph.comm- Communities of the graph.- Returns:
- the value of the metric.
-