Package  Description 

org.jgrapht  
org.jgrapht.experimental.dag 
Experimental package with directed acyclic graphs.

org.jgrapht.generate 
Generators for graphs of various topologies.

org.jgrapht.graph 
Implementations of various graphs.

Modifier and Type  Method and Description 

EdgeFactory<V,E> 
Graph.getEdgeFactory()
Returns the edge factory using which this graph creates new edges.

Constructor and Description 

DirectedAcyclicGraph(EdgeFactory<V,E> ef)
Construct a directed acyclic graph.

Modifier and Type  Field and Description 

protected EdgeFactory<V,E> 
WeightedGraphGenerator.edgeFactory 
Modifier and Type  Method and Description 

WeightedGraphGenerator<V,E> 
WeightedGraphGenerator.edgeFactory(EdgeFactory<V,E> edgeFactory)
Set the edge factory of the generator

Modifier and Type  Class and Description 

class 
ClassBasedEdgeFactory<V,E>
An
EdgeFactory for producing edges by using a class as a factory. 
Modifier and Type  Method and Description 

EdgeFactory<V,E> 
MaskSubgraph.getEdgeFactory()
Returns the edge factory using which this graph creates new edges.

EdgeFactory<V,E> 
GraphUnion.getEdgeFactory()
Throws UnsupportedOperationException, because
GraphUnion is readonly.

EdgeFactory<V,E> 
GraphDelegator.getEdgeFactory()
Returns the edge factory using which this graph creates new edges.

EdgeFactory<V,E> 
AbstractBaseGraph.getEdgeFactory()
Returns the edge factory using which this graph creates new edges.

EdgeFactory<V,E> 
Subgraph.getEdgeFactory()
Returns the edge factory using which this graph creates new edges.

Modifier and Type  Method and Description 

static <V,E> DirectedWeightedGraphBuilderBase<V,E,? extends DirectedWeightedMultigraph<V,E>,?> 
DirectedWeightedMultigraph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> DirectedGraphBuilderBase<V,E,? extends DefaultDirectedGraph<V,E>,?> 
DefaultDirectedGraph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> UndirectedWeightedGraphBuilderBase<V,E,? extends WeightedPseudograph<V,E>,?> 
WeightedPseudograph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> UndirectedGraphBuilderBase<V,E,? extends Pseudograph<V,E>,?> 
Pseudograph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> UndirectedGraphBuilderBase<V,E,? extends SimpleGraph<V,E>,?> 
SimpleGraph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> DirectedWeightedGraphBuilderBase<V,E,? extends DefaultDirectedWeightedGraph<V,E>,?> 
DefaultDirectedWeightedGraph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> UndirectedWeightedGraphBuilderBase<V,E,? extends WeightedMultigraph<V,E>,?> 
WeightedMultigraph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> DirectedGraphBuilderBase<V,E,? extends DirectedPseudograph<V,E>,?> 
DirectedPseudograph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> DirectedWeightedGraphBuilderBase<V,E,? extends SimpleDirectedWeightedGraph<V,E>,?> 
SimpleDirectedWeightedGraph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> DirectedGraphBuilderBase<V,E,? extends DirectedMultigraph<V,E>,?> 
DirectedMultigraph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> UndirectedWeightedGraphBuilderBase<V,E,? extends SimpleWeightedGraph<V,E>,?> 
SimpleWeightedGraph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> DirectedWeightedGraphBuilderBase<V,E,? extends DirectedWeightedPseudograph<V,E>,?> 
DirectedWeightedPseudograph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> UndirectedGraphBuilderBase<V,E,? extends Multigraph<V,E>,?> 
Multigraph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

static <V,E> DirectedGraphBuilderBase<V,E,? extends SimpleDirectedGraph<V,E>,?> 
SimpleDirectedGraph.builder(EdgeFactory<V,E> ef)
Create a builder for this kind of graph.

Constructor and Description 

AbstractBaseGraph(EdgeFactory<V,E> ef,
boolean allowMultipleEdges,
boolean allowLoops)
Construct a new graph.

DefaultDirectedGraph(EdgeFactory<V,E> ef)
Creates a new directed graph with the specified edge factory.

DefaultDirectedWeightedGraph(EdgeFactory<V,E> ef)
Creates a new directed weighted graph with the specified edge factory.

DirectedMultigraph(EdgeFactory<V,E> ef)
Creates a new directed multigraph with the specified edge factory.

DirectedPseudograph(EdgeFactory<V,E> ef)
Creates a new directed pseudograph with the specified edge factory.

DirectedWeightedMultigraph(EdgeFactory<V,E> ef)
Creates a new directed weighted multigraph with the specified edge factory.

DirectedWeightedPseudograph(EdgeFactory<V,E> ef)
Creates a new directed weighted pseudograph with the specified edge factory.

Multigraph(EdgeFactory<V,E> ef)
Creates a new multigraph with the specified edge factory.

Pseudograph(EdgeFactory<V,E> ef)
Creates a new pseudograph with the specified edge factory.

SimpleDirectedGraph(EdgeFactory<V,E> ef)
Creates a new simple directed graph with the specified edge factory.

SimpleDirectedWeightedGraph(EdgeFactory<V,E> ef)
Creates a new simple directed weighted graph with the specified edge factory.

SimpleGraph(EdgeFactory<V,E> ef)
Creates a new simple graph with the specified edge factory.

SimpleWeightedGraph(EdgeFactory<V,E> ef)
Creates a new simple weighted graph with the specified edge factory.

WeightedMultigraph(EdgeFactory<V,E> ef)
Creates a new weighted multigraph with the specified edge factory.

WeightedPseudograph(EdgeFactory<V,E> ef)
Creates a new weighted pseudograph with the specified edge factory.

Copyright © 2017. All rights reserved.