org.apache.tinkerpop.gremlin.algorithm.generator

## Interface Generator

- All Known Implementing Classes:
    AbstractGenerator, CommunityGenerator, DistributionGenerator

      public interface Generator

  Interface for Graph generators.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `generate()` Generate the elements in the graph given the nature of the implementation and return the number of edges generated as a result.

- - ### Method Detail

    - #### generate

          int generate()

      Generate the elements in the graph given the nature of the implementation and return the number of edges generated as a result.
      Returns:
        number of edges generated

Copyright © 2013–2020 Apache Software Foundation. All rights reserved.