![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Calculation of the aqueous solubility ( \( \log S \)) of molecular graphs using the atom-contribution method of Hou, Xia, Zhang and Xu [LOGS]. More...
#include <LogSCalculator.hpp>
Public Member Functions | |
| LogSCalculator () | |
Constructs the LogSCalculator instance. More... | |
| LogSCalculator (const Chem::MolecularGraph &molgraph) | |
Constructs the LogSCalculator instance and calculates the \( \log S \) of the molecular graph molgraph. More... | |
| double | calculate (const Chem::MolecularGraph &molgraph) |
| Calculates the \( \log S \) of the molecular graph molgraph. More... | |
| double | getResult () const |
| Returns the result of the last \( \log S \) calculation. More... | |
| const Math::DVector & | getFeatureVector () const |
| Returns the feature count vector of the last \( \log S \) calculation. More... | |
Static Public Attributes | |
| static constexpr std::size_t | FEATURE_VECTOR_SIZE = 79 |
| Specifies the number of different features used by the \( \log S \) model. More... | |
Calculation of the aqueous solubility ( \( \log S \)) of molecular graphs using the atom-contribution method of Hou, Xia, Zhang and Xu [LOGS].
\( \log S \) denotes the decadic logarithm of the molar aqueous solubility of a compound. The model sums the contributions of 79 structural atom feature types into a single \( \log S \) value.
| CDPL::MolProp::LogSCalculator::LogSCalculator | ( | ) |
Constructs the LogSCalculator instance.
| CDPL::MolProp::LogSCalculator::LogSCalculator | ( | const Chem::MolecularGraph & | molgraph | ) |
Constructs the LogSCalculator instance and calculates the \( \log S \) of the molecular graph molgraph.
The calculated \( \log S \) can be retrieved by a call to getResult().
| molgraph | The molecular graph for which to calculate the \( \log S \). |
| double CDPL::MolProp::LogSCalculator::calculate | ( | const Chem::MolecularGraph & | molgraph | ) |
Calculates the \( \log S \) of the molecular graph molgraph.
| molgraph | The molecular graph for which to calculate the \( \log S \). |
| double CDPL::MolProp::LogSCalculator::getResult | ( | ) | const |
Returns the result of the last \( \log S \) calculation.
| const Math::DVector& CDPL::MolProp::LogSCalculator::getFeatureVector | ( | ) | const |
Returns the feature count vector of the last \( \log S \) calculation.
The occurrence count of a particular structural feature can be retrieved from the returned vector via its feature index. The feature index correspond to the numerical identifier of the feature's definition in the original publication [LOGS].
|
staticconstexpr |
Specifies the number of different features used by the \( \log S \) model.