org.grinvin.generators.graphs

Interface GraphGeneratorInstance

Known Implementing Classes:
AbstractGraphGeneratorInstance

public interface GraphGeneratorInstance

Represents a particular instance of a generator, i.e., a generator for which all parameters have been assigned a value.

Method Summary

void
generate(GraphGeneratorSink sink)
Generate graph bundles to the given sink.
String
getDescription()
Return a textual description for this instance.
String
getId()
Return a string that uniquely identifies this instance.
String
getName()
Return a name which can be used to display this instance.

Method Details

generate

public void generate(GraphGeneratorSink sink)
            throws GeneratorException
Generate graph bundles to the given sink.

getDescription

public String getDescription()
Return a textual description for this instance.

getId

public String getId()
Return a string that uniquely identifies this instance.

getName

public String getName()
Return a name which can be used to display this instance. This name is for instance used when displaying this instance in a list.