Class ComplementaryCommunityMetric<U>

java.lang.Object
es.uam.eps.ir.relison.sna.metrics.complementary.ComplementaryCommunityMetric<U>
Type Parameters:
U - Type of the users.
All Implemented Interfaces:
CommunityMetric<U>

public class ComplementaryCommunityMetric<U>
extends java.lang.Object
implements CommunityMetric<U>
Computes a global community metric over the complementary graph. graph, i.e. the edge does exist in the original graph.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private CommunityMetric<U> metric
    The metric to find on the complementary graph
  • Constructor Summary

    Constructors 
    Constructor Description
    ComplementaryCommunityMetric​(CommunityMetric<U> metric)
    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