Package  Description 

org.jgrapht 
The frontend API's interfaces and classes, including
Graph . 
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.

Modifier and Type  Field and Description 

protected EdgeFactory<V,E> 
WeightedGraphGenerator.edgeFactory
Deprecated.

Modifier and Type  Method and Description 

WeightedGraphGenerator<V,E> 
WeightedGraphGenerator.edgeFactory(EdgeFactory<V,E> edgeFactory)
Deprecated.
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> 
GraphUnion.getEdgeFactory()
Deprecated.
Throws UnsupportedOperationException, because
GraphUnion is readonly.

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

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

EdgeFactory<V,E> 
AsGraphUnion.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> 
GraphDelegator.getEdgeFactory()
Returns the edge factory using which this graph creates new edges.

Modifier and Type  Method and Description 

static <V,E> UndirectedGraphBuilderBase<V,E,? extends Pseudograph<V,E>,?> 
Pseudograph.builder(EdgeFactory<V,E> ef)
Deprecated.
In favor of
Pseudograph.createBuilder(EdgeFactory) . 
static <V,E> UndirectedGraphBuilderBase<V,E,? extends SimpleGraph<V,E>,?> 
SimpleGraph.builder(EdgeFactory<V,E> ef)
Deprecated.
In favor of
SimpleGraph.createBuilder(EdgeFactory) . 
static <V,E> DirectedGraphBuilderBase<V,E,? extends DefaultDirectedGraph<V,E>,?> 
DefaultDirectedGraph.builder(EdgeFactory<V,E> ef)
Deprecated.
In favor of
DefaultDirectedGraph.createBuilder(EdgeFactory) . 
static <V,E> UndirectedWeightedGraphBuilderBase<V,E,? extends WeightedMultigraph<V,E>,?> 
WeightedMultigraph.builder(EdgeFactory<V,E> ef)
Deprecated.
In favor of
WeightedMultigraph.createBuilder(EdgeFactory) . 
static <V,E> UndirectedGraphBuilderBase<V,E,? extends Multigraph<V,E>,?> 
Multigraph.builder(EdgeFactory<V,E> ef)
Deprecated.
In favor of
Multigraph.createBuilder(EdgeFactory) . 
static <V,E> DirectedWeightedGraphBuilderBase<V,E,? extends DefaultDirectedWeightedGraph<V,E>,?> 
DefaultDirectedWeightedGraph.builder(EdgeFactory<V,E> ef)
Deprecated.

static <V,E> DirectedWeightedGraphBuilderBase<V,E,? extends SimpleDirectedWeightedGraph<V,E>,?> 
SimpleDirectedWeightedGraph.builder(EdgeFactory<V,E> ef)
Deprecated.

static <V,E> UndirectedWeightedGraphBuilderBase<V,E,? extends WeightedPseudograph<V,E>,?> 
WeightedPseudograph.builder(EdgeFactory<V,E> ef)
Deprecated.
In favor of
WeightedPseudograph.createBuilder(EdgeFactory) . 
static <V,E> UndirectedWeightedGraphBuilderBase<V,E,? extends SimpleWeightedGraph<V,E>,?> 
SimpleWeightedGraph.builder(EdgeFactory<V,E> ef)
Deprecated.
In favor of
SimpleWeightedGraph.createBuilder(EdgeFactory) . 
static <V,E> DirectedGraphBuilderBase<V,E,? extends DirectedMultigraph<V,E>,?> 
DirectedMultigraph.builder(EdgeFactory<V,E> ef)
Deprecated.
In favor of
DirectedMultigraph.createBuilder(EdgeFactory) . 
static <V,E> DirectedGraphBuilderBase<V,E,? extends DirectedPseudograph<V,E>,?> 
DirectedPseudograph.builder(EdgeFactory<V,E> ef)
Deprecated.
In favor of
DirectedPseudograph.createBuilder(EdgeFactory) . 
static <V,E> DirectedGraphBuilderBase<V,E,? extends SimpleDirectedGraph<V,E>,?> 
SimpleDirectedGraph.builder(EdgeFactory<V,E> ef)
Deprecated.
In favor of
SimpleDirectedGraph.createBuilder(EdgeFactory) . 
static <V,E> DirectedWeightedGraphBuilderBase<V,E,? extends DirectedWeightedPseudograph<V,E>,?> 
DirectedWeightedPseudograph.builder(EdgeFactory<V,E> ef)
Deprecated.

static <V,E> DirectedWeightedGraphBuilderBase<V,E,? extends DirectedWeightedMultigraph<V,E>,?> 
DirectedWeightedMultigraph.builder(EdgeFactory<V,E> ef)
Deprecated.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Constructor and Description 

AbstractBaseGraph(EdgeFactory<V,E> ef,
boolean allowMultipleEdges,
boolean allowLoops)
Deprecated.

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

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

DefaultDirectedGraph(EdgeFactory<V,E> ef,
boolean weighted)
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.

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

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

DirectedAcyclicGraph(EdgeFactory<V,E> ef,
DirectedAcyclicGraph.VisitedStrategyFactory visitedStrategyFactory,
DirectedAcyclicGraph.TopoOrderMap<V> topoOrderMap,
boolean weighted)
Construct a directed acyclic graph.

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

DirectedMultigraph(EdgeFactory<V,E> ef,
boolean weighted)
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.

DirectedPseudograph(EdgeFactory<V,E> ef,
boolean weighted)
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.

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

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

Pseudograph(EdgeFactory<V,E> ef,
boolean weighted)
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.

SimpleDirectedGraph(EdgeFactory<V,E> ef,
boolean weighted)
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.

SimpleGraph(EdgeFactory<V,E> ef,
boolean weighted)
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.