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
ChromOccupancyRefData.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
// Manages the fixed reference data for a model occupancy chromosome element
14
// A single instance is designed to be shared between all clones of a given
15
// element
16
#ifndef RBTCHROMOCCUPANCYREFDATA_H_
17
#define RBTCHROMOCCUPANCYREFDATA_H_
18
19
#include "rxdock/Config.h"
20
21
namespace
rxdock {
22
23
class
Model;
24
25
class
ChromOccupancyRefData
{
26
public
:
27
// Class type string
28
static
const
std::string _CT;
29
// Sole constructor
30
ChromOccupancyRefData
(
31
Model
*pModel,
32
double
stepSize,
// mutation step size
33
double
threshold);
// threshold for enabling/disabling atoms
34
virtual
~ChromOccupancyRefData
();
35
36
double
GetStepSize()
const
{
return
m_stepSize; }
37
double
GetModelValue()
const
;
38
void
SetModelValue(
double
occupancy);
39
double
GetInitialValue()
const
{
return
m_initialValue; }
40
41
private
:
42
Model
*m_pModel;
43
double
m_stepSize;
44
double
m_threshold;
45
double
m_initialValue;
46
};
47
48
typedef
SmartPtr<ChromOccupancyRefData>
49
ChromOccupancyRefDataPtr
;
// Smart pointer
50
51
}
// namespace rxdock
52
53
#endif
/*RBTCHROMOCCUPANCYREFDATA_H_*/
rxdock::ChromOccupancyRefData
Definition
ChromOccupancyRefData.h:25
rxdock::Model
Definition
Model.h:34
rxdock::SmartPtr
Definition
SmartPointer.h:48
Generated by
1.9.7