26 using namespace Victor::Biopool;
27 namespace Victor{
namespace Energy{
60 virtual long double calculateEnergy(
Spacer& sp) = 0;
61 virtual long double calculateEnergy(
Spacer& sp,
unsigned int index1,
62 unsigned int index2) = 0;
65 virtual long double calculateEnergy(
AminoAcid& resid, AminoAcidCode type,
Spacer& sp) {
66 ERROR(
"ERROR. NOT IMPLEMENTED FOR THIS CLASS.", exception)
69 virtual long double pReturnMaxPropensity(
const AminoAcidCode type)
const {
70 ERROR(
"ERROR. NOT IMPLEMENTED FOR THIS CLASS.", exception);
73 virtual long double pReturnMinPropensity(
const AminoAcidCode type)
const {
74 ERROR(
"ERROR. NOT IMPLEMENTED FOR THIS CLASS.", exception);
77 virtual vector< vector<ANGLES> >* orderedEnergy() {
78 ERROR(
"ERROR. NOT IMPLEMENTED FOR THIS CLASS.", exception);
104 struct EnergyGreater :
public binary_function<const Potential::ANGLES &, const Potential::ANGLES &, bool> {
106 bool operator()(
const Potential::ANGLES &ref1,
const Potential::ANGLES &ref2) {
107 return ref1.energy > ref2.energy;
112 #endif //_POTENTIAL_H_
Energy operator. It compares enrgies of two Potential::ANGLES structures.
Definition: Potential.h:104
Abstract class for the energy potential.
Definition: Potential.h:37
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