Class ComplementaryGraphGenerator<U>

java.lang.Object
es.uam.eps.ir.relison.graph.generator.ComplementaryGraphGenerator<U>
Type Parameters:
U - Type of the users
All Implemented Interfaces:
GraphGenerator<U>

public class ComplementaryGraphGenerator<U>
extends java.lang.Object
implements GraphGenerator<U>
Generates complementary graphs.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    (package private) boolean configured
    Indicates if the graph has been configured
    private boolean directed
    Indicates if the graph is directed
    private Graph<U> graph
    The original graph
    private boolean weighted
    Indicates if the graph is weighted
  • Constructor Summary

    Constructors 
    Constructor Description
    ComplementaryGraphGenerator()  
  • Method Summary

    Modifier and Type Method Description
    void configure​(Graph<U> g)
    Configures the generator.
    void configure​(java.lang.Object... configuration)
    Configures the generator.
    Graph<U> generate()
    Generates a graph.

    Methods inherited from class java.lang.Object

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