Uses of Interface
org.jgrapht.Graph
| Package | Description |
|---|---|
| org.jgrapht |
The front-end API's interfaces and classes, including
Graph. |
| org.jgrapht.alg |
Algorithms provided with JGraphT.
|
| org.jgrapht.alg.clique |
Clique related algorithms.
|
| org.jgrapht.alg.clustering |
Graph clustering algorithms.
|
| org.jgrapht.alg.color |
Graph coloring algorithms.
|
| org.jgrapht.alg.connectivity |
Algorithms dealing with various connectivity aspects of a graph.
|
| org.jgrapht.alg.cycle |
Algorithms related to graph cycles.
|
| org.jgrapht.alg.decomposition |
Algorithms for computing decompositions.
|
| org.jgrapht.alg.densesubgraph |
Algorithms for computing maximum density subgraphs.
|
| org.jgrapht.alg.drawing |
Graph Drawing.
|
| org.jgrapht.alg.flow |
Flow related algorithms.
|
| org.jgrapht.alg.flow.mincost |
Algorithms for minimum cost flow
|
| org.jgrapht.alg.independentset |
Algorithms for Independent
Set in a graph.
|
| org.jgrapht.alg.interfaces |
Algorithm related interfaces.
|
| org.jgrapht.alg.isomorphism |
Algorithms for (sub)graph isomorphism.
|
| org.jgrapht.alg.lca |
Algorithms for computing lowest common ancestors in graphs.
|
| org.jgrapht.alg.linkprediction |
Algorithms for link prediction
|
| org.jgrapht.alg.matching |
Algorithms for the computation of matchings.
|
| org.jgrapht.alg.matching.blossom.v5 |
Package for Kolmogorov's Blossom V algorithm
|
| org.jgrapht.alg.partition |
Algorithm for computing partitions.
|
| org.jgrapht.alg.planar |
Algorithms for testing planarity of the graphs
|
| org.jgrapht.alg.scoring |
Vertex and/or edge scoring algorithms.
|
| org.jgrapht.alg.shortestpath |
Shortest-path related algorithms.
|
| org.jgrapht.alg.similarity |
Algorithms for computing graph similarity metrics.
|
| org.jgrapht.alg.spanning |
Spanning tree and spanner algorithms.
|
| org.jgrapht.alg.tour |
Graph tours related algorithms.
|
| org.jgrapht.alg.transform |
Package for graph transformers
|
| org.jgrapht.alg.util |
Utilities used by JGraphT algorithms.
|
| org.jgrapht.alg.vertexcover |
Vertex cover algorithms.
|
| org.jgrapht.ext |
Extensions and integration means to other products.
|
| org.jgrapht.generate |
Generators for graphs of various topologies.
|
| org.jgrapht.generate.netgen |
Network generator components
|
| org.jgrapht.graph |
Implementations of various graphs.
|
| org.jgrapht.graph.builder |
Various builder for graphs.
|
| org.jgrapht.graph.concurrent |
Implementations of various concurrent graph structures.
|
| org.jgrapht.graph.guava | |
| org.jgrapht.graph.specifics |
Implementations of specifics for various graph types.
|
| org.jgrapht.nio |
Importers/Exporters for various graph formats.
|
| org.jgrapht.nio.csv |
CSV importers/exporters
|
| org.jgrapht.nio.dimacs |
DIMACS Challenges importers/exporters
|
| org.jgrapht.nio.dot |
DOT importers/exporters
|
| org.jgrapht.nio.gexf |
Graph Exchange XML Format (GEXF) importers/exporters.
|
| org.jgrapht.nio.gml |
GML importers/exporters
|
| org.jgrapht.nio.graph6 |
Graph6, sparse6 and digraph6 importers/exporters
|
| org.jgrapht.nio.graphml |
GraphML importers/exporters
|
| org.jgrapht.nio.json |
Json importers/exporters
|
| org.jgrapht.nio.lemon |
Lemon input/output.
|
| org.jgrapht.nio.matrix |
Matrix input/output
|
| org.jgrapht.nio.tsplib |
TSPLIB95 importers/exporters
|
| org.jgrapht.opt.graph.fastutil |
Specialized graph implementations using the FastUtil library
|
| org.jgrapht.opt.graph.sparse |
Specialized graph implementations using sparse matrix representations.
|
| org.jgrapht.opt.graph.sparse.specifics | |
| org.jgrapht.sux4j |
Immutable graphs stored using Sux4J's quasi-succinct data
structures.
|
| org.jgrapht.traverse |
Graph traversal means.
|
| org.jgrapht.webgraph |
Adapters for graphs stored using
WebGraph's compressed and succinct
formats.
|
-
Uses of Graph in org.jgrapht
Subinterfaces of Graph in org.jgrapht Modifier and Type Interface Description interfaceListenableGraph<V,E>A graph that supports listeners on structural change events.Methods in org.jgrapht that return Graph Modifier and Type Method Description Graph<V,E>GraphIterables. getGraph()Get the underlying graph.Graph<V,E>GraphPath. getGraph()Returns the graph over which this path is defined.static <V, E> Graph<V,E>GraphTests. requireDirected(Graph<V,E> graph)Checks that the specified graph is directed and throws anIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireDirected(Graph<V,E> graph, java.lang.String message)Checks that the specified graph is directed and throws a customizedIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireDirectedOrUndirected(Graph<V,E> graph)Checks that the specified graph is directed and throws anIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireDirectedOrUndirected(Graph<V,E> graph, java.lang.String message)Checks that the specified graph is directed or undirected and throws a customizedIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireUndirected(Graph<V,E> graph)Checks that the specified graph is undirected and throws anIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireUndirected(Graph<V,E> graph, java.lang.String message)Checks that the specified graph is undirected and throws a customizedIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireWeighted(Graph<V,E> graph)Checks that the specified graph is weighted and throws a customizedIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>Graphs. undirectedGraph(Graph<V,E> g)Returns an undirected view of the specified graph.Methods in org.jgrapht with parameters of type Graph Modifier and Type Method Description static <V, E> booleanGraphs. addAllEdges(Graph<? super V,? super E> destination, Graph<V,E> source, java.util.Collection<? extends E> edges)Adds a subset of the edges of the specified source graph to the specified destination graph.static <V, E> booleanGraphs. addAllVertices(Graph<? super V,? super E> destination, java.util.Collection<? extends V> vertices)Adds all of the specified vertices to the destination graph.static <V, E> EGraphs. addEdge(Graph<V,E> g, V sourceVertex, V targetVertex, double weight)Creates a new edge and adds it to the specified graph similarly to theaddEdge(Object, Object)method.static <V, E> booleanGraphs. 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> EGraphs. 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 theaddEdge(Object, Object)method.static <V, E> EGraphs. 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 theaddEdge(Object, Object)method.static <V, E> booleanGraphs. 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> voidGraphs. addGraphReversed(Graph<? super V,? super E> destination, Graph<V,E> source)Adds all the vertices and all the edges of the specified source digraph to the specified destination digraph, reversing all of the edges.static <V, E> voidGraphs. addIncomingEdges(Graph<V,E> graph, V target, java.lang.Iterable<V> sources)Add edges from multiple source vertices to one target vertex.static <V, E> voidGraphs. addOutgoingEdges(Graph<V,E> graph, V source, java.lang.Iterable<V> targets)Add edges from one source vertex to multiple target vertices.static <V, E> doubleGraphMetrics. getDiameter(Graph<V,E> graph)Compute the diameter of the graph.static <V, E> intGraphMetrics. getGirth(Graph<V,E> graph)Compute the girth of the graph.static <V, E> longGraphMetrics. getNumberOfTriangles(Graph<V,E> graph)An $O(|E|^{3/2})$ algorithm for counting the number of non-trivial triangles in an undirected graph.static <V, E> VGraphs. getOppositeVertex(Graph<V,E> g, E e, V v)Gets the vertex opposite another vertex across an edge.static <V, E> doubleGraphMetrics. getRadius(Graph<V,E> graph)Compute the radius of the graph.static <V, E> VertexToIntegerMapping<V>Graphs. getVertexToIntegerMapping(Graph<V,E> graph)Compute a new mapping from the vertices of a graph to the integer range $[0, n)$ where $n$ is the number of vertices in the graph.static <V, E> booleanGraphTests. hasMultipleEdges(Graph<V,E> graph)Check if a graph has multiple edges (parallel edges), that is, whether the graph contains two or more edges connecting the same pair of vertices.static <V, E> booleanGraphTests. hasOreProperty(Graph<V,E> graph)Tests whether an undirected graph meets Ore's condition to be Hamiltonian.static <V, E> booleanGraphTests. hasSelfLoops(Graph<V,E> graph)Check if a graph has self-loops.static <V, E> booleanGraphTests. isBiconnected(Graph<V,E> graph)Tests if the inspected graph is biconnected.static <V, E> booleanGraphTests. isBipartite(Graph<V,E> graph)Test whether a graph is bipartite.static <V, E> booleanGraphTests. isBipartitePartition(Graph<V,E> graph, java.util.Set<? extends V> firstPartition, java.util.Set<? extends V> secondPartition)Test whether a partition of the vertices into two sets is a bipartite partition.static <V, E> booleanGraphTests. isChordal(Graph<V,E> graph)Checks whether a graph is chordal.static <V, E> booleanGraphTests. isComplete(Graph<V,E> graph)Test whether a graph is complete.static <V, E> booleanGraphTests. isConnected(Graph<V,E> graph)Test if the inspected graph is connected.static <V, E> booleanGraphTests. isCubic(Graph<V,E> graph)Tests whether a graph is cubic.static <V, E> booleanGraphTests. isEmpty(Graph<V,E> graph)Test whether a graph is empty.static <V, E> booleanGraphTests. isEulerian(Graph<V,E> graph)Test whether a graph is Eulerian.static <V, E> booleanGraphTests. isForest(Graph<V,E> graph)Test whether an undirected graph is a forest.static <V, E> booleanGraphTests. isK33Subdivision(Graph<V,E> graph)Checks whether thegraphis a $K_{3,3}$ subdivision.static <V, E> booleanGraphTests. isK5Subdivision(Graph<V,E> graph)Checks whether thegraphis a $K_5$ subdivision.static <V, E> booleanGraphTests. isKuratowskiSubdivision(Graph<V,E> graph)Checks whether thegraphis a Kuratowski subdivision.static <V, E> booleanGraphTests. isOverfull(Graph<V,E> graph)Test whether a graph is overfull.static <V, E> booleanGraphTests. isPerfect(Graph<V,E> graph)Checks that the specified graph is perfect.static <V, E> booleanGraphTests. isPlanar(Graph<V,E> graph)Checks that the specified graph is planar.static <V, E> booleanGraphTests. isSimple(Graph<V,E> graph)Check if a graph is simple.static <V, E> booleanGraphTests. isSplit(Graph<V,E> graph)Test whether an undirected graph is a split graph.static <V, E> booleanGraphTests. isStronglyConnected(Graph<V,E> graph)Test whether a graph is strongly connected.static <V, E> booleanGraphTests. isTree(Graph<V,E> graph)Test whether an undirected graph is a tree.static <V, E> booleanGraphTests. isTriangleFree(Graph<V,E> graph)Tests whether an undirected graph is triangle-free (i.e.static <V, E> booleanGraphTests. isWeaklyChordal(Graph<V,E> graph)Checks whether a graph is weakly chordal.static <V, E> booleanGraphTests. isWeaklyConnected(Graph<V,E> graph)Test whether a directed graph is weakly connected.static <V, E> java.util.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> java.util.Set<V>Graphs. neighborSetOf(Graph<V,E> g, V vertex)Returns a set of vertices that are neighbors of a specified vertex.static <V, E> java.util.List<V>Graphs. predecessorListOf(Graph<V,E> g, V vertex)Returns a list of vertices that are the direct predecessors of a specified vertex.static <V, E> booleanGraphs. removeVertexAndPreserveConnectivity(Graph<V,E> graph, java.lang.Iterable<V> vertices)Removes all the given vertices from the given graph.static <V, E> booleanGraphs. removeVertexAndPreserveConnectivity(Graph<V,E> graph, V vertex)Removes the given vertex from the given graph.static <V, E> booleanGraphs. removeVerticesAndPreserveConnectivity(Graph<V,E> graph, java.util.function.Predicate<V> predicate)Filters vertices from the given graph and subsequently removes them.static <V, E> Graph<V,E>GraphTests. requireDirected(Graph<V,E> graph)Checks that the specified graph is directed and throws anIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireDirected(Graph<V,E> graph, java.lang.String message)Checks that the specified graph is directed and throws a customizedIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireDirectedOrUndirected(Graph<V,E> graph)Checks that the specified graph is directed and throws anIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireDirectedOrUndirected(Graph<V,E> graph, java.lang.String message)Checks that the specified graph is directed or undirected and throws a customizedIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireUndirected(Graph<V,E> graph)Checks that the specified graph is undirected and throws anIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireUndirected(Graph<V,E> graph, java.lang.String message)Checks that the specified graph is undirected and throws a customizedIllegalArgumentExceptionif it is not.static <V, E> Graph<V,E>GraphTests. requireWeighted(Graph<V,E> graph)Checks that the specified graph is weighted and throws a customizedIllegalArgumentExceptionif it is not.static <V, E> java.util.List<V>Graphs. successorListOf(Graph<V,E> g, V vertex)Returns a list of vertices that are the direct successors of a specified vertex.static <V, E> booleanGraphs. testIncidence(Graph<V,E> g, E e, V v)Tests whether an edge is incident to a vertex.static <V, E> Graph<V,E>Graphs. undirectedGraph(Graph<V,E> g)Returns an undirected view of the specified graph.static <V, E> booleanGraphs. vertexHasPredecessors(Graph<V,E> graph, V vertex)Check if a vertex has any direct predecessors.static <V, E> booleanGraphs. vertexHasSuccessors(Graph<V,E> graph, V vertex)Check if a vertex has any direct successors. -
Uses of Graph in org.jgrapht.alg
Methods in org.jgrapht.alg with parameters of type Graph Modifier and Type Method Description <V, E> voidTransitiveReduction. reduce(Graph<V,E> directedGraph)This method will remove all transitive edges from the graph passed as input parameter.Constructors in org.jgrapht.alg with parameters of type Graph Constructor Description StoerWagnerMinimumCut(Graph<V,E> graph)Will compute the minimum cut in graph. -
Uses of Graph in org.jgrapht.alg.clique
Fields in org.jgrapht.alg.clique declared as Graph Modifier and Type Field Description protected Graph<V,E>BaseBronKerboschCliqueFinder. graphThe underlying graphprotected Graph<V,E>BaseBronKerboschCliqueFinder. graphThe underlying graphprotected Graph<V,E>BaseBronKerboschCliqueFinder. graphThe underlying graphMethods in org.jgrapht.alg.clique that return Graph Modifier and Type Method Description Graph<V,E>CliqueMinimalSeparatorDecomposition. getGraph()Get the original graph.Graph<V,E>CliqueMinimalSeparatorDecomposition. getMinimalTriangulation()Get the minimal triangulation of the graph.Constructors in org.jgrapht.alg.clique with parameters of type Graph Constructor Description BronKerboschCliqueFinder(Graph<V,E> graph)Constructs a new clique finder.BronKerboschCliqueFinder(Graph<V,E> graph, long timeout, java.util.concurrent.TimeUnit unit)Constructs a new clique finder.ChordalGraphMaxCliqueFinder(Graph<V,E> graph)Creates a new ChordalGraphMaxCliqueFinder instance.ChordalGraphMaxCliqueFinder(Graph<V,E> graph, ChordalityInspector.IterationOrder iterationOrder)Creates a new ChordalGraphMaxCliqueFinder instance.CliqueMinimalSeparatorDecomposition(Graph<V,E> g)Setup a clique minimal separator decomposition on undirected graphg.DegeneracyBronKerboschCliqueFinder(Graph<V,E> graph)Constructs a new clique finder.DegeneracyBronKerboschCliqueFinder(Graph<V,E> graph, long timeout, java.util.concurrent.TimeUnit unit)Constructs a new clique finder.PivotBronKerboschCliqueFinder(Graph<V,E> graph)Constructs a new clique finder.PivotBronKerboschCliqueFinder(Graph<V,E> graph, long timeout, java.util.concurrent.TimeUnit unit)Constructs a new clique finder. -
Uses of Graph in org.jgrapht.alg.clustering
Constructors in org.jgrapht.alg.clustering with parameters of type Graph Constructor Description GirvanNewmanClustering(Graph<V,E> graph, int k)Create a new clustering algorithm.GirvanNewmanClustering(Graph<V,E> graph, int k, EdgeBetweennessCentrality.OverflowStrategy overflowStrategy, java.lang.Iterable<V> startVertices)Create a new clustering algorithm.KSpanningTreeClustering(Graph<V,E> graph, int k)Create a new clustering algorithm.LabelPropagationClustering(Graph<V,E> graph)Create a new clustering algorithm.LabelPropagationClustering(Graph<V,E> graph, int maxIterations)Create a new clustering algorithm.LabelPropagationClustering(Graph<V,E> graph, int maxIterations, java.util.Random rng)Create a new clustering algorithm.LabelPropagationClustering(Graph<V,E> graph, java.util.Random rng)Create a new clustering algorithm. -
Uses of Graph in org.jgrapht.alg.color
Fields in org.jgrapht.alg.color declared as Graph Modifier and Type Field Description protected Graph<V,E>GreedyColoring. graphThe input graphConstructors in org.jgrapht.alg.color with parameters of type Graph Constructor Description BrownBacktrackColoring(Graph<V,E> graph)Construct a new Brown backtracking algorithm.ChordalGraphColoring(Graph<V,E> graph)Creates a new ChordalGraphColoring instance.ChordalGraphColoring(Graph<V,E> graph, ChordalityInspector.IterationOrder iterationOrder)Creates a new ChordalGraphColoring instance.ColorRefinementAlgorithm(Graph<V,E> graph)Construct a new coloring algorithm.ColorRefinementAlgorithm(Graph<V,E> graph, VertexColoringAlgorithm.Coloring<V> alpha)Construct a new coloring algorithm.GreedyColoring(Graph<V,E> graph)Construct a new coloring algorithm.LargestDegreeFirstColoring(Graph<V,E> graph)Construct a new coloring algorithm.RandomGreedyColoring(Graph<V,E> graph)Construct a new coloring algorithm.RandomGreedyColoring(Graph<V,E> graph, java.util.Random rng)Construct a new coloring algorithmSaturationDegreeColoring(Graph<V,E> graph)Construct a new coloring algorithm.SmallestDegreeLastColoring(Graph<V,E> graph)Construct a new coloring algorithm. -
Uses of Graph in org.jgrapht.alg.connectivity
Classes in org.jgrapht.alg.connectivity that implement Graph Modifier and Type Class Description classBlockCutpointGraph<V,E>A Block-Cutpoint graph (also known as a block-cut tree).Fields in org.jgrapht.alg.connectivity declared as Graph Modifier and Type Field Description protected Graph<V,E>AbstractStrongConnectivityInspector. graphprotected Graph<V,E>AbstractStrongConnectivityInspector. graphFields in org.jgrapht.alg.connectivity with type parameters of type Graph Modifier and Type Field Description protected java.util.List<Graph<V,E>>AbstractStrongConnectivityInspector. stronglyConnectedSubgraphsprotected java.util.List<Graph<V,E>>AbstractStrongConnectivityInspector. stronglyConnectedSubgraphsMethods in org.jgrapht.alg.connectivity that return Graph Modifier and Type Method Description Graph<V,E>BlockCutpointGraph. getBlock(V vertex)Returns the vertex if vertex is a cutpoint, and otherwise returns the block (biconnected component) containing the vertex.Graph<V,E>BiconnectivityInspector. getConnectedComponent(V vertex)Returns the connected component containing the given vertex.Methods in org.jgrapht.alg.connectivity that return types with arguments of type Graph Modifier and Type Method Description java.util.Set<Graph<V,E>>BiconnectivityInspector. getBlocks()Returns all blocks (biconnected components) in the graph.java.util.Set<Graph<V,E>>BiconnectivityInspector. getBlocks(V vertex)Returns a set of blocks (biconnected components) containing the specified vertex.java.util.Set<Graph<V,E>>BlockCutpointGraph. getBlocks()Returns all blocks (biconnected components) in the graphjava.util.Set<Graph<V,E>>BiconnectivityInspector. getConnectedComponents()Returns all connected components in the graph.Constructors in org.jgrapht.alg.connectivity with parameters of type Graph Constructor Description BiconnectivityInspector(Graph<V,E> graph)Constructs a new BiconnectivityInspectorBlockCutpointGraph(Graph<V,E> graph)Constructs a Block-Cutpoint graphConnectivityInspector(Graph<V,E> g)Creates a connectivity inspector for the specified graph.GabowStrongConnectivityInspector(Graph<V,E> graph)ConstructorKosarajuStrongConnectivityInspector(Graph<V,E> graph)Constructor -
Uses of Graph in org.jgrapht.alg.cycle
Fields in org.jgrapht.alg.cycle declared as Graph Modifier and Type Field Description protected Graph<V,E>HierholzerEulerianCycle. gprotected Graph<V,E>AbstractFundamentalCycleBasis. graphMethods in org.jgrapht.alg.cycle that return Graph Modifier and Type Method Description Graph<V,E>HawickJamesSimpleCycles. getGraph()Get the graphGraph<V,E>SzwarcfiterLauerSimpleCycles. getGraph()Get the graphGraph<V,E>TarjanSimpleCycles. getGraph()Get the graphGraph<V,E>TiernanSimpleCycles. getGraph()Get the graphMethods in org.jgrapht.alg.cycle with parameters of type Graph Modifier and Type Method Description GraphPath<V,E>ChinesePostman. getCPPSolution(Graph<V,E> graph)Solves the Chinese Postman Problem on the given graph.GraphPath<V,E>HierholzerEulerianCycle. getEulerianCycle(Graph<V,E> g)Compute an Eulerian cycle of a graph.protected voidHierholzerEulerianCycle. initialize(Graph<V,E> g)Index the graph and create a double-linked list representation suitable for vertex and edge removals in constant time.booleanBergeGraphInspector. isBerge(Graph<V,E> g)Performs the Berge Recognition Algorithm.booleanBergeGraphInspector. isBerge(Graph<V,E> g, boolean computeCertificate)Performs the Berge Recognition Algorithm.booleanHierholzerEulerianCycle. isEulerian(Graph<V,E> graph)Test whether a graph is Eulerian.voidHawickJamesSimpleCycles. setGraph(Graph<V,E> graph)Set the graphvoidSzwarcfiterLauerSimpleCycles. setGraph(Graph<V,E> graph)Set the graphvoidTarjanSimpleCycles. setGraph(Graph<V,E> graph)Set the graphvoidTiernanSimpleCycles. setGraph(Graph<V,E> graph)Set the graphstatic <V, E> GraphPath<V,E>Cycles. simpleCycleToGraphPath(Graph<V,E> graph, java.util.List<E> cycle)Transform a simple cycle from an edge set representation to a graph path.Constructors in org.jgrapht.alg.cycle with parameters of type Graph Constructor Description AbstractFundamentalCycleBasis(Graph<V,E> graph)ConstructorAhujaOrlinSharmaCyclicExchangeLocalAugmentation(Graph<V,E> graph, int lengthBound, java.util.Map<V,java.lang.Integer> labelMap, boolean bestImprovement)Constructs an algorithm with given inputsChordalGraphMinimalVertexSeparatorFinder(Graph<V,E> graph)Creates newChordalGraphMinimalVertexSeparatorFinderinstance.ChordalityInspector(Graph<V,E> graph)Creates a chordality inspector forgraph, which usesMaximumCardinalityIteratoras a default iterator.ChordalityInspector(Graph<V,E> graph, ChordalityInspector.IterationOrder iterationOrder)Creates a chordality inspector forgraph, which uses an iterator defined by the second parameter as an internal iterator.CycleDetector(Graph<V,E> graph)Creates a cycle detector for the specified graph.HawickJamesSimpleCycles(Graph<V,E> graph)Create a simple cycle finder for the specified graph.HowardMinimumMeanCycle(Graph<V,E> graph)Constructs an instance of the algorithm for the givengraph.HowardMinimumMeanCycle(Graph<V,E> graph, int maximumIterations)Constructs an instance of the algorithm for the givengraphandmaximumIterations.HowardMinimumMeanCycle(Graph<V,E> graph, int maximumIterations, StrongConnectivityAlgorithm<V,E> strongConnectivityAlgorithm, double toleranceEpsilon)Constructs an instance of the algorithm for the givengraph,maximumIterations,strongConnectivityAlgorithmandtoleranceEpsilon.JohnsonSimpleCycles(Graph<V,E> graph)Create a simple cycle finder for the specified graph.PatonCycleBase(Graph<V,E> graph)Create a cycle base finder for the specified graph.QueueBFSFundamentalCycleBasis(Graph<V,E> graph)ConstructorStackBFSFundamentalCycleBasis(Graph<V,E> graph)ConstructorSzwarcfiterLauerSimpleCycles(Graph<V,E> graph)Create a simple cycle finder for the specified graph.TarjanSimpleCycles(Graph<V,E> graph)Create a simple cycle finder for the specified graph.TiernanSimpleCycles(Graph<V,E> graph)Create a simple cycle finder for the specified graph.WeakChordalityInspector(Graph<V,E> graph)Creates a weak chordality inspector for thegraph -
Uses of Graph in org.jgrapht.alg.decomposition
Constructors in org.jgrapht.alg.decomposition with parameters of type Graph Constructor Description DulmageMendelsohnDecomposition(Graph<V,E> graph, java.util.Set<V> partition1, java.util.Set<V> partition2)Construct the algorithm for a given bipartite graph $G=(V_1,V_2,E)$ and it's partitions $V_1$ and $V_2$, where $V_1\cap V_2=\emptyset$.HeavyPathDecomposition(Graph<V,E> forest, java.util.Set<V> roots)Create an instance with a reference to the forest that we will decompose and to the sets of roots of the forest (one root per tree).HeavyPathDecomposition(Graph<V,E> tree, V root)Create an instance with a reference to the tree that we will decompose and to the root of the tree. -
Uses of Graph in org.jgrapht.alg.densesubgraph
Fields in org.jgrapht.alg.densesubgraph declared as Graph Modifier and Type Field Description protected Graph<V,E>GoldbergMaximumDensitySubgraphAlgorithmBase. graphMethods in org.jgrapht.alg.densesubgraph that return Graph Modifier and Type Method Description Graph<V,E>GoldbergMaximumDensitySubgraphAlgorithmBase. calculateDensest()Algorithm to compute max density subgraph Performs binary search on the initial interval lower-upper until interval is smaller than epsilon In case no solution is found because epsilon is too big, the computation continues until a (first) solution is found, thereby avoiding to return an empty graph.Methods in org.jgrapht.alg.densesubgraph with parameters of type Graph Modifier and Type Method Description protected doubleGoldbergMaximumDensitySubgraphAlgorithm. computeDensityDenominator(Graph<V,E> g)protected abstract doubleGoldbergMaximumDensitySubgraphAlgorithmBase. computeDensityDenominator(Graph<V,E> g)protected doubleGoldbergMaximumDensitySubgraphAlgorithmNodeWeightPerEdgeWeight. computeDensityDenominator(Graph<V,E> g)protected doubleGoldbergMaximumDensitySubgraphAlgorithmNodeWeights. computeDensityDenominator(Graph<V,E> g)protected doubleGoldbergMaximumDensitySubgraphAlgorithm. computeDensityNumerator(Graph<V,E> g)protected abstract doubleGoldbergMaximumDensitySubgraphAlgorithmBase. computeDensityNumerator(Graph<V,E> g)protected doubleGoldbergMaximumDensitySubgraphAlgorithmNodeWeightPerEdgeWeight. computeDensityNumerator(Graph<V,E> g)protected doubleGoldbergMaximumDensitySubgraphAlgorithmNodeWeights. computeDensityNumerator(Graph<V,E> g)Constructors in org.jgrapht.alg.densesubgraph with parameters of type Graph Constructor Description GoldbergMaximumDensitySubgraphAlgorithm(Graph<V,E> graph, V s, V t, double epsilon)Convenience constructor that uses PushRelabel as default MinimumSTCutAlgorithmGoldbergMaximumDensitySubgraphAlgorithm(Graph<V,E> graph, V s, V t, double epsilon, java.util.function.Function<Graph<V,DefaultWeightedEdge>,MinimumSTCutAlgorithm<V,DefaultWeightedEdge>> algFactory)ConstructorGoldbergMaximumDensitySubgraphAlgorithmBase(Graph<V,E> graph, V s, V t, boolean checkWeights, double epsilon, java.util.function.Function<Graph<V,DefaultWeightedEdge>,MinimumSTCutAlgorithm<V,DefaultWeightedEdge>> algFactory)ConstructorGoldbergMaximumDensitySubgraphAlgorithmNodeWeightPerEdgeWeight(Graph<V,E> graph, V s, V t, double epsilon)Convenience constructor that uses PushRelabel as default MinimumSTCutAlgorithmGoldbergMaximumDensitySubgraphAlgorithmNodeWeightPerEdgeWeight(Graph<V,E> graph, V s, V t, double epsilon, java.util.function.Function<Graph<V,DefaultWeightedEdge>,MinimumSTCutAlgorithm<V,DefaultWeightedEdge>> algFactory)ConstructorGoldbergMaximumDensitySubgraphAlgorithmNodeWeights(Graph<V,E> graph, V s, V t, double epsilon)Convenience constructor that uses PushRelabel as default MinimumSTCutAlgorithmGoldbergMaximumDensitySubgraphAlgorithmNodeWeights(Graph<V,E> graph, V s, V t, double epsilon, java.util.function.Function<Graph<V,DefaultWeightedEdge>,MinimumSTCutAlgorithm<V,DefaultWeightedEdge>> algFactory)Constructor -
Uses of Graph in org.jgrapht.alg.drawing
Methods in org.jgrapht.alg.drawing with parameters of type Graph Modifier and Type Method Description protected java.util.Map<V,Point2D>FRLayoutAlgorithm2D. calculateAttractiveForces(Graph<V,E> graph, LayoutModel2D<V> model)Calculate the repulsive forces between vertices connected with edges.protected java.util.Map<V,Point2D>FRLayoutAlgorithm2D. calculateRepulsiveForces(Graph<V,E> graph, LayoutModel2D<V> model)Calculate the repulsive forces between verticesprotected java.util.Map<V,Point2D>IndexedFRLayoutAlgorithm2D. calculateRepulsiveForces(Graph<V,E> graph, LayoutModel2D<V> model)protected Pair<java.util.List<V>,java.util.List<V>>TwoLayeredBipartiteLayout2D. computePartitions(Graph<V,E> graph)Compute the vertex partitions.protected voidTwoLayeredBipartiteLayout2D. drawFirstPartition(Graph<V,E> graph, java.util.List<V> partition, LayoutModel2D<V> model)protected voidBarycenterGreedyTwoLayeredBipartiteLayout2D. drawSecondPartition(Graph<V,E> graph, java.util.List<V> partition, LayoutModel2D<V> model)protected voidMedianGreedyTwoLayeredBipartiteLayout2D. drawSecondPartition(Graph<V,E> graph, java.util.List<V> partition, LayoutModel2D<V> model)protected voidTwoLayeredBipartiteLayout2D. drawSecondPartition(Graph<V,E> graph, java.util.List<V> partition, LayoutModel2D<V> model)voidCircularLayoutAlgorithm2D. layout(Graph<V,E> graph, LayoutModel2D<V> model)voidFRLayoutAlgorithm2D. layout(Graph<V,E> graph, LayoutModel2D<V> model)voidIndexedFRLayoutAlgorithm2D. layout(Graph<V,E> graph, LayoutModel2D<V> model)voidLayoutAlgorithm2D. layout(Graph<V,E> graph, LayoutModel2D<V> model)Layout a graph.voidRandomLayoutAlgorithm2D. layout(Graph<V,E> graph, LayoutModel2D<V> model)voidRescaleLayoutAlgorithm2D. layout(Graph<V,E> graph, LayoutModel2D<V> model)voidTwoLayeredBipartiteLayout2D. layout(Graph<V,E> graph, LayoutModel2D<V> model) -
Uses of Graph in org.jgrapht.alg.flow
Fields in org.jgrapht.alg.flow declared as Graph Modifier and Type Field Description protected Graph<V,E>MaximumFlowAlgorithmBase. networkConstructors in org.jgrapht.alg.flow with parameters of type Graph Constructor Description BoykovKolmogorovMFImpl(Graph<V,E> network)Creates a new algorithm instance with the specifiednetwork.BoykovKolmogorovMFImpl(Graph<V,E> network, double epsilon)Construct a new algorithm instance with the specifiesnetworkandepsilon.DinicMFImpl(Graph<V,E> network)Constructor.DinicMFImpl(Graph<V,E> network, double epsilon)Constructor.EdmondsKarpMFImpl(Graph<V,E> network)ConstructsMaximumFlowinstance to work with a copy ofnetwork.EdmondsKarpMFImpl(Graph<V,E> network, double epsilon)ConstructsMaximumFlowinstance to work with a copy ofnetwork.GusfieldEquivalentFlowTree(Graph<V,E> network)Constructs a new GusfieldEquivalentFlowTree instance.GusfieldEquivalentFlowTree(Graph<V,E> network, double epsilon)Constructs a new GusfieldEquivalentFlowTree instance.GusfieldEquivalentFlowTree(Graph<V,E> network, MinimumSTCutAlgorithm<V,E> minimumSTCutAlgorithm)Constructs a new GusfieldEquivalentFlowTree instance.GusfieldGomoryHuCutTree(Graph<V,E> network)Constructs a new GusfieldEquivalentFlowTree instance.GusfieldGomoryHuCutTree(Graph<V,E> network, double epsilon)Constructs a new GusfieldEquivalentFlowTree instance.GusfieldGomoryHuCutTree(Graph<V,E> network, MinimumSTCutAlgorithm<V,E> minimumSTCutAlgorithm)Constructs a new GusfieldEquivalentFlowTree instance.MaximumFlowAlgorithmBase(Graph<V,E> network, double epsilon)Construct a new maximum flowPadbergRaoOddMinimumCutset(Graph<V,E> network)Creates a new instance of the PadbergRaoOddMinimumCutset algorithm.PadbergRaoOddMinimumCutset(Graph<V,E> network, double epsilon)Creates a new instance of the PadbergRaoOddMinimumCutset algorithm.PadbergRaoOddMinimumCutset(Graph<V,E> network, MinimumSTCutAlgorithm<V,E> minimumSTCutAlgorithm)Creates a new instance of the PadbergRaoOddMinimumCutset algorithm.PushRelabelMFImpl(Graph<V,E> network)Construct a new push-relabel algorithm.PushRelabelMFImpl(Graph<V,E> network, double epsilon)Construct a new push-relabel algorithm. -
Uses of Graph in org.jgrapht.alg.flow.mincost
Methods in org.jgrapht.alg.flow.mincost that return Graph Modifier and Type Method Description Graph<V,E>MinimumCostFlowProblem. getGraph()Returns the flow networkGraph<V,E>MinimumCostFlowProblem.MinimumCostFlowProblemImpl. getGraph()Returns the flow networkConstructors in org.jgrapht.alg.flow.mincost with parameters of type Graph Constructor Description MinimumCostFlowProblemImpl(Graph<V,E> graph, java.util.function.Function<V,java.lang.Integer> supplyMap, java.util.function.Function<E,java.lang.Integer> arcCapacityUpperBounds)Constructs a new minimum cost flow problem without arc capacity lower bounds.MinimumCostFlowProblemImpl(Graph<V,E> graph, java.util.function.Function<V,java.lang.Integer> nodeSupplies, java.util.function.Function<E,java.lang.Integer> arcCapacityUpperBounds, java.util.function.Function<E,java.lang.Integer> arcCapacityLowerBounds)Constructs a new minimum cost flow problemMinimumCostFlowProblemImpl(Graph<V,E> graph, java.util.function.Function<V,java.lang.Integer> nodeSupplies, java.util.function.Function<E,java.lang.Integer> arcCapacityUpperBounds, java.util.function.Function<E,java.lang.Integer> arcCapacityLowerBounds, java.util.function.Function<E,java.lang.Double> arcCosts)Constructs a new minimum cost flow problem -
Uses of Graph in org.jgrapht.alg.independentset
Constructors in org.jgrapht.alg.independentset with parameters of type Graph Constructor Description ChordalGraphIndependentSetFinder(Graph<V,E> graph)Creates a new ChordalGraphIndependentSetFinder instance.ChordalGraphIndependentSetFinder(Graph<V,E> graph, ChordalityInspector.IterationOrder iterationOrder)Creates a new ChordalGraphIndependentSetFinder instance. -
Uses of Graph in org.jgrapht.alg.interfaces
Methods in org.jgrapht.alg.interfaces that return Graph Modifier and Type Method Description Graph<V,E>MaximumDensitySubgraphAlgorithm. calculateDensest()Calculate a maximum density subgraphGraph<Graph<V,E>,DefaultEdge>StrongConnectivityAlgorithm. getCondensation()Compute the condensation of the given graph.Graph<V,E>MatchingAlgorithm.Matching. getGraph()Returns the graph over which this matching is defined.Graph<V,E>MatchingAlgorithm.MatchingImpl. getGraph()Graph<V,E>MultiObjectiveShortestPathAlgorithm.MultiObjectiveSingleSourcePaths. getGraph()Returns the graph over which this set of paths is defined.Graph<V,E>PlanarityTestingAlgorithm.Embedding. getGraph()Returns the underlyinggraphGraph<V,E>PlanarityTestingAlgorithm.EmbeddingImpl. getGraph()Returns the underlyinggraphGraph<V,E>ShortestPathAlgorithm.SingleSourcePaths. getGraph()Returns the graph over which this set of paths is defined.Graph<V,E>StrongConnectivityAlgorithm. getGraph()Return the underlying graph.Graph<V,E>PlanarityTestingAlgorithm. getKuratowskiSubdivision()Extracts a Kuratowski subdivision from thegraph.Methods in org.jgrapht.alg.interfaces that return types with arguments of type Graph Modifier and Type Method Description Graph<Graph<V,E>,DefaultEdge>StrongConnectivityAlgorithm. getCondensation()Compute the condensation of the given graph.java.util.List<Graph<V,E>>StrongConnectivityAlgorithm. getStronglyConnectedComponents()Computes a list of subgraphs of the given graph.Methods in org.jgrapht.alg.interfaces with parameters of type Graph Modifier and Type Method Description GraphPath<V,E>EulerianCycleAlgorithm. getEulerianCycle(Graph<V,E> graph)Compute an Eulerian cycle of a graph.GraphPath<V,E>HamiltonianCycleAlgorithm. getTour(Graph<V,E> graph)Computes a tour.booleanCapacitatedSpanningTreeAlgorithm.CapacitatedSpanningTree. isCapacitatedSpanningTree(Graph<V,E> graph, V root, double capacity, java.util.Map<V,java.lang.Double> demands)Tests whethercmstis a CMST ongraphwith rootroot, capacitycapacityand demand functiondemands.booleanCapacitatedSpanningTreeAlgorithm.CapacitatedSpanningTreeImpl. isCapacitatedSpanningTree(Graph<V,E> graph, V root, double capacity, java.util.Map<V,java.lang.Double> demands)default <E> booleanAStarAdmissibleHeuristic. isConsistent(Graph<V,E> graph)Returns true if the heuristic is a consistent or monotone heuristic wrt the providedgraph.Constructors in org.jgrapht.alg.interfaces with parameters of type Graph Constructor Description CycleBasisImpl(Graph<V,E> graph)Construct a new instance.CycleBasisImpl(Graph<V,E> graph, java.util.Set<java.util.List<E>> cycles, int length, double weight)Construct a new instance.EmbeddingImpl(Graph<V,E> graph, java.util.Map<V,java.util.List<E>> embeddingMap)Creates new embedding of thegraphMatchingImpl(Graph<V,E> graph, java.util.Set<E> edges, double weight)Construct a new instancePathDecompositionImpl(Graph<V,E> graph, java.util.Set<E> edges, java.util.List<java.util.List<V>> paths)Construct a new path decomposition. -
Uses of Graph in org.jgrapht.alg.isomorphism
Fields in org.jgrapht.alg.isomorphism declared as Graph Modifier and Type Field Description protected Graph<V,E>VF2AbstractIsomorphismInspector. graph1protected Graph<V,E>VF2AbstractIsomorphismInspector. graph2Methods in org.jgrapht.alg.isomorphism with parameters of type Graph Modifier and Type Method Description static <V, E> IsomorphicGraphMapping<V,E>IsomorphicGraphMapping. identity(Graph<V,E> graph)Computes an identity automorphism (i.e.Constructors in org.jgrapht.alg.isomorphism with parameters of type Graph Constructor Description AHUForestIsomorphismInspector(Graph<V,E> forest1, java.util.Set<V> roots1, Graph<V,E> forest2, java.util.Set<V> roots2)Construct a new AHU rooted forest isomorphism inspector.AHURootedTreeIsomorphismInspector(Graph<V,E> tree1, V root1, Graph<V,E> tree2, V root2)Construct a new AHU rooted tree isomorphism inspector.AHUUnrootedTreeIsomorphismInspector(Graph<V,E> tree1, Graph<V,E> tree2)Construct a new AHU unrooted tree isomorphism inspector.ColorRefinementIsomorphismInspector(Graph<V,E> graph1, Graph<V,E> graph2)Constructor for a isomorphism inspector based on color refinement.IsomorphicGraphMapping(java.util.Map<V,V> forwardMapping, java.util.Map<V,V> backwardMapping, Graph<V,E> graph1, Graph<V,E> graph2)Construct a new isomorphic graph mapping.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, java.util.Comparator<V> vertexComparator, java.util.Comparator<E> edgeComparator)Construct a new base implementation of the VF2 isomorphism inspector.VF2AbstractIsomorphismInspector(Graph<V,E> graph1, Graph<V,E> graph2, java.util.Comparator<V> vertexComparator, java.util.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, boolean cacheEdges)Construct a new VF2 isomorphism inspector.VF2GraphIsomorphismInspector(Graph<V,E> graph1, Graph<V,E> graph2, java.util.Comparator<V> vertexComparator, java.util.Comparator<E> edgeComparator)Construct a new VF2 isomorphism inspector.VF2GraphIsomorphismInspector(Graph<V,E> graph1, Graph<V,E> graph2, java.util.Comparator<V> vertexComparator, java.util.Comparator<E> edgeComparator, boolean cacheEdges)Construct a new VF2 isomorphism inspector.VF2SubgraphIsomorphismInspector(Graph<V,E> graph1, Graph<V,E> graph2)Construct a new VF2 subgraph isomorphism inspector.VF2SubgraphIsomorphismInspector(Graph<V,E> graph1, Graph<V,E> graph2, boolean cacheEdges)Construct a new VF2 subgraph isomorphism inspector.VF2SubgraphIsomorphismInspector(Graph<V,E> graph1, Graph<V,E> graph2, java.util.Comparator<V> vertexComparator, java.util.Comparator<E> edgeComparator)Construct a new VF2 subgraph isomorphism inspector.VF2SubgraphIsomorphismInspector(Graph<V,E> graph1, Graph<V,E> graph2, java.util.Comparator<V> vertexComparator, java.util.Comparator<E> edgeComparator, boolean cacheEdges)Construct a new VF2 subgraph isomorphism inspector. -
Uses of Graph in org.jgrapht.alg.lca
Constructors in org.jgrapht.alg.lca with parameters of type Graph Constructor Description BinaryLiftingLCAFinder(Graph<V,E> graph, java.util.Set<V> roots)Construct a new instance of the algorithm.BinaryLiftingLCAFinder(Graph<V,E> graph, V root)Construct a new instance of the algorithm.EulerTourRMQLCAFinder(Graph<V,E> graph, java.util.Set<V> roots)Construct a new instance of the algorithm.EulerTourRMQLCAFinder(Graph<V,E> graph, V root)Construct a new instance of the algorithm.HeavyPathLCAFinder(Graph<V,E> graph, java.util.Set<V> roots)Construct a new instance of the algorithm.HeavyPathLCAFinder(Graph<V,E> graph, V root)Construct a new instance of the algorithm.NaiveLCAFinder(Graph<V,E> graph)Create a new instance of the naive LCA finder.TarjanLCAFinder(Graph<V,E> graph, java.util.Set<V> roots)Construct a new instance of the algorithm.TarjanLCAFinder(Graph<V,E> graph, V root)Construct a new instance of the algorithm. -
Uses of Graph in org.jgrapht.alg.linkprediction
Constructors in org.jgrapht.alg.linkprediction with parameters of type Graph Constructor Description AdamicAdarIndexLinkPrediction(Graph<V,E> graph)Create a new predictionCommonNeighborsLinkPrediction(Graph<V,E> graph)Create a new predictionHubDepressedIndexLinkPrediction(Graph<V,E> graph)Create a new predictionHubPromotedIndexLinkPrediction(Graph<V,E> graph)Create a new predictionJaccardCoefficientLinkPrediction(Graph<V,E> graph)Create a new predictionLeichtHolmeNewmanIndexLinkPrediction(Graph<V,E> graph)Create a new predictionPreferentialAttachmentLinkPrediction(Graph<V,E> graph)Create a new predictionResourceAllocationIndexLinkPrediction(Graph<V,E> graph)Create a new predictionSaltonIndexLinkPrediction(Graph<V,E> graph)Create a new predictionSørensenIndexLinkPrediction(Graph<V,E> graph)Create a new prediction -
Uses of Graph in org.jgrapht.alg.matching
Methods in org.jgrapht.alg.matching with parameters of type Graph Modifier and Type Method Description static <V, E> booleanSparseEdmondsMaximumCardinalityMatching. isOptimalMatching(Graph<V,E> graph, java.util.Set<E> matching, java.util.Map<V,java.lang.Integer> oddSetCover)Check whether a matching is optimal.Constructors in org.jgrapht.alg.matching with parameters of type Graph Constructor Description DenseEdmondsMaximumCardinalityMatching(Graph<V,E> graph)Constructs a new instance of the algorithm.DenseEdmondsMaximumCardinalityMatching(Graph<V,E> graph, MatchingAlgorithm<V,E> initializer)Constructs a new instance of the algorithm.GreedyMaximumCardinalityMatching(Graph<V,E> graph, boolean sort)Creates a new GreedyMaximumCardinalityMatching instance.GreedyWeightedMatching(Graph<V,E> graph, boolean normalizeEdgeCosts)Create and execute a new instance of the greedy maximum weight matching algorithm.GreedyWeightedMatching(Graph<V,E> graph, boolean normalizeEdgeCosts, double epsilon)Create and execute a new instance of the greedy maximum weight matching algorithm.HopcroftKarpMaximumCardinalityBipartiteMatching(Graph<V,E> graph, java.util.Set<V> partition1, java.util.Set<V> partition2)Constructs a new instance of the Hopcroft Karp bipartite matching algorithm.KuhnMunkresMinimalWeightBipartitePerfectMatching(Graph<V,E> graph, java.util.Set<? extends V> partition1, java.util.Set<? extends V> partition2)Construct a new instance of the algorithm.MaximumWeightBipartiteMatching(Graph<V,E> graph, java.util.Set<V> partition1, java.util.Set<V> partition2)Constructor.MaximumWeightBipartiteMatching(Graph<V,E> graph, java.util.Set<V> partition1, java.util.Set<V> partition2, java.util.function.Function<java.util.Comparator<java.math.BigDecimal>,org.jheaps.AddressableHeap<java.math.BigDecimal,V>> heapSupplier)Constructor.PathGrowingWeightedMatching(Graph<V,E> graph)Construct a new instance of the path growing algorithm.PathGrowingWeightedMatching(Graph<V,E> graph, boolean useHeuristics)Construct a new instance of the path growing algorithm.PathGrowingWeightedMatching(Graph<V,E> graph, boolean useHeuristics, double epsilon)Construct a new instance of the path growing algorithm.SparseEdmondsMaximumCardinalityMatching(Graph<V,E> graph)Constructs a new instance of the algorithm.SparseEdmondsMaximumCardinalityMatching(Graph<V,E> graph, MatchingAlgorithm<V,E> initializer)Constructs a new instance of the algorithm. -
Uses of Graph in org.jgrapht.alg.matching.blossom.v5
Methods in org.jgrapht.alg.matching.blossom.v5 that return Graph Modifier and Type Method Description Graph<V,E>KolmogorovWeightedPerfectMatching.DualSolution. getGraph()Constructors in org.jgrapht.alg.matching.blossom.v5 with parameters of type Graph Constructor Description DualSolution(Graph<V,E> graph, java.util.Map<java.util.Set<V>,java.lang.Double> dualVariables)Constructs a new solution for the dual linear programKolmogorovWeightedMatching(Graph<V,E> initialGraph)Constructs a new instance of the algorithm using the default options.KolmogorovWeightedMatching(Graph<V,E> initialGraph, BlossomVOptions options)Constructs a new instance of the algorithm with the specifiedoptions.KolmogorovWeightedMatching(Graph<V,E> initialGraph, BlossomVOptions options, ObjectiveSense objectiveSense)Constructs a new instance of the algorithm with the specifiedoptions.KolmogorovWeightedMatching(Graph<V,E> initialGraph, ObjectiveSense objectiveSense)Constructs a new instance of the algorithm using the default options.KolmogorovWeightedPerfectMatching(Graph<V,E> graph)Constructs a new instance of the algorithm using the default options.KolmogorovWeightedPerfectMatching(Graph<V,E> graph, BlossomVOptions options)Constructs a new instance of the algorithm with the specifiedoptions.KolmogorovWeightedPerfectMatching(Graph<V,E> graph, BlossomVOptions options, ObjectiveSense objectiveSense)Constructs a new instance of the algorithm with the specifiedoptions.KolmogorovWeightedPerfectMatching(Graph<V,E> graph, ObjectiveSense objectiveSense)Constructs a new instance of the algorithm using the default options. -
Uses of Graph in org.jgrapht.alg.partition
Constructors in org.jgrapht.alg.partition with parameters of type Graph Constructor Description BipartitePartitioning(Graph<V,E> graph)Constructs a new bipartite partitioning. -
Uses of Graph in org.jgrapht.alg.planar
Methods in org.jgrapht.alg.planar that return Graph Modifier and Type Method Description Graph<V,E>BoyerMyrvoldPlanarityInspector. getKuratowskiSubdivision()Extracts a Kuratowski subdivision from thegraph.Constructors in org.jgrapht.alg.planar with parameters of type Graph Constructor Description BoyerMyrvoldPlanarityInspector(Graph<V,E> graph)Creates new instance of the planarity testing algorithm for thegraph. -
Uses of Graph in org.jgrapht.alg.scoring
Fields in org.jgrapht.alg.scoring declared as Graph Modifier and Type Field Description protected Graph<V,E>ClosenessCentrality. graphUnderlying graphConstructors in org.jgrapht.alg.scoring with parameters of type Graph Constructor Description AlphaCentrality(Graph<V,E> g)Deprecated.Create and execute an instance of AlphaCentrality.AlphaCentrality(Graph<V,E> g, double dampingFactor)Deprecated.Create and execute an instance of AlphaCentrality.AlphaCentrality(Graph<V,E> g, double dampingFactor, double exogenousFactor)Deprecated.Create and execute an instance of AlphaCentrality.AlphaCentrality(Graph<V,E> g, double dampingFactor, double exogenousFactor, int maxIterations)Deprecated.Create and execute an instance of AlphaCentrality.AlphaCentrality(Graph<V,E> g, double dampingFactor, double exogenousFactor, int maxIterations, double tolerance)Deprecated.Create and execute an instance of AlphaCentrality.AlphaCentrality(Graph<V,E> g, double dampingFactor, java.util.function.ToDoubleFunction<V> exogenousFactorFunction)Deprecated.Create and execute an instance of AlphaCentrality.AlphaCentrality(Graph<V,E> g, double dampingFactor, java.util.function.ToDoubleFunction<V> exogenousFactorFunction, int maxIterations)Deprecated.Create and execute an instance of AlphaCentrality.AlphaCentrality(Graph<V,E> g, double dampingFactor, java.util.function.ToDoubleFunction<V> exogenousFactorFunction, int maxIterations, double tolerance)Deprecated.Create and execute an instance of AlphaCentrality.BetweennessCentrality(Graph<V,E> graph)Construct a new instance.BetweennessCentrality(Graph<V,E> graph, boolean normalize)Construct a new instance.BetweennessCentrality(Graph<V,E> graph, boolean normalize, BetweennessCentrality.OverflowStrategy overflowStrategy)Construct a new instance.ClosenessCentrality(Graph<V,E> graph)Construct a new instance.ClosenessCentrality(Graph<V,E> graph, boolean incoming, boolean normalize)Construct a new instance.ClusteringCoefficient(Graph<V,E> graph)Construct a new instanceCoreness(Graph<V,E> g)ConstructorEdgeBetweennessCentrality(Graph<V,E> graph)Construct a new instance.EdgeBetweennessCentrality(Graph<V,E> graph, EdgeBetweennessCentrality.OverflowStrategy overflowStrategy)Construct a new instance.EdgeBetweennessCentrality(Graph<V,E> graph, EdgeBetweennessCentrality.OverflowStrategy overflowStrategy, java.lang.Iterable<V> startVertices)Construct a new instance.EigenvectorCentrality(Graph<V,E> g)Create and execute an instance of EigenvectorCentralityEigenvectorCentrality(Graph<V,E> g, int maxIterations)Create and execute an instance of EigenvectorCentralityEigenvectorCentrality(Graph<V,E> g, int maxIterations, double tolerance)Create and execute an instance of EigenvectorCentrality.HarmonicCentrality(Graph<V,E> graph)Construct a new instance.HarmonicCentrality(Graph<V,E> graph, boolean incoming, boolean normalize)Construct a new instance.KatzCentrality(Graph<V,E> g)Create and execute an instance of KatzCentrality.KatzCentrality(Graph<V,E> g, double dampingFactor)Create and execute an instance of KatzCentrality.KatzCentrality(Graph<V,E> g, double dampingFactor, int maxIterations)Create and execute an instance of KatzCentrality.KatzCentrality(Graph<V,E> g, double dampingFactor, int maxIterations, double tolerance)Create and execute an instance of KatzCentrality.KatzCentrality(Graph<V,E> g, double dampingFactor, java.util.function.ToDoubleFunction<V> exogenousFactorFunction)Create and execute an instance of KatzCentrality.KatzCentrality(Graph<V,E> g, double dampingFactor, java.util.function.ToDoubleFunction<V> exogenousFactorFunction, int maxIterations)Create and execute an instance of KatzCentrality.KatzCentrality(Graph<V,E> g, double dampingFactor, java.util.function.ToDoubleFunction<V> exogenousFactorFunction, int maxIterations, double tolerance)Create and execute an instance of KatzCentrality.PageRank(Graph<V,E> graph)Create and execute an instance of PageRank.PageRank(Graph<V,E> graph, double dampingFactor)Create and execute an instance of PageRank.PageRank(Graph<V,E> graph, double dampingFactor, int maxIterations)Create and execute an instance of PageRank.PageRank(Graph<V,E> graph, double dampingFactor, int maxIterations, double tolerance)Create and execute an instance of PageRank. -
Uses of Graph in org.jgrapht.alg.shortestpath
Fields in org.jgrapht.alg.shortestpath declared as Graph Modifier and Type Field Description protected Graph<V,E>TreeSingleSourcePathsImpl. gThe graphprotected Graph<V,E>BaseManyToManyShortestPaths. graphprotected Graph<V,E>BaseManyToManyShortestPaths. graphprotected Graph<V,E>BaseManyToManyShortestPaths. graphprotected Graph<V,E>BaseMultiObjectiveShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>BaseShortestPathAlgorithm. graphThe underlying graph.protected Graph<V,E>ListMultiObjectiveSingleSourcePathsImpl. graphThe graphprotected Graph<V,E>ListSingleSourcePathsImpl. graphThe graphprotected Graph<V,E>BaseKDisjointShortestPathsAlgorithm. originalGraphprotected Graph<V,E>BaseKDisjointShortestPathsAlgorithm. originalGraphprotected Graph<V,E>BaseKDisjointShortestPathsAlgorithm. workingGraphGraph on which shortest paths are searched.protected Graph<V,E>BaseKDisjointShortestPathsAlgorithm. workingGraphGraph on which shortest paths are searched.Methods in org.jgrapht.alg.shortestpath that return Graph Modifier and Type Method Description Graph<ContractionHierarchyPrecomputation.ContractionVertex<V>,ContractionHierarchyPrecomputation.ContractionEdge<E>>ContractionHierarchyPrecomputation.ContractionHierarchy. getContractionGraph()Returns contracted graph.Graph<V,E>ContractionHierarchyPrecomputation.ContractionHierarchy. getGraph()Returns the underlying graph of this contraction hierarchy.Graph<V,E>ListMultiObjectiveSingleSourcePathsImpl. getGraph()Graph<V,E>ListSingleSourcePathsImpl. getGraph()Returns the graph over which this set of paths is defined.Graph<V,E>TreeSingleSourcePathsImpl. getGraph()Returns the graph over which this set of paths is defined.Methods in org.jgrapht.alg.shortestpath with parameters of type Graph Modifier and Type Method Description static <V, E> GraphPath<V,E>BellmanFordShortestPath. findPathBetween(Graph<V,E> graph, V source, V sink)Find a path between two vertices.static <V, E> GraphPath<V,E>BFSShortestPath. findPathBetween(Graph<V,E> graph, V source, V sink)Find a path between two vertices.static <V, E> GraphPath<V,E>BidirectionalDijkstraShortestPath. findPathBetween(Graph<V,E> graph, V source, V sink)Find a path between two vertices.static <V, E> GraphPath<V,E>DijkstraShortestPath. findPathBetween(Graph<V,E> graph, V source, V sink)Find a path between two vertices.static <E> GraphPath<java.lang.Integer,E>IntVertexDijkstraShortestPath. findPathBetween(Graph<java.lang.Integer,E> graph, java.lang.Integer source, java.lang.Integer sink)Find a path between two vertices.<ET> booleanALTAdmissibleHeuristic. isConsistent(Graph<V,ET> graph)Returns true if the heuristic is a consistent or monotone heuristic wrt the providedgraph.Constructors in org.jgrapht.alg.shortestpath with parameters of type Graph Constructor Description AllDirectedPaths(Graph<V,E> graph)Create a new instance.ALTAdmissibleHeuristic(Graph<V,E> graph, java.util.Set<V> landmarks)Constructs a newAStarAdmissibleHeuristicusing a set of landmarks.AStarShortestPath(Graph<V,E> graph, AStarAdmissibleHeuristic<V> admissibleHeuristic)Create a new instance of the A* shortest path algorithm.AStarShortestPath(Graph<V,E> graph, AStarAdmissibleHeuristic<V> admissibleHeuristic, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,V>> heapSupplier)Create a new instance of the A* shortest path algorithm.BaseBidirectionalShortestPathAlgorithm(Graph<V,E> graph)Constructs a new instance of the algorithm for a given graph.BellmanFordShortestPath(Graph<V,E> graph)Construct a new instance.BellmanFordShortestPath(Graph<V,E> graph, double epsilon)Construct a new instance.BellmanFordShortestPath(Graph<V,E> graph, double epsilon, int maxHops)Construct a new instance.BFSShortestPath(Graph<V,E> graph)Construct a new instance.BhandariKDisjointShortestPaths(Graph<V,E> graph)Creates a new instance of the algorithm.BidirectionalAStarShortestPath(Graph<V,E> graph, AStarAdmissibleHeuristic<V> heuristic)Constructs a new instance of the algorithm for a given graph and heuristic.BidirectionalAStarShortestPath(Graph<V,E> graph, AStarAdmissibleHeuristic<V> heuristic, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,V>> heapSupplier)Constructs a new instance of the algorithm for a given graph, heuristic and heap supplier.BidirectionalDijkstraShortestPath(Graph<V,E> graph)Constructs a new instance for a specified graph.BidirectionalDijkstraShortestPath(Graph<V,E> graph, double radius)Constructs a new instance for a specified graph.BidirectionalDijkstraShortestPath(Graph<V,E> graph, double radius, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,Pair<V,E>>> heapSupplier)Constructs a new instance for a specified graph.BidirectionalDijkstraShortestPath(Graph<V,E> graph, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,Pair<V,E>>> heapSupplier)Constructs a new instance for a specified graph.CHManyToManyShortestPaths(Graph<V,E> graph)Deprecated.replaced withCHManyToManyShortestPaths(Graph, ThreadPoolExecutor)CHManyToManyShortestPaths(Graph<V,E> graph, java.util.concurrent.ThreadPoolExecutor executor)Constructs an instance of the algorithm for a givengraphandexecutor.ContractionHierarchyBidirectionalDijkstra(Graph<V,E> graph)Deprecated.ContractionHierarchyBidirectionalDijkstra(Graph<V,E> graph, java.util.concurrent.ThreadPoolExecutor executor)Constructs a new instance of the algorithm for a givengraphandexecutor.ContractionHierarchyPrecomputation(Graph<V,E> graph)Deprecated.ContractionHierarchyPrecomputation(Graph<V,E> graph, int parallelism)Deprecated.ContractionHierarchyPrecomputation(Graph<V,E> graph, int parallelism, java.util.function.Supplier<java.util.Random> randomSupplier)Deprecated.ContractionHierarchyPrecomputation(Graph<V,E> graph, int parallelism, java.util.function.Supplier<java.util.Random> randomSupplier, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,ContractionHierarchyPrecomputation.ContractionVertex<V>>> shortcutsSearchHeapSupplier)Deprecated.ContractionHierarchyPrecomputation(Graph<V,E> graph, java.util.concurrent.ThreadPoolExecutor executor)Constructs a new instance of the algorithm for a givengraphandexecutor.ContractionHierarchyPrecomputation(Graph<V,E> graph, java.util.function.Supplier<java.util.Random> randomSupplier)Deprecated.ContractionHierarchyPrecomputation(Graph<V,E> graph, java.util.function.Supplier<java.util.Random> randomSupplier, java.util.concurrent.ThreadPoolExecutor executor)Constructs a new instance of the algorithm for a givengraph,randomSupplierandexecutor.ContractionHierarchyPrecomputation(Graph<V,E> graph, java.util.function.Supplier<java.util.Random> randomSupplier, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,ContractionHierarchyPrecomputation.ContractionVertex<V>>> shortcutsSearchHeapSupplier, java.util.concurrent.ThreadPoolExecutor executor)Constructs a new instance of the algorithm for a givengraph,parallelism,randomSupplier,shortcutsSearchHeapSupplierandexecutor.DefaultManyToManyShortestPaths(Graph<V,E> graph)Constructs a new instance of the algorithm for a givengraph.DefaultManyToManyShortestPaths(Graph<V,E> graph, java.util.function.Function<Graph<V,E>,ShortestPathAlgorithm<V,E>> function)Constructs a new instance of the algorithm for a givengraphandfunction.DeltaSteppingShortestPath(Graph<V,E> graph)Deprecated.replaced withDeltaSteppingShortestPath(Graph, ThreadPoolExecutor)DeltaSteppingShortestPath(Graph<V,E> graph, double delta)Deprecated.DeltaSteppingShortestPath(Graph<V,E> graph, double delta, int parallelism)Deprecated.DeltaSteppingShortestPath(Graph<V,E> graph, double delta, java.util.concurrent.ThreadPoolExecutor executor)Constructs a new instance of the algorithm for a given graph, delta andexecutor.DeltaSteppingShortestPath(Graph<V,E> graph, int parallelism)Deprecated.replaced withDeltaSteppingShortestPath(Graph, ThreadPoolExecutor)DeltaSteppingShortestPath(Graph<V,E> graph, java.util.concurrent.ThreadPoolExecutor executor)Constructs a new instance of the algorithm for a given graph andexecutor.DijkstraManyToManyShortestPaths(Graph<V,E> graph)Constructs an instance of the algorithm for a givengraph.DijkstraShortestPath(Graph<V,E> graph)Constructs a new instance of the algorithm for a given graph.DijkstraShortestPath(Graph<V,E> graph, double radius)Constructs a new instance of the algorithm for a given graph.DijkstraShortestPath(Graph<V,E> graph, double radius, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,Pair<V,E>>> heapSupplier)Constructs a new instance of the algorithm for a given graph.DijkstraShortestPath(Graph<V,E> graph, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,Pair<V,E>>> heapSupplier)Constructs a new instance of the algorithm for a given graph.EppsteinKShortestPath(Graph<V,E> graph)Constructs the algorithm instance for the givengraph.EppsteinShortestPathIterator(Graph<V,E> graph, V source, V sink)Constructs an instance of the algorithm for the givengraph,sourceandsink.FloydWarshallShortestPaths(Graph<V,E> graph)Create a new instance of the Floyd-Warshall all-pairs shortest path algorithm.GraphMeasurer(Graph<V,E> graph)Constructs a new instance of GraphMeasurer.GraphMeasurer(Graph<V,E> graph, ShortestPathAlgorithm<V,E> shortestPathAlgorithm)Constructs a new instance of GraphMeasurer.IntVertexDijkstraShortestPath(Graph<java.lang.Integer,E> graph)Constructs a new instance of the algorithm for a given graph.IntVertexDijkstraShortestPath(Graph<java.lang.Integer,E> graph, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,java.lang.Integer>> heapSupplier)Constructs a new instance of the algorithm for a given graph.JohnsonShortestPaths(Graph<V,E> graph)Construct a new instance.JohnsonShortestPaths(Graph<V,E> graph, double epsilon)Construct a new instance.ListMultiObjectiveSingleSourcePathsImpl(Graph<V,E> graph, V source, java.util.Map<V,java.util.List<GraphPath<V,E>>> paths)Construct a new instance.ListSingleSourcePathsImpl(Graph<V,E> graph, V source, java.util.Map<V,GraphPath<V,E>> paths)Construct a new instance.MartinShortestPath(Graph<V,E> graph, java.util.function.Function<E,double[]> edgeWeightFunction)Create a new shortest path algorithmSuurballeKDisjointShortestPaths(Graph<V,E> graph)Creates a new instance of the algorithm.TransitNodeRoutingShortestPath(Graph<V,E> graph, java.util.concurrent.ThreadPoolExecutor executor)Constructs a new instance for the givengraphandexecutor.TreeMeasurer(Graph<V,E> graph)Constructs a new instance of TreeMeasurer.TreeSingleSourcePathsImpl(Graph<V,E> g, V source, java.util.Map<V,Pair<java.lang.Double,E>> distanceAndPredecessorMap)Construct a new instance.YenKShortestPath(Graph<V,E> graph)Constructs an instance of the algorithm for the givengraph.YenKShortestPath(Graph<V,E> graph, PathValidator<V,E> pathValidator)Constructs an instance of the algorithm for the givengraphandpathValidator.YenShortestPathIterator(Graph<V,E> graph, V source, V sink)Constructs an instance of the algorithm for givengraph,sourceandsink.YenShortestPathIterator(Graph<V,E> graph, V source, V sink, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,Pair<GraphPath<V,E>,java.lang.Boolean>>> heapSupplier)Constructs an instance of the algorithm for givengraph,source,sinkandheapSupplier.YenShortestPathIterator(Graph<V,E> graph, V source, V sink, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,Pair<GraphPath<V,E>,java.lang.Boolean>>> heapSupplier, PathValidator<V,E> pathValidator)Constructs an instance of the algorithm for givengraph,source,sink,heapSupplierandpathValidator.YenShortestPathIterator(Graph<V,E> graph, V source, V sink, PathValidator<V,E> pathValidator)Constructs an instance of the algorithm for givengraph,source,sinkandpathValidator.Constructor parameters in org.jgrapht.alg.shortestpath with type arguments of type Graph Constructor Description DefaultManyToManyShortestPaths(Graph<V,E> graph, java.util.function.Function<Graph<V,E>,ShortestPathAlgorithm<V,E>> function)Constructs a new instance of the algorithm for a givengraphandfunction. -
Uses of Graph in org.jgrapht.alg.similarity
Constructors in org.jgrapht.alg.similarity with parameters of type Graph Constructor Description ZhangShashaTreeEditDistance(Graph<V,E> tree1, V root1, Graph<V,E> tree2, V root2)Constructs an instance of the algorithm for the giventree1,root1,tree2androot2.ZhangShashaTreeEditDistance(Graph<V,E> tree1, V root1, Graph<V,E> tree2, V root2, java.util.function.ToDoubleFunction<V> insertCost, java.util.function.ToDoubleFunction<V> removeCost, java.util.function.ToDoubleBiFunction<V,V> changeCost)Constructs an instance of the algorithm for the giventree1,root1,tree2,root2,insertCost,removeCostandchangeCost. -
Uses of Graph in org.jgrapht.alg.spanning
Fields in org.jgrapht.alg.spanning declared as Graph Modifier and Type Field Description protected Graph<V,E>AbstractCapacitatedMinimumSpanningTree. graphthe input graph.Constructors in org.jgrapht.alg.spanning with parameters of type Graph Constructor Description AbstractCapacitatedMinimumSpanningTree(Graph<V,E> graph, V root, double capacity, java.util.Map<V,java.lang.Double> demands)Construct a new abstract capacitated minimum spanning tree algorithm.AhujaOrlinSharmaCapacitatedMinimumSpanningTree(CapacitatedSpanningTreeAlgorithm.CapacitatedSpanningTree<V,E> initialSolution, Graph<V,E> graph, V root, double capacity, java.util.Map<V,java.lang.Double> demands, int lengthBound)Constructs a new instance of this algorithm with the proposed initial solution.AhujaOrlinSharmaCapacitatedMinimumSpanningTree(CapacitatedSpanningTreeAlgorithm.CapacitatedSpanningTree<V,E> initialSolution, Graph<V,E> graph, V root, double capacity, java.util.Map<V,java.lang.Double> demands, int lengthBound, boolean bestImprovement, boolean useVertexOperation, boolean useSubtreeOperation, boolean useTabuSearch, int tabuTime, int upperLimitTabuExchanges)Constructs a new instance of this algorithm with the proposed initial solution.AhujaOrlinSharmaCapacitatedMinimumSpanningTree(Graph<V,E> graph, V root, double capacity, java.util.Map<V,java.lang.Double> demands, int lengthBound, boolean bestImprovement, int numberOfOperationsParameter, boolean useVertexOperation, boolean useSubtreeOperation, boolean useTabuSearch, int tabuTime, int upperLimitTabuExchanges)Constructs a new instance of this algorithm.AhujaOrlinSharmaCapacitatedMinimumSpanningTree(Graph<V,E> graph, V root, double capacity, java.util.Map<V,java.lang.Double> demands, int lengthBound, int numberOfOperationsParameter)Constructs a new instance of this algorithm.BoruvkaMinimumSpanningTree(Graph<V,E> graph)Construct a new instance of the algorithm.EsauWilliamsCapacitatedMinimumSpanningTree(Graph<V,E> graph, V root, double capacity, java.util.Map<V,java.lang.Double> weights, int numberOfOperationsParameter)Constructs an Esau-Williams GRASP algorithm instance.GreedyMultiplicativeSpanner(Graph<V,E> graph, int k)Constructs instance to compute a $(2k-1)$-spanner of an undirected graph.KruskalMinimumSpanningTree(Graph<V,E> graph)Construct a new instance of the algorithm.PrimMinimumSpanningTree(Graph<V,E> graph)Construct a new instance of the algorithm. -
Uses of Graph in org.jgrapht.alg.tour
Methods in org.jgrapht.alg.tour with parameters of type Graph Modifier and Type Method Description protected voidHamiltonianCycleAlgorithmBase. checkGraph(Graph<V,E> graph)Checks that graph is undirected, complete, and non-emptyprotected GraphPath<V,E>HamiltonianCycleAlgorithmBase. closedVertexListToTour(java.util.List<V> tour, Graph<V,E> graph)Transform from a closed List representation (first and last vertex element are the same) to a graph path.protected GraphPath<V,E>HamiltonianCycleAlgorithmBase. edgeSetToTour(java.util.Set<E> tour, Graph<V,E> graph)Transform from a Set representation to a graph path.protected GraphPath<V,E>HamiltonianCycleAlgorithmBase. getSingletonTour(Graph<V,E> graph)Creates a tour for a graph with 1 vertexGraphPath<V,E>ChristofidesThreeHalvesApproxMetricTSP. getTour(Graph<V,E> graph)Computes a $3/2$-approximate tour.GraphPath<V,E>GreedyHeuristicTSP. getTour(Graph<V,E> graph)Computes a tour using the greedy heuristic.GraphPath<V,E>HeldKarpTSP. getTour(Graph<V,E> graph)Computes a minimum-cost Hamiltonian tour.GraphPath<V,E>NearestInsertionHeuristicTSP. getTour(Graph<V,E> graph)Computes a tour using the nearest insertion heuristic.GraphPath<V,E>NearestNeighborHeuristicTSP. getTour(Graph<V,E> graph)Computes a tour using the nearest neighbour heuristic.GraphPath<V,E>PalmerHamiltonianCycle. getTour(Graph<V,E> graph)Computes a Hamiltonian tour.GraphPath<V,E>RandomTourTSP. getTour(Graph<V,E> graph)Computes a tour using the greedy heuristic.GraphPath<V,E>TwoApproxMetricTSP. getTour(Graph<V,E> graph)Computes a 2-approximate tour.GraphPath<V,E>TwoOptHeuristicTSP. getTour(Graph<V,E> graph)Computes a 2-approximate tour.protected voidHamiltonianCycleAlgorithmBase. requireNotEmpty(Graph<V,E> graph)Checks that graph is not emptyprotected GraphPath<V,E>HamiltonianCycleAlgorithmBase. vertexListToTour(java.util.List<V> tour, Graph<V,E> graph)Transform from a List representation to a graph path. -
Uses of Graph in org.jgrapht.alg.transform
Methods in org.jgrapht.alg.transform with parameters of type Graph Modifier and Type Method Description voidLineGraphConverter. convertToLineGraph(Graph<E,EE> target)Constructs a line graph $L(G)$ of the input graph $G(V,E)$.voidLineGraphConverter. convertToLineGraph(Graph<E,EE> target, java.util.function.BiFunction<E,E,java.lang.Double> weightFunction)Constructs a line graph of the input graph.Constructors in org.jgrapht.alg.transform with parameters of type Graph Constructor Description LineGraphConverter(Graph<V,E> graph)Line Graph Converter -
Uses of Graph in org.jgrapht.alg.util
Methods in org.jgrapht.alg.util with parameters of type Graph Modifier and Type Method Description static <V> java.util.Comparator<V>VertexDegreeComparator. of(Graph<V,?> g)Returns aComparatorthat compares vertices by their degrees in the specified graph.Constructors in org.jgrapht.alg.util with parameters of type Graph Constructor Description NeighborCache(Graph<V,E> graph)ConstructorVertexDegreeComparator(Graph<V,E> g)Deprecated, for removal: This API element is subject to removal in a future version.VertexDegreeComparator(Graph<V,E> g, VertexDegreeComparator.Order order)Deprecated, for removal: This API element is subject to removal in a future version.useVertexDegreeComparator.of(Graph)for ascending order orreverse the comparatorfor descending order. -
Uses of Graph in org.jgrapht.alg.vertexcover
Constructors in org.jgrapht.alg.vertexcover with parameters of type Graph Constructor Description BarYehudaEvenTwoApproxVCImpl(Graph<V,E> graph)Constructs a new BarYehudaEvenTwoApproxVCImpl instance where all vertices have uniform weights.BarYehudaEvenTwoApproxVCImpl(Graph<V,E> graph, java.util.Map<V,java.lang.Double> vertexWeightMap)Constructs a new BarYehudaEvenTwoApproxVCImpl instanceClarksonTwoApproxVCImpl(Graph<V,E> graph)Constructs a new ClarksonTwoApproxVCImpl instance where all vertices have uniform weights.ClarksonTwoApproxVCImpl(Graph<V,E> graph, java.util.Map<V,java.lang.Double> vertexWeightMap)Constructs a new ClarksonTwoApproxVCImpl instanceEdgeBasedTwoApproxVCImpl(Graph<V,E> graph)Constructs a new EdgeBasedTwoApproxVCImpl instanceGreedyVCImpl(Graph<V,E> graph)Constructs a new GreedyVCImpl instance where all vertices have uniform weights.GreedyVCImpl(Graph<V,E> graph, java.util.Map<V,java.lang.Double> vertexWeightMap)Constructs a new GreedyVCImpl instanceRecursiveExactVCImpl(Graph<V,E> graph)Constructs a new GreedyVCImpl instanceRecursiveExactVCImpl(Graph<V,E> graph, java.util.Map<V,java.lang.Double> vertexWeightMap)Constructs a new GreedyVCImpl instance -
Uses of Graph in org.jgrapht.ext
Constructors in org.jgrapht.ext with parameters of type Graph Constructor Description JGraphXAdapter(Graph<V,E> graph)Constructs and draws a new mxGraph from a JGraphT graph. -
Uses of Graph in org.jgrapht.generate
Methods in org.jgrapht.generate that return Graph Modifier and Type Method Description static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. bidiakisCubeGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. blanusaFirstSnarkGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. blanusaSecondSnarkGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. brinkmannGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. buckyBallGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. bullGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. butterflyGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. chvatalGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. clawGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. clebschGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. coxeterGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. desarguesGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. diamondGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. dodecahedronGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. doubleStarSnarkGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. doyleGraph()Generate the Doyle Graphstatic Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. dürerGraph()Generates a Dürer Graph.static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. ellinghamHorton54Graph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. ellinghamHorton78Graph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. erreraGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. folkmanGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. franklinGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. fruchtGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. generalizedPetersenGraph(int n, int k)static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. goldnerHararyGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. gossetGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. grötzschGraph()Generates a Grötzsch Graph.static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. heawoodGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. herschelGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. hoffmanGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. kittellGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. klein3RegularGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. klein7RegularGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. krackhardtKiteGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. möbiusKantorGraph()Generates a Möbius-Kantor Graph.static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. moserSpindleGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. nauruGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. pappusGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. petersenGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. poussinGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. schläfliGraph()Generates the Schläfli Graph.static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. thomsenGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. tietzeGraph()static Graph<java.lang.Integer,DefaultEdge>NamedGraphGenerator. tutteGraph()Methods in org.jgrapht.generate with parameters of type Graph Modifier and Type Method Description voidNamedGraphGenerator. generateBidiakisCubeGraph(Graph<V,E> targetGraph)Generates a Bidiakis cube Graph.voidNamedGraphGenerator. generateBlanusaFirstSnarkGraph(Graph<V,E> targetGraph)Generates the First Blanusa Snark Graph.voidNamedGraphGenerator. generateBlanusaSecondSnarkGraph(Graph<V,E> targetGraph)Generates the Second Blanusa Snark Graph.voidNamedGraphGenerator. generateBrinkmannGraph(Graph<V,E> targetGraph)Generates the Brinkmann Graph.voidNamedGraphGenerator. generateBuckyBallGraph(Graph<V,E> targetGraph)Generates a Bucky ball Graph.voidNamedGraphGenerator. generateBullGraph(Graph<V,E> targetGraph)Generates a Bull Graph.voidNamedGraphGenerator. generateButterflyGraph(Graph<V,E> targetGraph)Generates a Butterfly Graph.voidNamedGraphGenerator. generateChvatalGraph(Graph<V,E> targetGraph)Generates the Chvatal Graph.voidNamedGraphGenerator. generateClawGraph(Graph<V,E> targetGraph)Generates a Claw Graph.voidNamedGraphGenerator. generateClebschGraph(Graph<V,E> targetGraph)Generates a Clebsch Graph.voidNamedGraphGenerator. generateCoxeterGraph(Graph<V,E> targetGraph)Generates the Coxeter Graph.voidNamedGraphGenerator. generateDesarguesGraph(Graph<V,E> targetGraph)Generates a Desargues Graph.voidNamedGraphGenerator. generateDiamondGraph(Graph<V,E> targetGraph)Generates the Diamond Graph.voidNamedGraphGenerator. generateDodecahedronGraph(Graph<V,E> targetGraph)Generates a Dodecahedron Graph.voidNamedGraphGenerator. generateDoubleStarSnarkGraph(Graph<V,E> targetGraph)Generates the Double Star Snark Graph.voidNamedGraphGenerator. generateDoyleGraph(Graph<V,E> targetGraph)Generates a Doyle Graph.voidNamedGraphGenerator. generateDürerGraph(Graph<V,E> targetGraph)Generates a Dürer Graph.voidNamedGraphGenerator. generateEllinghamHorton54Graph(Graph<V,E> targetGraph)Generates the Ellingham-Horton 54 Graph.voidNamedGraphGenerator. generateEllinghamHorton78Graph(Graph<V,E> targetGraph)Generates the Ellingham-Horton 78 Graph.voidNamedGraphGenerator. generateErreraGraph(Graph<V,E> targetGraph)Generates the Errera Graph.voidNamedGraphGenerator. generateFolkmanGraph(Graph<V,E> targetGraph)Generates the Folkman Graph.voidNamedGraphGenerator. generateFranklinGraph(Graph<V,E> targetGraph)Generates the Franklin Graph.voidNamedGraphGenerator. generateFruchtGraph(Graph<V,E> targetGraph)Generates the Frucht Graph.voidNamedGraphGenerator. generateGoldnerHararyGraph(Graph<V,E> targetGraph)Generates the Goldner-Harary Graph.voidNamedGraphGenerator. generateGossetGraph(Graph<V,E> targetGraph)Generates the Gosset Graph.voidBarabasiAlbertForestGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates an instance.voidBarabasiAlbertGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates an instance.voidComplementGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)voidCompleteBipartiteGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Construct a complete bipartite graphvoidCompleteGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generate a graph structure.voidDirectedScaleFreeGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates an instance of theGraph.voidEmptyGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generate a graph structure.voidGeneralizedPetersenGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,java.util.List<V>> resultMap)Generates the Generalized Petersen GraphvoidGnmRandomBipartiteGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates a random bipartite graph.voidGnmRandomGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates a random graph based on the $G(n, M)$ modelvoidGnpRandomBipartiteGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates a random bipartite graph.voidGnpRandomGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates a random graph based on the $G(n, p)$ model.default voidGraphGenerator. generateGraph(Graph<V,E> target)Generate a graph structure.voidGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,T> resultMap)Generate a graph structure.voidGridGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generate a graph structure.voidHyperCubeGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)voidKleinbergSmallWorldGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates a small-world graph.voidLinearGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generate a graph structure.voidLinearizedChordDiagramGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates an instance.voidPlantedPartitionGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generate an $l$-planted partition graph.voidPruferTreeGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates a tree.voidRandomRegularGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generate a random regular graph.voidRingGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generate a graph structure.voidScaleFreeGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates scale-free network withsizepassed to the constructor.voidSimpleWeightedBipartiteGraphMatrixGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generate a graph structure.voidSimpleWeightedGraphMatrixGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)voidStarGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates a star graph with the designated order from the constructorvoidWattsStrogatzGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generates a small-world graph based on the Watts-Strogatz model.voidWheelGraphGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)Generate a graph structure.voidWindmillGraphsGenerator. generateGraph(Graph<V,E> target, java.util.Map<java.lang.String,V> resultMap)voidNamedGraphGenerator. generateGrötzschGraph(Graph<V,E> targetGraph)Generates a Grötzsch Graph.voidNamedGraphGenerator. generateHeawoodGraph(Graph<V,E> targetGraph)Generates the Heawood Graph.voidNamedGraphGenerator. generateHerschelGraph(Graph<V,E> targetGraph)Generates the Herschel Graph.voidNamedGraphGenerator. generateHoffmanGraph(Graph<V,E> targetGraph)Generates the Hoffman Graph.voidNamedGraphGenerator. generateKittellGraph(Graph<V,E> targetGraph)Generates the Kittell Graph.voidNamedGraphGenerator. generateKlein3RegularGraph(Graph<V,E> targetGraph)Generates the Klein 3-regular Graph.voidNamedGraphGenerator. generateKlein7RegularGraph(Graph<V,E> targetGraph)Generates the Klein 7-regular Graph.voidNamedGraphGenerator. generateKrackhardtKiteGraph(Graph<V,E> targetGraph)Generates the Krackhardt kite Graph.voidNamedGraphGenerator. generateMöbiusKantorGraph(Graph<V,E> targetGraph)Generates a Möbius-Kantor Graph.voidNamedGraphGenerator. generateMoserSpindleGraph(Graph<V,E> targetGraph)Generates the Moser spindle Graph.voidNamedGraphGenerator. generateNauruGraph(Graph<V,E> targetGraph)Generates a Nauru Graph.voidNamedGraphGenerator. generatePappusGraph(Graph<V,E> targetGraph)Generates the Pappus Graph.voidNamedGraphGenerator. generatePetersenGraph(Graph<V,E> targetGraph)Generates a Petersen Graph.voidNamedGraphGenerator. generatePoussinGraph(Graph<V,E> targetGraph)Generates the Poussin Graph.voidNamedGraphGenerator. generateSchläfliGraph(Graph<V,E> targetGraph)Generates the Schläfli Graph.voidNamedGraphGenerator. generateThomsenGraph(Graph<V,E> targetGraph)Generates the Thomsen Graph.voidNamedGraphGenerator. generateTietzeGraph(Graph<V,E> targetGraph)Generates the Tietze Graph.voidNamedGraphGenerator. generateTutteGraph(Graph<V,E> targetGraph)Generates the Tutte Graph.voidNamedGraphGenerator. generateZacharyKarateClubGraph(Graph<V,E> targetGraph)Generates the Zachary's karate club Graph.Constructors in org.jgrapht.generate with parameters of type Graph Constructor Description ComplementGraphGenerator(Graph<V,E> graph)Complement Graph GeneratorComplementGraphGenerator(Graph<V,E> graph, boolean generateSelfLoops)Complement Graph Generator. -
Uses of Graph in org.jgrapht.generate.netgen
Methods in org.jgrapht.generate.netgen that return Graph Modifier and Type Method Description Graph<V,E>BipartiteMatchingProblem.BipartiteMatchingProblemImpl. getGraph()Returns the graph, which defines the problemGraph<V,E>BipartiteMatchingProblem. getGraph()Returns the graph, which defines the problemGraph<V,E>MaximumFlowProblem. getGraph()Returns the network the problem is defined on.Graph<V,E>MaximumFlowProblem.MaximumFlowProblemImpl. getGraph()Returns the network the problem is defined on.Methods in org.jgrapht.generate.netgen with parameters of type Graph Modifier and Type Method Description BipartiteMatchingProblem<V,E>NetworkGenerator. generateBipartiteMatchingProblem(Graph<V,E> graph)Generates a bipartite matching problem satisfying the parameters specified in the config provided to this generator.MaximumFlowProblem<V,E>NetworkGenerator. generateMaxFlowProblem(Graph<V,E> graph)Generates a maximum flow problem satisfying the parameters specified in the config provided to this generator.MinimumCostFlowProblem<V,E>NetworkGenerator. generateMinimumCostFlowProblem(Graph<V,E> graph)Generates a minimum cost flow problem satisfying the parameters specified in the config provided to this generator.Constructors in org.jgrapht.generate.netgen with parameters of type Graph Constructor Description BipartiteMatchingProblemImpl(Graph<V,E> graph, java.util.Set<V> partition1, java.util.Set<V> partition2, java.util.function.Function<E,java.lang.Double> costs, boolean weighted)Constructs a new bipartite matching problemMaximumFlowProblemImpl(Graph<V,E> graph, java.util.Set<V> sources, java.util.Set<V> sinks, java.util.function.Function<E,java.lang.Double> capacities)Constructs a new maximum flow problem. -
Uses of Graph in org.jgrapht.graph
Classes in org.jgrapht.graph that implement Graph Modifier and Type Class Description classAbstractBaseGraph<V,E>The most general implementation of theGraphinterface.classAbstractGraph<V,E>A skeletal implementation of theGraphinterface, to minimize the effort required to implement graph interfaces.classAsGraphUnion<V,E>Read-only union of two graphs.classAsSubgraph<V,E>A subgraph is a graph that has a subset of vertices and a subset of edges with respect to some base graph.classAsUndirectedGraph<V,E>An undirected view of the backing directed graph specified in the constructor.classAsUnmodifiableGraph<V,E>An unmodifiable view of the backing graph specified in the constructor.classAsUnweightedGraph<V,E>Provides an unweighted view on a graph.classAsWeightedGraph<V,E>Provides a weighted view of a graph.classDefaultDirectedGraph<V,E>The default implementation of a directed graph.classDefaultDirectedWeightedGraph<V,E>The default implementation of a directed weighted graph.classDefaultListenableGraph<V,E>A graph backed by the the graph specified at the constructor, which can be listened byGraphListeners and byVertexSetListeners.classDefaultUndirectedGraph<V,E>The default implementation of an undirected graph.classDefaultUndirectedWeightedGraph<V,E>The default implementation of an undirected weighted graph.classDirectedAcyclicGraph<V,E>A directed acyclic graph (DAG).classDirectedMultigraph<V,E>A directed multigraph.classDirectedPseudograph<V,E>A directed pseudograph.classDirectedWeightedMultigraph<V,E>A directed weighted multigraph.classDirectedWeightedPseudograph<V,E>A directed weighted pseudograph.classEdgeReversedGraph<V,E>Provides an edge-reversed view $g'$ of a directed graph $g$.classGraphDelegator<V,E>A graph backed by the the graph specified at the constructor, which delegates all its methods to the backing graph.classMaskSubgraph<V,E>An unmodifiable subgraph induced by a vertex/edge masking function.classMultigraph<V,E>A multigraph.classParanoidGraph<V,E>ParanoidGraph provides a way to verify that objects added to a graph obey the standard equals/hashCode contract.classPseudograph<V,E>A pseudograph.classSimpleDirectedGraph<V,E>A simple directed graph.classSimpleDirectedWeightedGraph<V,E>A simple directed weighted graph.classSimpleGraph<V,E>Implementation of a Simple Graph.classSimpleWeightedGraph<V,E>A simple weighted graph.classWeightedMultigraph<V,E>A weighted multigraph.classWeightedPseudograph<V,E>A weighted pseudograph.Fields in org.jgrapht.graph declared as Graph Modifier and Type Field Description protected Graph<V,E>AsSubgraph. baseprotected Graph<V,E>MaskSubgraph. baseprotected Graph<V,E>DefaultGraphIterables. graphThe underlying graphprotected Graph<V,E>GraphWalk. graphMethods in org.jgrapht.graph that return Graph Modifier and Type Method Description protected Graph<V,E>GraphDelegator. getDelegate()Return the backing graph (the delegate).Graph<V,E>DefaultGraphIterables. getGraph()Graph<V,E>GraphWalk. getGraph()Methods in org.jgrapht.graph that return types with arguments of type Graph Modifier and Type Method Description java.util.function.BiFunction<Graph<V,E>,GraphType,Specifics<V,E>>DefaultGraphSpecificsStrategy. getSpecificsFactory()java.util.function.BiFunction<Graph<V,E>,GraphType,Specifics<V,E>>FastLookupGraphSpecificsStrategy. getSpecificsFactory()java.util.function.BiFunction<Graph<V,E>,GraphType,Specifics<V,E>>GraphSpecificsStrategy. getSpecificsFactory()Get a function which creates the specifics.Methods in org.jgrapht.graph with parameters of type Graph Modifier and Type Method Description static <V, E> GraphWalk<V,E>GraphWalk. emptyWalk(Graph<V,E> graph)Convenience method which creates an empty walk.static <V, E> GraphWalk<V,E>GraphWalk. singletonWalk(Graph<V,E> graph, V v)Convenience method which creates a walk consisting of a single vertex with weight 0.0.static <V, E> GraphWalk<V,E>GraphWalk. singletonWalk(Graph<V,E> graph, V v, double weight)Convenience method which creates a walk consisting of a single vertex.Constructors in org.jgrapht.graph with parameters of type Graph Constructor Description AsGraphUnion(Graph<V,E> g1, Graph<V,E> g2)Construct a new graph union.AsGraphUnion(Graph<V,E> g1, Graph<V,E> g2, WeightCombiner operator)Construct a new graph union.AsSubgraph(Graph<V,E> base)Creates a new induced Subgraph with all vertices included.AsSubgraph(Graph<V,E> base, java.util.Set<? extends V> vertexSubset)Creates a new induced subgraph.AsSubgraph(Graph<V,E> base, java.util.Set<? extends V> vertexSubset, java.util.Set<? extends E> edgeSubset)Creates a new subgraph.AsUndirectedGraph(Graph<V,E> g)Constructor for AsUndirectedGraph.AsUnmodifiableGraph(Graph<V,E> g)Creates a new unmodifiable graph based on the specified backing graph.AsUnweightedGraph(Graph<V,E> g)Constructor for AsUnweightedGraph.AsWeightedGraph(Graph<V,E> graph, java.util.function.Function<E,java.lang.Double> weightFunction, boolean cacheWeights, boolean writeWeightsThrough)Constructor for AsWeightedGraph which uses a weight function to compute edge weights.AsWeightedGraph(Graph<V,E> graph, java.util.Map<E,java.lang.Double> weights)Constructor for AsWeightedGraph where the weights are provided through a map.AsWeightedGraph(Graph<V,E> graph, java.util.Map<E,java.lang.Double> weights, boolean writeWeightsThrough)Constructor for AsWeightedGraph which allows weight write propagation to be requested explicitly.DefaultGraphIterables(Graph<V,E> graph)Create new graph iterablesDefaultGraphMapping(java.util.Map<V,V> g1ToG2, java.util.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.EdgeReversedGraph(Graph<V,E> g)Creates a new EdgeReversedGraph.GraphDelegator(Graph<V,E> graph)ConstructorGraphDelegator(Graph<V,E> graph, java.util.function.Supplier<V> vertexSupplier, java.util.function.Supplier<E> edgeSupplier)GraphWalk(Graph<V,E> graph, java.util.List<V> vertexList, double weight)Creates a walk defined by a sequence of vertices.GraphWalk(Graph<V,E> graph, V startVertex, V endVertex, java.util.List<E> edgeList, double weight)Creates a walk defined by a sequence of edges.GraphWalk(Graph<V,E> graph, V startVertex, V endVertex, java.util.List<V> vertexList, java.util.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, java.util.function.Predicate<V> vertexMask, java.util.function.Predicate<E> edgeMask)Creates a new induced subgraph.ParanoidGraph(Graph<V,E> g)Create a new paranoid graph. -
Uses of Graph in org.jgrapht.graph.builder
Classes in org.jgrapht.graph.builder with type parameters of type Graph Modifier and Type Class Description classAbstractGraphBuilder<V,E,G extends Graph<V,E>,B extends AbstractGraphBuilder<V,E,G,B>>Base class for builders ofGraphclassGraphBuilder<V,E,G extends Graph<V,E>>A builder class forGraph.Fields in org.jgrapht.graph.builder declared as Graph Modifier and Type Field Description protected GAbstractGraphBuilder. graphMethods in org.jgrapht.graph.builder that return Graph Modifier and Type Method Description Graph<V,E>AbstractGraphBuilder. buildAsUnmodifiable()Build an unmodifiable version graph.Graph<V,E>GraphTypeBuilder. buildGraph()Build the actual graph.Methods in org.jgrapht.graph.builder that return types with arguments of type Graph Modifier and Type Method Description GraphBuilder<V,E,Graph<V,E>>GraphTypeBuilder. buildGraphBuilder()Build the graph and acquire aGraphBuilderin order to add vertices and edges.Methods in org.jgrapht.graph.builder with parameters of type Graph Modifier and Type Method Description BAbstractGraphBuilder. addGraph(Graph<? extends V,? extends E> sourceGraph)Adds all the vertices and all the edges of thesourceGraphto the graph being built.static <V, E> GraphTypeBuilder<V,E>GraphTypeBuilder. forGraph(Graph<V,E> graph)Create a graph type builder which will create the same graph type as the parameter graph. -
Uses of Graph in org.jgrapht.graph.concurrent
Classes in org.jgrapht.graph.concurrent that implement Graph Modifier and Type Class Description classAsSynchronizedGraph<V,E>Create a synchronized (thread-safe) Graph backed by the specified Graph.Methods in org.jgrapht.graph.concurrent with parameters of type Graph Modifier and Type Method Description AsSynchronizedGraph<V,E>AsSynchronizedGraph.Builder. build(Graph<V,E> graph)Build the AsSynchronizedGraph.Constructors in org.jgrapht.graph.concurrent with parameters of type Graph Constructor Description AsSynchronizedGraph(Graph<V,E> g)Constructor for AsSynchronizedGraph with default settings (cache disabled, non-fair mode, and copyless mode disabled). -
Uses of Graph in org.jgrapht.graph.guava
Classes in org.jgrapht.graph.guava that implement Graph Modifier and Type Class Description classBaseGraphAdapter<V,G extends com.google.common.graph.Graph<V>>A base abstract implementation for the graph adapter class using Guava'sGraph.classBaseNetworkAdapter<V,E,N extends com.google.common.graph.Network<V,E>>A base abstract implementation for the graph adapter class using Guava'sNetwork.classBaseValueGraphAdapter<V,W,VG extends com.google.common.graph.ValueGraph<V,W>>A base abstract implementation for the graph adapter class using Guava'sValueGraph.classImmutableDoubleValueGraphAdapter<V>A graph adapter class using Guava'sImmutableValueGraphspecialized with double values.classImmutableGraphAdapter<V>A graph adapter class using Guava'sImmutableGraph.classImmutableNetworkAdapter<V,E>A graph adapter class using Guava'sImmutableNetwork.classImmutableValueGraphAdapter<V,W>A graph adapter class using Guava'sImmutableValueGraph.classMutableDoubleValueGraphAdapter<V>A graph adapter class using Guava'sMutableValueGraphspecialized with double values.classMutableGraphAdapter<V>A graph adapter class using Guava'sMutableGraph.classMutableNetworkAdapter<V,E>A graph adapter class using Guava'sMutableNetwork.classMutableValueGraphAdapter<V,W>A graph adapter class using Guava'sMutableValueGraph. -
Uses of Graph in org.jgrapht.graph.specifics
Fields in org.jgrapht.graph.specifics declared as Graph Modifier and Type Field Description protected Graph<V,E>DirectedSpecifics. graphprotected Graph<V,E>UndirectedSpecifics. graphConstructors in org.jgrapht.graph.specifics with parameters of type Graph Constructor Description DirectedSpecifics(Graph<V,E> graph, java.util.Map<V,DirectedEdgeContainer<V,E>> vertexMap, EdgeSetFactory<V,E> edgeSetFactory)Construct a new directed specifics.FastLookupDirectedSpecifics(Graph<V,E> graph, java.util.Map<V,DirectedEdgeContainer<V,E>> vertexMap, java.util.Map<Pair<V,V>,java.util.Set<E>> touchingVerticesToEdgeMap, EdgeSetFactory<V,E> edgeSetFactory)Construct a new fast lookup directed specifics.FastLookupUndirectedSpecifics(Graph<V,E> graph, java.util.Map<V,UndirectedEdgeContainer<V,E>> vertexMap, java.util.Map<Pair<V,V>,java.util.Set<E>> touchingVerticesToEdgeMap, EdgeSetFactory<V,E> edgeSetFactory)Construct a new fast lookup undirected specifics.UndirectedSpecifics(Graph<V,E> graph, java.util.Map<V,UndirectedEdgeContainer<V,E>> vertexMap, EdgeSetFactory<V,E> edgeSetFactory)Construct a new undirected specifics. -
Uses of Graph in org.jgrapht.nio
Methods in org.jgrapht.nio with parameters of type Graph Modifier and Type Method Description default voidGraphExporter. exportGraph(Graph<V,E> g, java.io.File file)Export a graph to the givenFile.default voidGraphExporter. exportGraph(Graph<V,E> g, java.io.OutputStream out)Export a graph to the givenOutputStream.voidGraphExporter. exportGraph(Graph<V,E> g, java.io.Writer writer)Export a graph using the givenWriter.default voidGraphImporter. importGraph(Graph<V,E> g, java.io.File file)Import a graph from the givenFile.default voidGraphImporter. importGraph(Graph<V,E> g, java.io.InputStream in)Import a graph from the givenInputStream.voidGraphImporter. importGraph(Graph<V,E> g, java.io.Reader in)Import a graph using the givenReader. -
Uses of Graph in org.jgrapht.nio.csv
Methods in org.jgrapht.nio.csv with parameters of type Graph Modifier and Type Method Description voidCSVExporter. exportGraph(Graph<V,E> g, java.io.Writer writer)Exports a graphvoidVisioExporter. exportGraph(Graph<V,E> g, java.io.Writer writer)Exports the specified graph into a Visio CSV file format.voidCSVImporter. importGraph(Graph<V,E> graph, java.io.Reader input)Import a graph. -
Uses of Graph in org.jgrapht.nio.dimacs
Methods in org.jgrapht.nio.dimacs with parameters of type Graph Modifier and Type Method Description voidDIMACSExporter. exportGraph(Graph<V,E> g, java.io.Writer writer)voidDIMACSImporter. importGraph(Graph<V,E> graph, java.io.Reader input)Import a graph. -
Uses of Graph in org.jgrapht.nio.dot
Methods in org.jgrapht.nio.dot with parameters of type Graph Modifier and Type Method Description voidDOTExporter. exportGraph(Graph<V,E> g, java.io.Writer writer)Exports a graph into a plain text file in DOT format.voidDOTImporter. importGraph(Graph<V,E> graph, java.io.Reader input) -
Uses of Graph in org.jgrapht.nio.gexf
Methods in org.jgrapht.nio.gexf with parameters of type Graph Modifier and Type Method Description voidGEXFExporter. exportGraph(Graph<V,E> g, java.io.Writer writer)Exports a graph in GraphML format.voidSimpleGEXFImporter. importGraph(Graph<V,E> graph, java.io.Reader input)Import a graph. -
Uses of Graph in org.jgrapht.nio.gml
Methods in org.jgrapht.nio.gml with parameters of type Graph Modifier and Type Method Description voidGmlExporter. exportGraph(Graph<V,E> g, java.io.Writer writer)Exports an graph into a plain text GML format.voidGmlImporter. importGraph(Graph<V,E> graph, java.io.Reader input)Import a graph. -
Uses of Graph in org.jgrapht.nio.graph6
Methods in org.jgrapht.nio.graph6 with parameters of type Graph Modifier and Type Method Description voidGraph6Sparse6Exporter. exportGraph(Graph<V,E> g, java.io.Writer writer)voidGraph6Sparse6Importer. importGraph(Graph<V,E> graph, java.io.Reader input)Import a graph. -
Uses of Graph in org.jgrapht.nio.graphml
Methods in org.jgrapht.nio.graphml with parameters of type Graph Modifier and Type Method Description voidGraphMLExporter. exportGraph(Graph<V,E> g, java.io.Writer writer)Exports a graph in GraphML format.voidGraphMLImporter. importGraph(Graph<V,E> graph, java.io.Reader input)Import a graph.voidSimpleGraphMLImporter. importGraph(Graph<V,E> graph, java.io.Reader input)Import a graph. -
Uses of Graph in org.jgrapht.nio.json
Methods in org.jgrapht.nio.json with parameters of type Graph Modifier and Type Method Description voidJSONExporter. exportGraph(Graph<V,E> g, java.io.Writer writer)voidJSONImporter. importGraph(Graph<V,E> graph, java.io.Reader input)Import a graph. -
Uses of Graph in org.jgrapht.nio.lemon
Methods in org.jgrapht.nio.lemon with parameters of type Graph Modifier and Type Method Description voidLemonExporter. exportGraph(Graph<V,E> g, java.io.Writer writer) -
Uses of Graph in org.jgrapht.nio.matrix
Methods in org.jgrapht.nio.matrix with parameters of type Graph Modifier and Type Method Description voidMatrixExporter. exportGraph(Graph<V,E> g, java.io.Writer writer) -
Uses of Graph in org.jgrapht.nio.tsplib
Methods in org.jgrapht.nio.tsplib with parameters of type Graph Modifier and Type Method Description voidTSPLIBImporter. importGraph(Graph<V,E> graph, java.io.Reader in)Import a graph using the givenReader. -
Uses of Graph in org.jgrapht.opt.graph.fastutil
Classes in org.jgrapht.opt.graph.fastutil that implement Graph Modifier and Type Class Description classFastutilMapGraph<V,E>A graph implementation using fastutil's map implementations for storage.classFastutilMapIntVertexGraph<E>A graph implementation using fastutil's map implementations for storage specialized for integer vertices.Methods in org.jgrapht.opt.graph.fastutil that return types with arguments of type Graph Modifier and Type Method Description java.util.function.BiFunction<Graph<V,E>,GraphType,Specifics<V,E>>FastutilFastLookupGSS. getSpecificsFactory()java.util.function.BiFunction<Graph<java.lang.Integer,E>,GraphType,Specifics<java.lang.Integer,E>>FastutilFastLookupIntVertexGSS. getSpecificsFactory()java.util.function.BiFunction<Graph<V,E>,GraphType,Specifics<V,E>>FastutilGSS. getSpecificsFactory()java.util.function.BiFunction<Graph<java.lang.Integer,E>,GraphType,Specifics<java.lang.Integer,E>>FastutilIntVertexGSS. getSpecificsFactory() -
Uses of Graph in org.jgrapht.opt.graph.sparse
Classes in org.jgrapht.opt.graph.sparse that implement Graph Modifier and Type Class Description classSparseIntDirectedGraphA sparse directed graph.classSparseIntDirectedWeightedGraphSparse directed weighted graph.classSparseIntUndirectedGraphSparse undirected graph.classSparseIntUndirectedWeightedGraphSparse undirected weighted graph. -
Uses of Graph in org.jgrapht.opt.graph.sparse.specifics
Classes in org.jgrapht.opt.graph.sparse.specifics with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Graph Modifier and Type Class Description classorg.jgrapht.opt.graph.sparse.specifics.AbstractSparseSpecificsGraph<S extends org.jgrapht.opt.graph.sparse.specifics.SparseGraphSpecifics>Helper class to ease the implementation of different sparse graphs with different backends. -
Uses of Graph in org.jgrapht.sux4j
Classes in org.jgrapht.sux4j that implement Graph Modifier and Type Class Description classAbstractSuccinctDirectedGraph<E>An abstract base class for all succinct directed implementations.classAbstractSuccinctGraph<E>An abstract base class for all succinct implementations.classAbstractSuccinctUndirectedGraph<E>An abstract base class for all succinct undirected implementations.classSuccinctDirectedGraphAn immutable directed graph withIntIntPairedges represented using quasi-succinct data structures.classSuccinctIntDirectedGraphAn immutable directed graph withIntegeredges represented using quasi-succinct data structures.classSuccinctIntUndirectedGraphAn immutable undirected graph withIntegeredges represented using quasi-succinct data structures.classSuccinctUndirectedGraphAn immutable undirected graph withIntIntSortedPairedges represented using quasi-succinct data structures.Constructors in org.jgrapht.sux4j with parameters of type Graph Constructor Description CumulativeDegrees(Graph<java.lang.Integer,E> graph, boolean sorted, java.util.function.Function<java.lang.Integer,java.lang.Iterable<E>> succ)CumulativeSuccessors(Graph<java.lang.Integer,E> graph, java.util.function.Function<java.lang.Integer,java.lang.Iterable<E>> succ, boolean strict)CumulativeSuccessors(Graph<java.lang.Integer,E> graph, boolean sorted, java.util.function.Function<java.lang.Integer,java.lang.Iterable<E>> succ)SuccinctDirectedGraph(Graph<java.lang.Integer,E> graph)Creates a new immutable succinct directed graph from a given directed graph, supporting both outgoing and incoming edges.SuccinctDirectedGraph(Graph<java.lang.Integer,E> graph, boolean incomingEdgesSupport)Creates a new immutable succinct directed graph from a given directed graph, choosing whether to support incoming edges.SuccinctIntDirectedGraph(Graph<java.lang.Integer,E> graph)Creates a new immutable succinct directed graph from a given directed graph, supporting both outgoing and incoming edges.SuccinctIntDirectedGraph(Graph<java.lang.Integer,E> graph, boolean incomingEdgesSupport)Creates a new immutable succinct directed graph from a given directed graph, choosing whether to support incoming edges.SuccinctIntUndirectedGraph(Graph<java.lang.Integer,E> graph)Creates a new immutable succinct undirected graph from a given undirected graph.SuccinctUndirectedGraph(Graph<java.lang.Integer,E> graph)Creates a new immutable succinct undirected graph from a given undirected graph. -
Uses of Graph in org.jgrapht.traverse
Fields in org.jgrapht.traverse declared as Graph Modifier and Type Field Description protected Graph<V,E>AbstractGraphIterator. graphMethods in org.jgrapht.traverse that return Graph Modifier and Type Method Description Graph<V,E>AbstractGraphIterator. getGraph()Get the graph being traversed.Constructors in org.jgrapht.traverse with parameters of type Graph Constructor Description AbstractGraphIterator(Graph<V,E> graph)Create a new iteratorBreadthFirstIterator(Graph<V,E> g)Creates a new breadth-first iterator for the specified graph.BreadthFirstIterator(Graph<V,E> g, java.lang.Iterable<V> startVertices)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, java.lang.Iterable<V> startVertices)Creates a new closest-first iterator for the specified graph.ClosestFirstIterator(Graph<V,E> g, java.lang.Iterable<V> startVertices, double radius)Creates a new radius-bounded closest-first iterator for the specified graph.ClosestFirstIterator(Graph<V,E> g, java.lang.Iterable<V> startVertices, double radius, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,org.jgrapht.traverse.ClosestFirstIterator.QueueEntry<V,E>>> heapSupplier)Creates a new radius-bounded 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.ClosestFirstIterator(Graph<V,E> g, V startVertex, double radius, java.util.function.Supplier<org.jheaps.AddressableHeap<java.lang.Double,org.jgrapht.traverse.ClosestFirstIterator.QueueEntry<V,E>>> heapSupplier)Creates a new radius-bounded closest-first iterator for the specified graph.CrossComponentIterator(Graph<V,E> g)Creates a new iterator for the specified graph.CrossComponentIterator(Graph<V,E> g, java.lang.Iterable<V> startVertices)Creates a new iterator for the specified graph.CrossComponentIterator(Graph<V,E> g, V startVertex)Creates a new iterator for the specified graph.DegeneracyOrderingIterator(Graph<V,E> graph)ConstructorDepthFirstIterator(Graph<V,E> g)Creates a new depth-first iterator for the specified graph.DepthFirstIterator(Graph<V,E> g, java.lang.Iterable<V> startVertices)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.LexBreadthFirstIterator(Graph<V,E> graph)Creates new lexicographical breadth-first iterator forgraph.MaximumCardinalityIterator(Graph<V,E> graph)Creates a maximum cardinality iterator for thegraph.RandomWalkIterator(Graph<V,E> graph)Deprecated.Creates a new iterator for the specified graph.RandomWalkIterator(Graph<V,E> graph, V startVertex)Deprecated.Creates a new iterator for the specified graph.RandomWalkIterator(Graph<V,E> graph, V startVertex, boolean isWeighted)Deprecated.Creates a new iterator for the specified graph.RandomWalkIterator(Graph<V,E> graph, V startVertex, boolean isWeighted, long maxSteps)Deprecated.Creates a new iterator for the specified graph.RandomWalkIterator(Graph<V,E> graph, V startVertex, boolean isWeighted, long maxSteps, java.util.Random rng)Deprecated.Creates a new iterator for the specified graph.RandomWalkVertexIterator(Graph<V,E> graph, V vertex)Create a new iteratorRandomWalkVertexIterator(Graph<V,E> graph, V vertex, long maxHops)Create a new iteratorRandomWalkVertexIterator(Graph<V,E> graph, V vertex, long maxHops, boolean weighted, java.util.Random rng)Create a new iteratorTopologicalOrderIterator(Graph<V,E> graph)Construct a topological order iterator.TopologicalOrderIterator(Graph<V,E> graph, java.util.Comparator<V> comparator)Construct a topological order iterator. -
Uses of Graph in org.jgrapht.webgraph
Classes in org.jgrapht.webgraph that implement Graph Modifier and Type Class Description classAbstractImmutableBigGraphAdapter<E extends it.unimi.dsi.fastutil.longs.LongLongPair>An abstract base class for adapters using WebGraph (big)'sImmutableGraph.classAbstractImmutableGraphAdapter<E extends it.unimi.dsi.fastutil.ints.IntIntPair>An abstract base class for adapters using WebGraph'sImmutableGraph.classImmutableDirectedBigGraphAdapterAn adapter class for directed graphs using WebGraph (big)'sImmutableGraph.classImmutableDirectedGraphAdapterAn adapter class for directed graphs using WebGraph'sImmutableGraph.classImmutableUndirectedBigGraphAdapterAn adapter class for undirected graphs using WebGraph (big)'sImmutableGraph.classImmutableUndirectedGraphAdapterAn adapter class for undirected graphs using WebGraph'sImmutableGraph.