chickadee » graph-bfs » graph-bfs-dist

graph-bfs-dist:procedure

Breadth-first search distance; this procedure computes BFS maximum distance from a root node for all successors of the given initial nodes, and the maximum distance from root across all nodes traversed. The node distances are returned in an SRFI-4 vector of type S32VECTOR and MAX-DIST is the maximum distance computed.