![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Bundle of configuration parameters for single 3D structure generation via class ConfGen::StructureGenerator. More...
#include <StructureGeneratorSettings.hpp>
Public Member Functions | |
| StructureGeneratorSettings () | |
Constructs the StructureGeneratorSettings instance with default configuration parameter values. More... | |
| void | setGenerationMode (unsigned int mode) |
| Sets the structure generation mode (see ConfGen::StructureGenerationMode). More... | |
| unsigned int | getGenerationMode () const |
| Returns the currently configured structure generation mode. More... | |
| void | generateCoordinatesFromScratch (bool generate) |
| Specifies whether 3D coordinates should be generated from scratch (vs. reusing existing input coordinates). More... | |
| bool | generateCoordinatesFromScratch () const |
| Tells whether 3D coordinates are generated from scratch. More... | |
| void | sampleAngleToleranceRanges (bool sample) |
| Specifies whether torsion-angle tolerance ranges are sampled during structure generation. More... | |
| bool | sampleAngleToleranceRanges () const |
| Tells whether torsion-angle tolerance ranges are sampled during structure generation. More... | |
| void | setTimeout (std::size_t mil_secs) |
| Sets the timeout for the structure generation pipeline. More... | |
| std::size_t | getTimeout () const |
| Returns the currently configured timeout in milliseconds. More... | |
| void | setFragmentModeForceFieldType (unsigned int type) |
| Sets the MMFF94 force field variant used for fragment-mode structure generation (see ForceField::MMFF94 variants). More... | |
| unsigned int | getFragmentModeForceFieldType () const |
| Returns the currently configured fragment-mode force field type. More... | |
| void | setDGModeForceFieldType (unsigned int type) |
| Sets the MMFF94 force field variant used for DG-mode structure generation. More... | |
| unsigned int | getDGModeForceFieldType () const |
| Returns the currently configured DG-mode force field type. More... | |
| void | strictForceFieldParameterization (bool strict) |
| Specifies whether force field parameterization should be strict (missing parameters cause failure). More... | |
| bool | strictForceFieldParameterization () const |
| Tells whether force field parameterization is strict. More... | |
| void | setDielectricConstant (double de_const) |
| Sets the dielectric constant used in the electrostatic energy term. More... | |
| double | getDielectricConstant () const |
| Returns the currently configured dielectric constant. More... | |
| void | setDistanceExponent (double exponent) |
| Sets the distance exponent used in the electrostatic energy term. More... | |
| double | getDistanceExponent () const |
| Returns the currently configured distance exponent. More... | |
| void | setMaxNumRefinementIterations (std::size_t max_iter) |
| Sets the maximum number of iterations of the force field-based coordinate refinement step. More... | |
| std::size_t | getMaxNumRefinementIterations () const |
| Returns the currently configured maximum number of refinement iterations. More... | |
| void | setRefinementTolerance (double tol) |
| Sets the convergence tolerance of the force field-based coordinate refinement step. More... | |
| double | getRefinementTolerance () const |
| Returns the currently configured refinement tolerance. More... | |
| void | setMaxNumSampledConformers (std::size_t max_num) |
| Sets the maximum number of conformers sampled during structure generation. More... | |
| std::size_t | getMaxNumSampledConformers () const |
| Returns the currently configured maximum number of sampled conformers. More... | |
| void | setConvergenceCheckCycleSize (std::size_t size) |
| Sets the cycle size for the convergence check of the structure-sampling loop. More... | |
| std::size_t | getConvergenceCheckCycleSize () const |
| Returns the currently configured convergence check cycle size. More... | |
| void | setMacrocycleRotorBondCountThreshold (std::size_t min_count) |
| Sets the minimum number of rotatable bonds in a macrocycle for it to be considered as flexible. More... | |
| std::size_t | getMacrocycleRotorBondCountThreshold () const |
| Returns the currently configured flexible macrocycle rotor bond count threshold. More... | |
| FragmentConformerGeneratorSettings & | getFragmentBuildSettings () |
| Returns the embedded fragment-build settings (mutable). More... | |
| const FragmentConformerGeneratorSettings & | getFragmentBuildSettings () const |
| Returns the embedded fragment-build settings. More... | |
Static Public Attributes | |
| static const StructureGeneratorSettings | DEFAULT |
| A static instance providing configuration parameter default values. More... | |
Bundle of configuration parameters for single 3D structure generation via class ConfGen::StructureGenerator.
| CDPL::ConfGen::StructureGeneratorSettings::StructureGeneratorSettings | ( | ) |
Constructs the StructureGeneratorSettings instance with default configuration parameter values.
| void CDPL::ConfGen::StructureGeneratorSettings::setGenerationMode | ( | unsigned int | mode | ) |
Sets the structure generation mode (see ConfGen::StructureGenerationMode).
| mode | The new generation mode. |
| unsigned int CDPL::ConfGen::StructureGeneratorSettings::getGenerationMode | ( | ) | const |
Returns the currently configured structure generation mode.
| void CDPL::ConfGen::StructureGeneratorSettings::generateCoordinatesFromScratch | ( | bool | generate | ) |
Specifies whether 3D coordinates should be generated from scratch (vs. reusing existing input coordinates).
| generate | true to generate coordinates from scratch, and false to keep existing input coordinates. |
| bool CDPL::ConfGen::StructureGeneratorSettings::generateCoordinatesFromScratch | ( | ) | const |
Tells whether 3D coordinates are generated from scratch.
true if coordinates are generated from scratch, and false otherwise. | void CDPL::ConfGen::StructureGeneratorSettings::sampleAngleToleranceRanges | ( | bool | sample | ) |
Specifies whether torsion-angle tolerance ranges are sampled during structure generation.
| sample | true to enable sampling, and false to disable it. |
| bool CDPL::ConfGen::StructureGeneratorSettings::sampleAngleToleranceRanges | ( | ) | const |
Tells whether torsion-angle tolerance ranges are sampled during structure generation.
true if sampling is enabled, and false otherwise. | void CDPL::ConfGen::StructureGeneratorSettings::setTimeout | ( | std::size_t | mil_secs | ) |
Sets the timeout for the structure generation pipeline.
| mil_secs | The new timeout in milliseconds (0 disables the timeout). |
| std::size_t CDPL::ConfGen::StructureGeneratorSettings::getTimeout | ( | ) | const |
Returns the currently configured timeout in milliseconds.
| void CDPL::ConfGen::StructureGeneratorSettings::setFragmentModeForceFieldType | ( | unsigned int | type | ) |
Sets the MMFF94 force field variant used for fragment-mode structure generation (see ForceField::MMFF94 variants).
| type | The new force field type. |
| unsigned int CDPL::ConfGen::StructureGeneratorSettings::getFragmentModeForceFieldType | ( | ) | const |
Returns the currently configured fragment-mode force field type.
| void CDPL::ConfGen::StructureGeneratorSettings::setDGModeForceFieldType | ( | unsigned int | type | ) |
Sets the MMFF94 force field variant used for DG-mode structure generation.
| type | The new force field type. |
| unsigned int CDPL::ConfGen::StructureGeneratorSettings::getDGModeForceFieldType | ( | ) | const |
Returns the currently configured DG-mode force field type.
| void CDPL::ConfGen::StructureGeneratorSettings::strictForceFieldParameterization | ( | bool | strict | ) |
Specifies whether force field parameterization should be strict (missing parameters cause failure).
| strict | true to enable strict parameterization, and false to tolerate missing parameters. |
| bool CDPL::ConfGen::StructureGeneratorSettings::strictForceFieldParameterization | ( | ) | const |
Tells whether force field parameterization is strict.
true if strict parameterization is enabled, and false otherwise. | void CDPL::ConfGen::StructureGeneratorSettings::setDielectricConstant | ( | double | de_const | ) |
Sets the dielectric constant used in the electrostatic energy term.
| de_const | The new dielectric constant. |
| double CDPL::ConfGen::StructureGeneratorSettings::getDielectricConstant | ( | ) | const |
Returns the currently configured dielectric constant.
| void CDPL::ConfGen::StructureGeneratorSettings::setDistanceExponent | ( | double | exponent | ) |
Sets the distance exponent used in the electrostatic energy term.
| exponent | The new distance exponent. |
| double CDPL::ConfGen::StructureGeneratorSettings::getDistanceExponent | ( | ) | const |
Returns the currently configured distance exponent.
| void CDPL::ConfGen::StructureGeneratorSettings::setMaxNumRefinementIterations | ( | std::size_t | max_iter | ) |
Sets the maximum number of iterations of the force field-based coordinate refinement step.
| max_iter | The new maximum number of iterations. |
| std::size_t CDPL::ConfGen::StructureGeneratorSettings::getMaxNumRefinementIterations | ( | ) | const |
Returns the currently configured maximum number of refinement iterations.
| void CDPL::ConfGen::StructureGeneratorSettings::setRefinementTolerance | ( | double | tol | ) |
Sets the convergence tolerance of the force field-based coordinate refinement step.
| tol | The new refinement tolerance. |
| double CDPL::ConfGen::StructureGeneratorSettings::getRefinementTolerance | ( | ) | const |
Returns the currently configured refinement tolerance.
| void CDPL::ConfGen::StructureGeneratorSettings::setMaxNumSampledConformers | ( | std::size_t | max_num | ) |
Sets the maximum number of conformers sampled during structure generation.
| max_num | The new maximum number of sampled conformers. |
| std::size_t CDPL::ConfGen::StructureGeneratorSettings::getMaxNumSampledConformers | ( | ) | const |
Returns the currently configured maximum number of sampled conformers.
| void CDPL::ConfGen::StructureGeneratorSettings::setConvergenceCheckCycleSize | ( | std::size_t | size | ) |
Sets the cycle size for the convergence check of the structure-sampling loop.
| size | The new convergence check cycle size. |
| std::size_t CDPL::ConfGen::StructureGeneratorSettings::getConvergenceCheckCycleSize | ( | ) | const |
Returns the currently configured convergence check cycle size.
| void CDPL::ConfGen::StructureGeneratorSettings::setMacrocycleRotorBondCountThreshold | ( | std::size_t | min_count | ) |
Sets the minimum number of rotatable bonds in a macrocycle for it to be considered as flexible.
| min_count | The new threshold. |
| std::size_t CDPL::ConfGen::StructureGeneratorSettings::getMacrocycleRotorBondCountThreshold | ( | ) | const |
Returns the currently configured flexible macrocycle rotor bond count threshold.
| FragmentConformerGeneratorSettings& CDPL::ConfGen::StructureGeneratorSettings::getFragmentBuildSettings | ( | ) |
Returns the embedded fragment-build settings (mutable).
| const FragmentConformerGeneratorSettings& CDPL::ConfGen::StructureGeneratorSettings::getFragmentBuildSettings | ( | ) | const |
Returns the embedded fragment-build settings.
const reference to the fragment-build settings.
|
static |
A static instance providing configuration parameter default values.