Fixed has_contiguous_segments implementation.
The previous implementation was failing when nodes were numbered in breadth-first order. Also gave a more descriptive name to the algorithm.
Please register or sign in to comment
The previous implementation was failing when nodes were numbered in breadth-first order. Also gave a more descriptive name to the algorithm.