cumulative_offspring_to_ancestors_permute

function cumulative_offspring_to_ancestors_permute(O:Integer[_]) -> Integer[_]

Convert a cumulative offspring vector into an ancestry vector, with permutation.