Index by API
Every method that a problem uses, with the problems that use it: what is a method good for? The link on the method leads to its contract in the API documentation, the links below it to the problems.
Ancestry.depthOf(int)Ancestry.isAncestorOf(int, int)Ancestry.lowestCommonAncestorOf(int, int)Ancestry.of(Dominators)Ancestry.of(Graph)Ancestry.parentOf(int)AttributeHook.accept(int, Map)BackEdges.of(Graph)BfsDistances.distanceOf(int)BfsDistances.isReachable(int)BfsDistances.maxDistance()BfsDistances.of(Graph, IntList)BfsDistances.of(Graph, int)BfsDistances.pathTo(int)BiAdjacentGraph.degree(int)BiAdjacentGraph.hasInNode(int, int)BiAdjacentGraph.hasNeighbor(int, int)BiAdjacentGraph.inDegree(int)BiAdjacentGraph.inNodes(int)BiAdjacentGraph.isRootNode(int)BiAdjacentGraph.neighbors(int)BiAdjacentGraph.of(Graph)- 1.6 Find the out-nodes and in-nodes of a node
- 2.4 Find the starting points of a graph
- 3.5 Find the edges and nodes whose removal splits a strongly connected component
- 4.2 Find everything that reaches a node
- 4.5 Answer many reachability questions at once
- 5.2 Find the edges and nodes whose removal splits a graph
- 5.3 Divide the edges of a graph into biconnected components
- 6.1 Find out whether a graph is a tree, a forest or a path
- 6.2 Find the parent and the depth of each node
- 7.1 Find the nodes that every path from the entry passes through
- 7.2 Build the dominator tree and ask it questions
- 7.3 Find the nodes that every path to the exit passes through
- 7.4 Find dominators from several entries
- 8.1 Find the loops of a function and how they nest
- 8.2 Find loops that can be entered in more than one place
- 8.3 Find the blocks where the dominance of a block ends
- 8.4 Find the blocks that need a phi-node for a variable
- 8.5 Find which conditions decide whether a block runs
- 9.5 Turn every edge around
- 10.1 Save a graph to a file and load it again
- 12.4 Loop over the arrays of a graph directly
BiAdjacentGraph.transposed()BiAdjacentGraph.transposedEdgeIndex(int)BiAdjacentGraph.uniAdjacentGraph()Biconnectivity.articulationPoints()Biconnectivity.blocks()Biconnectivity.bridges()Components.biconnectivityOf(BiAdjacentGraph)Components.ccsOf(Graph)Components.sccsOf(Graph)- 2.1 Find out whether a graph has a cycle, and show one
- 3.1 Find the groups of nodes that reach each other
- 3.2 Condense each group into one node to get a DAG
- 3.3 Put the nodes in dependency order although the graph has cycles
- 11.3 Highlight nodes, edges and groups in Graphviz
- 11.5 Highlight nodes, edges and groups in Mermaid
Components.strongConnectivityOf(BiAdjacentGraph)Components.wccsOf(Graph)ControlFlow.dominanceFrontiers(Dominators)Csr.inAdjacency(BiAdjacentGraph)Csr.inAdjacencyStart(BiAdjacentGraph)Csr.outAdjacency(Graph)Csr.outAdjacencyStart(Graph)DfsEdgeTraverser.enterNode(int)DfsEdgeTraverser.isOnStack(int)DfsEdgeTraverser.isVisited(int)DfsEdgeTraverser.leaveNode(int)DfsEdgeTraverser.run()DfsEdgeTraverser.run(IntList)DfsEdgeTraverser.run(int)DfsEdgeTraverser.stop()DfsEdgeTraverser.visitEdge(int, int, int, DfsEdgeTraverser.TargetState)DfsTraverser.enterNode(int)DfsTraverser.isOnStack(int)DfsTraverser.isVisited(int)DfsTraverser.leaveNode(int)DfsTraverser.run()DfsTraverser.run(IntList)DfsTraverser.run(int)DfsTraverser.stop()Dominators.graph()Dominators.immediateDominatorOf(int)Dominators.isReachable(int)Dominators.of(BiAdjacentGraph, IntList)Dominators.of(BiAdjacentGraph, int)- 7.1 Find the nodes that every path from the entry passes through
- 7.2 Build the dominator tree and ask it questions
- 7.3 Find the nodes that every path to the exit passes through
- 8.3 Find the blocks where the dominance of a block ends
- 8.4 Find the blocks that need a phi-node for a variable
- 8.5 Find which conditions decide whether a block runs
DotWriter.clusters(NodePartition, IntFunction)DotWriter.edgeAttributes(AttributeHook)DotWriter.edgeLabel(IntFunction)DotWriter.graphAttribute(String, String)DotWriter.nodeAttributes(AttributeHook)DotWriter.nodeFilter(IntPredicate)DotWriter.nodeLabel(IntFunction)DotWriter.of(Graph)DotWriter.undirected()DotWriter.write(Appendable)DotWriter.writeToString()EdgeConsumer.accept(int, int, int)EdgeMapping.compose(EdgeMapping)EdgeMapping.gather(T[], T[])EdgeMapping.gather(double[])EdgeMapping.gather(int[])EdgeMapping.gather(long[])EdgeMapping.inverted(int)EdgePartition.edgeCount()EdgePartition.edgesOf(int)EdgeTypes.of(Graph)EdgeTypes.typeOf(int)Edges.count()Edges.edgeIndices()Edges.isEmpty()Edges.of(EdgeTypes, EdgeType)Edges.sourceNodes()Edges.targetNodes()FrontierTraverser.currentLevel()FrontierTraverser.enqueue(int)FrontierTraverser.enqueueChildren(int)FrontierTraverser.isVisited(int)FrontierTraverser.leaveLevel(int)FrontierTraverser.run()FrontierTraverser.run(IntList)FrontierTraverser.run(int)FrontierTraverser.stop()FrontierTraverser.visitNode(int)Graph.containsSelfLoop(int)Graph.edgeCount()Graph.edgeIndexOf(int, int)Graph.edgeSource(int)Graph.edgeTarget(int)Graph.equals(Object)Graph.forEachEdge(EdgeConsumer)Graph.hasOutNode(int, int)Graph.hashCode()Graph.isEmpty()Graph.nodeCount()Graph.nodes()Graph.of(int[], int[])Graph.outDegree(int)Graph.outEdgeEnd(int)Graph.outEdgeStart(int)Graph.outNodes(int)- 1.2 Build a graph from objects of your own
- 1.6 Find the out-nodes and in-nodes of a node
- 1.7 Work with the lists Graphity returns
- 3.2 Condense each group into one node to get a DAG
- 4.5 Answer many reachability questions at once
- 9.3 Carry node data over to a transformed graph
- 12.1 Write a depth-first search without recursion
Graph.readFrom(InputStream)Graph.toString()Graph.uniAdjacentGraph()Graph.writeTo(OutputStream)GraphBuilder()- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder.addChild(int)GraphBuilder.addChildren(int, int)GraphBuilder.addEdge(int, int)- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder.addEdgeAndNodes(int, int)GraphBuilder.addEdgePairs(int...)GraphBuilder.addEdgePairsAndNodes(int...)GraphBuilder.addEdges(Edges)GraphBuilder.addEdgesAndNodes(Edges)GraphBuilder.addGraph(Graph)GraphBuilder.addInEdges(int, IntList)GraphBuilder.addInEdges(int, int...)GraphBuilder.addInEdgesAndNodes(int, int...)GraphBuilder.addNode()GraphBuilder.addNodes(int)- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder.addOutEdges(int, IntList)GraphBuilder.addOutEdges(int, int...)GraphBuilder.addOutEdgesAndNodes(int, int...)GraphBuilder.addParent(int)GraphBuilder.addParents(int, int)GraphBuilder.addPath(IntList)GraphBuilder.addPath(int...)GraphBuilder.addPathAndNodes(int...)GraphBuilder.build()- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder.ensureEdgeCapacity(int)GraphDiff.addedEdges()GraphDiff.isEmpty()GraphDiff.removedEdges()Graphs.adjacencyListOf(Graph)Graphs.diff(Graph, Graph)Graphs.dominatorTree(Dominators)Graphs.edgeMapping(Graph, Graph, NodeMapping)Graphs.edgePartition(Graph, NodePartition)Graphs.findCycle(Graph)Graphs.isBipartite(Graph)Graphs.isDag(Graph)Graphs.isForest(Graph)Graphs.isPath(Graph)Graphs.isStronglyConnected(Graph)Graphs.isTree(Graph)Graphs.isUndirectedForest(Graph)Graphs.isUndirectedTree(Graph)Graphs.isWeaklyConnected(Graph)Graphs.reachableFrom(Graph, IntList)Graphs.reachableFrom(Graph, int)Graphs.remapped(Graph, NodeMapping)Graphs.rootNodes(BiAdjacentGraph)Graphs.topologyHash(Graph)Graphs.transitiveClosure(Graph)Graphs.transitiveReduction(Graph)Graphs.transposedEdgeMapping(Graph)IndexMapping.get(int)IndexMapping.indexCount()IndexMapping.isMapped(int)IndexMapping.isPartial()IndexMapping.mappedCount()IndexPartition.groupCount()IndexPartition.indicesOf(int)IndexPartition.reduce(T[], T[], BinaryOperator)IndexPartition.reduce(double[], double, DoubleBinaryOperator)IndexPartition.reduce(int[], int, IntBinaryOperator)IndexPartition.reduce(long[], long, LongBinaryOperator)IndexPartition.sizeOf(int)IteratedDominanceFrontier.frontierOf(IntList)IteratedDominanceFrontier.of(Dominators)Loops.bodyOf(int)Loops.entriesOf(int)Loops.headerOf(int)Loops.innermostLoopOf(int)Loops.isInLoop(int, int)Loops.isReducible()Loops.loopCount()Loops.loopDepthOf(int)Loops.of(BiAdjacentGraph, IntList)Loops.of(BiAdjacentGraph, int)Loops.parentOf(int)MermaidWriter.classDef(String, String)MermaidWriter.clusters(NodePartition, IntFunction)MermaidWriter.direction(MermaidWriter.Direction)MermaidWriter.edgeLabel(IntFunction)MermaidWriter.edgeStyle(IntFunction)MermaidWriter.nodeClass(IntFunction)MermaidWriter.nodeFilter(IntPredicate)MermaidWriter.nodeLabel(IntFunction)MermaidWriter.nodeShape(IntFunction)MermaidWriter.of(Graph)MermaidWriter.undirected()MermaidWriter.write(Appendable)MermaidWriter.writeToString()NodeMapping.compose(NodeMapping)NodeMapping.forPermutation(IntList)NodeMapping.forSubgraph(BitSet)NodeMapping.forSubgraph(IntList)NodeMapping.forSubgraph(int...)NodeMapping.gather(T[], T[])NodeMapping.gather(double[])NodeMapping.gather(int[])NodeMapping.gather(long[])NodeMapping.inverted(int)NodeMapping.of(int[])NodeMapping.reindex(Graph)NodePartition.condense()NodePartition.nodeCount()NodePartition.nodesOf(int)NodePartition.of(Graph, int[], int)PreorderAncestry.isAncestorOf(int, int)PreorderAncestry.of(Ancestry)PreorderAncestry.preorder()PreorderAncestry.preorderIndexOf(int)PreorderAncestry.subtreeOf(int)PreorderAncestry.subtreeSizeOf(int)Sccs.containsCycle(int)Sccs.isStronglyConnected()Sccs.sccCount()Sccs.sccOf(int)SortedIntView.first()SortedIntView.getInt(int)SortedIntView.indexOf(int)SortedIntView.last()SortedIntView.lastIndexOf(int)SortedIntView.size()SortedIntView.toIntArray()SortedIntView.union(SortedIntView)SortedIntView.viewOf(int[], int, int)StrongConnectivity.strongArticulationPoints()StrongConnectivity.strongBridges()TopOrder.of(Graph)TopOrderAndLevels.levelCount()TopOrderAndLevels.levelOf(int)TopOrderAndLevels.levels()TopOrderAndLevels.of(Graph)TopOrderAndLevels.order()
<Graph as Display>::fmt<Graph as Hash>::hash<Graph as PartialEq>::eq<[u32]>::len<[u32]>::to_vecAncestry::depth_ofAncestry::is_ancestor_ofAncestry::lowest_common_ancestor_ofAncestry::ofAncestry::of_dominatorsAncestry::parent_ofBfsDistances::distance_ofBfsDistances::is_reachableBfsDistances::max_distanceBfsDistances::ofBfsDistances::of_sourcesBfsDistances::path_toBiAdjacentGraph::degreeBiAdjacentGraph::has_in_nodeBiAdjacentGraph::has_neighborBiAdjacentGraph::in_degreeBiAdjacentGraph::in_nodesBiAdjacentGraph::is_root_nodeBiAdjacentGraph::neighborsBiAdjacentGraph::of- 1.6 Find the out-nodes and in-nodes of a node
- 2.4 Find the starting points of a graph
- 3.5 Find the edges and nodes whose removal splits a strongly connected component
- 4.2 Find everything that reaches a node
- 4.5 Answer many reachability questions at once
- 5.2 Find the edges and nodes whose removal splits a graph
- 5.3 Divide the edges of a graph into biconnected components
- 6.1 Find out whether a graph is a tree, a forest or a path
- 6.2 Find the parent and the depth of each node
- 7.1 Find the nodes that every path from the entry passes through
- 7.2 Build the dominator tree and ask it questions
- 7.3 Find the nodes that every path to the exit passes through
- 7.4 Find dominators from several entries
- 8.1 Find the loops of a function and how they nest
- 8.2 Find loops that can be entered in more than one place
- 8.3 Find the blocks where the dominance of a block ends
- 8.4 Find the blocks that need a phi-node for a variable
- 8.5 Find which conditions decide whether a block runs
- 9.5 Turn every edge around
- 10.1 Save a graph to a file and load it again
- 12.4 Loop over the arrays of a graph directly
BiAdjacentGraph::transposedBiAdjacentGraph::transposed_edge_indexBiconnectivity::articulation_pointsBiconnectivity::blocksBiconnectivity::bridgesDfsControl::is_on_stackDfsControl::is_visitedDfsControl::stopDfsEdgeHooks::enter_nodeDfsEdgeHooks::leave_nodeDfsEdgeHooks::visit_edgeDfsEdgeTraverser::runDfsEdgeTraverser::run_fromDfsEdgeTraverser::run_from_nodesDfsHooks::enter_nodeDfsHooks::leave_nodeDfsTraverser::runDfsTraverser::run_fromDfsTraverser::run_from_nodesDominators::graphDominators::immediate_dominator_ofDominators::is_reachableDominators::of- 7.1 Find the nodes that every path from the entry passes through
- 7.2 Build the dominator tree and ask it questions
- 7.3 Find the nodes that every path to the exit passes through
- 8.3 Find the blocks where the dominance of a block ends
- 8.4 Find the blocks that need a phi-node for a variable
- 8.5 Find which conditions decide whether a block runs
Dominators::of_entriesDotWriter::clustersDotWriter::edge_attributesDotWriter::edge_labelDotWriter::graph_attributeDotWriter::node_attributesDotWriter::node_filterDotWriter::node_labelDotWriter::ofDotWriter::undirectedDotWriter::writeDotWriter::write_to_stringEdgeMapping::composeEdgeMapping::gatherEdgeMapping::gather_intoEdgeMapping::invertedEdgePartition::edge_countEdgePartition::edges_ofEdgeTypes::ofEdgeTypes::type_ofEdges::countEdges::edge_indicesEdges::is_emptyEdges::ofEdges::source_nodesEdges::target_nodesFrontierControl::current_levelFrontierControl::enqueueFrontierControl::enqueue_childrenFrontierControl::is_visitedFrontierControl::stopFrontierHooks::leave_levelFrontierHooks::visit_nodeFrontierTraverser::runFrontierTraverser::run_fromFrontierTraverser::run_from_nodesGraph::contains_self_loopGraph::edge_countGraph::edge_index_ofGraph::edge_sourceGraph::edge_targetGraph::for_each_edgeGraph::has_out_nodeGraph::is_emptyGraph::node_countGraph::nodesGraph::ofGraph::out_degreeGraph::out_edge_endGraph::out_edge_startGraph::out_nodes- 1.2 Build a graph from objects of your own
- 1.6 Find the out-nodes and in-nodes of a node
- 1.7 Work with the lists Graphity returns
- 3.2 Condense each group into one node to get a DAG
- 4.5 Answer many reachability questions at once
- 9.3 Carry node data over to a transformed graph
- 12.1 Write a depth-first search without recursion
Graph::read_fromGraph::uni_adjacent_graphGraph::write_toGraphBuilder::add_childGraphBuilder::add_childrenGraphBuilder::add_edge- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder::add_edge_and_nodesGraphBuilder::add_edge_pairsGraphBuilder::add_edge_pairs_and_nodesGraphBuilder::add_edgesGraphBuilder::add_edges_and_nodesGraphBuilder::add_graphGraphBuilder::add_in_edgesGraphBuilder::add_in_edges_and_nodesGraphBuilder::add_nodeGraphBuilder::add_nodes- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder::add_out_edgesGraphBuilder::add_out_edges_and_nodesGraphBuilder::add_parentGraphBuilder::add_parentsGraphBuilder::add_pathGraphBuilder::add_path_and_nodesGraphBuilder::build- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder::ensure_edge_capacityGraphBuilder::new- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
GraphDiff::added_edgesGraphDiff::is_emptyGraphDiff::removed_edgesIndexMapping::getIndexMapping::index_countIndexMapping::is_mappedIndexMapping::is_partialIndexMapping::mapped_countIndexPartition::group_countIndexPartition::indices_ofIndexPartition::reduceIndexPartition::reduce_intoIndexPartition::size_ofIteratedDominanceFrontier::frontier_ofIteratedDominanceFrontier::ofLoops::body_ofLoops::entries_ofLoops::header_ofLoops::innermost_loop_ofLoops::is_in_loopLoops::is_reducibleLoops::loop_countLoops::loop_depth_ofLoops::ofLoops::of_entriesLoops::parent_ofMermaidWriter::class_defMermaidWriter::clustersMermaidWriter::directionMermaidWriter::edge_labelMermaidWriter::edge_styleMermaidWriter::node_classMermaidWriter::node_filterMermaidWriter::node_labelMermaidWriter::node_shapeMermaidWriter::ofMermaidWriter::undirectedMermaidWriter::writeMermaidWriter::write_to_stringNodeMapping::composeNodeMapping::for_permutationNodeMapping::for_subgraphNodeMapping::for_subgraph_maskNodeMapping::for_subgraph_sortedNodeMapping::gatherNodeMapping::gather_intoNodeMapping::invertedNodeMapping::ofNodeMapping::reindexNodePartition::condenseNodePartition::node_countNodePartition::nodes_ofNodePartition::ofPreorderAncestry::is_ancestor_ofPreorderAncestry::ofPreorderAncestry::preorderPreorderAncestry::preorder_index_ofPreorderAncestry::subtree_ofPreorderAncestry::subtree_size_ofSccs::contains_cycleSccs::is_strongly_connectedSccs::scc_countSccs::scc_ofSortedIntView::firstSortedIntView::index_ofSortedIntView::lastSortedIntView::last_index_ofSortedIntView::unionSortedIntView::view_ofStrongConnectivity::strong_articulation_pointsStrongConnectivity::strong_bridgesTopOrderAndLevels::level_countTopOrderAndLevels::level_ofTopOrderAndLevels::levelsTopOrderAndLevels::ofTopOrderAndLevels::orderback_edges::ofcomponents::biconnectivity_ofcomponents::ccs_ofcomponents::sccs_of- 2.1 Find out whether a graph has a cycle, and show one
- 3.1 Find the groups of nodes that reach each other
- 3.2 Condense each group into one node to get a DAG
- 3.3 Put the nodes in dependency order although the graph has cycles
- 11.3 Highlight nodes, edges and groups in Graphviz
- 11.5 Highlight nodes, edges and groups in Mermaid
components::strong_connectivity_ofcomponents::wccs_ofcontrol_flow::dominance_frontierscsr::in_adjacencycsr::in_adjacency_startcsr::out_adjacencycsr::out_adjacency_startgraphs::adjacency_list_ofgraphs::diffgraphs::dominator_treegraphs::edge_mappinggraphs::edge_partitiongraphs::find_cyclegraphs::is_bipartitegraphs::is_daggraphs::is_forestgraphs::is_pathgraphs::is_strongly_connectedgraphs::is_treegraphs::is_undirected_forestgraphs::is_undirected_treegraphs::is_weakly_connectedgraphs::reachable_fromgraphs::reachable_from_sourcesgraphs::remappedgraphs::root_nodesgraphs::topology_hashgraphs::transitive_closuregraphs::transitive_reductiongraphs::transposed_edge_mappingtop_order::of
Ancestry.depthOfAncestry.isAncestorOfAncestry.lowestCommonAncestorOfAncestry.of(dominators: Dominators)Ancestry.of(forest: Graph)Ancestry.parentOfAttributeHookBackEdges.ofBfsDistances.distanceOfBfsDistances.isReachableBfsDistances.maxDistanceBfsDistances.of(graph: Graph, source: number)BfsDistances.of(graph: Graph, sources: IntList)BfsDistances.pathToBiAdjacentGraph.degreeBiAdjacentGraph.hasInNodeBiAdjacentGraph.hasNeighborBiAdjacentGraph.inDegreeBiAdjacentGraph.inNodesBiAdjacentGraph.isRootNodeBiAdjacentGraph.neighborsBiAdjacentGraph.of- 1.6 Find the out-nodes and in-nodes of a node
- 2.4 Find the starting points of a graph
- 3.5 Find the edges and nodes whose removal splits a strongly connected component
- 4.2 Find everything that reaches a node
- 4.5 Answer many reachability questions at once
- 5.2 Find the edges and nodes whose removal splits a graph
- 5.3 Divide the edges of a graph into biconnected components
- 6.1 Find out whether a graph is a tree, a forest or a path
- 6.2 Find the parent and the depth of each node
- 7.1 Find the nodes that every path from the entry passes through
- 7.2 Build the dominator tree and ask it questions
- 7.3 Find the nodes that every path to the exit passes through
- 7.4 Find dominators from several entries
- 8.1 Find the loops of a function and how they nest
- 8.2 Find loops that can be entered in more than one place
- 8.3 Find the blocks where the dominance of a block ends
- 8.4 Find the blocks that need a phi-node for a variable
- 8.5 Find which conditions decide whether a block runs
- 9.5 Turn every edge around
- 10.1 Save a graph to a file and load it again
- 12.4 Loop over the arrays of a graph directly
BiAdjacentGraph.transposedBiAdjacentGraph.transposedEdgeIndexBiAdjacentGraph.uniAdjacentGraphBiconnectivity.articulationPointsBiconnectivity.blocksBiconnectivity.bridgesComponents.biconnectivityOfComponents.ccsOfComponents.sccsOf- 2.1 Find out whether a graph has a cycle, and show one
- 3.1 Find the groups of nodes that reach each other
- 3.2 Condense each group into one node to get a DAG
- 3.3 Put the nodes in dependency order although the graph has cycles
- 11.3 Highlight nodes, edges and groups in Graphviz
- 11.5 Highlight nodes, edges and groups in Mermaid
Components.strongConnectivityOfComponents.wccsOfControlFlow.dominanceFrontiersCsr.inAdjacencyCsr.inAdjacencyStartCsr.outAdjacencyCsr.outAdjacencyStartDfsEdgeTraverser.enterNodeDfsEdgeTraverser.isOnStackDfsEdgeTraverser.isVisitedDfsEdgeTraverser.leaveNodeDfsEdgeTraverser.run()DfsEdgeTraverser.run(startNode: number)DfsEdgeTraverser.run(startNodes: IntList)DfsEdgeTraverser.stopDfsEdgeTraverser.visitEdgeDfsTraverser.enterNodeDfsTraverser.isOnStackDfsTraverser.isVisitedDfsTraverser.leaveNodeDfsTraverser.run()DfsTraverser.run(startNode: number)DfsTraverser.run(startNodes: IntList)DfsTraverser.stopDominators.graphDominators.immediateDominatorOfDominators.isReachableDominators.of(graph: BiAdjacentGraph, entries: IntList)Dominators.of(graph: BiAdjacentGraph, entry: number)- 7.1 Find the nodes that every path from the entry passes through
- 7.2 Build the dominator tree and ask it questions
- 7.3 Find the nodes that every path to the exit passes through
- 8.3 Find the blocks where the dominance of a block ends
- 8.4 Find the blocks that need a phi-node for a variable
- 8.5 Find which conditions decide whether a block runs
DotWriter.clustersDotWriter.edgeAttributesDotWriter.edgeLabelDotWriter.graphAttributeDotWriter.nodeAttributesDotWriter.nodeFilterDotWriter.nodeLabelDotWriter.ofDotWriter.undirectedDotWriter.writeDotWriter.writeToStringEdgeConsumerEdgeMapping.composeEdgeMapping.gather<A>(values: A)EdgeMapping.gather<T>(values: ArrayLike<T>, newValues: T[])EdgeMapping.invertedEdgePartition.edgeCountEdgePartition.edgesOfEdgeTypes.ofEdgeTypes.typeOfEdges.countEdges.edgeIndicesEdges.isEmptyEdges.ofEdges.sourceNodesEdges.targetNodesFrontierTraverser.currentLevelFrontierTraverser.enqueueFrontierTraverser.enqueueChildrenFrontierTraverser.isVisitedFrontierTraverser.leaveLevelFrontierTraverser.run()FrontierTraverser.run(startNode: number)FrontierTraverser.run(startNodes: IntList)FrontierTraverser.stopFrontierTraverser.visitNodeGraph.containsSelfLoopGraph.edgeCountGraph.edgeIndexOfGraph.edgeSourceGraph.edgeTargetGraph.equalsGraph.forEachEdgeGraph.hasOutNodeGraph.hashCodeGraph.isEmptyGraph.nodeCountGraph.nodesGraph.ofGraph.outDegreeGraph.outEdgeEndGraph.outEdgeStartGraph.outNodes- 1.2 Build a graph from objects of your own
- 1.6 Find the out-nodes and in-nodes of a node
- 1.7 Work with the lists Graphity returns
- 3.2 Condense each group into one node to get a DAG
- 4.5 Answer many reachability questions at once
- 9.3 Carry node data over to a transformed graph
- 12.1 Write a depth-first search without recursion
Graph.readFromGraph.toStringGraph.uniAdjacentGraphGraph.writeToGraphBuilder.addChildGraphBuilder.addChildrenGraphBuilder.addEdge- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder.addEdgeAndNodesGraphBuilder.addEdgePairsGraphBuilder.addEdgePairsAndNodesGraphBuilder.addEdgesGraphBuilder.addEdgesAndNodesGraphBuilder.addGraphGraphBuilder.addInEdges(target: number, ...sources: number[])GraphBuilder.addInEdges(target: number, sources: IntList)GraphBuilder.addInEdgesAndNodes(target: number, ...sources: number[])GraphBuilder.addNodeGraphBuilder.addNodes- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder.addOutEdges(source: number, ...targets: number[])GraphBuilder.addOutEdges(source: number, targets: IntList)GraphBuilder.addOutEdgesAndNodes(source: number, ...targets: number[])GraphBuilder.addParentGraphBuilder.addParentsGraphBuilder.addPath(...nodes: number[])GraphBuilder.addPath(nodes: IntList)GraphBuilder.addPathAndNodes(...nodes: number[])GraphBuilder.build- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder.ensureEdgeCapacityGraphDiff.addedEdgesGraphDiff.isEmptyGraphDiff.removedEdgesGraphs.adjacencyListOfGraphs.diffGraphs.dominatorTreeGraphs.edgeMappingGraphs.edgePartitionGraphs.findCycleGraphs.isBipartiteGraphs.isDagGraphs.isForestGraphs.isPathGraphs.isStronglyConnectedGraphs.isTreeGraphs.isUndirectedForestGraphs.isUndirectedTreeGraphs.isWeaklyConnectedGraphs.reachableFromGraphs.remappedGraphs.rootNodesGraphs.topologyHashGraphs.transitiveClosureGraphs.transitiveReductionGraphs.transposedEdgeMappingIndexMapping.getIndexMapping.indexCountIndexMapping.isMappedIndexMapping.isPartialIndexMapping.mappedCountIndexPartition.groupCountIndexPartition.indicesOfIndexPartition.reduce(values: BigInt64Array, identity: bigint, combine: (accumulated: bigint, value: bigint) => bigint)IndexPartition.reduce<A>(values: A, identity: number, combine: (accumulated: number, value: number) => number)IndexPartition.reduce<T>(values: ArrayLike<T>, groupValues: T[], combine: (accumulated: T, value: T) => T)IndexPartition.sizeOfIteratedDominanceFrontier.frontierOfIteratedDominanceFrontier.ofLoops.bodyOfLoops.entriesOfLoops.headerOfLoops.innermostLoopOfLoops.isInLoopLoops.isReducibleLoops.loopCountLoops.loopDepthOfLoops.of(graph: BiAdjacentGraph, entries: IntList)Loops.of(graph: BiAdjacentGraph, entry: number)Loops.parentOfMermaidWriter.classDefMermaidWriter.clustersMermaidWriter.directionMermaidWriter.edgeLabelMermaidWriter.edgeStyleMermaidWriter.nodeClassMermaidWriter.nodeFilterMermaidWriter.nodeLabelMermaidWriter.nodeShapeMermaidWriter.ofMermaidWriter.undirectedMermaidWriter.writeMermaidWriter.writeToStringNodeMapping.composeNodeMapping.forPermutationNodeMapping.forSubgraph(...selected: number[])NodeMapping.forSubgraph(selected: BitSet)NodeMapping.forSubgraph(selected: IntList)NodeMapping.gather<A>(values: A)NodeMapping.gather<T>(values: ArrayLike<T>, newValues: T[])NodeMapping.invertedNodeMapping.ofNodeMapping.reindexNodePartition.condenseNodePartition.nodeCountNodePartition.nodesOfNodePartition.ofPreorderAncestry.isAncestorOfPreorderAncestry.ofPreorderAncestry.preorderPreorderAncestry.preorderIndexOfPreorderAncestry.subtreeOfPreorderAncestry.subtreeSizeOfSccs.containsCycleSccs.isStronglyConnectedSccs.sccCountSccs.sccOfSortedIntView.firstSortedIntView.getSortedIntView.indexOfSortedIntView.lastSortedIntView.lastIndexOfSortedIntView.sizeSortedIntView.toInt32ArraySortedIntView.unionSortedIntView.viewOfStrongConnectivity.strongArticulationPointsStrongConnectivity.strongBridgesTopOrder.ofTopOrderAndLevels.levelCountTopOrderAndLevels.levelOfTopOrderAndLevels.levelsTopOrderAndLevels.ofTopOrderAndLevels.ordernew GraphBuilder- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
Ancestry.DepthOfAncestry.IsAncestorOfAncestry.LowestCommonAncestorOfAncestry.Of(Dominators)Ancestry.Of(Graph)Ancestry.ParentOfAttributeHookBackEdges.OfBfsDistances.DistanceOfBfsDistances.IsReachableBfsDistances.MaxDistanceBfsDistances.Of(Graph, ReadOnlySpan<int>)BfsDistances.Of(Graph, int)BfsDistances.PathToBiAdjacentGraph.DegreeBiAdjacentGraph.HasInNodeBiAdjacentGraph.HasNeighborBiAdjacentGraph.InDegreeBiAdjacentGraph.InNodesBiAdjacentGraph.IsRootNodeBiAdjacentGraph.NeighborsBiAdjacentGraph.Of- 1.6 Find the out-nodes and in-nodes of a node
- 2.4 Find the starting points of a graph
- 3.5 Find the edges and nodes whose removal splits a strongly connected component
- 4.2 Find everything that reaches a node
- 4.5 Answer many reachability questions at once
- 5.2 Find the edges and nodes whose removal splits a graph
- 5.3 Divide the edges of a graph into biconnected components
- 6.1 Find out whether a graph is a tree, a forest or a path
- 6.2 Find the parent and the depth of each node
- 7.1 Find the nodes that every path from the entry passes through
- 7.2 Build the dominator tree and ask it questions
- 7.3 Find the nodes that every path to the exit passes through
- 7.4 Find dominators from several entries
- 8.1 Find the loops of a function and how they nest
- 8.2 Find loops that can be entered in more than one place
- 8.3 Find the blocks where the dominance of a block ends
- 8.4 Find the blocks that need a phi-node for a variable
- 8.5 Find which conditions decide whether a block runs
- 9.5 Turn every edge around
- 10.1 Save a graph to a file and load it again
- 12.4 Loop over the arrays of a graph directly
BiAdjacentGraph.TransposedBiAdjacentGraph.TransposedEdgeIndexBiAdjacentGraph.UniAdjacentGraphBiconnectivity.ArticulationPointsBiconnectivity.BlocksBiconnectivity.BridgesComponents.BiconnectivityOfComponents.CcsOfComponents.SccsOf- 2.1 Find out whether a graph has a cycle, and show one
- 3.1 Find the groups of nodes that reach each other
- 3.2 Condense each group into one node to get a DAG
- 3.3 Put the nodes in dependency order although the graph has cycles
- 11.3 Highlight nodes, edges and groups in Graphviz
- 11.5 Highlight nodes, edges and groups in Mermaid
Components.StrongConnectivityOfComponents.WccsOfControlFlow.DominanceFrontiersCsr.InAdjacencyCsr.InAdjacencyStartCsr.OutAdjacencyCsr.OutAdjacencyStartDfsEdgeTraverser.EnterNodeDfsEdgeTraverser.IsOnStackDfsEdgeTraverser.IsVisitedDfsEdgeTraverser.LeaveNodeDfsEdgeTraverser.Run()DfsEdgeTraverser.Run(ReadOnlySpan<int>)DfsEdgeTraverser.Run(int)DfsEdgeTraverser.StopDfsEdgeTraverser.VisitEdgeDfsTraverser.EnterNodeDfsTraverser.IsOnStackDfsTraverser.IsVisitedDfsTraverser.LeaveNodeDfsTraverser.Run()DfsTraverser.Run(ReadOnlySpan<int>)DfsTraverser.Run(int)DfsTraverser.StopDominators.GraphDominators.ImmediateDominatorOfDominators.IsReachableDominators.Of(BiAdjacentGraph, ReadOnlySpan<int>)Dominators.Of(BiAdjacentGraph, int)- 7.1 Find the nodes that every path from the entry passes through
- 7.2 Build the dominator tree and ask it questions
- 7.3 Find the nodes that every path to the exit passes through
- 8.3 Find the blocks where the dominance of a block ends
- 8.4 Find the blocks that need a phi-node for a variable
- 8.5 Find which conditions decide whether a block runs
DotWriter.ClustersDotWriter.EdgeAttributesDotWriter.EdgeLabelDotWriter.GraphAttributeDotWriter.NodeAttributesDotWriter.NodeFilterDotWriter.NodeLabelDotWriter.OfDotWriter.UndirectedDotWriter.WriteDotWriter.WriteToStringEdgeConsumerEdgeMapping.ComposeEdgeMapping.Gather<T>(ReadOnlySpan<T>)EdgeMapping.Gather<T>(ReadOnlySpan<T>, Span<T>)EdgeMapping.InvertedEdgePartition.EdgeCountEdgePartition.EdgesOfEdgeTypes.OfEdgeTypes.TypeOfEdges.CountEdges.EdgeIndicesEdges.IsEmptyEdges.OfEdges.SourceNodesEdges.TargetNodesFrontierTraverser.CurrentLevelFrontierTraverser.EnqueueFrontierTraverser.EnqueueChildrenFrontierTraverser.IsVisitedFrontierTraverser.LeaveLevelFrontierTraverser.Run()FrontierTraverser.Run(ReadOnlySpan<int>)FrontierTraverser.Run(int)FrontierTraverser.StopFrontierTraverser.VisitNodeGraph.ContainsSelfLoopGraph.EdgeCountGraph.EdgeIndexOfGraph.EdgeSourceGraph.EdgeTargetGraph.EqualsGraph.ForEachEdgeGraph.GetHashCodeGraph.HasOutNodeGraph.IsEmptyGraph.NodeCountGraph.NodesGraph.OfGraph.OutDegreeGraph.OutEdgeEndGraph.OutEdgeStartGraph.OutNodes- 1.2 Build a graph from objects of your own
- 1.6 Find the out-nodes and in-nodes of a node
- 1.7 Work with the lists Graphity returns
- 3.2 Condense each group into one node to get a DAG
- 4.5 Answer many reachability questions at once
- 9.3 Carry node data over to a transformed graph
- 12.1 Write a depth-first search without recursion
Graph.ReadFromGraph.ToStringGraph.UniAdjacentGraphGraph.WriteToGraphBuilder.AddChildGraphBuilder.AddChildrenGraphBuilder.AddEdge- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder.AddEdgeAndNodesGraphBuilder.AddEdgePairsGraphBuilder.AddEdgePairsAndNodesGraphBuilder.AddEdgesGraphBuilder.AddEdgesAndNodesGraphBuilder.AddGraphGraphBuilder.AddInEdgesGraphBuilder.AddInEdgesAndNodesGraphBuilder.AddNodeGraphBuilder.AddNodes- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder.AddOutEdgesGraphBuilder.AddOutEdgesAndNodesGraphBuilder.AddParentGraphBuilder.AddParentsGraphBuilder.AddPathGraphBuilder.AddPathAndNodesGraphBuilder.Build- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed
GraphBuilder.EnsureEdgeCapacityGraphDiff.AddedEdgesGraphDiff.IsEmptyGraphDiff.RemovedEdgesGraphs.AdjacencyListOfGraphs.DiffGraphs.DominatorTreeGraphs.EdgeMappingGraphs.EdgePartitionGraphs.FindCycleGraphs.IsBipartiteGraphs.IsDagGraphs.IsForestGraphs.IsPathGraphs.IsStronglyConnectedGraphs.IsTreeGraphs.IsUndirectedForestGraphs.IsUndirectedTreeGraphs.IsWeaklyConnectedGraphs.ReachableFrom(Graph, ReadOnlySpan<int>)Graphs.ReachableFrom(Graph, int)Graphs.RemappedGraphs.RootNodesGraphs.TopologyHashGraphs.TransitiveClosureGraphs.TransitiveReductionGraphs.TransposedEdgeMappingIndexMapping.GetIndexMapping.IndexCountIndexMapping.IsMappedIndexMapping.IsPartialIndexMapping.MappedCountIndexPartition.GroupCountIndexPartition.IndicesOfIndexPartition.Reduce<T>(ReadOnlySpan<T>, Span<T>, Func<T, T, T>)IndexPartition.Reduce<T>(ReadOnlySpan<T>, T, Func<T, T, T>)IndexPartition.SizeOfIteratedDominanceFrontier.FrontierOfIteratedDominanceFrontier.OfLoops.BodyOfLoops.EntriesOfLoops.HeaderOfLoops.InnermostLoopOfLoops.IsInLoopLoops.IsReducibleLoops.LoopCountLoops.LoopDepthOfLoops.Of(BiAdjacentGraph, ReadOnlySpan<int>)Loops.Of(BiAdjacentGraph, int)Loops.ParentOfMermaidWriter.ClassDefMermaidWriter.ClustersMermaidWriter.DirectionMermaidWriter.EdgeLabelMermaidWriter.EdgeStyleMermaidWriter.NodeClassMermaidWriter.NodeFilterMermaidWriter.NodeLabelMermaidWriter.NodeShapeMermaidWriter.OfMermaidWriter.UndirectedMermaidWriter.WriteMermaidWriter.WriteToStringNodeMapping.ComposeNodeMapping.ForPermutationNodeMapping.ForSubgraph(BitArray)NodeMapping.ForSubgraph(SortedIntView)NodeMapping.ForSubgraph(params ReadOnlySpan<int>)NodeMapping.Gather<T>(ReadOnlySpan<T>)NodeMapping.Gather<T>(ReadOnlySpan<T>, Span<T>)NodeMapping.InvertedNodeMapping.OfNodeMapping.ReindexNodePartition.CondenseNodePartition.NodeCountNodePartition.NodesOfNodePartition.OfPreorderAncestry.IsAncestorOfPreorderAncestry.OfPreorderAncestry.PreorderPreorderAncestry.PreorderIndexOfPreorderAncestry.SubtreeOfPreorderAncestry.SubtreeSizeOfSccs.ContainsCycleSccs.IsStronglyConnectedSccs.SccCountSccs.SccOfSortedIntView.CountSortedIntView.FirstSortedIntView.IndexOfSortedIntView.LastSortedIntView.LastIndexOfSortedIntView.ToArraySortedIntView.UnionSortedIntView.ViewOfSortedIntView.this[int]StrongConnectivity.StrongArticulationPointsStrongConnectivity.StrongBridgesTopOrder.OfTopOrderAndLevels.LevelCountTopOrderAndLevels.LevelOfTopOrderAndLevels.LevelsTopOrderAndLevels.OfTopOrderAndLevels.Ordernew GraphBuilder- 1.1 Build a graph from a list of edges
- 1.2 Build a graph from objects of your own
- 1.3 Build trees and paths in a few calls
- 1.4 Combine several graphs into one
- 2.6 Remove edges to break every cycle
- 3.4 Check whether every node reaches every other
- 5.1 Find the components of a graph read as undirected
- 6.1 Find out whether a graph is a tree, a forest or a path
- 10.2 Find out cheaply whether a graph has changed