Package com.google.javascript.jscomp.graph
package com.google.javascript.jscomp.graph
-
ClassDescriptionAdjacencyGraph<N,
E> A minimal graph interface.Object that has an annotation.Information that can be annotated to aGraphNode
orGraph.GraphEdge
.See constructor,CheckPathsBetweenNodes(DiGraph, DiGraphNode, DiGraphNode, Predicate, Predicate)
, for a description of this algorithm.DiGraph<N,E> A generic directed graph.DiGraph.DiGraphEdge<N,E> A generic directed graph edge.DiGraph.DiGraphNode<N,E> A generic directed graph node.A utility class for doing fixed-point computations.FixedPointGraphTraversal.EdgeCallback<NodeT,EdgeT> Edge callbackGraph<N,E> The base generic class for graph-like data structure and algorithms in the compiler.Graph.GraphEdge<N,E> A generic edge.GraphColoring<N,E> Annotates the graph with a color in a way that no connected node will have the same color.The color of a nodeGreedily assign nodes with high degree unique colors.GraphNode<N,E> A generic node.GraphReachability<N,E> Computes all the reachable nodes.Represents a Source Node and an Edge.A graph that can be dumped to a Graphviz DOT file.A Graphviz edge.A Graphviz node.A lattice element.LinkedDirectedGraph<N,E> A directed graph using ArrayLists within nodes to store edge information.A directed graph edge that stores the source and destination nodes at each edge.A directed graph node that stores outgoing edges and incoming edges as an list within the node itself.An undirected graph using linked list within nodes to store edge information.Implements a lowest common ancestor search algorithm.An abstraction forLowestCommonAncestorFinder::new
.A Union-Find implementation.SubGraph<N,E> An interface representing a subgraph that provides adjacency calculation to a node.UndiGraph<N,E> A generic undirected graph.A generic undirected graph edge.A generic undirected graph node.UnionFind<E>Union-Find is a classical algorithm used to find connected components in graph theory.