Class CompleteCommunityGraphGenerator<U>

java.lang.Object
es.uam.eps.ir.relison.sna.community.graph.CompleteCommunityGraphGenerator<U>
Type Parameters:
U - type of the nodes
All Implemented Interfaces:
CommunityGraphGenerator<U>

public class CompleteCommunityGraphGenerator<U>
extends java.lang.Object
implements CommunityGraphGenerator<U>
Generates a multi-graph which contains all communities as nodes and all links between communities (different or not) as edges.
  • Constructor Summary

    Constructors 
    Constructor Description
    CompleteCommunityGraphGenerator()  
  • Method Summary

    Modifier and Type Method Description
    MultiGraph<java.lang.Integer> generate​(Graph<U> graph, Communities<U> communities)
    Given a graph and its community partition, generates the community graph.

    Methods inherited from class java.lang.Object

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