| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
#ifndef BALL_DOCKING_GENETICDOCK_DOCKPROBLEM_H |
| 7 |
#define BALL_DOCKING_GENETICDOCK_DOCKPROBLEM_H |
| 8 |
|
| 9 |
#include <vector> |
| 10 |
#include <string> |
| 11 |
|
| 12 |
#include <BALL/MATHS/vector3.h> |
| 13 |
#include <BALL/KERNEL/system.h> |
| 14 |
#include <BALL/KERNEL/molecule.h> |
| 15 |
#include <BALL/KERNEL/protein.h> |
| 16 |
#include <BALL/MATHS/vector3.h> |
| 17 |
|
| 18 |
#include <BALL/DOCKING/GENETICDOCK/rotateBonds.h> |
| 19 |
#include <BALL/DOCKING/GENETICDOCK/geneticAlgorithm.h> |
| 20 |
#include <BALL/DOCKING/GENETICDOCK/evolutionaryDocking.h> |
| 21 |
|
| 22 |
#include <BALL/DOCKING/GENETICDOCK/parameter.h> |
| 23 |
#include <BALL/SCORING/COMMON/scoringFunction.h> |
| 24 |
|
| 25 |
#include <BALL/MATHS/matrix44.h> |
| 26 |
#include <BALL/MATHS/quaternion.h> |
| 27 |
|
| 28 |
#ifndef BALL_DOCKING_COMMON_CONFORMATIONSET_H |
| 29 |
# include <BALL/DOCKING/COMMON/conformationSet.h> |
| 30 |
#endif |
| 31 |
|
| 32 |
namespace BALL |
| 33 |
{ |
| 34 |
|
| 35 |
class BALL_EXPORT BALL_DEPRECATED DockProblem |
| 36 |
{ |
| 37 |
public: |
| 38 |
|
| 39 |
|
| 40 |
DockProblem(); |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
DockProblem(AtomContainer& sys_lig, BALL::ScoringFunction* sf, EvolutionaryDocking* docker, bool post_dock_optimization); |
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
virtual ~DockProblem(); |
| 50 |
|
| 51 |
|
| 52 |
virtual void setup(AtomContainer& sys_lig); |
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
virtual double calculate(); |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
void move(); |
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
bool redraw(); |
| 67 |
|
| 68 |
AtomContainer* getLigand(); |
| 69 |
|
| 70 |
|
| 71 |
void connectTo(GeneticAlgorithm* opt); |
| 72 |
|
| 73 |
|
| 74 |
protected: |
| 75 |
|
| 76 |
EvolutionaryDocking* docker_; |
| 77 |
|
| 78 |
DoubleParameter double_parameter_; |
| 79 |
|
| 80 |
QuaternionParameter quaternion_parameter_; |
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
AtomContainer* ligand_, *draw_ligand_; |
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
Vector3 t_origin_, t_extension_; |
| 89 |
|
| 90 |
Vector3 binding_pocket_center_; |
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
BALL::ScoringFunction* scoring_function_; |
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
std::vector<Vector3 > ligand_positions_; |
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
RotateBonds* rb_; |
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
void restore(); |
| 109 |
|
| 110 |
|
| 111 |
|
| 112 |
Options opt_; |
| 113 |
|
| 114 |
bool redraw_; |
| 115 |
|
| 116 |
bool post_dock_optimization_; |
| 117 |
|
| 118 |
}; |
| 119 |
} |
| 120 |
|
| 121 |
#endif |