Package rdkit :: Package Chem :: Module Recap :: Class RecapHierarchyNode

[hide private]
[frames] | no frames]

# Class RecapHierarchyNode

source code

    object --+
             |
            RecapHierarchyNode

    This class is used to hold the Recap hiearchy

Instance Methods | [hide private]

__init__(self, mol) x.__init__(...) initializes x; see help(type(x)) for signature | source code

GetAllChildren(self) returns a dictionary, keyed by SMILES, of children | source code

GetLeaves(self) returns a dictionary, keyed by SMILES, of leaf (terminal) nodes | source code

getUltimateParents(self) returns all the nodes in the hierarchy tree that contain this... | source code

_gacRecurse(self, res, terminalOnly=False) | source code

__del__(self) | source code

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]

| mol = `None` hash(x)
| children = `None` hash(x)
| parents = `None` hash(x)
| smiles = `None` hash(x)

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, mol)
(Constructor)

source code

    x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
  (inherited documentation)

### getUltimateParents(self)

source code

    returns all the nodes in the hierarchy tree that contain this
    node as a child