Algorithm 69 - Two distances between hypergraphs - Karoński, Michał; Palka, Zbigniew J. (1977)