Class EmptyGraphGenerator<U>

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

public class EmptyGraphGenerator<U>
extends java.lang.Object
implements GraphGenerator<U>
Empty graph generator.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private boolean configured
    Indicates whether the graph has been configured.
    private boolean directed
    Indicates whether the graph is going to be directed.
    private boolean weighted
    Indicates whether the graph has weights.
  • Constructor Summary

    Constructors 
    Constructor Description
    EmptyGraphGenerator()  
  • Method Summary

    Modifier and Type Method Description
    void configure​(boolean directed, boolean weighted)
    Configures the graph
    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 whether the graph is going to be directed.
    • configured

      private boolean configured
      Indicates whether the graph has been configured.
    • weighted

      private boolean weighted
      Indicates whether the graph has weights.
  • Constructor Details

  • Method Details