RDKit
Open-source cheminformatics and machine learning.
|
#include <RingInfo.h>
Public Types | |
typedef std::vector< int > | MemberType |
typedef std::vector< MemberType > | DataType |
typedef std::vector< int > | INT_VECT |
typedef std::vector< INT_VECT > | VECT_INT_VECT |
Friends | |
class | MolPickler |
Definition at line 38 of file RingInfo.h.
typedef std::vector<MemberType> RDKit::RingInfo::DataType |
Definition at line 43 of file RingInfo.h.
typedef std::vector<int> RDKit::RingInfo::INT_VECT |
Definition at line 44 of file RingInfo.h.
typedef std::vector<int> RDKit::RingInfo::MemberType |
Definition at line 42 of file RingInfo.h.
typedef std::vector<INT_VECT> RDKit::RingInfo::VECT_INT_VECT |
Definition at line 45 of file RingInfo.h.
|
inline |
Definition at line 47 of file RingInfo.h.
|
defaultnoexcept |
unsigned int RDKit::RingInfo::addRing | ( | const INT_VECT & | atomIndices, |
const INT_VECT & | bondIndices | ||
) |
adds a ring to our data
atomIndices | the integer indices of the atoms involved in the ring |
bondIndices | the integer indices of the bonds involved in the ring, this must be the same size as atomIndices . |
Notes:
returns whether or not atoms with indices idx1
and idx2
belong to the same ring.
Notes:
Definition at line 144 of file RingInfo.h.
bool RDKit::RingInfo::areAtomsInSameRingOfSize | ( | unsigned int | idx1, |
unsigned int | idx2, | ||
unsigned int | size | ||
) | const |
returns whether or not atoms with indices idx1
and idx2
belong to the same ring of size size
.
Notes:
returns whether or not bonds with indices idx1
and idx2
belong to the same ring.
Notes:
Definition at line 221 of file RingInfo.h.
bool RDKit::RingInfo::areBondsInSameRingOfSize | ( | unsigned int | idx1, |
unsigned int | idx2, | ||
unsigned int | size | ||
) | const |
returns whether or not bonds with indices idx1
and idx2
belong to the same ring of size size
.
Notes:
returns whether rings with indices ring1Idx
and ring2Idx
have at least one bond in common.
Notes:
returns our atom-members
vector for atom idx (i.e., a vector of ints reporting the ring indices that atom idx is member of), or an empty vector if the atom is not in any ring.
Notes:
|
inline |
returns our atom-rings
vectors, i.e. a vector of int vectors reporting the atom indices which are part of each ring
Notes:
Definition at line 126 of file RingInfo.h.
returns a vector with sizes of the rings that atom with index idx
is in.
Notes:
returns our bond-members
vector for bond idx (i.e., a vector of ints reporting the ring indices that bond idx is member of), or an empty vector if the bond is not in any ring.
Notes:
|
inline |
returns our bond-rings
vectors, i.e. a vector of int vectors reporting the bond indices which are part of each ring
Notes:
Definition at line 203 of file RingInfo.h.
returns a vector with sizes of the rings that bond with index idx
is in.
Notes:
returns the indices of rings which have at least one bond in common with ring with index ringIdx
.
Notes:
|
inline |
Definition at line 57 of file RingInfo.h.
void RDKit::RingInfo::initialize | ( | RDKit::FIND_RING_TYPE | ringType = FIND_RING_TYPE_OTHER_OR_UNKNOWN | ) |
does initialization
returns whether or not the atom with index idx
is in a size
- ring.
Notes:
Referenced by RDKit::queryAtomIsInRingOfSize().
returns whether or not the bond with index idx
is in a size
- ring.
Notes:
Referenced by RDKit::queryBondIsInRingOfSize().
|
inline |
Definition at line 61 of file RingInfo.h.
References RDKit::FIND_RING_TYPE_FAST, RDKit::FIND_RING_TYPE_SSSR, and RDKit::FIND_RING_TYPE_SYMM_SSSR.
|
inline |
checks to see if we've been properly initialized
Definition at line 53 of file RingInfo.h.
returns whether ring with index ringIdx
is fused with other rings.
Notes:
|
inline |
Definition at line 67 of file RingInfo.h.
References RDKit::FIND_RING_TYPE_SSSR, and RDKit::FIND_RING_TYPE_SYMM_SSSR.
|
inline |
Definition at line 72 of file RingInfo.h.
References RDKit::FIND_RING_TYPE_SYMM_SSSR.
returns the size of the smallest ring atom idx
is involved in
Notes:
Referenced by RDKit::queryAtomMinRingSize().
returns the size of the smallest ring bond idx
is involved in
Notes:
Referenced by RDKit::queryBondMinRingSize().
returns the number of rings atom idx
is involved in
Notes:
Referenced by RDKit::queryAtomRingMembership(), RDKit::queryIsAtomInNRings(), and RDKit::queryIsAtomInRing().
returns the number of rings bond idx
is involved in
Notes:
Referenced by RDKit::queryAtomHasRingBond(), RDKit::queryAtomRingBondCount(), RDKit::queryIsBondInNRings(), and RDKit::queryIsBondInRing().
returns the number of bonds shared with other rings in ring with index ringIdx
.
Notes:
returns the number of rings which have at least one bond in common with ring with index ringIdx
.
Notes:
returns the total number of rings
Notes:
void RDKit::RingInfo::reset | ( | ) |
blows out all current data and de-initializes
|
friend |
Definition at line 39 of file RingInfo.h.