Chemical Data Processing Library Python API - Version 1.2.0
Public Member Functions | List of all members
CDPL.ForceField.TopologicalAtomDistanceFunction Class Reference

A 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__ ()
 Initializes the TopologicalAtomDistanceFunction instance.
 
None __init__ (TopologicalAtomDistanceFunction func)
 Initializes a copy of the TopologicalAtomDistanceFunction instance func. More...
 
None __init__ (object callable)
 Initializes the TopologicalAtomDistanceFunction instance. More...
 
int __call__ (Chem.Atom arg1, Chem.Atom arg2, Chem.MolecularGraph arg3)
 
bool __bool__ ()
 
bool __nonzero__ ()
 

Detailed Description

A generic wrapper class used to store a user-defined topological atom-pair distance function.

Constructor & Destructor Documentation

◆ __init__() [1/2]

None CDPL.ForceField.TopologicalAtomDistanceFunction.__init__ ( TopologicalAtomDistanceFunction  func)

Initializes a copy of the TopologicalAtomDistanceFunction instance func.

Parameters
funcThe TopologicalAtomDistanceFunction instance to copy.

◆ __init__() [2/2]

None CDPL.ForceField.TopologicalAtomDistanceFunction.__init__ ( object  callable)

Initializes the TopologicalAtomDistanceFunction instance.

Parameters
callable

Member Function Documentation

◆ __call__()

int CDPL.ForceField.TopologicalAtomDistanceFunction.__call__ ( Chem.Atom  arg1,
Chem.Atom  arg2,
Chem.MolecularGraph  arg3 
)
Parameters
arg1
arg2
arg3
Returns

◆ __bool__()

bool CDPL.ForceField.TopologicalAtomDistanceFunction.__bool__ ( )
Returns

◆ __nonzero__()

bool CDPL.ForceField.TopologicalAtomDistanceFunction.__nonzero__ ( )
Returns