depth_first_search

Function depth_first_search 

Source
pub fn depth_first_search<T, S>(
    graph: &S,
    start: usize,
    directed: bool,
    return_predecessors: bool,
) -> SparseResult<(Vec<usize>, Option<Array1<isize>>)>
where T: Float + Debug + Copy + 'static, S: SparseArray<T>,
Expand description

Depth-first search traversal