1.1.1.2.1.1.1.4.8. TraverseOper¶
-
class
molpher.swig_wrappers.core.TraverseOper(*args)[source]¶ Bases:
molpher.swig_wrappers.core.TreeOperationParameters: *args ( ExplorationTree,TraverseCallbackandMolpherMol(optional)) – the exploration tree and the callback to call. Optionally we can specify a morph which will define the root of the subtree to traverse. If no root is specified, then the source molecule is selected automatically.A tree operation that can register a
TraverseCallbackand call its__call__()method on every molecule it encounters in the given subtree (defined by its root).