RxDock 0.1.0
A fast, versatile, and open-source program for docking ligands to proteins and nucleic acids
Loading...
Searching...
No Matches
SimplexTransform.h
1/***********************************************************************
2 * The rDock program was developed from 1998 - 2006 by the software team
3 * at RiboTargets (subsequently Vernalis (R&D) Ltd).
4 * In 2006, the software was licensed to the University of York for
5 * maintenance and distribution.
6 * In 2012, Vernalis and the University of York agreed to release the
7 * program as Open Source software.
8 * This version is licensed under GNU-LGPL version 3.0 with support from
9 * the University of Barcelona.
10 * http://rdock.sourceforge.net/
11 ***********************************************************************/
12
13// Simplex Minimiser
14#ifndef _RBTSIMPLEXTRANSFORM_H_
15#define _RBTSIMPLEXTRANSFORM_H_
16
17#include "rxdock/BaseBiMolTransform.h"
18#include "rxdock/ChromElement.h"
19
20namespace rxdock {
21
23public:
24 // Static data member for class type
25 static const std::string _CT;
26 // Parameter names
27 static const std::string _MAX_CALLS;
28 static const std::string _NCYCLES;
29 static const std::string _STOPPING_STEP_LENGTH;
30 static const std::string _PARTITION_DIST;
31 static const std::string _STEP_SIZE;
32 // Stop once score improves by less than convergence value
33 // between cycles
34 static const std::string _CONVERGENCE;
35
36 RBTDLL_EXPORT static const std::string &GetMaxCalls();
37 RBTDLL_EXPORT static const std::string &GetNCycles();
38 RBTDLL_EXPORT static const std::string &GetStepSize();
39
41 // Constructors/destructors
42 RBTDLL_EXPORT SimplexTransform(const std::string &strName = "SIMPLEX");
43 virtual ~SimplexTransform();
44
46 // Public methods
48
49protected:
51 // Protected methods
53 virtual void
54 SetupTransform(); // Called by Update when either model has changed
55 virtual void SetupReceptor(); // Called by Update when receptor is changed
56 virtual void SetupLigand(); // Called by Update when ligand is changed
57 virtual void SetupSolvent(); // Called by Update when solvent is changed
58 virtual void Execute();
59
60private:
62 // Private methods
65 const SimplexTransform &); // Copy constructor disabled by default
67 operator=(const SimplexTransform &); // Copy assignment disabled by default
68protected:
70 // Protected data
72
73private:
75 // Private data
77 ChromElementPtr m_chrom;
78};
79
80// Useful typedefs
81typedef SmartPtr<SimplexTransform> SimplexTransformPtr; // Smart pointer
82
83} // namespace rxdock
84
85#endif //_RBTSIMPLEXTRANSFORM_H_
Definition BaseBiMolTransform.h:27
Definition SimplexTransform.h:22