RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
MQN.h
Go to the documentation of this file.
1//
2// Copyright (C) 2013 Greg Landrum
3//
4// @@ All Rights Reserved @@
5// This file is part of the RDKit.
6// The contents are covered by the terms of the BSD license
7// which is included in the file license.txt, found at the root
8// of the RDKit source tree.
9//
10
11/*! \file MQN.h
12
13 \brief Use MolDescriptors.h in client code.
14
15*/
16#include <RDGeneral/export.h>
17#ifndef __RD_MQN_H__
18#define __RD_MQN_H__
19#include <string>
20
21#include <vector>
22
23namespace RDKit {
24class ROMol;
25namespace Descriptors {
26const std::string MQNVersion = "1.0.0";
27
28//! calculates MQN descriptors
29/*!
30 Definition from
31 Nguyen, K. T., Blum, L. C., Van Deursen, R. & Reymond, J.-L. "Classification
32 of Organic Molecules by Molecular Quantum Numbers."
33 ChemMedChem 4, 1803–1805 (2009).
34
35
36 \param mol the molecule of interest
37 \param force (optional) calculate the values even if they are cached.
38
39 \return a vector with the MQNs
40
41*/
42RDKIT_DESCRIPTORS_EXPORT std::vector<unsigned int> calcMQNs(const ROMol &mol,
43 bool force = false);
44
45} // end of namespace Descriptors
46} // end of namespace RDKit
47
48#endif
#define RDKIT_DESCRIPTORS_EXPORT
Definition export.h:141
const std::string MQNVersion
Definition MQN.h:26
RDKIT_DESCRIPTORS_EXPORT std::vector< unsigned int > calcMQNs(const ROMol &mol, bool force=false)
calculates MQN descriptors
Std stuff.