Class SemiCompleteCommunityEdgeGini<U>
java.lang.Object
es.uam.eps.ir.relison.sna.metrics.communities.graph.gini.edges.CommunityEdgeGini<U>
es.uam.eps.ir.relison.sna.metrics.communities.graph.gini.edges.SemiCompleteCommunityEdgeGini<U>
- Type Parameters:
U
- Type of the users.
- All Implemented Interfaces:
CommunityMetric<U>
public class SemiCompleteCommunityEdgeGini<U> extends CommunityEdgeGini<U>
Computes the community edge Gini of the graph, i.e. the Gini coefficient for the
number of edges between each pair of communities. This version considers all pairs
of nodes in the calculus (i.e. it includes pairings of a community with itself), but
autoloops are considered as a whole set of links, instead of separately for each community.
References:
- J. Sanz-Cruzado, P. Castells. Enhancing structural diversity in social networks by recommending weak ties. 12th ACM Conference on Recommender Systems (RecSys 2018),pp. 233-241 (2018)
-
Constructor Summary
Constructors Constructor Description SemiCompleteCommunityEdgeGini(boolean selfloops)
Constructor. -
Method Summary
Methods inherited from class es.uam.eps.ir.relison.sna.metrics.communities.graph.gini.edges.CommunityEdgeGini
compute
-
Constructor Details
-
SemiCompleteCommunityEdgeGini
public SemiCompleteCommunityEdgeGini(boolean selfloops)Constructor.- Parameters:
selfloops
- true if selfloops are allowed, false if they are not.
-