29 #ifndef CDPL_CHEM_EXTENDEDSSSR_HPP
30 #define CDPL_CHEM_EXTENDEDSSSR_HPP
79 bool findRingContainingBonds(
const Bond& bond1,
const Bond& bond2)
const;
84 const char* getClassName()
const
86 return "ExtendedSSSR";
89 typedef std::vector<std::pair<const Atom*, const Bond*> > AtomBondList;
92 AtomBondList atomRingNbrs;
95 std::size_t smallestRingSize;
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
Bond.
Definition: Bond.hpp:50
Implements the perception of the Extended Smallest Set of Smallest Rings (ESSSR) of a molecular graph...
Definition: ExtendedSSSR.hpp:51
ExtendedSSSR(const MolecularGraph &molgraph)
Construct a ExtendedSSSR instance that represents the ESSSR of the molecular graph molgraph.
std::shared_ptr< ExtendedSSSR > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated ExtendedSSSR instances.
Definition: ExtendedSSSR.hpp:57
ExtendedSSSR()
Constructs an empty ExtendedSSSR instance.
Definition: ExtendedSSSR.hpp:62
void perceive(const MolecularGraph &molgraph)
Replaces the current set of rings by the ESSSR of the molecular graph molgraph.
A data type for the storage of Chem::Fragment objects.
Definition: FragmentList.hpp:49
MolecularGraph.
Definition: MolecularGraph.hpp:52
CDPL_CHEM_API FragmentList::SharedPointer perceiveRings(const MolecularGraph &molgraph)
boost::dynamic_bitset BitSet
A dynamic bitset class.
Definition: BitSet.hpp:46
The namespace of the Chemical Data Processing Library.