SLIKMC
1.0
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Pages
LoopTKSampler.h
1
/*
2
* LoopTKSampler.h
3
*
4
* Created on: Jul 31, 2012
5
* Author: Yajia
6
*/
7
8
#ifndef LOOPTKSAMPLER_H_
9
#define LOOPTKSAMPLER_H_
10
#include "PProtein.h"
11
#include "RamachandranPlot.h"
12
#include "BFactor.h"
13
17
class
Protein_Score
{
18
public
:
19
PProtein* protein;
20
double
score;
21
};
22
26
class
CompareProtein_Score
{
27
public
:
28
bool
operator()(
Protein_Score
& t1,
Protein_Score
& t2);
29
};
30
34
class
LoopTKSampler
{
35
public
:
39
LoopTKSampler
(PProtein* chain);
43
virtual
~LoopTKSampler
();
44
52
void
sample
(
const
double
time,
const
int
s,
const
int
e,
const
int
num = -1);
53
59
double
evaluate_log
( PProtein* chain);
60
69
static
PProtein*
perturb
( PProtein* chain,
const
double
time,
const
int
s,
const
int
e);
70
75
void
enableBFactors
( PProtein* protein = NULL);
76
80
void
disableBFactors
();
81
private
:
82
BFactor
* bfactor;
83
RamachandranPlot
rplot;
84
PProtein* chain;
85
86
bool
use_BFactor;
87
};
88
89
#endif
/* LOOPTKSAMPLER_H_ */
Generated on Thu May 2 2013 04:05:35 for SLIKMC by
1.8.3.1-20130209