public class Graphs extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Graphs.FrozenGraph<V,E extends DefaultEdge>
Immutable grap.
|
| 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> 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–2015 The Apache Software Foundation. All rights reserved.