GraphTypeBuilder<V,E> |
GraphTypeBuilder.allowingMultipleEdges(boolean allowingMultipleEdges) |
Set whether the graph will allow multiple (parallel) edges between the same two vertices.
|
GraphTypeBuilder<V,E> |
GraphTypeBuilder.allowingSelfLoops(boolean allowingSelfLoops) |
Set whether the graph will allow self loops (edges with same source and target vertices).
|
static <V,E> GraphTypeBuilder<V,E> |
GraphTypeBuilder.directed() |
Create a graph type builder for a directed graph.
|
<E1 extends E> GraphTypeBuilder<V,E1> |
GraphTypeBuilder.edgeClass(java.lang.Class<E1> edgeClass) |
Set the edge class.
|
<E1 extends E> GraphTypeBuilder<V,E1> |
GraphTypeBuilder.edgeSupplier(java.util.function.Supplier<E1> edgeSupplier) |
Set the edge supplier.
|
static <V,E> GraphTypeBuilder<V,E> |
GraphTypeBuilder.forGraph(Graph<V,E> graph) |
Create a graph type builder which will create the same graph type as the parameter graph.
|
static <V,E> GraphTypeBuilder<V,E> |
GraphTypeBuilder.forGraphType(GraphType type) |
Create a graph type builder which will create a graph with the same type as the one provided.
|
static <V,E> GraphTypeBuilder<V,E> |
GraphTypeBuilder.mixed() |
Create a graph type builder for a mixed graph.
|
static <V,E> GraphTypeBuilder<V,E> |
GraphTypeBuilder.undirected() |
Create a graph type builder for an undirected graph.
|
<V1 extends V> GraphTypeBuilder<V1,E> |
GraphTypeBuilder.vertexClass(java.lang.Class<V1> vertexClass) |
Set the vertex class.
|
<V1 extends V> GraphTypeBuilder<V1,E> |
GraphTypeBuilder.vertexSupplier(java.util.function.Supplier<V1> vertexSupplier) |
Set the vertex supplier.
|
GraphTypeBuilder<V,E> |
GraphTypeBuilder.weighted(boolean weighted) |
Set whether the graph will be weighted or not.
|