Debian Codegraph @

include/BALL/DOCKING/GENETICDOCK/dockProblem.h

raw symbols SCIP
1 // ----------------------------------------------------
2 // $Maintainer: Marcel Schumann $
3 // $Authors: Jan Fuhrmann, Marcel Schumann $
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 // BALL_DOCKING_COMMON_CONFORMATIONSET_H
31
32 namespace BALL
33 {
34
35 class BALL_EXPORT BALL_DEPRECATED DockProblem
36 {
37 public:
38 /** constructor
39 */
40 DockProblem();
41
42 /** constructor
43 */
44 DockProblem(AtomContainer& sys_lig, BALL::ScoringFunction* sf, EvolutionaryDocking* docker, bool post_dock_optimization);
45
46
47 /** destructor
48 */
49 virtual ~DockProblem();
50
51
52 virtual void setup(AtomContainer& sys_lig);
53
54
55 /** calculate fitness score for one individual
56 */
57 virtual double calculate();
58
59 /** move molecule according to vectors double_parameter_ and quaternion_parameter_,
60 * which are set by GeneticAlgorithm::calculate()
61 */
62 void move();
63
64 /** true if best solution has changed
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 /** pointer to ligand molecule
83 */
84 AtomContainer* ligand_, *draw_ligand_;
85
86 /** variables to store position and extentions of ligand and receptor
87 */
88 Vector3 t_origin_, t_extension_;
89
90 Vector3 binding_pocket_center_;
91
92 /** calculate conformation score
93 */
94 BALL::ScoringFunction* scoring_function_;
95
96 /** Vector to restore the position values of the ligand
97 */
98 std::vector<Vector3 > ligand_positions_;
99
100 /** rotate bonds class
101 */
102 RotateBonds* rb_;
103
104
105
106 /** set all rotable molecules to original positions
107 */
108 void restore();
109
110 /** amber options
111 */
112 Options opt_;
113
114 bool redraw_;
115
116 bool post_dock_optimization_;
117
118 };
119 }
120
121 #endif /* BALL_DOCKING_GENETICDOCK_DOCKPROBLEM_H */