Uses of Interface
dev.mccue.guava.graph.Graph
-
Uses of Graph in dev.mccue.guava.graph
Subinterfaces of Graph in dev.mccue.guava.graphModifier and TypeInterfaceDescriptioninterfaceMutableGraph<N>A subinterface ofGraphwhich adds mutation methods.Classes in dev.mccue.guava.graph that implement GraphModifier and TypeClassDescriptionclassThis class provides a skeletal implementation ofGraph.classAGraphwhose elements and structural relationships will never change.Methods in dev.mccue.guava.graph that return GraphModifier and TypeMethodDescriptionAbstractNetwork.asGraph()AbstractValueGraph.asGraph()Network.asGraph()Returns a live view of this network as aGraph.ValueGraph.asGraph()Returns a live view of this graph as aGraph.static <N> Graph<N>Graphs.transitiveClosure(Graph<N> graph) Returns the transitive closure ofgraph.static <N> Graph<N>Returns a view ofgraphwith the direction (if any) of every edge reversed.Methods in dev.mccue.guava.graph with parameters of type GraphModifier and TypeMethodDescriptionstatic <N> MutableGraph<N>Creates a mutable copy ofgraphwith the same nodes and edges.static <N> ImmutableGraph<N>Returns an immutable copy ofgraph.static <N> GraphBuilder<N>Returns aGraphBuilderinitialized with all properties queryable fromgraph.static <N> booleanReturns true ifgraphhas at least one cycle.static <N> MutableGraph<N>Graphs.inducedSubgraph(Graph<N> graph, Iterable<? extends N> nodes) Returns the subgraph ofgraphinduced bynodes.static <N> Set<N>Graphs.reachableNodes(Graph<N> graph, N node) Returns the set of nodes that are reachable fromnode.static <N> Graph<N>Graphs.transitiveClosure(Graph<N> graph) Returns the transitive closure ofgraph.static <N> Graph<N>Returns a view ofgraphwith the direction (if any) of every edge reversed.