SymmetryClassCalculator.
More...
#include <SymmetryClassCalculator.hpp>
|
static constexpr unsigned int | DEF_ATOM_PROPERTY_FLAGS |
| Specifies the default set of atomic properties considered in the perception of topological symmetry classes. More...
|
|
static constexpr unsigned int | DEF_BOND_PROPERTY_FLAGS |
| Specifies the default set of bond properties considered in the perception of topological symmetry classes. More...
|
|
◆ SymmetryClassCalculator() [1/3]
CDPL::Chem::SymmetryClassCalculator::SymmetryClassCalculator |
( |
| ) |
|
Constructs the SymmetryClassCalculator
instance.
◆ SymmetryClassCalculator() [2/3]
Constructs the SymmetryClassCalculator
instance and perceives the topological symmetry classes of the atoms in the molecular graph molgraph.
- Parameters
-
molgraph | The molecular graph for which to perceive the symmetry classes. |
class_ids | An array containing the perceived symmetry class IDs. The class IDs are stored in the same order as the atoms appear in the atom list of the molecular graph (i.e. the symmetry class of an atom is accessible via its index). |
◆ SymmetryClassCalculator() [3/3]
◆ operator=()
◆ setAtomPropertyFlags()
void CDPL::Chem::SymmetryClassCalculator::setAtomPropertyFlags |
( |
unsigned int |
flags | ) |
|
Allows to specify the set of atomic properties that has to be considered in the perception of topological symmetry classes.
The flags argument is an OR combination of the constants defined in namespace Chem::AtomPropertyFlag. Supported property flags are:
- Parameters
-
flags | The set of atomic properties to consider. |
- Note
- The default set of atomic properties is specified by SymmetryClassCalculator::DEF_ATOM_PROPERTY_FLAGS.
◆ getAtomPropertyFlags()
unsigned int CDPL::Chem::SymmetryClassCalculator::getAtomPropertyFlags |
( |
| ) |
const |
Returns the set of atomic properties that gets considered in the perception of topological symmetry classes.
- Returns
- The set of considered atomic properties.
- See also
- setAtomPropertyFlags()
◆ setBondPropertyFlags()
void CDPL::Chem::SymmetryClassCalculator::setBondPropertyFlags |
( |
unsigned int |
flags | ) |
|
Allows to specify the set of bond properties that has to be considered in the perception of topological symmetry classes.
The flags argument is an OR combination of the constants defined in namespace Chem::BondPropertyFlag. Supported property flags are:
- Parameters
-
flags | The set of bond properties to consider. |
- Note
- The default set of bond properties is specified by SymmetryClassCalculator::DEF_BOND_PROPERTY_FLAGS.
◆ getBondPropertyFlags()
unsigned int CDPL::Chem::SymmetryClassCalculator::getBondPropertyFlags |
( |
| ) |
const |
Returns the set of bond properties that gets considered in the perception of topological symmetry classes.
- Returns
- The set of considered bond properties.
- See also
- setBondPropertyFlags()
◆ includeImplicitHydrogens()
void CDPL::Chem::SymmetryClassCalculator::includeImplicitHydrogens |
( |
bool |
include | ) |
|
Allows to specify whether implicit hydrogen atoms shall be ignored or treated in the same way as explicit ones.
- Parameters
-
include | If true , implicit hydrogen atoms are treated as if they were explicit and are ignored otherwise. |
- Note
- By default, implicit hydrogen atoms are treated in the same way as explicit ones.
◆ implicitHydrogensIncluded()
bool CDPL::Chem::SymmetryClassCalculator::implicitHydrogensIncluded |
( |
| ) |
const |
Tells whether implicit hydrogen atoms are ignored or treated in the same way as explicit ones.
- Returns
true
if implicit hydrogen atoms are treated in the same way as explicit ones, and false
if they are ignored.
◆ calculate()
Perceives the topological symmetry classes of the atoms in the molecular graph molgraph.
- Parameters
-
molgraph | The molecular graph for which to perceive the symmetry classes. |
class_ids | An array containing the perceived symmetry class IDs. The class IDs are stored in the same order as the atoms appear in the atom list of the molecular graph (i.e. the symmetry class of an atom is accessible via its index). |
◆ DEF_ATOM_PROPERTY_FLAGS
constexpr unsigned int CDPL::Chem::SymmetryClassCalculator::DEF_ATOM_PROPERTY_FLAGS |
|
staticconstexpr |
Initial value:=
constexpr unsigned int FORMAL_CHARGE
Specifies the formal charge of an atom.
Definition: Chem/AtomPropertyFlag.hpp:73
constexpr unsigned int H_COUNT
Specifies the hydrogen count of an atom.
Definition: Chem/AtomPropertyFlag.hpp:78
constexpr unsigned int AROMATICITY
Specifies the membership of an atom in aromatic rings.
Definition: Chem/AtomPropertyFlag.hpp:93
constexpr unsigned int ISOTOPE
Specifies the isotopic mass of an atom.
Definition: Chem/AtomPropertyFlag.hpp:68
constexpr unsigned int TYPE
Specifies the generic type or element of an atom.
Definition: Chem/AtomPropertyFlag.hpp:63
Specifies the default set of atomic properties considered in the perception of topological symmetry classes.
◆ DEF_BOND_PROPERTY_FLAGS
constexpr unsigned int CDPL::Chem::SymmetryClassCalculator::DEF_BOND_PROPERTY_FLAGS |
|
staticconstexpr |
Initial value:=
constexpr unsigned int AROMATICITY
Specifies the membership of a bond in aromatic rings.
Definition: BondPropertyFlag.hpp:73
constexpr unsigned int ORDER
Specifies the order of a bond.
Definition: BondPropertyFlag.hpp:63
Specifies the default set of bond properties considered in the perception of topological symmetry classes.
The documentation for this class was generated from the following file: