Chemical Data Processing Library C++ API - Version 1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConformerGeneratorSettings.hpp
Go to the documentation of this file.
1 /*
2  * ConformerGeneratorSettings.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_CONFORMERGENERATORSETTINGS_HPP
30 #define CDPL_CONFGEN_CONFORMERGENERATORSETTINGS_HPP
31 
32 #include <cstddef>
33 
36 
37 
38 namespace CDPL
39 {
40 
41  namespace ConfGen
42  {
43 
45  {
46 
47  public:
49 
53 
57 
59 
60  void setSamplingMode(unsigned int mode);
61 
62  unsigned int getSamplingMode() const;
63 
64  void sampleHeteroAtomHydrogens(bool sample);
65 
67 
68  void sampleAngleToleranceRanges(bool sample);
69 
71 
72  void enumerateRings(bool enumerate);
73 
74  bool enumerateRings() const;
75 
76  void setNitrogenEnumerationMode(unsigned int mode);
77 
78  unsigned int getNitrogenEnumerationMode() const;
79 
80  void generateCoordinatesFromScratch(bool generate);
81 
83 
84  void includeInputCoordinates(bool include);
85 
87 
88  void setEnergyWindow(double win_size);
89 
90  double getEnergyWindow() const;
91 
92  void setMaxPoolSize(std::size_t max_size);
93 
94  std::size_t getMaxPoolSize() const;
95 
96  void setTimeout(std::size_t mil_secs);
97 
98  std::size_t getTimeout() const;
99 
100  void setForceFieldTypeSystematic(unsigned int type);
101 
102  unsigned int getForceFieldTypeSystematic() const;
103 
104  void setForceFieldTypeStochastic(unsigned int type);
105 
106  unsigned int getForceFieldTypeStochastic() const;
107 
109 
111 
112  void setDielectricConstant(double de_const);
113 
114  double getDielectricConstant() const;
115 
116  void setDistanceExponent(double exponent);
117 
118  double getDistanceExponent() const;
119 
120  void setMaxNumOutputConformers(std::size_t max_num);
121 
122  std::size_t getMaxNumOutputConformers() const;
123 
124  void setMinRMSD(double min_rmsd);
125 
126  double getMinRMSD() const;
127 
128  void setMaxNumRefinementIterations(std::size_t max_iter);
129 
130  std::size_t getMaxNumRefinementIterations() const;
131 
132  void setRefinementTolerance(double tol);
133 
134  double getRefinementTolerance() const;
135 
136  void setMaxNumSampledConformers(std::size_t max_num);
137 
138  std::size_t getMaxNumSampledConformers() const;
139 
140  void setConvergenceCheckCycleSize(std::size_t size);
141 
142  std::size_t getConvergenceCheckCycleSize() const;
143 
144  void setMacrocycleRotorBondCountThreshold(std::size_t min_count);
145 
147 
149 
151 
152  private:
153  unsigned int samplingMode;
154  bool sampleHetAtomHs;
155  bool sampleTolRanges;
156  bool enumRings;
157  unsigned int nitrogenEnumMode;
158  bool fromScratch;
159  bool incInputCoords;
160  double eWindow;
161  std::size_t maxPoolSize;
162  std::size_t timeout;
163  unsigned int forceFieldTypeSys;
164  unsigned int forceFieldTypeStoch;
165  bool strictParam;
166  double dielectricConst;
167  double distExponent;
168  std::size_t maxNumOutputConfs;
169  double minRMSD;
170  std::size_t maxNumRefIters;
171  double refTolerance;
172  std::size_t maxNumSampledConfs;
173  std::size_t convCheckCycleSize;
174  std::size_t mcRotorBondCountThresh;
175  FragmentConformerGeneratorSettings fragBuildSettings;
176  };
177  }; // namespace ConfGen
178 } // namespace CDPL
179 
180 #endif // CDPL_CONFGEN_CONFORMERGENERATORSETTINGS_HPP
CDPL::ConfGen::ConformerGeneratorSettings::setRefinementTolerance
void setRefinementTolerance(double tol)
CDPL::ConfGen::ConformerGeneratorSettings::getMaxNumRefinementIterations
std::size_t getMaxNumRefinementIterations() const
CDPL::ConfGen::ConformerGeneratorSettings::MEDIUM_SET_DENSE
static const ConformerGeneratorSettings MEDIUM_SET_DENSE
Definition: ConformerGeneratorSettings.hpp:55
CDPL::ConfGen::ConformerGeneratorSettings::getMaxNumSampledConformers
std::size_t getMaxNumSampledConformers() const
CDPL::ConfGen::ConformerGeneratorSettings::setMaxNumSampledConformers
void setMaxNumSampledConformers(std::size_t max_num)
CDPL::ConfGen::ConformerGeneratorSettings::getRefinementTolerance
double getRefinementTolerance() const
CDPL::ConfGen::ConformerGeneratorSettings::sampleAngleToleranceRanges
void sampleAngleToleranceRanges(bool sample)
CDPL::ConfGen::ConformerGeneratorSettings::SMALL_SET_DENSE
static const ConformerGeneratorSettings SMALL_SET_DENSE
Definition: ConformerGeneratorSettings.hpp:54
CDPL::ConfGen::ConformerGeneratorSettings::setSamplingMode
void setSamplingMode(unsigned int mode)
CDPL::ConfGen::ConformerGeneratorSettings::getMinRMSD
double getMinRMSD() const
CDPL::ConfGen::ConformerGeneratorSettings::ConformerGeneratorSettings
ConformerGeneratorSettings()
CDPL::ConfGen::ConformerGeneratorSettings::setForceFieldTypeSystematic
void setForceFieldTypeSystematic(unsigned int type)
CDPL::ConfGen::ConformerGeneratorSettings::getMaxPoolSize
std::size_t getMaxPoolSize() const
CDPL::ConfGen::ConformerGeneratorSettings::MEDIUM_SET_DIVERSE
static const ConformerGeneratorSettings MEDIUM_SET_DIVERSE
Definition: ConformerGeneratorSettings.hpp:51
CDPL::ConfGen::ConformerGeneratorSettings::getNitrogenEnumerationMode
unsigned int getNitrogenEnumerationMode() const
CDPL::ConfGen::ConformerGeneratorSettings::setEnergyWindow
void setEnergyWindow(double win_size)
CDPL::ConfGen::ConformerGeneratorSettings::setMaxPoolSize
void setMaxPoolSize(std::size_t max_size)
CDPL::ConfGen::ConformerGeneratorSettings::LARGE_SET_DIVERSE
static const ConformerGeneratorSettings LARGE_SET_DIVERSE
Definition: ConformerGeneratorSettings.hpp:52
CDPL::ConfGen::ConformerGeneratorSettings::sampleHeteroAtomHydrogens
void sampleHeteroAtomHydrogens(bool sample)
CDPL::ConfGen::ConformerGeneratorSettings::setDielectricConstant
void setDielectricConstant(double de_const)
CDPL::ConfGen::ConformerGeneratorSettings::enumerateRings
void enumerateRings(bool enumerate)
CDPL::ConfGen::ConformerGeneratorSettings::getFragmentBuildSettings
const FragmentConformerGeneratorSettings & getFragmentBuildSettings() const
CDPL::ConfGen::ConformerGeneratorSettings::getSamplingMode
unsigned int getSamplingMode() const
CDPL::ConfGen::ConformerGeneratorSettings::enumerateRings
bool enumerateRings() const
CDPL::ConfGen::ConformerGeneratorSettings::includeInputCoordinates
bool includeInputCoordinates() const
CDPL::ConfGen::ConformerGeneratorSettings::SMALL_SET_DIVERSE
static const ConformerGeneratorSettings SMALL_SET_DIVERSE
Definition: ConformerGeneratorSettings.hpp:50
CDPL::ConfGen::ConformerGeneratorSettings::generateCoordinatesFromScratch
bool generateCoordinatesFromScratch() const
CDPL::ConfGen::ConformerGeneratorSettings::getDistanceExponent
double getDistanceExponent() const
CDPL::ConfGen::ConformerGeneratorSettings::setMaxNumRefinementIterations
void setMaxNumRefinementIterations(std::size_t max_iter)
CDPL::ConfGen::ConformerGeneratorSettings
Definition: ConformerGeneratorSettings.hpp:45
CDPL::ConfGen::ConformerGeneratorSettings::getDielectricConstant
double getDielectricConstant() const
APIPrefix.hpp
Definition of the preprocessor macro CDPL_CONFGEN_API.
CDPL::ConfGen::ConformerGeneratorSettings::sampleHeteroAtomHydrogens
bool sampleHeteroAtomHydrogens() const
CDPL::ConfGen::ConformerGeneratorSettings::setNitrogenEnumerationMode
void setNitrogenEnumerationMode(unsigned int mode)
CDPL::ConfGen::ConformerGeneratorSettings::getMaxNumOutputConformers
std::size_t getMaxNumOutputConformers() const
CDPL::ConfGen::ConformerGeneratorSettings::sampleAngleToleranceRanges
bool sampleAngleToleranceRanges() const
CDPL::ConfGen::ConformerGeneratorSettings::getForceFieldTypeSystematic
unsigned int getForceFieldTypeSystematic() const
CDPL::ConfGen::ConformerGeneratorSettings::setMacrocycleRotorBondCountThreshold
void setMacrocycleRotorBondCountThreshold(std::size_t min_count)
CDPL::ConfGen::ConformerGeneratorSettings::includeInputCoordinates
void includeInputCoordinates(bool include)
CDPL_CONFGEN_API
#define CDPL_CONFGEN_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
CDPL::ConfGen::ConformerGeneratorSettings::getConvergenceCheckCycleSize
std::size_t getConvergenceCheckCycleSize() const
CDPL::ConfGen::ConformerGeneratorSettings::setTimeout
void setTimeout(std::size_t mil_secs)
CDPL
The namespace of the Chemical Data Processing Library.
FragmentConformerGeneratorSettings.hpp
Definition of the class CDPL::ConfGen::FragmentConformerGeneratorSettings.
CDPL::ConfGen::ConformerGeneratorSettings::setForceFieldTypeStochastic
void setForceFieldTypeStochastic(unsigned int type)
CDPL::ConfGen::ConformerGeneratorSettings::getFragmentBuildSettings
FragmentConformerGeneratorSettings & getFragmentBuildSettings()
CDPL::ConfGen::ConformerGeneratorSettings::LARGE_SET_DENSE
static const ConformerGeneratorSettings LARGE_SET_DENSE
Definition: ConformerGeneratorSettings.hpp:56
CDPL::ConfGen::ConformerGeneratorSettings::strictForceFieldParameterization
void strictForceFieldParameterization(bool strict)
CDPL::ConfGen::ConformerGeneratorSettings::setDistanceExponent
void setDistanceExponent(double exponent)
CDPL::ConfGen::ConformerGeneratorSettings::setMinRMSD
void setMinRMSD(double min_rmsd)
CDPL::ConfGen::ConformerGeneratorSettings::generateCoordinatesFromScratch
void generateCoordinatesFromScratch(bool generate)
CDPL::ConfGen::ConformerGeneratorSettings::getMacrocycleRotorBondCountThreshold
std::size_t getMacrocycleRotorBondCountThreshold() const
CDPL::ConfGen::ConformerGeneratorSettings::getForceFieldTypeStochastic
unsigned int getForceFieldTypeStochastic() const
CDPL::ConfGen::ConformerGeneratorSettings::strictForceFieldParameterization
bool strictForceFieldParameterization() const
CDPL::ConfGen::ConformerGeneratorSettings::getTimeout
std::size_t getTimeout() const
CDPL::ConfGen::ConformerGeneratorSettings::setMaxNumOutputConformers
void setMaxNumOutputConformers(std::size_t max_num)
CDPL::ConfGen::ConformerGeneratorSettings::DEFAULT
static const ConformerGeneratorSettings DEFAULT
Definition: ConformerGeneratorSettings.hpp:48
CDPL::ConfGen::FragmentConformerGeneratorSettings
Definition: FragmentConformerGeneratorSettings.hpp:44
CDPL::ConfGen::ConformerGeneratorSettings::getEnergyWindow
double getEnergyWindow() const
CDPL::ConfGen::ConformerGeneratorSettings::setConvergenceCheckCycleSize
void setConvergenceCheckCycleSize(std::size_t size)