Internal class to facilitate OBMol::FindSSSR() More...
#include <openbabel/ring.h>
Public Member Functions | |
| OBRingSearch () | |
| ~OBRingSearch () | |
| void | SortRings () |
| void | RemoveRedundant (int) |
| void | AddRingFromClosure (OBMol &, OBBond *) |
| bool | SaveUniqueRing (std::deque< int > &, std::deque< int > &) |
| void | WriteRings () |
Iterator methods -- see OBMolRingIter for iteration over a molecule | |
| std::vector< OBRing * >::iterator | BeginRings () |
| std::vector< OBRing * >::iterator | EndRings () |
Internal class to facilitate OBMol::FindSSSR()
| OBRingSearch | ( | ) | [inline] |
| ~OBRingSearch | ( | ) |
Destructor -- free all rings created from this search.
| void SortRings | ( | ) | [inline] |
Sort ring sizes from smallest to largest.
Referenced by OBMol::FindLSSR(), and OBMol::FindSSSR().
| void RemoveRedundant | ( | int | frj ) |
Starting with a full ring set - reduce to SSSR set.
Referenced by OBMol::FindLSSR(), and OBMol::FindSSSR().
Add a new ring from a "closure" bond: See OBBond::IsClosure()
Referenced by OBMol::FindLSSR(), and OBMol::FindSSSR().
| bool SaveUniqueRing | ( | std::deque< int > & | d1, |
| std::deque< int > & | d2 | ||
| ) |
| void WriteRings | ( | ) |
For debugging only, write the rings to std::cout.
| std::vector<OBRing*>::iterator BeginRings | ( | ) | [inline] |
Referenced by OBMol::FindLSSR(), and OBMol::FindSSSR().
| std::vector<OBRing*>::iterator EndRings | ( | ) | [inline] |
Referenced by OBMol::FindLSSR(), and OBMol::FindSSSR().