Class GraphCloneGenerator<U>

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

public class GraphCloneGenerator<U>
extends java.lang.Object
implements GraphGenerator<U>
Class for cloning graphs.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private boolean configured
    Indicates if the graph has been generated
    private Graph<U> graph
    Graph to clone
  • Constructor Summary

    Constructors 
    Constructor Description
    GraphCloneGenerator()  
  • Method Summary

    Modifier and Type Method Description
    void configure​(Graph<U> graph)
    Configure the graph 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