XLogPCalculator .
More...
#include <XLogPCalculator.hpp >
static constexpr std::size_t FEATURE_VECTOR_SIZE = 101
Specifies the number of different structural features used by the model. More...
◆ XLogPCalculator() [1/2]
CDPL::MolProp::XLogPCalculator::XLogPCalculator
(
)
Constructs the XLogPCalculator
instance.
◆ XLogPCalculator() [2/2]
Constructs the LogSCalculator
instance and calculates the of the molecular graph molgraph .
The calculated can be retrieved by a call to getResult() .
Parameters
molgraph The molecular graph for which to calculate the .
◆ calculate()
Calculates the of the molecular graph molgraph .
Parameters
molgraph The molecular graph for which to calculate the .
Returns The calculated of the molecular graph molgraph .
◆ getResult()
double CDPL::MolProp::XLogPCalculator::getResult
(
)
const
Returns the result of the last calculation.
Returns The result of the last calculation, or zero if a calculation has not yet been performed.
◆ getFeatureVector()
const Math::DVector & CDPL::MolProp::XLogPCalculator::getFeatureVector
(
)
const
Returns the feature count vector of the last calculation.
The occurrence count of a particular structural feature (atom type or correction factor feature) can be retrieved from the returned vector via its feature index. For atom type related features, the feature index correspond to the numerical identifier of the atom type in the original publication [XLOGP ] minus 1 . The feature indices of the various correction factors start at index 90 and are ordered according to their definition in the paper.
Returns The feature count vector of the last calculation.
Note The returned feature vector is of size XLogPCalculator::FEATURE_VECTOR_SIZE .
◆ getAtomContributions()
const Math::DVector & CDPL::MolProp::XLogPCalculator::getAtomContributions
(
)
const
Returns the contribution of each atom the total obtained by the last calculation.
Returns The contribution of each atom the total .
Note The sum of the atom contributions does not necessarily equal the calculated molecule and might be lower!
See also XLogPCalculator::calculate()
◆ FEATURE_VECTOR_SIZE
constexpr std::size_t CDPL::MolProp::XLogPCalculator::FEATURE_VECTOR_SIZE = 101
static constexpr
Specifies the number of different structural features used by the model.
The documentation for this class was generated from the following file: