public class Graphs
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Graphs.FrozenGraph<V,E extends DefaultEdge>
Immutable grap.
|
Modifier | Constructor and Description |
---|---|
private |
Graphs() |
Modifier and Type | Method and Description |
---|---|
static <V,E extends DefaultEdge> |
makeImmutable(DirectedGraph<V,E> graph)
Returns a map of the shortest paths between any pair of nodes.
|
static <V,E extends DefaultEdge> |
predecessorListOf(DirectedGraph<V,E> graph,
V vertex) |
public static <V,E extends DefaultEdge> java.util.List<V> predecessorListOf(DirectedGraph<V,E> graph, V vertex)
public static <V,E extends DefaultEdge> Graphs.FrozenGraph<V,E> makeImmutable(DirectedGraph<V,E> graph)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.