Package | Description |
---|---|
org.jgrapht.alg.cycle |
Algorithms related to graph cycles.
|
org.jgrapht.alg.densesubgraph |
Algorithms for computing maximum density subgraphs.
|
org.jgrapht.alg.interfaces |
Algorithm related interfaces.
|
org.jgrapht.alg.lca |
Algorithms for computing lowest common ancestors in graphs.
|
org.jgrapht.alg.shortestpath |
Shortest-path related algorithms.
|
org.jgrapht.alg.spanning |
Spanning tree and spanner algorithms.
|
org.jgrapht.alg.util |
Utilities used by JGraphT algorithms.
|
org.jgrapht.graph.specifics |
Implementations of specifics for various graph types.
|
Modifier and Type | Method and Description |
---|---|
protected Pair<HierholzerEulerianCycle.EdgeNode,HierholzerEulerianCycle.EdgeNode> |
HierholzerEulerianCycle.computePartialCycle()
Computes a partial cycle assuming that all vertices have an even degree.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HierholzerEulerianCycle.updateGraphAndInsertLocations(Pair<HierholzerEulerianCycle.EdgeNode,HierholzerEulerianCycle.EdgeNode> partialCycle,
HierholzerEulerianCycle.VertexNode partialCycleSourceVertex)
Iterate over the partial cycle to remove vertices with zero degrees and compute new insert
locations for vertices with non-zero degrees.
|
Modifier and Type | Class and Description |
---|---|
class |
GoldbergMaximumDensitySubgraphAlgorithmNodeWeightPerEdgeWeight<V extends Pair<?,Double>,E>
This class computes a maximum density subgraph based on the algorithm described by Andrew
Vladislav Goldberg in
Finding Maximum Density Subgraphs, 1984, University of Berkley.
|
class |
GoldbergMaximumDensitySubgraphAlgorithmNodeWeights<V extends Pair<?,Double>,E>
This class computes a maximum density subgraph based on the algorithm described by Andrew
Vladislav Goldberg in
Finding Maximum Density Subgraphs, 1984, University of Berkley.
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,Pair<Set<V>,Double>> |
CapacitatedSpanningTreeAlgorithm.CapacitatedSpanningTree.getPartition()
Return the label-to-partition map of the underlying partition of capacitated spanning
tree.
|
Map<Integer,Pair<Set<V>,Double>> |
CapacitatedSpanningTreeAlgorithm.CapacitatedSpanningTreeImpl.getPartition() |
Modifier and Type | Method and Description |
---|---|
default List<V> |
LowestCommonAncestorAlgorithm.getBatchLCA(List<Pair<V,V>> queries)
Return a list of LCAs for a batch of queries
|
default List<Set<V>> |
LowestCommonAncestorAlgorithm.getBatchLCASet(List<Pair<V,V>> queries)
Return a list of computed sets of LCAs for a batch of queries
|
Constructor and Description |
---|
CapacitatedSpanningTreeImpl(Map<V,Integer> labels,
Map<Integer,Pair<Set<V>,Double>> partition,
Set<E> edges,
double weight)
Construct a new capacitated spanning tree.
|
Modifier and Type | Method and Description |
---|---|
List<V> |
TarjanLCAFinder.getBatchLCA(List<Pair<V,V>> queries)
Return a list of LCAs for a batch of queries
|
Modifier and Type | Field and Description |
---|---|
protected Map<V,Pair<Double,E>> |
TreeSingleSourcePathsImpl.map
A map which keeps for each target vertex the predecessor edge and the total length of the
shortest path.
|
Modifier and Type | Method and Description |
---|---|
Map<V,Pair<Double,E>> |
TreeSingleSourcePathsImpl.getDistanceAndPredecessorMap()
Get the internal map used for representing the paths.
|
Constructor and Description |
---|
BidirectionalDijkstraShortestPath(Graph<V,E> graph,
double radius,
Supplier<org.jheaps.AddressableHeap<Double,Pair<V,E>>> heapSupplier)
Constructs a new instance for a specified graph.
|
BidirectionalDijkstraShortestPath(Graph<V,E> graph,
Supplier<org.jheaps.AddressableHeap<Double,Pair<V,E>>> heapSupplier)
Constructs a new instance for a specified graph.
|
DijkstraShortestPath(Graph<V,E> graph,
double radius,
Supplier<org.jheaps.AddressableHeap<Double,Pair<V,E>>> heapSupplier)
Constructs a new instance of the algorithm for a given graph.
|
DijkstraShortestPath(Graph<V,E> graph,
Supplier<org.jheaps.AddressableHeap<Double,Pair<V,E>>> heapSupplier)
Constructs a new instance of the algorithm for a given graph.
|
TreeSingleSourcePathsImpl(Graph<V,E> g,
V source,
Map<V,Pair<Double,E>> distanceAndPredecessorMap)
Construct a new instance.
|
Constructor and Description |
---|
CapacitatedSpanningTreeSolutionRepresentation(Map<V,Integer> labels,
Map<Integer,Pair<Set<V>,Double>> partition)
Constructs a new solution representation for the CMST problem based on
labels and partition . |
Modifier and Type | Class and Description |
---|---|
class |
UnorderedPair<A,B>
Generic unordered pair.
|
Modifier and Type | Method and Description |
---|---|
static <A,B> Pair<A,B> |
Pair.of(A a,
B b)
Creates new pair of elements pulling of the necessity to provide corresponding types of the
elements supplied.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Pair<V,V>,Set<E>> |
FastLookupDirectedSpecifics.touchingVerticesToEdgeMap
Maps a pair of vertices <u,v> to a set of edges {(u,v)}.
|
protected Map<Pair<V,V>,Set<E>> |
FastLookupUndirectedSpecifics.touchingVerticesToEdgeMap
Maps a pair of vertices <u,v> to a set of edges {(u,v)}.
|
Constructor and Description |
---|
FastLookupDirectedSpecifics(Graph<V,E> graph,
Map<V,DirectedEdgeContainer<V,E>> vertexMap,
Map<Pair<V,V>,Set<E>> touchingVerticesToEdgeMap,
EdgeSetFactory<V,E> edgeSetFactory)
Construct a new fast lookup directed specifics.
|
FastLookupUndirectedSpecifics(Graph<V,E> graph,
Map<V,UndirectedEdgeContainer<V,E>> vertexMap,
Map<Pair<V,V>,Set<E>> touchingVerticesToEdgeMap,
EdgeSetFactory<V,E> edgeSetFactory)
Construct a new fast lookup undirected specifics.
|
Copyright © 2019. All rights reserved.