var searchIndex = {}; searchIndex["daggy"] = {"doc":"","items":[[0,"algo","daggy::petgraph","Graph algorithms.",null,null],[5,"is_cyclic_undirected","daggy::petgraph::algo","Return `true` if the input graph contains a cycle.",null,{"inputs":[{"name":"graph"}],"output":{"name":"bool"}}],[5,"is_cyclic","","**Deprecated: Renamed to `is_cyclic_undirected`.**",null,{"inputs":[{"name":"graph"}],"output":{"name":"bool"}}],[5,"is_cyclic_directed","","Return `true` if the input directed graph contains a cycle.",null,{"inputs":[{"name":"graph"}],"output":{"name":"bool"}}],[5,"toposort","","Perform a topological sort of a directed graph.",null,{"inputs":[{"name":"graph"}],"output":{"name":"vec"}}],[5,"scc","","Compute the *strongly connected components* using Kosaraju's algorithm.",null,{"inputs":[{"name":"graph"}],"output":{"name":"vec"}}],[5,"connected_components","","Return the number of connected components of the graph.",null,{"inputs":[{"name":"graph"}],"output":{"name":"usize"}}],[5,"min_spanning_tree","","Compute a *minimum spanning tree* of a graph.",null,{"inputs":[{"name":"graph"}],"output":{"name":"graph"}}],[5,"is_isomorphic","","Return `true` if the graphs `g0` and `g1` are isomorphic.",null,{"inputs":[{"name":"graph"},{"name":"graph"}],"output":{"name":"bool"}}],[5,"dijkstra","","Dijkstra's shortest path algorithm.",null,null],[0,"graphmap","daggy::petgraph","`GraphMap<N, E>` is an undirected graph where node values are mapping keys.",null,null],[3,"GraphMap","daggy::petgraph::graphmap","`GraphMap<N, E>` is an undirected graph, with generic node values `N` and edge weights `E`.",null,null],[8,"NodeTrait","","A trait group for `GraphMap`'s node identifier.",null,null],[3,"Nodes","","",null,null],[3,"Neighbors","","",null,null],[3,"Edges","","",null,null],[12,"from","","**Deprecated: should be private**",0,null],[12,"edges","","**Deprecated: should be private**",0,null],[12,"iter","","**Deprecated: should be private**",0,null],[3,"AllEdges","","",null,null],[0,"graph","daggy::petgraph","`Graph<N, E, Ty, Ix>` is a graph datastructure using an adjacency list representation.",null,null],[6,"DefIndex","daggy::petgraph::graph","",null,null],[8,"IndexType","","Trait for the unsigned integer type used for node and edge indices.",null,null],[10,"new","","",1,{"inputs":[{"name":"usize"}],"output":{"name":"self"}}],[10,"index","","",1,null],[10,"max","","",1,{"inputs":[],"output":{"name":"self"}}],[11,"zero","","**Deprecated**",1,{"inputs":[],"output":{"name":"self"}}],[11,"one","","**Deprecated**",1,{"inputs":[],"output":{"name":"self"}}],[3,"NodeIndex","","Node identifier.",null,null],[5,"node_index","","Short version of `NodeIndex::new`",null,{"inputs":[{"name":"usize"}],"output":{"name":"nodeindex"}}],[5,"edge_index","","Short version of `EdgeIndex::new`",null,{"inputs":[{"name":"usize"}],"output":{"name":"edgeindex"}}],[3,"EdgeIndex","","Edge identifier.",null,null],[3,"Node","","The graph's node type.",null,null],[12,"weight","","Associated node data.",2,null],[3,"Edge","","The graph's edge type.",null,null],[12,"weight","","Associated edge data.",3,null],[3,"Graph","","`Graph<N, E, Ty, Ix>` is a graph datastructure using an adjacency list representation.",null,null],[3,"WithoutEdges","","An iterator over either the nodes without edges to them or from them.",null,null],[3,"Neighbors","","Iterator over the neighbors of a node.",null,null],[3,"Edges","","Iterator over the edges of a node.",null,null],[3,"NodeWeightsMut","","Iterator yielding mutable access to all node weights.",null,null],[3,"EdgeWeightsMut","","Iterator yielding mutable access to all edge weights.",null,null],[8,"GraphIndex","","A `GraphIndex` is a node or edge index.",null,null],[3,"WalkEdges","","A “walker” object that can be used to step through the edge list of a node.",null,null],[3,"NodeIndices","","Iterator over the node indices of a graph.",null,null],[3,"EdgeIndices","","Iterator over the edge indices of a graph.",null,null],[0,"dot","daggy::petgraph","Simple graphviz dot file format output.",null,null],[3,"Dot","daggy::petgraph::dot","`Dot` implements output to graphviz .dot format for a graph.",null,null],[4,"Config","","`Dot` configuration.",null,null],[13,"NodeIndexLabel","","Use indices for node labels.",4,null],[13,"EdgeIndexLabel","","Use indices for edge labels.",4,null],[13,"EdgeNoLabel","","Use no edge labels.",4,null],[0,"visit","daggy::petgraph","Graph visitor algorithms.",null,null],[8,"Graphlike","daggy::petgraph::visit","Base trait for graphs that defines the node identifier.",null,null],[16,"NodeId","","",5,null],[8,"NeighborIter","","A graph trait for accessing the neighbors iterator",null,null],[16,"Iter","","",6,null],[10,"neighbors","","Return an iterator that visits all neighbors of the node **n**.",6,null],[3,"AsUndirected","","Wrapper type for walking the graph as if it is undirected",null,null],[12,"0","","",7,null],[3,"Reversed","","Wrapper type for walking edges the other way",null,null],[12,"0","","",8,null],[8,"NeighborsDirected","","NeighborsDirected gives access to neighbors of both `Incoming` and `Outgoing`\nedges of a node.",null,null],[16,"NeighborsDirected","","",9,null],[10,"neighbors_directed","","Return an iterator that visits all neighbors of the node **n**.",9,null],[8,"Externals","","Externals returns an iterator of all nodes that either have either no\nincoming or no outgoing edges.",null,null],[16,"Externals","","",10,null],[10,"externals","","Return an iterator of all nodes with no edges in the given direction",10,null],[8,"VisitMap","","A mapping from node → is_visited.",null,null],[10,"visit","","Return **true** if the value is not already present.",11,null],[10,"is_visited","","",11,null],[8,"Visitable","","Trait for which datastructure to use for a graph’s visitor map",null,null],[16,"Map","","",12,null],[10,"visit_map","","",12,null],[8,"Revisitable","","Trait for graph that can reset & resize its visitor map",null,null],[10,"reset_map","","",13,null],[8,"GetAdjacencyMatrix","","Create or access the adjacency matrix of a graph",null,null],[16,"AdjMatrix","","",14,null],[10,"adjacency_matrix","","",14,null],[10,"is_adjacent","","",14,null],[3,"Dfs","","A depth first search (DFS) of a graph.",null,null],[12,"stack","","The stack of nodes to visit",15,null],[12,"discovered","","The map of discovered nodes",15,null],[3,"DfsIter","","An iterator for a depth first traversal of a graph.",null,null],[3,"Bfs","","A breadth first search (BFS) of a graph.",null,null],[12,"stack","","The queue of nodes to visit",16,null],[12,"discovered","","The map of discovered nodes",16,null],[3,"BfsIter","","An iterator for a breadth first traversal of a graph.",null,null],[3,"Topo","","A topological order traversal for a graph.",null,null],[0,"unionfind","daggy::petgraph","`UnionFind<K>` is a disjoint-set data structure.",null,null],[3,"UnionFind","daggy::petgraph::unionfind","`UnionFind<K>` is a disjoint-set data structure. It tracks set membership of *n* elements\nindexed from *0* to *n - 1*. The scalar type is `K` which must be an unsigned integer type.",null,null],[4,"EdgeDirection","daggy::petgraph","Edge direction",null,null],[13,"Outgoing","","An `Outgoing` edge is an outward edge *from* the current node.",17,null],[13,"Incoming","","An `Incoming` edge is an inbound edge *to* the current node.",17,null],[3,"Directed","","Marker type for a directed graph.",null,null],[3,"Undirected","","Marker type for an undirected graph.",null,null],[8,"EdgeType","","A graph's edge type determines whether is has directed edges or not.",null,null],[10,"is_directed","","",18,{"inputs":[],"output":{"name":"bool"}}],[3,"Ptr","","A reference that is hashed and compared by its pointer value.",null,null],[12,"0","","",19,null],[8,"IntoWeightedEdge","","Convert an element like `(i, j)` or `(i, j, w)` into\na triple of source, target, edge weight.",null,null],[10,"into_weighted_edge","","",20,null],[3,"Graph","","`Graph<N, E, Ty, Ix>` is a graph datastructure using an adjacency list representation.",null,null],[3,"GraphMap","","`GraphMap<N, E>` is an undirected graph, with generic node values `N` and edge weights `E`.",null,null],[3,"DfsIter","","An iterator for a depth first traversal of a graph.",null,null],[3,"Dfs","","A depth first search (DFS) of a graph.",null,null],[12,"stack","","The stack of nodes to visit",15,null],[12,"discovered","","The map of discovered nodes",15,null],[3,"BfsIter","","An iterator for a breadth first traversal of a graph.",null,null],[3,"MinScored","","`MinScored<K, T>` holds a score `K` and a scored object `T` in\na pair for use with a `BinaryHeap`.",null,null],[12,"0","","",21,null],[12,"1","","",21,null],[3,"Bfs","","A breadth first search (BFS) of a graph.",null,null],[12,"stack","","The queue of nodes to visit",16,null],[12,"discovered","","The map of discovered nodes",16,null],[3,"EdgeIndex","daggy","Edge identifier.",null,null],[3,"NodeIndex","","Node identifier.",null,null],[3,"Dag","","A Directed acyclic graph (DAG) data structure.",null,null],[3,"WalkChildren","","A "walker" object that can be used to step through the children of some parent node.",null,null],[3,"WalkParents","","A "walker" object that can be used to step through the children of some parent node.",null,null],[3,"WouldCycle","","An error returned by the `Dag::add_edge` method in the case that adding an edge would have\ncaused the graph to cycle.",null,null],[12,"0","","",22,null],[6,"PetGraph","","The Petgraph to be used internally within the Dag for storing/managing nodes and edges.",null,null],[6,"Children","","An iterator yielding indices to the children of some node.",null,null],[6,"Parents","","An iterator yielding indices to the parents of some node.",null,null],[11,"fmt","","",23,null],[11,"clone","","",23,null],[11,"fmt","","",22,null],[11,"clone","","",22,null],[11,"new","","Create a new, empty `Dag`.",23,{"inputs":[],"output":{"name":"self"}}],[11,"with_capacity","","Create a new `Dag` with estimated capacity for its node and edge Vecs.",23,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"self"}}],[11,"node_count","","The total number of nodes in the Dag.",23,null],[11,"edge_count","","The total number of edgees in the Dag.",23,null],[11,"graph","","Borrow the `Dag`'s underlying `PetGraph<N, Ix>`.\nAll existing indices may be used to index into this `PetGraph` the same way they may be\nused to index into the `Dag`.",23,null],[11,"into_graph","","Take ownership of the `Dag` and return the internal `PetGraph`.\nAll existing indices may be used to index into this `PetGraph` the same way they may be\nused to index into the `Dag`.",23,null],[11,"add_node","","Add a new node to the `Dag` with the given weight.",23,null],[11,"add_edge","","Add a new directed edge to the `Dag` with the given weight.",23,null],[11,"update_edge","","Update the edge from nodes `a` -> `b` with the given weight.",23,null],[11,"add_parent","","Add a new edge and parent node to the node at the given `NodeIndex`.\nReturns both the edge's `EdgeIndex` and the node's `NodeIndex`.",23,null],[11,"add_child","","Add a new edge and child node to the node at the given `NodeIndex`.\nReturns both the edge's `EdgeIndex` and the node's `NodeIndex`.",23,null],[11,"node_weight","","Borrow the weight from the node at the given index.",23,null],[11,"node_weight_mut","","Mutably borrow the weight from the node at the given index.",23,null],[11,"edge_weight","","Borrow the weight from the edge at the given index.",23,null],[11,"edge_weight_mut","","Mutably borrow the weight from the edge at the given index.",23,null],[11,"index_twice_mut","","Index the `Dag` by two indices.",23,null],[11,"remove_node","","Remove the node at the given index from the `Dag` and return it if it exists.",23,null],[11,"remove_edge","","Remove an edge and return its weight, or `None` if it didn't exist.",23,null],[11,"parents","","An iterator over all nodes that are parents to the node at the given index.",23,null],[11,"walk_parents","","A "walker" object that may be used to step through the parents of the given child node.",23,null],[11,"children","","An iterator over all nodes that are children to the node at the given index.",23,null],[11,"walk_children","","A "walker" object that may be used to step through the children of the given parent node.",23,null],[11,"index","","",23,null],[11,"index_mut","","",23,null],[11,"index","","",23,null],[11,"index_mut","","",23,null],[11,"next","","Fetch the next child edge index in the walk for the given `Dag`.",24,null],[11,"next_child","","Fetch the `EdgeIndex` and `NodeIndex` to the next child in the walk for the given `Dag`.",24,null],[11,"next","","Fetch the next parent edge index in the walk for the given `Dag`.",25,null],[11,"next_parent","","Fetch the `EdgeIndex` and `NodeIndex` to the next parent in the walk for the given `Dag`.",25,null],[11,"fmt","","",22,null],[11,"description","","",22,null],[11,"fmt","daggy::petgraph","",21,null],[11,"clone","","",21,null],[11,"eq","","",21,null],[11,"partial_cmp","","",21,null],[11,"cmp","","",21,null],[11,"clone","","",26,null],[11,"fmt","","",26,null],[11,"new","","Create a new `GraphMap`.",26,{"inputs":[],"output":{"name":"graphmap"}}],[11,"with_capacity","","Create a new `GraphMap` with estimated capacity.",26,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"graphmap"}}],[11,"capacity","","Return the current node and edge capacity of the graph.",26,null],[11,"from_edges","","Create a new `GraphMap` from an iterable of edges.",26,{"inputs":[{"name":"i"}],"output":{"name":"graphmap"}}],[11,"node_count","","Return the number of nodes in the graph.",26,null],[11,"edge_count","","Return the number of edges in the graph.",26,null],[11,"clear","","Remove all nodes and edges",26,null],[11,"add_node","","Add node `n` to the graph.",26,null],[11,"remove_node","","Return `true` if node `n` was removed.",26,null],[11,"contains_node","","Return `true` if the node is contained in the graph.",26,null],[11,"add_edge","","Add an edge connecting `a` and `b` to the graph.",26,null],[11,"remove_edge","","Remove edge from `a` to `b` from the graph and return the edge weight.",26,null],[11,"contains_edge","","Return `true` if the edge connecting `a` with `b` is contained in the graph.",26,null],[11,"nodes","","Return an iterator over the nodes of the graph.",26,null],[11,"neighbors","","Return an iterator over the nodes that are connected with `from` by edges.",26,null],[11,"edges","","Return an iterator over the nodes that are connected with `from` by edges,\npaired with the edge weight.",26,null],[11,"edge_weight","","Return a reference to the edge weight connecting `a` with `b`, or\n`None` if the edge does not exist in the graph.",26,null],[11,"edge_weight_mut","","Return a mutable reference to the edge weight connecting `a` with `b`, or\n`None` if the edge does not exist in the graph.",26,null],[11,"all_edges","","Return an iterator over all edges of the graph with their weight in arbitrary order.",26,null],[11,"from_iter","","",26,{"inputs":[{"name":"i"}],"output":{"name":"graphmap"}}],[11,"extend","","",26,null],[11,"next","daggy::petgraph::graphmap","",27,null],[11,"size_hint","","",27,null],[11,"next_back","","",27,null],[11,"next","","",28,null],[11,"size_hint","","",28,null],[11,"next_back","","",28,null],[11,"next","","",0,null],[11,"next","","",29,null],[11,"index","daggy::petgraph","",26,null],[11,"index_mut","","",26,null],[11,"hash","daggy","",30,null],[11,"cmp","","",30,null],[11,"partial_cmp","","",30,null],[11,"lt","","",30,null],[11,"le","","",30,null],[11,"gt","","",30,null],[11,"ge","","",30,null],[11,"eq","","",30,null],[11,"ne","","",30,null],[11,"fmt","","",30,null],[11,"clone","","",30,null],[11,"new","","",30,{"inputs":[{"name":"usize"}],"output":{"name":"nodeindex"}}],[11,"index","","",30,null],[11,"end","","",30,{"inputs":[],"output":{"name":"nodeindex"}}],[11,"from","","",30,{"inputs":[{"name":"ix"}],"output":{"name":"nodeindex"}}],[11,"hash","","",31,null],[11,"cmp","","",31,null],[11,"partial_cmp","","",31,null],[11,"lt","","",31,null],[11,"le","","",31,null],[11,"gt","","",31,null],[11,"ge","","",31,null],[11,"eq","","",31,null],[11,"ne","","",31,null],[11,"clone","","",31,null],[11,"new","","",31,{"inputs":[{"name":"usize"}],"output":{"name":"edgeindex"}}],[11,"index","","",31,null],[11,"end","","An invalid `EdgeIndex` used to denote absence of an edge, for example\nto end an adjacency list.",31,{"inputs":[],"output":{"name":"edgeindex"}}],[11,"fmt","","",31,null],[11,"clone","daggy::petgraph::graph","",2,null],[11,"fmt","","",2,null],[11,"next_edge","","Accessor for data structure internals: the first edge in the given direction.",2,null],[11,"clone","","",3,null],[11,"fmt","","",3,null],[11,"next_edge","","Accessor for data structure internals: the next edge for the given direction.",3,null],[11,"source","","Return the source node index.",3,null],[11,"target","","Return the target node index.",3,null],[11,"clone","daggy::petgraph","",32,null],[11,"fmt","","",32,null],[11,"new","","Create a new `Graph` with directed edges.",32,{"inputs":[],"output":{"name":"graph"}}],[11,"new_undirected","","Create a new `Graph` with undirected edges.",32,{"inputs":[],"output":{"name":"graph"}}],[11,"with_capacity","","Create a new `Graph` with estimated capacity.",32,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"graph"}}],[11,"capacity","","Return the current node and edge capacity of the graph.",32,null],[11,"node_count","","Return the number of nodes (vertices) in the graph.",32,null],[11,"edge_count","","Return the number of edges in the graph.",32,null],[11,"is_directed","","Whether the graph has directed edges or not.",32,null],[11,"add_node","","Add a node (also called vertex) with associated data `weight` to the graph.",32,null],[11,"node_weight","","Access node weight for node `a`.",32,null],[11,"node_weight_mut","","Access node weight for node `a`.",32,null],[11,"add_edge","","Add an edge from `a` to `b` to the graph, with its associated\ndata `weight`.",32,null],[11,"update_edge","","Add or update an edge from `a` to `b`.",32,null],[11,"edge_weight","","Access the edge weight for `e`.",32,null],[11,"edge_weight_mut","","Access the edge weight for `e` mutably.",32,null],[11,"edge_endpoints","","Access the source and target nodes for `e`.",32,null],[11,"remove_node","","Remove `a` from the graph if it exists, and return its weight.\nIf it doesn't exist in the graph, return `None`.",32,null],[11,"remove_edge","","Remove an edge and return its edge weight, or `None` if it didn't exist.",32,null],[11,"neighbors","","Return an iterator of all nodes with an edge starting from `a`.",32,null],[11,"neighbors_directed","","Return an iterator of all neighbors that have an edge between them and `a`,\nin the specified direction.\nIf the graph's edges are undirected, this is equivalent to *.neighbors(a)*.",32,null],[11,"neighbors_undirected","","Return an iterator of all neighbors that have an edge between them and `a`,\nin either direction.\nIf the graph's edges are undirected, this is equivalent to *.neighbors(a)*.",32,null],[11,"edges","","Return an iterator over the neighbors of node `a`, paired with their respective edge\nweights.",32,null],[11,"edges_directed","","Return an iterator of all neighbors that have an edge between them and `a`,\nin the specified direction, paired with the respective edge weights.",32,null],[11,"edges_both","","Return an iterator over the edgs from `a` to its neighbors, then *to* `a` from its\nneighbors.",32,null],[11,"find_edge","","Lookup an edge from `a` to `b`.",32,null],[11,"find_edge_undirected","","Lookup an edge between `a` and `b`, in either direction.",32,null],[11,"without_edges","","Return an iterator over either the nodes without edges to them or from them.",32,null],[11,"node_indices","","Return an iterator over the node indices of the graph",32,null],[11,"node_weights_mut","","Return an iterator yielding mutable access to all node weights.",32,null],[11,"edge_indices","","Return an iterator over the edge indices of the graph",32,null],[11,"edge_weights_mut","","Return an iterator yielding mutable access to all edge weights.",32,null],[11,"raw_nodes","","Access the internal node array.",32,null],[11,"raw_edges","","Access the internal edge array.",32,null],[11,"first_edge","","Accessor for data structure internals: the first edge in the given direction.",32,null],[11,"next_edge","","Accessor for data structure internals: the next edge for the given direction.",32,null],[11,"walk_edges_directed","","Return a “walker” object that can be used to step through the edges\nof the node `a` in direction `dir`.",32,null],[11,"index_twice_mut","","Index the `Graph` by two indices, any combination of\nnode or edge indices is fine.",32,null],[11,"reverse","","Reverse the direction of all edges",32,null],[11,"clear","","Remove all nodes and edges",32,null],[11,"clear_edges","","Remove all edges",32,null],[11,"retain_nodes","","Keep all nodes that return `true` from the `visit` closure,\nremove the others.",32,null],[11,"retain_edges","","Keep all edges that return `true` from the `visit` closure,\nremove the others.",32,null],[11,"from_edges","","Create a new `Graph` from an iterable of edges.",32,{"inputs":[{"name":"i"}],"output":{"name":"graph"}}],[11,"extend_with_edges","","Extend the graph from an iterable of edges.",32,null],[11,"map","","Create a new `Graph` by mapping node and edge weights.",32,null],[11,"filter_map","","Create a new `Graph` by mapping nodes and edges.\nA node or edge may be mapped to `None` to exclude it from\nthe resulting graph.",32,null],[11,"into_edge_type","","Convert the graph into either undirected or directed. No edge adjustments\nare done, so you may want to go over the result to remove or add edges.",32,null],[11,"next","daggy::petgraph::graph","",33,null],[11,"next","","",34,null],[11,"next","","",35,null],[11,"next","","",36,null],[11,"size_hint","","",36,null],[11,"next","","",37,null],[11,"size_hint","","",37,null],[11,"index","daggy::petgraph","",32,null],[11,"index_mut","","",32,null],[11,"index","","",32,null],[11,"index_mut","","",32,null],[11,"index","daggy","",30,null],[11,"is_node_index","","",30,{"inputs":[],"output":{"name":"bool"}}],[11,"index","","",31,null],[11,"is_node_index","","",31,{"inputs":[],"output":{"name":"bool"}}],[11,"fmt","daggy::petgraph::graph","",38,null],[11,"clone","","",38,null],[11,"next","","Fetch the next edge index in the walk for graph `g`.",38,null],[11,"next_neighbor","","Fetch the next edge index and the next node index in the walk for graph `g`.",38,null],[11,"next","","",39,null],[11,"size_hint","","",39,null],[11,"next_back","","",39,null],[11,"next","","",40,null],[11,"size_hint","","",40,null],[11,"next_back","","",40,null],[11,"new","daggy::petgraph::dot","Create a `Dot` formatting wrapper with default configuration.",41,{"inputs":[{"name":"g"}],"output":{"name":"dot"}}],[11,"with_config","","Create a `Dot` formatting wrapper with custom configuration.",41,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"fmt","","",4,null],[11,"fmt","","",41,null],[11,"fmt","","",41,null],[11,"fmt","","",41,null],[11,"fmt","","",41,null],[11,"neighbors","daggy::petgraph","",32,null],[11,"neighbors","","",26,null],[11,"neighbors","daggy::petgraph::visit","",7,null],[11,"neighbors","","",8,null],[11,"neighbors_directed","daggy::petgraph","",32,null],[11,"neighbors_directed","daggy::petgraph::visit","",8,null],[11,"externals","daggy::petgraph","",32,null],[11,"externals","daggy::petgraph::visit","",8,null],[11,"visit_map","daggy::petgraph","",32,null],[11,"reset_map","","",32,null],[11,"reset_map","daggy::petgraph::visit","",8,null],[11,"visit_map","daggy::petgraph","",26,null],[11,"reset_map","","",26,null],[11,"visit_map","daggy::petgraph::visit","",7,null],[11,"visit_map","","",8,null],[11,"adjacency_matrix","daggy::petgraph","",26,null],[11,"is_adjacent","","",26,null],[11,"fmt","","",15,null],[11,"clone","","",15,null],[11,"new","","Create a new **Dfs**, using the graph's visitor map, and put **start**\nin the stack of nodes to visit.",15,{"inputs":[{"name":"g"},{"name":"n"}],"output":{"name":"dfs"}}],[11,"empty","","Create a new **Dfs** using the graph's visitor map, and no stack.",15,{"inputs":[{"name":"g"}],"output":{"name":"dfs"}}],[11,"move_to","","Keep the discovered map, but clear the visit stack and restart\nthe dfs from a particular node.",15,null],[11,"next","","Return the next node in the dfs, or **None** if the traversal is done.",15,null],[11,"new","","",42,null],[11,"move_to","","Keep the discovered map, but clear the visit stack and restart\nthe DFS traversal from a particular node.",42,null],[11,"next","","",42,null],[11,"size_hint","","",42,null],[11,"clone","","",42,null],[11,"clone","","",16,null],[11,"new","","Create a new **Bfs**, using the graph's visitor map, and put **start**\nin the stack of nodes to visit.",16,{"inputs":[{"name":"g"},{"name":"n"}],"output":{"name":"bfs"}}],[11,"next","","Return the next node in the dfs, or **None** if the traversal is done.",16,null],[11,"new","","",43,null],[11,"next","","",43,null],[11,"size_hint","","",43,null],[11,"clone","","",43,null],[11,"clone","daggy::petgraph::visit","",44,null],[11,"new","","Create a new **Topo**, using the graph's visitor map, and put all\ninitial nodes in the to visit list.",44,{"inputs":[{"name":"g"}],"output":{"name":"topo"}}],[11,"reset","","Clear visited state, and put all initial nodes in the to visit list.",44,null],[11,"next","","Return the next node in the current topological order traversal, or\n`None` if the traversal is at end.",44,null],[11,"clone","daggy::petgraph::unionfind","",45,null],[11,"fmt","","",45,null],[11,"new","","Create a new `UnionFind` of `n` disjoint sets.",45,{"inputs":[{"name":"usize"}],"output":{"name":"unionfind"}}],[11,"find","","Return the representative for `x`.",45,null],[11,"find_mut","","Return the representative for `x`.",45,null],[11,"union","","Unify the two sets containing `x` and `y`.",45,null],[11,"into_labeling","","Return a vector mapping each element to its representative.",45,null],[11,"adjacency_matrix","daggy::petgraph","",32,null],[11,"is_adjacent","","",32,null],[11,"eq","","",17,null],[11,"fmt","","",17,null],[11,"clone","","",17,null],[11,"fmt","","",46,null],[11,"clone","","",46,null],[11,"fmt","","",47,null],[11,"clone","","",47,null],[11,"is_directed","","",46,{"inputs":[],"output":{"name":"bool"}}],[11,"is_directed","","",47,{"inputs":[],"output":{"name":"bool"}}],[11,"clone","","",19,null],[11,"eq","","Ptr compares by pointer equality, i.e if they point to the same value",19,null],[11,"partial_cmp","","",19,null],[11,"cmp","","Ptr is ordered by pointer value, i.e. an arbitrary but stable and total order.",19,null],[11,"deref","","",19,null],[11,"hash","","",19,null],[11,"fmt","","",19,null]],"paths":[[3,"Edges"],[8,"IndexType"],[3,"Node"],[3,"Edge"],[4,"Config"],[8,"Graphlike"],[8,"NeighborIter"],[3,"AsUndirected"],[3,"Reversed"],[8,"NeighborsDirected"],[8,"Externals"],[8,"VisitMap"],[8,"Visitable"],[8,"Revisitable"],[8,"GetAdjacencyMatrix"],[3,"Dfs"],[3,"Bfs"],[4,"EdgeDirection"],[8,"EdgeType"],[3,"Ptr"],[8,"IntoWeightedEdge"],[3,"MinScored"],[3,"WouldCycle"],[3,"Dag"],[3,"WalkChildren"],[3,"WalkParents"],[3,"GraphMap"],[3,"Nodes"],[3,"Neighbors"],[3,"AllEdges"],[3,"NodeIndex"],[3,"EdgeIndex"],[3,"Graph"],[3,"WithoutEdges"],[3,"Neighbors"],[3,"Edges"],[3,"NodeWeightsMut"],[3,"EdgeWeightsMut"],[3,"WalkEdges"],[3,"NodeIndices"],[3,"EdgeIndices"],[3,"Dot"],[3,"DfsIter"],[3,"BfsIter"],[3,"Topo"],[3,"UnionFind"],[3,"Directed"],[3,"Undirected"]]}; initSearch(searchIndex);