50 OBMCDL
int alternate(OBMol * pmol,
const int nH[],
int bondOrders []);
52 OBMCDL
int alternate(
const std::vector<int> aPosition,
const std::vector<int> aCharge,
53 const std::vector<int> aRad,
const std::vector<int> nHydr,
const std::vector<int> iA1,
54 const std::vector<int> iA2, std::vector<int> & bondOrders,
int nAtoms,
int nBonds);
61 OBMCDL
void generateDiagram(
const std::vector<int> iA1,
const std::vector<int> iA2,
62 std::vector<double>& rx, std::vector<double>& ry,
int nAtoms,
int nBonds);
67 bool fragmentSearch(
const std::vector<int> aPositionQuery,
const std::vector<int> iA1Query,
68 const std::vector<int> iA2Query,
const std::vector<int> bondTypesQuery,
69 const std::vector<int> aPositionStructure,
const std::vector<int> iA1Structure,
70 const std::vector<int> iA2Structure,
const std::vector<int> bondTypesStructure,
71 int nAtomsQuery,
int nBondsQuery,
int nAtomsStructure,
int nBondsStructure);
74 void equivalenceList(
const std::vector<int> aPosition,
const std::vector<int> aCharge,
75 const std::vector<int> aRad,
const std::vector<int> iA1,
const std::vector<int> iA2,
76 const std::vector<int> bondTypes, std::vector<int>& eqList,
int nAtoms,
int nBonds);
78 OBMCDL
void addFragment(OBMol * molecule, OBMol * fragment,
int molAN,
int fragAN,
int molBN,
79 int fragBN,
bool isAddition);
83 std::vector<int>& atomStereoList, std::vector<int>& eqList);
84 OBMCDL std::string
getAtomMCDL(OBMol * pmol,
int ntatoms,
const std::vector<int> ix,
85 const std::vector<int> aNumber,
const std::vector<int> atomStereoList,
const std::vector<int> eqList);
86 OBMCDL std::string
getBondMCDL(OBMol * pmol,
int nbStore,
int ntatoms,
const std::vector<int> ix,
87 const std::vector<int> aNumber,
int bonds[MAXBONDS][4],
const std::vector<int> bondStereoList,
88 const std::vector<int> eqList);
89 OBMCDL
void implementAtomStereo(std::vector<int>& iA1, std::vector<int>& iA2, std::vector<int>& stereoBonds,
90 const std::vector<double>rx,
const std::vector<double> ry,
int acount,
int bcount, std::string astereo);
92 std::vector<double>& rx, std::vector<double>& ry,
int acount,
int bcount, std::string bstereo);
95 OBMCDL
int groupRedraw(OBMol * pmol,
int bondN,
int atomN,
bool atomNInGroup);
98 OBMCDL
int canonizeMCDL(
const std::string atomBlock, std::vector<std::string> & structureList);
99 OBMCDL
bool parseFormula(
const std::string formulaString, std::vector <int>& enumber,
int & valency);
101 OBMCDL
void prepareTest(OBMol * pmol, std::ostream & ofs);
static const int MAX_DEPTH
Definition: mcdlutil.h:41
bool parseFormula(const std::string formulaString, std::vector< int > &enumber, int &valency)
Definition: mcdlutil.cpp:7189
int canonizeMCDL(const std::string atomBlock, std::vector< std::string > &structureList)
Definition: mcdlutil.cpp:7265
void equivalenceList(OBMol *pmol, std::vector< int > &eqList)
Equivalence list generation.
Definition: mcdlutil.cpp:6191
bool fragmentSearch(OBMol *query, OBMol *structure)
Definition: mcdlutil.cpp:6105
static const int NELEMMAX
Definition: mcdlutil.h:42
static const int MAXFRAGS
Definition: mcdlutil.h:39
void addFragment(OBMol *molecule, OBMol *fragment, int molAN, int fragAN, int molBN, int fragBN, bool isAddition)
Definition: mcdlutil.cpp:6200
void implementAtomStereo(std::vector< int > &iA1, std::vector< int > &iA2, std::vector< int > &stereoBonds, const std::vector< double >rx, const std::vector< double > ry, int acount, int bcount, std::string astereo)
Definition: mcdlutil.cpp:6944
int groupRedraw(OBMol *pmol, int bondN, int atomN, bool atomNInGroup)
Definition: mcdlutil.cpp:7116
void implementBondStereo(const std::vector< int > iA1, const std::vector< int > iA2, std::vector< double > &rx, std::vector< double > &ry, int acount, int bcount, std::string bstereo)
Definition: mcdlutil.cpp:7011
void generateDiagram(OBMol *pmol)
Definition: mcdlutil.cpp:6073
void createStereoLists(OBMol *pmol, std::vector< int > &bondStereoList, std::vector< int > &atomStereoList, std::vector< int > &eqList)
Definition: mcdlutil.cpp:6224
int maxValency(int na)
Definition: mcdlutil.cpp:3552
std::string getBondMCDL(OBMol *pmol, int nbStore, int ntatoms, const std::vector< int > ix, const std::vector< int > aNumber, int bonds[MAXBONDS][4], const std::vector< int > bondStereoList, const std::vector< int > eqList)
Definition: mcdlutil.cpp:6678
static const int MAXBONDS
Definition: mcdlutil.h:38
int alternate(OBMol *pmol, const int nH[], int bondOrders [])
void prepareTest(OBMol *pmol, std::ostream &ofs)
Definition: mcdlutil.cpp:7274
static const int MAXCHARS
Definition: mcdlutil.h:40
int hydrogenValency(int na)
Definition: mcdlutil.cpp:3546
std::string getAtomMCDL(OBMol *pmol, int ntatoms, const std::vector< int > ix, const std::vector< int > aNumber, const std::vector< int > atomStereoList, const std::vector< int > eqList)
Definition: mcdlutil.cpp:6522
Global namespace for all Open Babel code.
Definition: alias.h:22