1.1.1.3.1.1.1.4.4. SortMorphsOper¶
-
class
molpher.swig_wrappers.core.SortMorphsOper(*args)[source]¶ Bases:
molpher.swig_wrappers.core.TreeOperationParameters: - tree (
ExplorationTreeinstance) – a tree to run this operation on (optional) - callback (instance of
SortMorphsCallback) – callable to call every time two molecules need to be compared
A tree operation used to sort the candidate morphs in an exploration tree using the specified
SortMorphsCallback.Candidate morphs are sorted in order of their increasing distance from the target.
-
__call__()[source]¶ Sort the candidate morphs.
- tree (