Package | Description |
---|---|
org.jgrapht.graph |
Implementations of various graphs.
|
Modifier and Type | Method and Description |
---|---|
DefaultGraphType.Builder |
DefaultGraphType.Builder.allowCycles(boolean value)
Set whether the graph will allow cycles.
|
DefaultGraphType.Builder |
DefaultGraphType.Builder.allowMultipleEdges(boolean value)
Set whether to allow multiple edges.
|
DefaultGraphType.Builder |
DefaultGraphType.Builder.allowSelfLoops(boolean value)
Set whether to allow self-loops.
|
DefaultGraphType.Builder |
DefaultGraphType.Builder.directed()
Set the type as directed.
|
DefaultGraphType.Builder |
DefaultGraphType.Builder.mixed()
Set the type as mixed.
|
DefaultGraphType.Builder |
DefaultGraphType.Builder.modifiable(boolean value)
Set whether the graph is modifiable.
|
DefaultGraphType.Builder |
DefaultGraphType.Builder.undirected()
Set the type as undirected.
|
DefaultGraphType.Builder |
DefaultGraphType.Builder.weighted(boolean value)
Set whether the graph will be weighted.
|
Copyright © 2018. All rights reserved.