Chemical Data Processing Library C++ API - Version 1.0.0
ConfGen/MolecularGraphFunctions.hpp
Go to the documentation of this file.
1 /*
2  * MolecularGraphFunctions.hpp
3  *
4  * This file is part of the Chemical Data Processing Toolkit
5  *
6  * Copyright (C) 2003 Thomas Seidel <thomas.seidel@univie.ac.at>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; see the file COPYING. If not, write to
20  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
29 #ifndef CDPL_CONFGEN_MOLECULARGRAPHFUNCTIONS_HPP
30 #define CDPL_CONFGEN_MOLECULARGRAPHFUNCTIONS_HPP
31 
32 #include <cstddef>
33 
36 #include "CDPL/Util/BitSet.hpp"
37 
38 
39 namespace CDPL
40 {
41 
42  namespace Chem
43  {
44 
45  class MolecularGraph;
46  }
47 
48  namespace ForceField
49  {
50 
51  class MMFF94InteractionData;
52  class MMFF94InteractionParameterizer;
53  } // namespace ForceField
54 
55  namespace ConfGen
56  {
57 
58  CDPL_CONFGEN_API std::size_t createFragmentLinkBondMask(const Chem::MolecularGraph& molgraph, Util::BitSet& bond_mask, bool reset = true);
59 
61  bool het_h_rotors, bool reset = true);
62 
63  CDPL_CONFGEN_API std::size_t createRotatableBondMask(const Chem::MolecularGraph& molgraph, const Util::BitSet& excl_bond_mask,
64  Util::BitSet& bond_mask, bool het_h_rotors, bool reset = true);
65 
66  CDPL_CONFGEN_API std::size_t getRotatableBondCount(const Chem::MolecularGraph& molgraph, bool het_h_rotors);
67 
69 
72  ForceField::MMFF94InteractionData& param_data, unsigned int ff_type,
73  bool strict, double estat_de_const, double estat_dist_expo);
74 
76  } // namespace ConfGen
77 } // namespace CDPL
78 
79 #endif // CDPL_CONFGEN_MOLECULARGRAPHFUNCTIONS_HPP
CDPL::ConfGen::createRotatableBondMask
CDPL_CONFGEN_API std::size_t createRotatableBondMask(const Chem::MolecularGraph &molgraph, Util::BitSet &bond_mask, bool het_h_rotors, bool reset=true)
CDPL::ConfGen::ConformerDataArray
std::vector< ConformerData::SharedPointer > ConformerDataArray
A data type for the storage of dyn. allocated ConfGen::ConformerData objects.
Definition: ConformerDataArray.hpp:46
CDPL::ForceField::MMFF94InteractionData
Definition: MMFF94InteractionData.hpp:51
CDPL::ConfGen::setConformers
CDPL_CONFGEN_API void setConformers(Chem::MolecularGraph &molgraph, const ConformerDataArray &conf_array)
CDPL::Util::BitSet
boost::dynamic_bitset BitSet
A dynamic bitset class.
Definition: BitSet.hpp:46
ConformerDataArray.hpp
Definition of the type CDPL::ConfGen::ConformerDataArray.
CDPL::Chem::MolecularGraph
MolecularGraph.
Definition: MolecularGraph.hpp:52
BitSet.hpp
Definition of the type CDPL::Util::BitSet.
APIPrefix.hpp
Definition of the preprocessor macro CDPL_CONFGEN_API.
CDPL_CONFGEN_API
#define CDPL_CONFGEN_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
CDPL::ConfGen::perceiveFragmentType
CDPL_CONFGEN_API unsigned int perceiveFragmentType(const Chem::MolecularGraph &molgraph)
CDPL::ConfGen::getRotatableBondCount
CDPL_CONFGEN_API std::size_t getRotatableBondCount(const Chem::MolecularGraph &molgraph, bool het_h_rotors)
CDPL::ConfGen::parameterizeMMFF94Interactions
CDPL_CONFGEN_API unsigned int parameterizeMMFF94Interactions(const Chem::MolecularGraph &molgraph, ForceField::MMFF94InteractionParameterizer &parameterizer, ForceField::MMFF94InteractionData &param_data, unsigned int ff_type, bool strict, double estat_de_const, double estat_dist_expo)
CDPL
The namespace of the Chemical Data Processing Library.
CDPL::ConfGen::createFragmentLinkBondMask
CDPL_CONFGEN_API std::size_t createFragmentLinkBondMask(const Chem::MolecularGraph &molgraph, Util::BitSet &bond_mask, bool reset=true)
CDPL::ForceField::MMFF94InteractionParameterizer
Definition: MMFF94InteractionParameterizer.hpp:88