20 #ifndef _SOLVATIONPOTENTIAL_H_
21 #define _SOLVATIONPOTENTIAL_H_
26 #include <Potential.h>
29 const double SOLVATION_CUTOFF_DISTANCE = 10.0;
31 using namespace Victor;
32 namespace Victor {
namespace Energy {
56 virtual long double calculateEnergy(
Spacer& sp) {
59 virtual long double calculateEnergy(
Spacer& sp,
unsigned int index1,
66 virtual long double calculateEnergy(
72 unsigned int start = 0,
unsigned int end = 9999);
84 static inline long double propCoeff() {
93 long double pGetPropensity(
const AminoAcidCode type,
94 unsigned int count)
const;
95 long double pGetMaxPropensity(
const AminoAcidCode type)
const;
96 long double pGetMinPropensity(
const AminoAcidCode type)
const;
99 void pConstructMaxPropensities();
100 void pConstructMinPropensities();
103 vector<vector<int> > sum;
105 unsigned int binResolution;
112 vector<long double> amino_max_propensities;
113 vector<long double> amino_min_propensities;
114 static unsigned int MAX_BINS;
115 static string SOLV_PARAM_FILE;
130 return amino_max_propensities[type];
139 return amino_min_propensities[type];
144 #endif //_SOLVATIONPOTENTIAL_H_
Includes methods that allow to calculate solvation, energy and propensity.
Definition: SolvationPotential.h:44
SolvationPotential(unsigned int _resol=1)
Definition: SolvationPotential.cc:37
long double calculateSolvation(Spacer &sp)
Definition: SolvationPotential.cc:87
Abstract class for the energy potential.
Definition: Potential.h:37
long double pReturnMinPropensity(const AminoAcidCode type) const
Definition: SolvationPotential.h:138
long double pReturnMaxPropensity(const AminoAcidCode type) const
Definition: SolvationPotential.h:129
It mplements a simple amino acid.
Definition: AminoAcid.h:43
Implements a "Spacer" for a protein chain. Includes methods to obtain values from the atoms and its p...
Definition: Spacer.h:42