RxDock
0.1.0
A fast, versatile, and open-source program for docking ligands to proteins and nucleic acids
Loading...
Searching...
No Matches
include
rxdock
RandPopTransform.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
// Generates a randomised population for the GA
14
#ifndef _RBTRANDPOPTRANSFORM_H_
15
#define _RBTRANDPOPTRANSFORM_H_
16
17
#include "rxdock/BaseBiMolTransform.h"
18
#include "rxdock/ChromElement.h"
19
20
namespace
rxdock {
21
22
class
RandPopTransform
:
public
BaseBiMolTransform
{
23
public
:
24
static
const
std::string _CT;
25
static
const
std::string _POP_SIZE;
26
static
const
std::string _SCALE_CHROM_LENGTH;
27
29
// Constructors/destructors
30
RBTDLL_EXPORT
RandPopTransform
(
const
std::string &strName =
"RANDPOP"
);
31
virtual
~RandPopTransform
();
32
34
// Public methods
36
37
protected
:
39
// Protected methods
41
virtual
void
42
SetupTransform();
// Called by Update when either model has changed
43
virtual
void
SetupReceptor();
// Called by Update when receptor is changed
44
virtual
void
SetupLigand();
// Called by Update when ligand is changed
45
virtual
void
SetupSolvent();
// Called by Update when solvent is changed
46
virtual
void
Execute();
47
48
private
:
50
// Private methods
52
RandPopTransform
(
53
const
RandPopTransform
&);
// Copy constructor disabled by default
54
RandPopTransform
&
55
operator=(
const
RandPopTransform
&);
// Copy assignment disabled by default
56
57
protected
:
59
// Protected data
61
62
private
:
64
// Private data
66
ChromElementPtr
m_chrom;
67
};
68
69
// Useful typedefs
70
typedef
SmartPtr<RandPopTransform>
RandPopTransformPtr
;
// Smart pointer
71
72
}
// namespace rxdock
73
74
#endif
//_RBTRANDPOPTRANSFORM_H_
rxdock::BaseBiMolTransform
Definition
BaseBiMolTransform.h:27
rxdock::RandPopTransform
Definition
RandPopTransform.h:22
rxdock::SmartPtr< ChromElement >
Generated by
1.9.7