by Zondartul · 2y ago · 0 comments
As a result, the group that published the earlier work developed a new compact representation known as SELFIES (https://github.com/aspuru-guzik-group/selfies) where it's effectively impossible to generate invalid decodings of strings (every SELFIE string decodes to a valid molecule).
I'm not sure what the terminology for these sorts of features of encodings.
This could be similar to mutations allow one to explore a wider range of options, although sometimes it can go too far and get a non-functional individual.
[1] https://doi.org/10.5281/zenodo.8321735 [2] https://doi.org/10.5281/zenodo.10680855
I almost can't believe this is my first time encountering StupidStackLanguage.
Depending how to handle "<", and ">" you can have out of bounds errors. And "+" and "-" can lead to overflow/underflow. Unless you wrap or saturate values.
Some programs can also lead to infinite loops.
So there are "invalid" programs for these purposes. What I do is to mark the program as invalid when these problems are present. For infinite loop detection, I give the program a limited amount of iterations and if it doesn't finish when the max limit is reached the program is marked as invalid.