Skip to main content
. Author manuscript; available in PMC: 2022 Feb 21.
Published in final edited form as: ACM CHIL 2021 (2021). 2021 Apr;2021:146–153. doi: 10.1145/3450439.3451879

Algorithm 1.

Modified Beam Search

1: Input: Candidate molecules: C1,C2,,Cb,
    Corresponding beam scores: s1,s2,,sb
    Input molecule: X
    Desired property vector: pY
2: for i = 1 to b do
3: p^iPropNet(Ci)
4: pd|pYp^i|
5: spnreduce_mean(1pd)
6: ssnSimNet(X,Ci)
7: sisi+(spn+ssn)
8: end for
9: best_index ← arg maxsi
10: Output: Cbest_index