All Classes and Interfaces
Class
Description
An index of a forest for ancestor queries: the parent and depth of a node, whether one node is
an ancestor of another, and the lowest common ancestor of two nodes.
A hook that puts the attributes of one node or edge, by node ID or edge index, for
DotWriter.nodeAttributes(AttributeHook) and
DotWriter.edgeAttributes(AttributeHook).The back edges of a graph: the edges that a depth-first search finds pointing back to a node on
its current path, self-loops included.
The distances of the nodes of a graph from one or several sources, with a shortest path to
every node reached.
A
Graph that also holds the in-nodes of every node, for algorithms that follow edges
against their direction.The bridges, articulation points and biconnected components of a graph read as undirected, as
Components.biconnectivityOf(BiAdjacentGraph) returns them.The algorithms for the components of a graph, and for the edges and nodes whose removal splits
them.
Relations of control flow that follow from
Dominators, returned as graphs: the dominance
frontiers and, from them, control dependence.Access to the arrays in which a graph keeps its edges, for algorithm code that loops over all
edges.
The base class of a depth-first search of your own over a
Graph, with a hook for every
edge.What the search does with an edge that
visitEdge reports.The state of the target of an edge when
visitEdge reports the edge.The base class of a depth-first search of your own over a
Graph.The dominators of a graph with one or more entries, such as the control flow of a method,
given by the immediate dominator of every node.
A writer of DOT (the language of Graphviz) that labels and styles a graph with the caller's data
by node ID and edge index.
An action on an edge, given its source, target and edge index: the callback of
Graph.forEachEdge(EdgeConsumer).A mapping from the edge indices of one graph to those of another, to carry data on edges over
to a subgraph, a renumbered graph or the transposed graph.
A partition of the edges of a graph into groups: the edges behind each edge of a condensed
graph, or the blocks of a graph.
A list of edges of a graph, each with its source, target and edge index.
The type of an edge in a DFS (depth-first search), as
EdgeTypes classifies the edges of
a graph.The type of every edge of a graph in a depth-first search: tree, back, forward or cross edge, as
EdgeType defines them.The base class of a breadth-first search of your own over a
Graph, or of any search that
works off a queue of nodes and chooses which nodes enter it.A directed graph, which is the input of the algorithms in this library.
A builder for a
Graph, from nodes and edges added in any order.The edges added and removed between two graphs over the same nodes, as
Graphs.diff(Graph, Graph) returns them.Operations on graphs, in five families: derived graphs, edge mappings, node sets, shape checks,
and a graph as text, hash or diff.
A mapping from the indices
0..indexCount()-1 to the indices of another numbering.A partition of indices into groups: the common base of
NodePartition and
EdgePartition.The iterated dominance frontiers of a control-flow graph, which tell where SSA (static single
assignment) form places phi-nodes.
The loop nesting forest of a control-flow graph: its loops, how they nest and where each of
them is entered, irreducible loops included.
A writer of Mermaid flowcharts that labels and styles a graph with the caller's data by node ID
and edge index.
The direction of a flowchart.
The shape of a node, with the brackets Mermaid draws it with.
A mapping from the node IDs of one graph to those of another, to extract a subgraph or to
renumber the nodes of a graph.
A partition of the nodes of a graph into groups, such as its components.
An
Ancestry that also holds the preorder of its forest, for an ancestor test in O(1) and
the nodes of every subtree.The SCCs (strongly connected components) of a graph, as
Components.sccsOf(Graph)
returns them.A list of
int values in ascending order and without duplicates, as a view of a range
of an array.The strong bridges and strong articulation points of a graph, as
Components.strongConnectivityOf(BiAdjacentGraph) returns them.The topological order of a DAG (directed acyclic graph), in which every node comes before its
out-nodes.
A topological order of a DAG (directed acyclic graph) with the level of each node.