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.
|
org.jgrapht.opt.graph.fastutil |
Specialized graph implementations using the FastUtil library
|
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 |
AsSubgraph.getType()
Get the graph type.
|
GraphType |
AsUndirectedGraph.getType()
Get the graph type.
|
GraphType |
AsWeightedGraph.getType() |
GraphType |
MaskSubgraph.getType()
Get the graph type.
|
GraphType |
AsUnweightedGraph.getType() |
GraphType |
DirectedAcyclicGraph.getType() |
GraphType |
AsGraphUnion.getType()
Get the graph type.
|
GraphType |
AbstractBaseGraph.getType()
Get the graph type.
|
GraphType |
GraphDelegator.getType()
Get the graph type.
|
GraphType |
AsUnmodifiableGraph.getType()
Get the graph type.
|
Modifier and Type | Method and Description |
---|---|
Function<GraphType,IntrusiveEdgesSpecifics<V,E>> |
FastLookupGraphSpecificsStrategy.getIntrusiveEdgesSpecificsFactory() |
Function<GraphType,IntrusiveEdgesSpecifics<V,E>> |
DefaultGraphSpecificsStrategy.getIntrusiveEdgesSpecificsFactory() |
Function<GraphType,IntrusiveEdgesSpecifics<V,E>> |
GraphSpecificsStrategy.getIntrusiveEdgesSpecificsFactory()
Get a function which creates the intrusive edges specifics.
|
BiFunction<Graph<V,E>,GraphType,Specifics<V,E>> |
FastLookupGraphSpecificsStrategy.getSpecificsFactory() |
BiFunction<Graph<V,E>,GraphType,Specifics<V,E>> |
DefaultGraphSpecificsStrategy.getSpecificsFactory() |
BiFunction<Graph<V,E>,GraphType,Specifics<V,E>> |
GraphSpecificsStrategy.getSpecificsFactory()
Get a function which creates the specifics.
|
Constructor and Description |
---|
AbstractBaseGraph(Supplier<V> vertexSupplier,
Supplier<E> edgeSupplier,
GraphType type)
Construct a new graph.
|
AbstractBaseGraph(Supplier<V> vertexSupplier,
Supplier<E> edgeSupplier,
GraphType type,
GraphSpecificsStrategy<V,E> graphSpecificsStrategy)
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 |
BaseGraphAdapter.getType() |
GraphType |
ImmutableNetworkAdapter.getType() |
GraphType |
BaseNetworkAdapter.getType() |
GraphType |
BaseValueGraphAdapter.getType() |
GraphType |
ImmutableGraphAdapter.getType() |
GraphType |
ImmutableValueGraphAdapter.getType() |
Modifier and Type | Method and Description |
---|---|
Function<GraphType,IntrusiveEdgesSpecifics<Integer,E>> |
FastutilIntVertexGSS.getIntrusiveEdgesSpecificsFactory() |
Function<GraphType,IntrusiveEdgesSpecifics<V,E>> |
FastutilFastLookupGSS.getIntrusiveEdgesSpecificsFactory() |
Function<GraphType,IntrusiveEdgesSpecifics<Integer,E>> |
FastutilFastLookupIntVertexGSS.getIntrusiveEdgesSpecificsFactory() |
Function<GraphType,IntrusiveEdgesSpecifics<V,E>> |
FastutilGSS.getIntrusiveEdgesSpecificsFactory() |
BiFunction<Graph<Integer,E>,GraphType,Specifics<Integer,E>> |
FastutilIntVertexGSS.getSpecificsFactory() |
BiFunction<Graph<V,E>,GraphType,Specifics<V,E>> |
FastutilFastLookupGSS.getSpecificsFactory() |
BiFunction<Graph<Integer,E>,GraphType,Specifics<Integer,E>> |
FastutilFastLookupIntVertexGSS.getSpecificsFactory() |
BiFunction<Graph<V,E>,GraphType,Specifics<V,E>> |
FastutilGSS.getSpecificsFactory() |
Constructor and Description |
---|
FastutilMapGraph(Supplier<V> vertexSupplier,
Supplier<E> edgeSupplier,
GraphType type)
Construct a new graph.
|
FastutilMapGraph(Supplier<V> vertexSupplier,
Supplier<E> edgeSupplier,
GraphType type,
boolean fastLookups)
Construct a new graph.
|
FastutilMapIntVertexGraph(Supplier<Integer> vertexSupplier,
Supplier<E> edgeSupplier,
GraphType type)
Construct a new graph.
|
FastutilMapIntVertexGraph(Supplier<Integer> vertexSupplier,
Supplier<E> edgeSupplier,
GraphType type,
boolean fastLookups)
Construct a new graph.
|
Copyright © 2018. All rights reserved.