1.1.1.2.1.1.1.4.7. PruneTreeOper¶
-
class
molpher.swig_wrappers.core.PruneTreeOper(*args)[source]¶ Bases:
molpher.swig_wrappers.core.TreeOperationThis tree operation prunes some unwanted molecules from the tree. Unwanted molecules are those that haven’t generated any morphs closer to the target in a given number of iterations (see
ExplorationData.non_producing_survive) or those that produced way too many morphs without any of them being closer to the target (seeExplorationData.max_morphs_total).-
__call__()[source]¶ Prune the attached
ExplorationTreeinstance according to the rules given inExplorationData.
-