public interface GraphGenerator<V,E,T>
| Modifier and Type | Method and Description |
|---|---|
void |
generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,T> resultMap)
Generate a graph structure.
|
void generateGraph(Graph<V,E> target, VertexFactory<V> vertexFactory, Map<String,T> resultMap)
target - receives the generated edges and vertices; if this is
non-empty on entry, the result will be a disconnected graph since
generated elements will not be connected to existing elementsvertexFactory - called to produce new verticesresultMap - if non-null, receives implementation-specific mappings
from String roles to graph elements (or collections of graph elements)Copyright © 2016. All rights reserved.