pub type Tree<C, const N: usize> = (Vec<usize>, [C; N]);
A spanning tree as its edge indices (ascending) and its cost.