pub fn collect_routed_nodes(selection: &Selection, slice: &Slice) -> Vec<usize>
Expand description
Simulates routing from the origin and returns the set of
destination nodes (as flat indices) selected by the
Selection
.
This function discards routing paths and retains only the final delivery targets. It is useful in tests to compare routing results against selection evaluation.