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