Package | Description |
---|---|
org.jgrapht |
The front-end API's interfaces and classes, including
Graph . |
org.jgrapht.graph |
Implementations of various graphs.
|
org.jgrapht.graph.builder |
Various builder for graphs.
|
org.jgrapht.graph.guava |
Guava adapters.
|
Modifier and Type | Method and Description |
---|---|
GraphType |
GraphType.asDirected()
Create a directed variant of the current graph type.
|
GraphType |
GraphType.asMixed()
Create a mixed variant of the current graph type.
|
GraphType |
GraphType.asModifiable()
Create a modifiable variant of the current graph type.
|
GraphType |
GraphType.asUndirected()
Create an undirected variant of the current graph type.
|
GraphType |
GraphType.asUnmodifiable()
Create an unmodifiable variant of the current graph type.
|
GraphType |
GraphType.asUnweighted()
Create an unweighted variant of the current graph type.
|
GraphType |
GraphType.asWeighted()
Create a weighted variant of the current graph type.
|
GraphType |
Graph.getType()
Get the graph type.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultGraphType
Default implementation of the graph type.
|
Modifier and Type | Field and Description |
---|---|
protected GraphType |
AsSubgraph.baseType |
protected GraphType |
MaskSubgraph.baseType |
Modifier and Type | Method and Description |
---|---|
GraphType |
DefaultGraphType.asDirected() |
GraphType |
DefaultGraphType.asMixed() |
GraphType |
DefaultGraphType.asModifiable() |
GraphType |
DefaultGraphType.asUndirected() |
GraphType |
DefaultGraphType.asUnmodifiable() |
GraphType |
DefaultGraphType.asUnweighted() |
GraphType |
DefaultGraphType.asWeighted() |
GraphType |
AsGraphUnion.getType()
Get the graph type.
|
GraphType |
AbstractBaseGraph.getType()
Get the graph type.
|
GraphType |
GraphDelegator.getType()
Get the graph type.
|
GraphType |
DirectedAcyclicGraph.getType() |
GraphType |
AsUnweightedGraph.getType()
Get the graph type.
|
GraphType |
AsSubgraph.getType()
Get the graph type.
|
GraphType |
AsUndirectedGraph.getType()
Get the graph type.
|
GraphType |
AsWeightedGraph.getType()
Get the graph type.
|
GraphType |
AsUnmodifiableGraph.getType()
Get the graph type.
|
GraphType |
MaskSubgraph.getType()
Get the graph type.
|
Constructor and Description |
---|
AbstractBaseGraph(Supplier<V> vertexSupplier,
Supplier<E> edgeSupplier,
GraphType type)
Construct a new graph.
|
Builder(GraphType type)
Construct a new Builder.
|
Modifier and Type | Method and Description |
---|---|
GraphType |
GraphTypeBuilder.buildType()
Build the graph type.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
GraphType |
ImmutableNetworkAdapter.getType() |
GraphType |
ImmutableValueGraphAdapter.getType() |
GraphType |
ImmutableGraphAdapter.getType() |
GraphType |
BaseValueGraphAdapter.getType() |
GraphType |
BaseGraphAdapter.getType() |
GraphType |
BaseNetworkAdapter.getType() |
Copyright © 2018. All rights reserved.