13#include <boost/dynamic_bitset.hpp>
63 for (
const auto &m : match) {
64 TargetAtomIdx[seed.MoleculeFragment.Atoms.at(m.first)->getIdx()] =
70 for (
const auto bond : seed.MoleculeFragment.Bonds) {
71 unsigned int i = bond->getBeginAtomIdx();
72 unsigned int j = bond->getEndAtomIdx();
75 const auto tb =
target.Molecule->getBondBetweenAtoms(
ti,
tj);
unsigned int getNumBonds(bool onlyHeavy=1) const
returns our number of Bonds
unsigned int getNumAtoms() const
returns our number of atoms
const unsigned int NotSet
std::vector< std::pair< FMCS::Graph::vertex_descriptor, FMCS::Graph::vertex_descriptor > > match_V_t
bool rdvalue_is(const RDValue_cast_t)
std::vector< unsigned int > TargetAtomIdx
TargetMatch(const TargetMatch &src)
TargetMatch & operator=(const TargetMatch &src)
std::vector< unsigned int > TargetBondIdx
boost::dynamic_bitset VisitedTargetAtoms
boost::dynamic_bitset VisitedTargetBonds
void init(const Seed &seed, const match_V_t &match, const ROMol &query, const Target &target)