Class UndiGraph<N,E>
java.lang.Object
com.google.javascript.jscomp.graph.Graph<N,E>
com.google.javascript.jscomp.graph.UndiGraph<N,E>
- Type Parameters:
N
- Value type that the graph node stores.E
- Value type that the graph edge stores.
- All Implemented Interfaces:
AdjacencyGraph<N,
E>
- Direct Known Subclasses:
LinkedUndirectedGraph
A generic undirected graph.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A generic undirected graph edge.static interface
A generic undirected graph node.Nested classes/interfaces inherited from class com.google.javascript.jscomp.graph.Graph
Graph.GraphEdge<N,
E> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract UndiGraph.UndiGraphNode<N,
E> getUndirectedGraphNode
(N nodeValue) Methods inherited from class com.google.javascript.jscomp.graph.Graph
clearEdgeAnnotations, clearNodeAnnotations, connect, connectIfNotFound, createNode, disconnect, getEdges, getEdges, getFirstEdge, getNeighborNodes, getNeighborNodesIterator, getNodeDegree, getNodes, getWeight, hasNode, isConnected, isConnected, popEdgeAnnotations, popNodeAnnotations, pushEdgeAnnotations, pushNodeAnnotations
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.javascript.jscomp.graph.AdjacencyGraph
getNode, newSubGraph
-
Constructor Details
-
UndiGraph
public UndiGraph()
-
-
Method Details
-
getUndirectedGraphNode
-