GraphFactory<V,E> |
GraphFactory.addHint(GraphFactory.Hint hint) |
Add a hint to this factory.
|
GraphFactory<V,E> |
GraphFactory.allowParallelEdges(boolean parallelEdges) |
Determine if graphs built by this factory should be support parallel edges.
|
GraphFactory<V,E> |
GraphFactory.allowSelfEdges(boolean selfEdges) |
Determine if graphs built by this factory should be support self edges.
|
GraphFactory<V,E> |
GraphFactory.expectedEdgesNum(int expectedEdgesNum) |
Set the expected number of edges that will exist in the graph.
|
GraphFactory<V,E> |
GraphFactory.expectedVerticesNum(int expectedVerticesNum) |
Set the expected number of vertices that will exist in the graph.
|
static <V,E> GraphFactory<V,E> |
GraphFactory.newDirected() |
Create a directed graph factory.
|
static <V,E> GraphFactory<V,E> |
GraphFactory.newFrom(Graph<V,E> g) |
Create a new graph factory based on a given implementation.
|
static <V,E> GraphFactory<V,E> |
GraphFactory.newUndirected() |
Create an undirected graph factory.
|
GraphFactory<V,E> |
GraphFactory.removeHint(GraphFactory.Hint hint) |
Remove a hint from this factory.
|
GraphFactory<V,E> |
GraphFactory.setDirected(boolean directed) |
Determine if graphs built by this factory should be directed or not.
|
default GraphFactory<V,E> |
GraphFactory.setOption(String key,
Object value) |
[TL;DR Don't call me!] Set an option.
|