The algorithm employs a set of filters, represented by the Filters function, to ensure the drug-likeness of the enumerated compounds. These drug-likeness filters consist of the Inpharmatica filter, PAINS 51 filter, Lipinski's Rule of Five, 52 and Veber's Rule. The Inpharmatica and PAINS filters were applied using rd_filters. Morgan fingerprints (radius = 2, nBits = 1024) were used to calculate the Tanimoto similarity between compounds in the MaximumTanimotoSimilarity function.