LogSCalculator .
More...
#include <LogSCalculator.hpp >
◆ LogSCalculator() [1/2]
CDPL::MolProp::LogSCalculator::LogSCalculator
(
)
Constructs the LogSCalculator
instance.
◆ LogSCalculator() [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::LogSCalculator::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::LogSCalculator::getFeatureVector
(
)
const
Returns the feature count vector of the last 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 ].
Returns The feature count vector of the last calculation.
Note The returned feature vector is of size LogSCalculator::FEATURE_VECTOR_SIZE .
◆ FEATURE_VECTOR_SIZE
constexpr std::size_t CDPL::MolProp::LogSCalculator::FEATURE_VECTOR_SIZE = 79
static constexpr
Specifies the number of different features used by the model.
The documentation for this class was generated from the following file: