mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
this only is going to work in cases where CIP codes have been (i.e. can be) assigned to atoms.
30 lines
744 B
C++
Executable File
30 lines
744 B
C++
Executable File
//
|
|
// Copyright (C) 2003-2006 Greg Landrum and Rational Discovery LLC
|
|
//
|
|
// @@ All Rights Reserved @@
|
|
//
|
|
#ifndef _RD_SUBSTRUCT_UTILS_H_
|
|
#define _RD_SUBSTRUCT_UTILS_H_
|
|
|
|
#include "SubstructMatch.h"
|
|
|
|
class ARGEdit;
|
|
namespace RDKit{
|
|
class Atom;
|
|
class Bond;
|
|
class ROMol;
|
|
|
|
bool atomCompat(Atom const *a1,Atom const *a2);
|
|
bool chiralAtomCompat(Atom const *a1,Atom const *a2);
|
|
bool bondCompat(Bond const *b1,Bond const *b2);
|
|
void MolToVFGraph(const ROMol &mol,ARGEdit *vgEd);
|
|
bool substructVisitor(int n, node_id ni1[],node_id ni2[],void *mvp);
|
|
bool substructHeadVisitor(int n, node_id ni1[],node_id ni2[],void *mvp);
|
|
double toPrime(const MatchVectType &v);
|
|
void removeDuplicates(std::vector<MatchVectType> &v);
|
|
|
|
}
|
|
|
|
|
|
#endif
|