graph/multi_source_bfs_utils library
Multi-source breadth-first search on unweighted graphs (roadmap #535).
Seeds the BFS frontier with several start nodes at once so every node learns its hop distance to the NEAREST seed in a single linear-time sweep, which is far cheaper than running a separate BFS per source and taking the minimum.