RDKit
Open-source cheminformatics and machine learning.
nmmolhash.h
Go to the documentation of this file.
1 /*==============================================*/
2 /* Copyright (C) 2019 NextMove Software */
3 /* All rights reserved. */
4 /* */
5 /* This file is part of molhash. */
6 /* */
7 /* The contents are covered by the terms of the */
8 /* BSD license, which is included in the file */
9 /* license.txt. */
10 /*==============================================*/
11 
12 // This file will disappear in a future release; please don't include it
13 // directly. Use MolHash.h instead.
14 
15 #include <RDGeneral/export.h>
16 #ifndef NMS_MOLHASH_H
17 #define NMS_MOLHASH_H
18 
19 #include <string>
20 #include <vector>
21 
22 namespace RDKit {
23 class RWMol;
24 namespace MolHash {
25 enum class RDKIT_MOLHASH_EXPORT HashFunction {
34  Mesomer = 9,
37  RedoxPair = 12,
39  NetCharge = 14,
42  ArthorSubstructureOrder = 17
43 };
44 
45 RDKIT_MOLHASH_EXPORT std::string MolHash(RWMol *mol, enum HashFunction func);
46 
47 enum class RDKIT_MOLHASH_EXPORT StripType {
50  Isotope = 4,
51  AtomMap = 8,
52  Hydrogen = 16
53 };
54 
55 RDKIT_MOLHASH_EXPORT void Strip(RWMol *mol, unsigned int striptype);
56 RDKIT_MOLHASH_EXPORT void SplitMolecule(RWMol *mol, std::vector<RWMol *> &molv);
57 } // namespace MolHash
58 } // namespace RDKit
59 #endif // NMS_MOLHASH_H
Regioisomer
Definition: nmmolhash.h:38
RDKIT_MOLHASH_EXPORT std::string MolHash(RWMol *mol, enum HashFunction func)
CanonicalSmiles
Definition: nmmolhash.h:28
HetAtomProtomer
Definition: nmmolhash.h:36
BondStereo
Definition: nmmolhash.h:49
MolFormula
Definition: nmmolhash.h:31
SmallWorldIndexBRL
Definition: nmmolhash.h:41
AtomBondCounts
Definition: nmmolhash.h:32
NetCharge
Definition: nmmolhash.h:39
RDKIT_MOLHASH_EXPORT void Strip(RWMol *mol, unsigned int striptype)
HetAtomTautomer
Definition: nmmolhash.h:35
ExtendedMurcko
Definition: nmmolhash.h:30
Mesomer
Definition: nmmolhash.h:34
RedoxPair
Definition: nmmolhash.h:37
Std stuff.
Definition: Atom.h:30
MurckoScaffold
Definition: nmmolhash.h:29
AtomStereo
Definition: nmmolhash.h:48
SmallWorldIndexBR
Definition: nmmolhash.h:40
RDKIT_MOLHASH_EXPORT void SplitMolecule(RWMol *mol, std::vector< RWMol *> &molv)
DegreeVector
Definition: nmmolhash.h:33
AnonymousGraph
Definition: nmmolhash.h:26
ElementGraph
Definition: nmmolhash.h:27
#define RDKIT_MOLHASH_EXPORT
Definition: export.h:411