java.lang.Object
es.uam.eps.ir.relison.sna.metrics.communities.graph.gini.degree.CommunityDegreeGini<U>
Type Parameters:
U - type of the users.
All Implemented Interfaces:
CommunityMetric<U>
Direct Known Subclasses:
CompleteCommunityDegreeGini, InterCommunityDegreeGini

public abstract class CommunityDegreeGini<U>
extends java.lang.Object
implements CommunityMetric<U>
Computes the community degree Gini of the graph, i.e. the Gini coefficient for the degree distribution of the communities in the graph.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private CommunityGraphGenerator<U> cgg
    The community graph generator.
    private EdgeOrientation orientation
    The degree to take in the community graph.
  • Constructor Summary

    Constructors 
    Constructor Description
    CommunityDegreeGini​(EdgeOrientation orientation, CommunityGraphGenerator<U> cgg)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    double compute​(Graph<U> graph, Communities<U> comm)
    Computes the value of the metric in the graph.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait