RDKit
Open-source cheminformatics and machine learning.
RDKit::FMCS::Seed Class Reference

#include <Seed.h>

Public Member Functions

 Seed ()
 
void setMoleculeFragment (const Seed &src)
 
Seedoperator= (const Seed &src)
 
void createFromParent (const Seed *parent)
 
unsigned getNumAtoms () const
 
unsigned getNumBonds () const
 
void grow (MaximumCommonSubgraph &mcs) const
 
bool canGrowBiggerThan (unsigned maxBonds, unsigned maxAtoms) const
 
void computeRemainingSize (const ROMol &qmol)
 
unsigned addAtom (const Atom *atom)
 
unsigned addBond (const Bond *bond)
 
void fillNewBonds (const ROMol &qmol)
 

Public Attributes

bool CopyComplete
 
unsigned GrowingStage
 
MolFragment MoleculeFragment
 
Graph Topology
 
std::vector< bool > ExcludedBonds
 
unsigned LastAddedAtomsBeginIdx
 
unsigned LastAddedBondsBeginIdx
 
unsigned RemainingBonds
 
unsigned RemainingAtoms
 
DuplicatedSeedCache::TKey DupCacheKey
 
std::vector< TargetMatchMatchResult
 

Detailed Description

Definition at line 61 of file Seed.h.

Constructor & Destructor Documentation

◆ Seed()

RDKit::FMCS::Seed::Seed ( )
inline

Definition at line 84 of file Seed.h.

Member Function Documentation

◆ addAtom()

unsigned RDKit::FMCS::Seed::addAtom ( const Atom atom)

◆ addBond()

unsigned RDKit::FMCS::Seed::addBond ( const Bond bond)

◆ canGrowBiggerThan()

bool RDKit::FMCS::Seed::canGrowBiggerThan ( unsigned  maxBonds,
unsigned  maxAtoms 
) const
inline

Definition at line 130 of file Seed.h.

◆ computeRemainingSize()

void RDKit::FMCS::Seed::computeRemainingSize ( const ROMol qmol)

◆ createFromParent()

void RDKit::FMCS::Seed::createFromParent ( const Seed parent)
inline

Definition at line 112 of file Seed.h.

References DupCacheKey, ExcludedBonds, MoleculeFragment, RemainingAtoms, RemainingBonds, and Topology.

◆ fillNewBonds()

void RDKit::FMCS::Seed::fillNewBonds ( const ROMol qmol)

◆ getNumAtoms()

unsigned RDKit::FMCS::Seed::getNumAtoms ( ) const
inline

◆ getNumBonds()

unsigned RDKit::FMCS::Seed::getNumBonds ( ) const
inline

◆ grow()

void RDKit::FMCS::Seed::grow ( MaximumCommonSubgraph mcs) const

◆ operator=()

Seed& RDKit::FMCS::Seed::operator= ( const Seed src)
inline

◆ setMoleculeFragment()

void RDKit::FMCS::Seed::setMoleculeFragment ( const Seed src)
inline

Definition at line 92 of file Seed.h.

References MoleculeFragment.

Referenced by RDKit::FMCS::SeedSet::add().

Member Data Documentation

◆ CopyComplete

bool RDKit::FMCS::Seed::CopyComplete

Definition at line 66 of file Seed.h.

◆ DupCacheKey

DuplicatedSeedCache::TKey RDKit::FMCS::Seed::DupCacheKey

Definition at line 80 of file Seed.h.

Referenced by createFromParent(), and operator=().

◆ ExcludedBonds

std::vector<bool> RDKit::FMCS::Seed::ExcludedBonds

Definition at line 73 of file Seed.h.

Referenced by createFromParent(), and operator=().

◆ GrowingStage

unsigned RDKit::FMCS::Seed::GrowingStage
mutable

Definition at line 68 of file Seed.h.

Referenced by operator=().

◆ LastAddedAtomsBeginIdx

unsigned RDKit::FMCS::Seed::LastAddedAtomsBeginIdx

Definition at line 74 of file Seed.h.

Referenced by operator=().

◆ LastAddedBondsBeginIdx

unsigned RDKit::FMCS::Seed::LastAddedBondsBeginIdx

Definition at line 76 of file Seed.h.

Referenced by operator=().

◆ MatchResult

std::vector<TargetMatch> RDKit::FMCS::Seed::MatchResult

Definition at line 82 of file Seed.h.

Referenced by operator=().

◆ MoleculeFragment

◆ RemainingAtoms

unsigned RDKit::FMCS::Seed::RemainingAtoms

Definition at line 78 of file Seed.h.

Referenced by createFromParent(), and operator=().

◆ RemainingBonds

unsigned RDKit::FMCS::Seed::RemainingBonds

Definition at line 77 of file Seed.h.

Referenced by createFromParent(), and operator=().

◆ Topology

Graph RDKit::FMCS::Seed::Topology

Definition at line 71 of file Seed.h.

Referenced by RDKit::FMCS::SubstructureCache::add(), createFromParent(), and operator=().


The documentation for this class was generated from the following file: