Function advent_of_code_2021::day_19::largest_distance[−][src]

fn largest_distance(scanner_positions: &HashSet<(isize, isize, isize)>) -> usize
Expand description

Take the set of scanner offsets returned by merge_all, explode into all combinations of pairs with Itertools::tuple_combinations, map those to the manhattan distance, and take the maximum.