MolecularComplexityCalculator.
More...
#include <MolecularComplexityCalculator.hpp>
◆ MolecularComplexityCalculator() [1/3]
CDPL::Descr::MolecularComplexityCalculator::MolecularComplexityCalculator |
( |
| ) |
|
|
inline |
Constructs the MolecularComplexityCalculator
instance.
◆ MolecularComplexityCalculator() [2/3]
CDPL::Descr::MolecularComplexityCalculator::MolecularComplexityCalculator |
( |
const Chem::MolecularGraph & |
molgraph | ) |
|
Constructs the MolecularComplexityCalculator
instance and calculates the complexity of the molecular graph molgraph.
The calculated complexity can be retrieved by a call to getResult().
- Parameters
-
molgraph | The molecular graph for which to calculate the complexity. |
◆ MolecularComplexityCalculator() [3/3]
◆ operator=()
◆ calculate()
double CDPL::Descr::MolecularComplexityCalculator::calculate |
( |
const Chem::MolecularGraph & |
molgraph | ) |
|
Calculates the complexity of the molecular graph molgraph.
- Parameters
-
molgraph | The molecular graph for which to calculate the complexity. |
- Returns
- The calculated complexity of the molecular graph molgraph.
◆ getResult()
double CDPL::Descr::MolecularComplexityCalculator::getResult |
( |
| ) |
const |
Returns the result of the last molecular graph complexity calculation.
- Returns
- The result of the last molecular graph complexity calculation, or zero if a calculation has not yet been performed.
The documentation for this class was generated from the following file: