Generated on Mon Jun 23 16:25:36 2008 for BIU-1.7.0 by doxygen 1.5.1

biu::DistanceEnergyFunction Class Reference

#include <DistanceEnergyFunction.hh>

Inheritance diagram for biu::DistanceEnergyFunction:

Inheritance graph
[legend]

Detailed Description

An energy function that evaluates the energy contribution of two monomers depending on their type and distance.

It provides the distance based energy for elements of a specified alphabet.

Author:
Martin Mann

Definition at line 18 of file DistanceEnergyFunction.hh.

Public Member Functions

virtual const Alphabet *const getAlphabet () const=0
virtual double getEnergy (const Alphabet::AlphElem &first, const Alphabet::AlphElem &second, const double distance) const=0
virtual bool operator!= (const DistanceEnergyFunction &cef2) const=0
virtual bool operator== (const DistanceEnergyFunction &cef2) const=0
virtual ~DistanceEnergyFunction ()


Constructor & Destructor Documentation

biu::DistanceEnergyFunction::~DistanceEnergyFunction (  )  [virtual]

Definition at line 6 of file DistanceEnergyFunction.cc.


Member Function Documentation

virtual const Alphabet* const biu::DistanceEnergyFunction::getAlphabet (  )  const [pure virtual]

Access to the alphabet this energy function is based on.

Returns:
the alphabet in use

Implemented in biu::IntervalEnergyFunction.

virtual double biu::DistanceEnergyFunction::getEnergy ( const Alphabet::AlphElem first,
const Alphabet::AlphElem second,
const double  distance 
) const [pure virtual]

Returns the contact energy of two elements of the alphabet.

Parameters:
first,second have to be elements of the specified alphabet.
distance the distance of the two monomers to evaluate
Returns:
the distance based energy contribution

Implemented in biu::IntervalEnergyFunction.

virtual bool biu::DistanceEnergyFunction::operator!= ( const DistanceEnergyFunction cef2  )  const [pure virtual]

Implemented in biu::IntervalEnergyFunction.

virtual bool biu::DistanceEnergyFunction::operator== ( const DistanceEnergyFunction cef2  )  const [pure virtual]

Implemented in biu::IntervalEnergyFunction.


The documentation for this class was generated from the following files: