Uses of Interface
com.google.common.graph.Network
-
Packages that use Network Package Description com.google.common.graph An API for representing graph (node and edge) data. -
-
Uses of Network in com.google.common.graph
Subinterfaces of Network in com.google.common.graph Modifier and Type Interface Description interfaceMutableNetwork<N,E>A subinterface ofNetworkwhich adds mutation methods.Classes in com.google.common.graph that implement Network Modifier and Type Class Description classAbstractNetwork<N,E>This class provides a skeletal implementation ofNetwork.(package private) classForwardingNetwork<N,E>A class to allowNetworkimplementations to be backed by a provided delegate.private static classGraphs.TransposedNetwork<N,E>classImmutableNetwork<N,E>ANetworkwhose elements and structural relationships will never change.(package private) classStandardMutableNetwork<N,E>Standard implementation ofMutableNetworkthat supports both directed and undirected graphs.(package private) classStandardNetwork<N,E>Standard implementation ofNetworkthat supports the options supplied byNetworkBuilder.Fields in com.google.common.graph declared as Network Modifier and Type Field Description private Network<N,E>Graphs.TransposedNetwork. networkMethods in com.google.common.graph that return Network Modifier and Type Method Description protected abstract Network<N,E>ForwardingNetwork. delegate()protected Network<N,E>Graphs.TransposedNetwork. delegate()static <N,E>
Network<N,E>Graphs. transpose(Network<N,E> network)Returns a view ofnetworkwith the direction (if any) of every edge reversed.Methods in com.google.common.graph with parameters of type Network Modifier and Type Method Description private static <N,E>
Function<E,N>ImmutableNetwork. adjacentNodeFn(Network<N,E> network, N node)private static <N,E>
NetworkConnections<N,E>ImmutableNetwork. connectionsOf(Network<N,E> network, N node)static <N,E>
MutableNetwork<N,E>Graphs. copyOf(Network<N,E> network)Creates a mutable copy ofnetworkwith the same nodes and edges.static <N,E>
ImmutableNetwork<N,E>ImmutableNetwork. copyOf(Network<N,E> network)Returns an immutable copy ofnetwork.private static <N,E>
java.util.Map<E,EndpointPair<N>>AbstractNetwork. edgeIncidentNodesMap(Network<N,E> network)static <N,E>
NetworkBuilder<N,E>NetworkBuilder. from(Network<N,E> network)Returns aNetworkBuilderinitialized with all properties queryable fromnetwork.private static <N,E>
java.util.Map<E,N>ImmutableNetwork. getEdgeToReferenceNode(Network<N,E> network)private static <N,E>
java.util.Map<N,NetworkConnections<N,E>>ImmutableNetwork. getNodeConnections(Network<N,E> network)static booleanGraphs. hasCycle(Network<?,?> network)Returns true ifnetworkhas at least one cycle.static <N,E>
MutableNetwork<N,E>Graphs. inducedSubgraph(Network<N,E> network, java.lang.Iterable<? extends N> nodes)Returns the subgraph ofnetworkinduced bynodes.(package private) static <N> EndpointPair<N>EndpointPair. of(Network<?,?> network, N nodeU, N nodeV)Returns anEndpointPairrepresenting the endpoints of an edge innetwork.private static <N,E>
Function<E,N>ImmutableNetwork. sourceNodeFn(Network<N,E> network)private static <N,E>
Function<E,N>ImmutableNetwork. targetNodeFn(Network<N,E> network)static <N,E>
Network<N,E>Graphs. transpose(Network<N,E> network)Returns a view ofnetworkwith the direction (if any) of every edge reversed.Constructors in com.google.common.graph with parameters of type Network Constructor Description ImmutableNetwork(Network<N,E> network)TransposedNetwork(Network<N,E> network)
-