Algorithms for computing the triplet and quartet distances for binary and general trees

Algorithms for computing the triplet and quartet distances for binary and general trees