Uses of Interface
com.google.common.graph.ValueGraph
-
Packages that use ValueGraph Package Description com.google.common.graph An API for representing graph (node and edge) data. -
-
Uses of ValueGraph in com.google.common.graph
Subinterfaces of ValueGraph in com.google.common.graph Modifier and Type Interface Description interface
MutableValueGraph<N,V>
A subinterface ofValueGraph
which adds mutation methods.Classes in com.google.common.graph that implement ValueGraph Modifier and Type Class Description class
AbstractValueGraph<N,V>
This class provides a skeletal implementation ofValueGraph
.(package private) class
ConfigurableMutableValueGraph<N,V>
Configurable implementation ofMutableValueGraph
that supports both directed and undirected graphs.(package private) class
ConfigurableValueGraph<N,V>
Configurable implementation ofValueGraph
that supports the options supplied byAbstractGraphBuilder
.private static class
Graphs.TransposedValueGraph<N,V>
class
ImmutableValueGraph<N,V>
AValueGraph
whose elements and structural relationships will never change.Fields in com.google.common.graph declared as ValueGraph Modifier and Type Field Description protected ValueGraph<N,V>
ImmutableGraph.ValueBackedImpl. backingValueGraph
private ValueGraph<N,V>
Graphs.TransposedValueGraph. graph
Methods in com.google.common.graph that return ValueGraph Modifier and Type Method Description static <N,V>
ValueGraph<N,V>Graphs. transpose(ValueGraph<N,V> graph)
Returns a view ofgraph
with the direction (if any) of every edge reversed.Methods in com.google.common.graph with parameters of type ValueGraph Modifier and Type Method Description private static <N,V>
GraphConnections<N,V>ImmutableValueGraph. connectionsOf(ValueGraph<N,V> graph, N node)
static <N,V>
MutableValueGraph<N,V>Graphs. copyOf(ValueGraph<N,V> graph)
Creates a mutable copy ofgraph
with the same nodes, edges, and edge values.static <N,V>
ImmutableValueGraph<N,V>ImmutableValueGraph. copyOf(ValueGraph<N,V> graph)
Returns an immutable copy ofgraph
.static boolean
Graphs. equivalent(ValueGraph<?,?> graphA, ValueGraph<?,?> graphB)
Returnstrue
ifgraphA
andgraphB
have the same elements (including edge values) and the same relationships between elements, as exposed via theValueGraph
interface.private static <N,V>
ImmutableMap<N,GraphConnections<N,V>>ImmutableValueGraph. getNodeConnections(ValueGraph<N,V> graph)
static <N,V>
MutableValueGraph<N,V>Graphs. inducedSubgraph(ValueGraph<N,V> graph, java.lang.Iterable<? extends N> nodes)
Returns the subgraph ofgraph
induced bynodes
.static <N,V>
ValueGraph<N,V>Graphs. transpose(ValueGraph<N,V> graph)
Returns a view ofgraph
with the direction (if any) of every edge reversed.Constructors in com.google.common.graph with parameters of type ValueGraph Constructor Description ImmutableValueGraph(ValueGraph<N,V> graph)
TransposedValueGraph(ValueGraph<N,V> graph)
-