Package | Description |
---|---|
org.jgrapht | |
org.jgrapht.alg |
Algorithms provided with JGraphT.
|
org.jgrapht.alg.flow |
Flow related algorithms.
|
org.jgrapht.alg.isomorphism |
Algorithms for (sub)graph isomorphism.
|
org.jgrapht.experimental |
Experimental work or work-in-progress.
|
org.jgrapht.experimental.alg |
Experimental package with algorithms.
|
org.jgrapht.experimental.alg.color |
Experimental package with graph coloring algorithms.
|
org.jgrapht.experimental.dag |
Experimental package with directed acyclic graphs.
|
org.jgrapht.ext |
Extensions and integration means to other products.
|
org.jgrapht.generate |
Generators for graphs of various topologies.
|
org.jgrapht.graph |
Implementations of various graphs.
|
org.jgrapht.graph.builder |
Various builder for graphs.
|
org.jgrapht.traverse |
Graph traversal means.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DirectedGraph<V,E>
A graph whose all edges are directed.
|
interface |
ListenableGraph<V,E>
A graph that supports listeners on structural change events.
|
interface |
UndirectedGraph<V,E>
A graph whose all edges are undirected.
|
interface |
WeightedGraph<V,E>
An interface for a graph whose edges have non-uniform weights.
|
Modifier and Type | Method and Description |
---|---|
Graph<V,E> |
GraphPath.getGraph()
Returns the graph over which this path is defined.
|
Modifier and Type | Method and Description |
---|---|
static <V,E> boolean |
Graphs.addAllEdges(Graph<? super V,? super E> destination,
Graph<V,E> source,
Collection<? extends E> edges)
Adds a subset of the edges of the specified source graph to the specified destination graph.
|
static <V,E> boolean |
Graphs.addAllEdges(Graph<? super V,? super E> destination,
Graph<V,E> source,
Collection<? extends E> edges)
Adds a subset of the edges of the specified source graph to the specified destination graph.
|
static <V,E> boolean |
Graphs.addAllVertices(Graph<? super V,? super E> destination,
Collection<? extends V> vertices)
Adds all of the specified vertices to the destination graph.
|
static <V,E> E |
Graphs.addEdge(Graph<V,E> g,
V sourceVertex,
V targetVertex,
double weight)
Creates a new edge and adds it to the specified graph similarly to the
addEdge(Object, Object) method. |
static <V,E> boolean |
Graphs.addEdgeWithVertices(Graph<V,E> targetGraph,
Graph<V,E> sourceGraph,
E edge)
Adds the specified edge to the graph, including its vertices if not already included.
|
static <V,E> boolean |
Graphs.addEdgeWithVertices(Graph<V,E> targetGraph,
Graph<V,E> sourceGraph,
E edge)
Adds the specified edge to the graph, including its vertices if not already included.
|
static <V,E> E |
Graphs.addEdgeWithVertices(Graph<V,E> g,
V sourceVertex,
V targetVertex)
Adds the specified source and target vertices to the graph, if not already included, and
creates a new edge and adds it to the specified graph similarly to the
addEdge(Object, Object) method. |
static <V,E> E |
Graphs.addEdgeWithVertices(Graph<V,E> g,
V sourceVertex,
V targetVertex,
double weight)
Adds the specified source and target vertices to the graph, if not already included, and
creates a new weighted edge and adds it to the specified graph similarly to the
addEdge(Object, Object) method. |
static <V,E> boolean |
Graphs.addGraph(Graph<? super V,? super E> destination,
Graph<V,E> source)
Adds all the vertices and all the edges of the specified source graph to the specified
destination graph.
|
static <V,E> boolean |
Graphs.addGraph(Graph<? super V,? super E> destination,
Graph<V,E> source)
Adds all the vertices and all the edges of the specified source graph to the specified
destination graph.
|
static <V,E> V |
Graphs.getOppositeVertex(Graph<V,E> g,
E e,
V v)
Gets the vertex opposite another vertex across an edge.
|
static <V,E> List<V> |
Graphs.neighborListOf(Graph<V,E> g,
V vertex)
Returns a list of vertices that are the neighbors of a specified vertex.
|
static <V,E> boolean |
Graphs.testIncidence(Graph<V,E> g,
E e,
V v)
Tests whether an edge is incident to a vertex.
|
static <V,E> UndirectedGraph<V,E> |
Graphs.undirectedGraph(Graph<V,E> g)
Returns an undirected view of the specified graph.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockCutpointGraph<V,E>
Definition of a block of a graph in
MathWorld.
Definition and lemma taken from the article Structure-Based Resilience Metrics for Service-Oriented Networks: Definition 4.5 Let G(V; E) be a connected undirected graph. |
Modifier and Type | Field and Description |
---|---|
protected Graph<V,E> |
BellmanFordShortestPath.graph
Graph on which shortest paths are searched.
|
Modifier and Type | Method and Description |
---|---|
Graph<V,E> |
FloydWarshallShortestPaths.getGraph() |
Modifier and Type | Method and Description |
---|---|
static <V,E> Set<V> |
VertexCovers.find2ApproximationCover(Graph<V,E> g)
Deprecated.
Use
EdgeBasedTwoApproxVCImpl ,
ClarksonTwoApproxVCImpl , or
BarYehudaEvenTwoApproxVCImpl instead. |
static <V,E> List<E> |
DijkstraShortestPath.findPathBetween(Graph<V,E> graph,
V startVertex,
V endVertex)
Convenience method to find the shortest path via a single static method call.
|
static <V,E> List<E> |
BellmanFordShortestPath.findPathBetween(Graph<V,E> graph,
V startVertex,
V endVertex)
Convenience method to find the shortest path via a single static method call.
|
static <V,E> List<E> |
BidirectionalDijkstraShortestPath.findPathBetween(Graph<V,E> graph,
V startVertex,
V endVertex)
Convenience method to find the shortest path via a single static method call.
|
Constructor and Description |
---|
AStarShortestPath(Graph<V,E> graph)
Create a new instance of the A* shortest path algorithm.
|
BellmanFordShortestPath(Graph<V,E> graph,
V startVertex)
Creates an object to calculate shortest paths between the start vertex and others vertices
using the Bellman-Ford algorithm.
|
BellmanFordShortestPath(Graph<V,E> graph,
V startVertex,
int nMaxHops)
Creates an object to calculate shortest paths between the start vertex and others vertices
using the Bellman-Ford algorithm.
|
BellmanFordShortestPath(Graph<V,E> graph,
V startVertex,
int nMaxHops,
double epsilon)
Creates an object to calculate shortest paths between the start vertex and others vertices
using the Bellman-Ford algorithm.
|
BidirectionalDijkstraShortestPath(Graph<V,E> graph,
V startVertex,
V endVertex)
Creates the instance and executes the bidirectional Dijkstra shortest path algorithm.
|
BidirectionalDijkstraShortestPath(Graph<V,E> graph,
V startVertex,
V endVertex,
double radius)
Creates the instance and executes the bidirectional Dijkstra shortest path algorithm.
|
BronKerboschCliqueFinder(Graph<V,E> graph)
Creates a new clique finder.
|
DijkstraShortestPath(Graph<V,E> graph,
V startVertex,
V endVertex)
Creates and executes a new DijkstraShortestPath algorithm instance.
|
DijkstraShortestPath(Graph<V,E> graph,
V startVertex,
V endVertex,
double radius)
Creates and executes a new DijkstraShortestPath algorithm instance.
|
FloydWarshallShortestPaths(Graph<V,E> graph)
Create a new instance of the Floyd-Warshall all-pairs shortest path algorithm.
|
KruskalMinimumSpanningTree(Graph<V,E> graph)
Creates and executes a new KruskalMinimumSpanningTree algorithm instance.
|
KShortestPaths(Graph<V,E> graph,
V startVertex,
int k)
Creates an object to compute ranking shortest paths between the start vertex and others
vertices.
|
KShortestPaths(Graph<V,E> graph,
V startVertex,
int nPaths,
int nMaxHops)
Creates an object to calculate ranking shortest paths between the start vertex and others
vertices.
|
KShortestPaths(Graph<V,E> graph,
V startVertex,
int nPaths,
int nMaxHops,
PathValidator<V,E> pathValidator)
Creates an object to calculate ranking shortest paths between the start vertex and others
vertices.
|
KShortestPaths(Graph<V,E> graph,
V startVertex,
int k,
PathValidator<V,E> pathValidator)
Creates an object to compute ranking shortest paths between the start vertex and others
vertices.
|
NeighborIndex(Graph<V,E> g)
Creates a neighbor index for the specified undirected graph.
|
PrimMinimumSpanningTree(Graph<V,E> g)
Create and execute a new instance of Prim's algorithm.
|
TarjanLowestCommonAncestor(Graph<V,E> g)
Create an instance with a reference to the graph that we will find LCAs for
|
Modifier and Type | Field and Description |
---|---|
protected Graph<V,E> |
MaximumFlowAlgorithmBase.network |
Constructor and Description |
---|
EdmondsKarpMFImpl(Graph<V,E> network)
Constructs MaximumFlow instance to work with a copy of network.
|
EdmondsKarpMFImpl(Graph<V,E> network,
double epsilon)
Constructs MaximumFlow instance to work with a copy of network.
|
MaximumFlowAlgorithmBase(Graph<V,E> network,
double epsilon)
Construct a new maximum flow
|
PushRelabelMFImpl(Graph<V,E> network)
Construct a new push-relabel algorithm.
|
PushRelabelMFImpl(Graph<V,E> network,
double epsilon)
Construct a new push-relabel algorithm.
|
Modifier and Type | Field and Description |
---|---|
protected Graph<V,E> |
VF2AbstractIsomorphismInspector.graph1 |
protected Graph<V,E> |
VF2AbstractIsomorphismInspector.graph2 |
Constructor and Description |
---|
VF2AbstractIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2)
Construct a new base implementation of the VF2 isomorphism inspector.
|
VF2AbstractIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2)
Construct a new base implementation of the VF2 isomorphism inspector.
|
VF2AbstractIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
boolean cacheEdges)
Construct a new base implementation of the VF2 isomorphism inspector.
|
VF2AbstractIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
boolean cacheEdges)
Construct a new base implementation of the VF2 isomorphism inspector.
|
VF2AbstractIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator)
Construct a new base implementation of the VF2 isomorphism inspector.
|
VF2AbstractIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator)
Construct a new base implementation of the VF2 isomorphism inspector.
|
VF2AbstractIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator,
boolean cacheEdges)
Construct a new base implementation of the VF2 isomorphism inspector.
|
VF2AbstractIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator,
boolean cacheEdges)
Construct a new base implementation of the VF2 isomorphism inspector.
|
VF2GraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2)
Construct a new VF2 isomorphism inspector.
|
VF2GraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2)
Construct a new VF2 isomorphism inspector.
|
VF2GraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
boolean cacheEdges)
Construct a new VF2 isomorphism inspector.
|
VF2GraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
boolean cacheEdges)
Construct a new VF2 isomorphism inspector.
|
VF2GraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator)
Construct a new VF2 isomorphism inspector.
|
VF2GraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator)
Construct a new VF2 isomorphism inspector.
|
VF2GraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator,
boolean cacheEdges)
Construct a new VF2 isomorphism inspector.
|
VF2GraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator,
boolean cacheEdges)
Construct a new VF2 isomorphism inspector.
|
VF2SubgraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2)
Construct a new VF2 isomorphism inspector.
|
VF2SubgraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2)
Construct a new VF2 isomorphism inspector.
|
VF2SubgraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
boolean cacheEdges)
Construct a new VF2 isomorphism inspector.
|
VF2SubgraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
boolean cacheEdges)
Construct a new VF2 isomorphism inspector.
|
VF2SubgraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator)
Construct a new VF2 isomorphism inspector.
|
VF2SubgraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator)
Construct a new VF2 isomorphism inspector.
|
VF2SubgraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator,
boolean cacheEdges)
Construct a new VF2 isomorphism inspector.
|
VF2SubgraphIsomorphismInspector(Graph<V,E> graph1,
Graph<V,E> graph2,
Comparator<V> vertexComparator,
Comparator<E> edgeComparator,
boolean cacheEdges)
Construct a new VF2 isomorphism inspector.
|
Modifier and Type | Class and Description |
---|---|
class |
GraphSquare<V,E>
A unmodifiable graph which is the squared graph of another.
|
Modifier and Type | Method and Description |
---|---|
static <V,E> boolean |
GraphTests.isBipartite(Graph<V,E> g)
Test whether a graph is bipartite.
|
static <V,E> boolean |
GraphTests.isComplete(Graph<V,E> g)
Test whether a graph is complete.
|
static <V,E> boolean |
GraphTests.isConnected(Graph<V,E> g)
Test whether a graph is connected.
|
static <V,E> boolean |
GraphTests.isEmpty(Graph<V,E> g)
Test whether a graph is empty.
|
static <V,E> boolean |
GraphTests.isTree(Graph<V,E> g)
Test whether a graph is a tree.
|
Constructor and Description |
---|
GraphSquare(Graph<V,E> g,
boolean createLoops)
Constructor for GraphSquare.
|
Constructor and Description |
---|
IntArrayGraphAlgorithm(Graph<V,E> g)
Create a new instance.
|
Constructor and Description |
---|
BrownBacktrackColoring(Graph<V,E> g)
Construct a new Brown backtracking algorithm.
|
GreedyColoring(Graph<V,E> g)
Create a new greedy coloring algorithm
|
GreedyColoring(Graph<V,E> g,
int method)
Create a new greedy coloring algorithm
|
Modifier and Type | Class and Description |
---|---|
class |
DirectedAcyclicGraph<V,E>
DirectedAcyclicGraph implements a DAG that can be modified (vertices & edges added and
removed), is guaranteed to remain acyclic, and provides fast topological order iteration.
|
Modifier and Type | Method and Description |
---|---|
static <V,E> String |
DOTUtils.convertGraphToDotString(Graph<V,E> graph)
Convert a graph into a String in DOT format.
|
static <V,E> org.jgraph.graph.AttributeMap |
JGraphModelAdapter.createDefaultEdgeAttributes(Graph<V,E> jGraphTGraph)
Creates and returns a map of attributes to be used as defaults for edge attributes, depending
on the specified graph.
|
void |
VisioExporter.export(OutputStream output,
Graph<V,E> g)
Deprecated.
|
void |
DOTExporter.export(Writer writer,
Graph<V,E> g)
Deprecated.
|
void |
GraphMLExporter.export(Writer writer,
Graph<V,E> g)
Deprecated.
|
default void |
GraphExporter.exportGraph(Graph<V,E> g,
File file)
Export a graph
|
default void |
GraphExporter.exportGraph(Graph<V,E> g,
OutputStream out)
Export a graph
|
void |
MatrixExporter.exportGraph(Graph<V,E> g,
Writer writer) |
void |
DOTExporter.exportGraph(Graph<V,E> g,
Writer writer)
Exports a graph into a plain text file in DOT format.
|
void |
GmlExporter.exportGraph(Graph<V,E> g,
Writer writer)
Exports an graph into a plain text GML format.
|
void |
VisioExporter.exportGraph(Graph<V,E> g,
Writer writer)
Exports the specified graph into a Visio CSV file format.
|
void |
GraphExporter.exportGraph(Graph<V,E> g,
Writer writer)
Export a graph
|
void |
GraphMLExporter.exportGraph(Graph<V,E> g,
Writer writer)
Exports a graph in GraphML format.
|
void |
CSVExporter.exportGraph(Graph<V,E> g,
Writer writer)
Exports a graph
|
default void |
GraphImporter.importGraph(Graph<V,E> g,
File file)
Import a graph
|
default void |
GraphImporter.importGraph(Graph<V,E> g,
InputStream in)
Import a graph
|
void |
CSVImporter.importGraph(Graph<V,E> graph,
Reader input)
Import a graph.
|
void |
GmlImporter.importGraph(Graph<V,E> graph,
Reader input)
Import a graph.
|
void |
DOTImporter.importGraph(Graph<V,E> graph,
Reader input)
Read a dot formatted input and populate the provided graph.
|
void |
DIMACSImporter.importGraph(Graph<V,E> graph,
Reader input)
Import a graph.
|
void |
GraphImporter.importGraph(Graph<V,E> g,
Reader in)
Import a graph
|
void |
GraphMLImporter.importGraph(Graph<V,E> graph,
Reader input)
Import a graph.
|
Constructor and Description |
---|
JGraphModelAdapter(Graph<V,E> jGraphTGraph)
Constructs a new JGraph model adapter for the specified JGraphT graph.
|
JGraphModelAdapter(Graph<V,E> jGraphTGraph,
org.jgraph.graph.AttributeMap defaultVertexAttributes,
org.jgraph.graph.AttributeMap defaultEdgeAttributes)
Constructs a new JGraph model adapter for the specified JGraphT graph.
|
JGraphModelAdapter(Graph<V,E> jGraphTGraph,
org.jgraph.graph.AttributeMap defaultVertexAttributes,
org.jgraph.graph.AttributeMap defaultEdgeAttributes,
JGraphModelAdapter.CellFactory<V,E> cellFactory)
Constructs a new JGraph model adapter for the specified JGraphT graph.
|
JGraphXAdapter(Graph<V,E> graph)
Constructs and draws a new mxGraph from a jGraphT graph.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,T> resultMap)
Generate a graph structure.
|
void |
WeightedGraphGeneratorAdapter.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,T> resultMap)
Generate a graph structure.
|
void |
GnpRandomBipartiteGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generates a random bipartite graph.
|
void |
EmptyGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generate a graph structure.
|
void |
WheelGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generate a graph structure.
|
void |
CompleteBipartiteGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Construct a complete bipartite graph
|
void |
StarGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generates a star graph with the designated order from the constructor
|
void |
LinearGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generate a graph structure.
|
void |
HyperCubeGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
This will generate the hypercube graph
|
void |
GnpRandomGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generates a random graph based on the G(n, p) model.
|
void |
GnmRandomBipartiteGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generates a random bipartite graph.
|
void |
GridGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generate a graph structure.
|
void |
GnmRandomGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generates a random graph based on the G(n, M) model
|
void |
CompleteGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generate a graph structure.
|
void |
RingGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generate a graph structure.
|
void |
ScaleFreeGraphGenerator.generateGraph(Graph<V,E> target,
VertexFactory<V> vertexFactory,
Map<String,V> resultMap)
Generates scale-free network with size passed to the constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
GraphUnion<V,E,G extends Graph<V,E>>
Read-only union of two graphs: G1 and G2.
|
class |
Subgraph<V,E,G extends Graph<V,E>>
A subgraph is a graph that has a subset of vertices and a subset of edges with respect to some
base graph.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBaseGraph<V,E>
The most general implementation of the
Graph interface. |
class |
AbstractGraph<V,E>
A skeletal implementation of the Graph interface, to minimize the effort required to
implement graph interfaces.
|
class |
AsUndirectedGraph<V,E>
An undirected view of the backing directed graph specified in the constructor.
|
class |
AsUnweightedDirectedGraph<V,E>
An unweighted view of the backing weighted graph specified in the constructor.
|
class |
AsUnweightedGraph<V,E>
An unweighted view of the backing weighted graph specified in the constructor.
|
class |
AsWeightedDirectedGraph<V,E>
A weighted view of the backing graph specified in the constructor.
|
class |
AsWeightedGraph<V,E>
A weighted view of the backing graph specified in the constructor.
|
class |
DefaultDirectedGraph<V,E>
A directed graph.
|
class |
DefaultDirectedWeightedGraph<V,E>
A directed weighted graph.
|
class |
DefaultListenableGraph<V,E>
A graph backed by the the graph specified at the constructor, which can be listened by
GraphListener s and by
VertexSetListener s. |
class |
DirectedGraphUnion<V,E>
A union of directed graphs.
|
class |
DirectedMaskSubgraph<V,E>
A directed graph that is a
MaskSubgraph on another graph. |
class |
DirectedMultigraph<V,E>
A directed multigraph.
|
class |
DirectedPseudograph<V,E>
A directed pseudograph.
|
class |
DirectedSubgraph<V,E>
A directed graph that is a subgraph on other graph.
|
class |
DirectedWeightedMultigraph<V,E>
A directed weighted multigraph.
|
class |
DirectedWeightedPseudograph<V,E>
A directed weighted pseudograph.
|
class |
DirectedWeightedSubgraph<V,E>
A directed weighted graph that is a subgraph on other graph.
|
class |
EdgeReversedGraph<V,E>
Provides an edge-reversed view g' of a directed graph g.
|
class |
GraphDelegator<V,E>
A graph backed by the the graph specified at the constructor, which delegates all its methods to
the backing graph.
|
class |
GraphUnion<V,E,G extends Graph<V,E>>
Read-only union of two graphs: G1 and G2.
|
class |
ListenableDirectedGraph<V,E>
A directed graph which is also
ListenableGraph . |
class |
ListenableDirectedWeightedGraph<V,E>
A directed weighted graph which is also
ListenableGraph . |
class |
ListenableUndirectedGraph<V,E>
An undirected graph which is also
ListenableGraph . |
class |
ListenableUndirectedWeightedGraph<V,E>
An undirected weighted graph which is also
ListenableGraph . |
class |
MaskSubgraph<V,E>
An unmodifiable subgraph induced by a vertex/edge masking function.
|
class |
MixedGraphUnion<V,E>
Read-only union of an undirected and a directed graph.
|
class |
Multigraph<V,E>
A multigraph.
|
class |
ParanoidGraph<V,E>
ParanoidGraph provides a way to verify that objects added to a graph obey the standard
equals/hashCode contract.
|
class |
Pseudograph<V,E>
A pseudograph.
|
class |
SimpleDirectedGraph<V,E>
A simple directed graph.
|
class |
SimpleDirectedWeightedGraph<V,E>
A simple directed weighted graph.
|
class |
SimpleGraph<V,E>
A simple graph.
|
class |
SimpleWeightedGraph<V,E>
A simple weighted graph.
|
class |
Subgraph<V,E,G extends Graph<V,E>>
A subgraph is a graph that has a subset of vertices and a subset of edges with respect to some
base graph.
|
class |
UndirectedGraphUnion<V,E>
An undirected version of the read-only union of two graphs.
|
class |
UndirectedMaskSubgraph<V,E>
An undirected graph that is a
MaskSubgraph on another graph. |
class |
UndirectedSubgraph<V,E>
An undirected graph that is a subgraph on other graph.
|
class |
UndirectedWeightedSubgraph<V,E>
An undirected weighted graph that is a subgraph on other graph.
|
class |
UnmodifiableDirectedGraph<V,E>
A directed graph that cannot be modified.
|
class |
UnmodifiableGraph<V,E>
An unmodifiable view of the backing graph specified in the constructor.
|
class |
UnmodifiableUndirectedGraph<V,E>
An undirected graph that cannot be modified.
|
class |
WeightedMultigraph<V,E>
A weighted multigraph.
|
class |
WeightedPseudograph<V,E>
A weighted pseudograph.
|
Modifier and Type | Field and Description |
---|---|
protected Graph<V,E> |
GraphWalk.graph |
Modifier and Type | Method and Description |
---|---|
Graph<V,E> |
GraphWalk.getGraph() |
Graph<V,E> |
GraphPathImpl.getGraph()
Deprecated.
|
Constructor and Description |
---|
AsUnweightedGraph(Graph<V,E> g)
Constructor for AsUnweightedGraph.
|
AsWeightedGraph(Graph<V,E> g,
Map<E,Double> weightMap)
Constructor for AsWeightedGraph.
|
DefaultGraphMapping(Map<V,V> g1ToG2,
Map<V,V> g2ToG1,
Graph<V,E> g1,
Graph<V,E> g2)
The maps themselves are used.
|
DefaultGraphMapping(Map<V,V> g1ToG2,
Map<V,V> g2ToG1,
Graph<V,E> g1,
Graph<V,E> g2)
The maps themselves are used.
|
DefaultListenableGraph(Graph<V,E> g)
Creates a new listenable graph.
|
DefaultListenableGraph(Graph<V,E> g,
boolean reuseEvents)
Creates a new listenable graph.
|
GraphDelegator(Graph<V,E> g)
Constructor for GraphDelegator.
|
GraphPathImpl(Graph<V,E> graph,
V startVertex,
V endVertex,
List<E> edgeList,
double weight)
Deprecated.
Create a new graph path
|
GraphWalk(Graph<V,E> graph,
List<V> vertexList,
double weight)
Creates a walk defined by a sequence of vertices.
|
GraphWalk(Graph<V,E> graph,
V startVertex,
V endVertex,
List<E> edgeList,
double weight)
Creates a walk defined by a sequence of edges.
|
GraphWalk(Graph<V,E> graph,
V startVertex,
V endVertex,
List<V> vertexList,
List<E> edgeList,
double weight)
Creates a walk defined by both a sequence of edges and a sequence of vertices.
|
MaskSubgraph(Graph<V,E> base,
MaskFunctor<V,E> mask)
Creates a new induced subgraph.
|
ParanoidGraph(Graph<V,E> g)
Create a new paranoid graph.
|
UnmodifiableGraph(Graph<V,E> g)
Creates a new unmodifiable graph based on the specified backing graph.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraphBuilder<V,E,G extends Graph<V,E>,B extends AbstractGraphBuilder<V,E,G,B>>
Base class for builders of
Graph |
Modifier and Type | Field and Description |
---|---|
protected G |
AbstractGraphBuilder.graph |
Modifier and Type | Method and Description |
---|---|
B |
AbstractGraphBuilder.addGraph(Graph<? extends V,? extends E> sourceGraph)
Adds all the vertices and all the edges of the
sourceGraph to the graph being built. |
Modifier and Type | Method and Description |
---|---|
Graph<V,E> |
CrossComponentIterator.getGraph() |
Constructor and Description |
---|
BreadthFirstIterator(Graph<V,E> g)
Creates a new breadth-first iterator for the specified graph.
|
BreadthFirstIterator(Graph<V,E> g,
V startVertex)
Creates a new breadth-first iterator for the specified graph.
|
ClosestFirstIterator(Graph<V,E> g)
Creates a new closest-first iterator for the specified graph.
|
ClosestFirstIterator(Graph<V,E> g,
V startVertex)
Creates a new closest-first iterator for the specified graph.
|
ClosestFirstIterator(Graph<V,E> g,
V startVertex,
double radius)
Creates a new radius-bounded closest-first iterator for the specified graph.
|
CrossComponentIterator(Graph<V,E> g,
V startVertex)
Creates a new iterator for the specified graph.
|
DepthFirstIterator(Graph<V,E> g)
Creates a new depth-first iterator for the specified graph.
|
DepthFirstIterator(Graph<V,E> g,
V startVertex)
Creates a new depth-first iterator for the specified graph.
|
RandomWalkIterator(Graph<V,E> graph)
Creates a new iterator for the specified graph.
|
RandomWalkIterator(Graph<V,E> graph,
V startVertex)
Creates a new iterator for the specified graph.
|
RandomWalkIterator(Graph<V,E> graph,
V startVertex,
boolean isWeighted)
Creates a new iterator for the specified graph.
|
RandomWalkIterator(Graph<V,E> graph,
V startVertex,
boolean isWeighted,
long maxSteps)
Creates a new iterator for the specified graph.
|
Copyright © 2016. All rights reserved.