pub fn bfs_parallel_with_config( adj: &CsrMatrix, sources: &[NodeId], config: &BfsConfig, ) -> Result<Vec<Distance>>
Parallel BFS with configuration.