![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Calculation of the topological polar surface area (TPSA) of molecular graphs based on fragment contributions. More...
#include <TPSACalculator.hpp>
Public Member Functions | |
| TPSACalculator () | |
Constructs the TPSACalculator instance. More... | |
| TPSACalculator (const Chem::MolecularGraph &molgraph) | |
Constructs the TPSACalculator instance and calculates the TPSA of the molecular graph molgraph. More... | |
| double | calculate (const Chem::MolecularGraph &molgraph) |
| Calculates the TPSA of the molecular graph molgraph. More... | |
| double | getResult () const |
| Returns the result of the last TPSA calculation. More... | |
Calculation of the topological polar surface area (TPSA) of molecular graphs based on fragment contributions.
The TPSA is computed from precomputed contributions of polar fragments matched against the molecular graph as described by Ertl, Rohde and Selzer.
| CDPL::MolProp::TPSACalculator::TPSACalculator | ( | ) |
Constructs the TPSACalculator instance.
| CDPL::MolProp::TPSACalculator::TPSACalculator | ( | const Chem::MolecularGraph & | molgraph | ) |
Constructs the TPSACalculator instance and calculates the TPSA of the molecular graph molgraph.
The calculated TPSA can be retrieved by a call to getResult().
| molgraph | The molecular graph for which to calculate the TPSA. |
| double CDPL::MolProp::TPSACalculator::calculate | ( | const Chem::MolecularGraph & | molgraph | ) |
Calculates the TPSA of the molecular graph molgraph.
| molgraph | The molecular graph for which to calculate the TPSA. |
| double CDPL::MolProp::TPSACalculator::getResult | ( | ) | const |
Returns the result of the last TPSA calculation.