1 #ifndef VIENNA_RNA_PACKAGE_MULTIBRANCH_LOOPS_H 2 #define VIENNA_RNA_PACKAGE_MULTIBRANCH_LOOPS_H 42 PRIVATE INLINE
int E_MLstem(
int type,
53 PRIVATE INLINE
FLT_OR_DBL exp_E_MLstem(
int type,
104 E_ml_rightmost_stem(
int i,
165 PRIVATE INLINE
int E_MLstem(
int type,
int si1,
int sj1,
vrna_param_t *P){
167 if(si1 >= 0 && sj1 >= 0){
168 energy += P->mismatchM[type][si1][sj1];
171 energy += P->dangle5[type][si1];
174 energy += P->dangle3[type][sj1];
178 energy += P->TerminalAU;
180 energy += P->MLintern[type];
188 exp_E_MLstem(
int type,
194 if(si1 >= 0 && sj1 >= 0){
195 energy = P->expmismatchM[type][si1][sj1];
198 energy = P->expdangle5[type][si1];
201 energy = P->expdangle3[type][sj1];
205 energy *= P->expTermAU;
207 energy *= P->expMLintern[type];
double FLT_OR_DBL
Typename for floating point number in partition function computations.
Definition: data_structures.h:39
The most basic data structure required by many functions throughout the RNAlib.
Definition: data_structures.h:424
The datastructure that contains temperature scaled energy parameters.
Definition: params.h:50
General utility- and helper-functions used throughout the ViennaRNA Package.
int E_mb_loop_stack(int i, int j, vrna_fold_compound_t *vc)
Evaluate energy of a multi branch helices stacking onto closing pair (i,j)
The datastructure that contains temperature scaled Boltzmann weights of the energy parameters...
Definition: params.h:94
Base pair stack element.
Definition: data_structures.h:192
int vrna_BT_mb_loop(vrna_fold_compound_t *vc, int *i, int *j, int *k, int en, int *component1, int *component2)
Backtrack the decomposition of a multi branch loop closed by .