 |
RDKit
Open-source cheminformatics and machine learning.
|
Go to the documentation of this file.
75 for (match_V_t::const_iterator mit = match.begin(); mit != match.end();
82 for (std::vector<const Bond*>::const_iterator bond =
85 unsigned i = (*bond)->getBeginAtomIdx();
86 unsigned j = (*bond)->getEndAtomIdx();
std::vector< unsigned > AtomsIdx
std::vector< unsigned > TargetAtomIdx
void init(const Seed &seed, const match_V_t &match, const ROMol &query, const Target &target)
std::vector< unsigned > TargetBondIdx
class for representing a bond
TargetMatch(const TargetMatch &src)
unsigned int getIdx() const
returns our index within the ROMol
std::vector< bool > VisitedTargetAtoms
std::vector< bool > VisitedTargetBonds
MolFragment MoleculeFragment
unsigned int getNumBonds(bool onlyHeavy=1) const
returns our number of Bonds
TargetMatch & operator=(const TargetMatch &src)
unsigned int getNumAtoms(bool onlyExplicit=1) const
returns our number of atoms
std::vector< const Bond * > Bonds
std::vector< std::pair< FMCS::Graph::vertex_descriptor, FMCS::Graph::vertex_descriptor > > match_V_t
Bond * getBondBetweenAtoms(unsigned int idx1, unsigned int idx2)
returns a pointer to the bond between two atoms, Null on failure