RNAlib-2.2.0-RC3
centroid.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_CENTROID_H
2 #define VIENNA_RNA_PACKAGE_CENTROID_H
3 
5 
6 #ifdef __GNUC__
7 #define DEPRECATED(func) func __attribute__ ((deprecated))
8 #else
9 #define DEPRECATED(func) func
10 #endif
11 
34 char *vrna_get_centroid_struct_pl( int length,
35  double *dist,
36  plist *pl);
37 
43 DEPRECATED(char *get_centroid_struct_pl(int length,
44  double *dist,
45  plist *pl));
46 
63 char *vrna_get_centroid_struct_pr( int length,
64  double *dist,
65  FLT_OR_DBL *pr);
66 
72 DEPRECATED(char *get_centroid_struct_pr(int length,
73  double *dist,
74  FLT_OR_DBL *pr));
75 
76 
91  double *dist);
92 
93 #endif
char * vrna_get_centroid_struct(vrna_fold_compound *vc, double *dist)
Get the centroid structure of the ensemble.
char * vrna_get_centroid_struct_pl(int length, double *dist, plist *pl)
Get the centroid structure of the ensemble.
The most basic data structure required by many functions throughout the RNAlib.
Definition: data_structures.h:698
char * get_centroid_struct_pl(int length, double *dist, plist *pl)
Get the centroid structure of the ensemble.
this datastructure is used as input parameter in functions of PS_dot.h and others ...
Definition: data_structures.h:45
char * vrna_get_centroid_struct_pr(int length, double *dist, FLT_OR_DBL *pr)
Get the centroid structure of the ensemble.
char * get_centroid_struct_pr(int length, double *dist, FLT_OR_DBL *pr)
Get the centroid structure of the ensemble.
FLT_OR_DBL * pr
A pointer to the base pair probability matrix.