1.1.1.3.1.1.1.5.2. FindLeavesOper

class molpher.swig_wrappers.core.FindLeavesOper(*args)[source]

Bases: molpher.swig_wrappers.core.TreeOperation

A tree operation used to access the leaves of an exploration tree.

__call__()[source]

Call self as a function.

Fetch the leaves from the attached tree.

fetchLeaves()[source]

Returns the leaves of the last tree on which __call__ method was applied.

Returns:the leaves of the attached tree
Return type:tuple of MolpherMol instances