faif
Public Member Functions | List of all members
faif::dna::EnergyNucleo Class Reference

the maps between pair of nucleotides and its energy More...

#include <EnergyNucleo.h>

Collaboration diagram for faif::dna::EnergyNucleo:
Collaboration graph

Public Member Functions

 EnergyNucleo (EnergyValue defaultEnergy)
 
 EnergyNucleo (const EnergyNucleo &energy)
 
EnergyValue getEnergy (const faif::dna::Nucleotide &a, const faif::dna::Nucleotide &b) const
 return the energy of given pair More...
 
void addPair (const faif::dna::Nucleotide &a, const faif::dna::Nucleotide &b, const EnergyValue &val)
 stores the pair and its energy More...
 

Detailed Description

the maps between pair of nucleotides and its energy

Gives energy for two nucleotides, used f.e. in secondary structure calculation

Constructor & Destructor Documentation

faif::dna::EnergyNucleo::EnergyNucleo ( EnergyValue  defaultEnergy)
inlineexplicit

c-tor

faif::dna::EnergyNucleo::EnergyNucleo ( const EnergyNucleo energy)
inline

copy c-tor

Member Function Documentation

EnergyValue faif::dna::EnergyNucleo::getEnergy ( const faif::dna::Nucleotide a,
const faif::dna::Nucleotide b 
) const
inline

return the energy of given pair

void faif::dna::EnergyNucleo::addPair ( const faif::dna::Nucleotide a,
const faif::dna::Nucleotide b,
const EnergyValue val 
)
inline

stores the pair and its energy

Referenced by faif::dna::createDefaultEnergy().


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