Available scoring functions in AiZynthFinder
masterAiZynthFinder can score reaction routes using MctsNode objects (during search) or ReactionTree objects (during post-processing).
Built-in Scorers:
When an aizynthfinder object is created, the following four scorers are loaded automatically:
- State score: A function of the number of precursors in stock and the length of the route. Note: This score guides the tree search during the update phase and is not configurable.
- Number of reactions: The number of steps in the route.
- Number of pre-cursors: The number of precursors in the route.
- Number of pre-cursors in stock: The number of precursors that are purchaseable.
Other available scorers include:
- Average template occurrence: The average occurrence of the templates used in the route.
- Sum of prices: The plain sum of the price of all precursors.
- Route cost score: The cost of synthesizing the route (based on Badowski et al. Chem Sci. 2019, 10, 4640).
In the Jupyter notebook GUI, you can choose to score routes with any of the loaded scorers.