29 #ifndef CDPL_CHEM_COMPONENTSET_HPP
30 #define CDPL_CHEM_COMPONENTSET_HPP
77 void visitAtom(
const Atom& atom,
Fragment& frag, std::size_t min_atom_idx);
79 const char* getClassName()
const
81 return "ComponentSet";
Definition of the type CDPL::Util::BitSet.
Definition of the preprocessor macro CDPL_CHEM_API.
#define CDPL_CHEM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of the class CDPL::Chem::FragmentList.
Atom.
Definition: Atom.hpp:52
Implements the perception of molecular graph components.
Definition: ComponentSet.hpp:49
std::shared_ptr< ComponentSet > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ComponentSet instances.
Definition: ComponentSet.hpp:55
void perceive(const MolecularGraph &molgraph, std::size_t min_atom_idx=0)
Replaces the current set of components by the components of the molecular graph molgraph.
ComponentSet(const MolecularGraph &molgraph, std::size_t min_atom_idx=0)
Constructs a ComponentSet instance that contains the componenents of the molecular graph molgraph.
ComponentSet()
Constructs an empty ComponentSet instance.
Definition: ComponentSet.hpp:60
A data type for the storage of Chem::Fragment objects.
Definition: FragmentList.hpp:49
Fragment.
Definition: Fragment.hpp:52
MolecularGraph.
Definition: MolecularGraph.hpp:52
boost::dynamic_bitset BitSet
A dynamic bitset class.
Definition: BitSet.hpp:46
The namespace of the Chemical Data Processing Library.