Computes canonical atom numberings for molecular graphs using Morgan's algorithm.
More...
#include <MorganNumberingCalculator.hpp>
Computes canonical atom numberings for molecular graphs using Morgan's algorithm.
- See also
- [MOCAN]
◆ MorganNumberingCalculator() [1/3]
| CDPL::Chem::MorganNumberingCalculator::MorganNumberingCalculator |
( |
| ) |
|
Constructs the MorganNumberingCalculator instance.
◆ MorganNumberingCalculator() [2/3]
Constructs the MorganNumberingCalculator instance and performs a canonical numbering of the atoms in the molecular graph molgraph.
The generated atom labels are stored in the same order as the atoms appear in the atom list of the molecular graph so that the label of an atom is accessible via its index.
- Parameters
-
| molgraph | The molecular graph for which to perform the canonical numbering. |
| numbering | An array that contains the calculated canonical atom numbering. |
◆ MorganNumberingCalculator() [3/3]
◆ operator=()
◆ calculate()
Performs a canonical numbering of the atoms in the molecular graph molgraph.
The generated atom labels are stored in the same order as the atoms appear in the atom list of the molecular graph so that the label of an atom is accessible via its index.
- Parameters
-
| molgraph | The molecular graph for which to perform the canonical numbering. |
| numbering | An array that contains the calculated canonical atom labels. |
The documentation for this class was generated from the following file: