Return a breadth-first ordering starting with specified node.
Note that a breadth-first order is not unique, but the tree which it generates is unique.
Parameters : | csgraph: array_like or sparse matrix :
i_start: int :
directed: bool, optional :
return_predecessors: bool, optional :
|
---|---|
Returns : | node_array: ndarray, one dimension :
predecessors: ndarray, one dimension :
|