Algorithm 1.
McAN
Input: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Output: |
![]() |
Step 1 (sort all haplotypes by generating a permutation ![]() ![]() |
Step 2 (find minimum-cost arborescence ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
break, |
end if, end if, end for, end for, return ![]() |
McAN
Input: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Output: |
![]() |
Step 1 (sort all haplotypes by generating a permutation ![]() ![]() |
Step 2 (find minimum-cost arborescence ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
break, |
end if, end if, end for, end for, return ![]() |