Package  Description 

org.jgrapht.alg 
Algorithms provided with JGraphT.

org.jgrapht.graph 
Implementations of various graphs.

Modifier and Type  Method and Description 

<V,E> void 
TransitiveClosure.closeSimpleDirectedGraph(SimpleDirectedGraph<V,E> graph)
Computes the transitive closure of the given graph.

Modifier and Type  Class and Description 

class 
DirectedAcyclicGraph<V,E>
A directed acyclic graph (DAG).

class 
SimpleDirectedWeightedGraph<V,E>
A simple directed weighted graph.

Modifier and Type  Method and Description 

static <V,E> GraphBuilder<V,E,? extends SimpleDirectedGraph<V,E>> 
SimpleDirectedGraph.createBuilder(Class<? extends E> edgeClass)
Create a builder for this kind of graph.

static <V,E> GraphBuilder<V,E,? extends SimpleDirectedGraph<V,E>> 
SimpleDirectedGraph.createBuilder(EdgeFactory<V,E> ef)
Deprecated.
Use suppliers instead

static <V,E> GraphBuilder<V,E,? extends SimpleDirectedGraph<V,E>> 
SimpleDirectedGraph.createBuilder(Supplier<E> edgeSupplier)
Create a builder for this kind of graph.

Copyright © 2018. All rights reserved.