![]() |
Chemical Data Processing Library Python API - Version 1.4.0
|
Generic wrapper class used to store a user-defined topological atom pair distance function. More...
Inheritance diagram for CDPL.ForceField.TopologicalAtomDistanceFunction:Public Member Functions | |
| None | __init__ () |
Contructs the TopologicalAtomDistanceFunction instance. | |
| None | __init__ (TopologicalAtomDistanceFunction func) |
Contructs a copy of the TopologicalAtomDistanceFunction instance func. More... | |
| None | __init__ (object callable) |
Contructs the TopologicalAtomDistanceFunction instance for the specified callable object. More... | |
| int | __call__ (Chem.Atom arg1, Chem.Atom arg2, Chem.MolecularGraph arg3) |
| Invokes the wrapped callable object with the given arguments. More... | |
| bool | __bool__ () |
| Tells whether the instance holds a callable object. More... | |
| bool | __nonzero__ () |
| Tells whether the instance holds a callable object. More... | |
Generic wrapper class used to store a user-defined topological atom pair distance function.
| None CDPL.ForceField.TopologicalAtomDistanceFunction.__init__ | ( | TopologicalAtomDistanceFunction | func | ) |
Contructs a copy of the TopologicalAtomDistanceFunction instance func.
| func | The TopologicalAtomDistanceFunction instance to copy. |
| None CDPL.ForceField.TopologicalAtomDistanceFunction.__init__ | ( | object | callable | ) |
Contructs the TopologicalAtomDistanceFunction instance for the specified callable object.
| callable | The callable object to wrap. |
| int CDPL.ForceField.TopologicalAtomDistanceFunction.__call__ | ( | Chem.Atom | arg1, |
| Chem.Atom | arg2, | ||
| Chem.MolecularGraph | arg3 | ||
| ) |
Invokes the wrapped callable object with the given arguments.
| arg1 | The first argument to forward. |
| arg2 | The second argument to forward. |
| arg3 | The third argument to forward. |
| bool CDPL.ForceField.TopologicalAtomDistanceFunction.__bool__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise. | bool CDPL.ForceField.TopologicalAtomDistanceFunction.__nonzero__ | ( | ) |
Tells whether the instance holds a callable object.
True if the instance holds a callable object, and False otherwise.