Class EmptyMultiGraphGenerator<U>

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

public class EmptyMultiGraphGenerator<U>
extends java.lang.Object
implements GraphGenerator<U>
Creates an empty multigraph
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private boolean configured
    Indicates if the generator has been configured.
    private boolean directed
    Indicates if the graph is directed.
    private boolean weighted
    Indicates if the graph is weighted.
  • Constructor Summary

    Constructors 
    Constructor Description
    EmptyMultiGraphGenerator()  
  • Method Summary

    Modifier and Type Method Description
    void configure​(boolean directed, boolean weighted)
    Configures 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
  • Field Details

    • directed

      private boolean directed
      Indicates if the graph is directed.
    • configured

      private boolean configured
      Indicates if the generator has been configured.
    • weighted

      private boolean weighted
      Indicates if the graph is weighted.
  • Constructor Details

  • Method Details