1.1.1.2.1.1.1.4.4. SortMorphsOper

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

Bases: molpher.swig_wrappers.core.TreeOperation

A tree operation used to sort the candidate morphs in an exploration tree according to their distance to the target molecule at the moment of their creation.

Candidate morphs are sorted in order of their increasing distance from the target.

__call__()[source]

Sort the candidate morphs according to their distance (ascending order) to the target molecule at the moment of their creation.