| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
#ifndef eslDISTANCE_INCLUDED |
| 7 |
#define eslDISTANCE_INCLUDED |
| 8 |
#include <esl_config.h> |
| 9 |
|
| 10 |
#include "easel.h" |
| 11 |
#include "esl_alphabet.h" |
| 12 |
#include "esl_dmatrix.h" |
| 13 |
|
| 14 |
#ifdef __cplusplus |
| 15 |
extern "C" { |
| 16 |
#endif |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
extern int esl_dst_CPairId ( const char *as1, const char *as2, double *opt_pid, int *opt_nid, int *opt_n); |
| 21 |
extern int esl_dst_CPairmatch ( const char *as1, const char *as2, double *opt_pm, int *opt_nm, int *opt_n); |
| 22 |
extern int esl_dst_CJukesCantor(int K, const char *as1, const char *as2, double *opt_distance, double *opt_variance); |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
extern int esl_dst_XPairId (const ESL_ALPHABET *abc, const ESL_DSQ *ax1, const ESL_DSQ *ax2, double *opt_pid, int *opt_nid, int *opt_n); |
| 27 |
extern int esl_dst_XPairMatch (const ESL_ALPHABET *abc, const ESL_DSQ *ax1, const ESL_DSQ *ax2, double *opt_pm, int *opt_nm, int *opt_n); |
| 28 |
extern int esl_dst_XJukesCantor(const ESL_ALPHABET *abc, const ESL_DSQ *ax1, const ESL_DSQ *ax2, double *opt_distance, double *opt_variance); |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
extern int esl_dst_CPairIdMx ( char **as, int N, ESL_DMATRIX **opt_S); |
| 33 |
extern int esl_dst_CDiffMx ( char **as, int N, ESL_DMATRIX **opt_D); |
| 34 |
extern int esl_dst_CJukesCantorMx(int K, char **as, int N, ESL_DMATRIX **opt_D, ESL_DMATRIX **opt_V); |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
extern int esl_dst_XPairIdMx (const ESL_ALPHABET *abc, ESL_DSQ **ax, int N, ESL_DMATRIX **opt_S); |
| 39 |
extern int esl_dst_XDiffMx (const ESL_ALPHABET *abc, ESL_DSQ **ax, int N, ESL_DMATRIX **opt_D); |
| 40 |
extern int esl_dst_XJukesCantorMx(const ESL_ALPHABET *abc, ESL_DSQ **ax, int N, ESL_DMATRIX **opt_D, ESL_DMATRIX **opt_V); |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
extern int esl_dst_CAverageId (char **as, int N, int max_comparisons, double *ret_avgid); |
| 45 |
extern int esl_dst_CAverageMatch(char **as, int N, int max_comparisons, double *ret_avgpm); |
| 46 |
|
| 47 |
extern int esl_dst_XAverageId (const ESL_ALPHABET *abc, ESL_DSQ **ax, int N, int max_comparisons, double *ret_avgid); |
| 48 |
extern int esl_dst_XAverageMatch (const ESL_ALPHABET *abc, ESL_DSQ **ax, int N, int max_comparisons, double *ret_avgpm); |
| 49 |
extern int esl_dst_XAvgConnectivity(const ESL_ALPHABET *abc, ESL_DSQ **ax, int N, int max_comparisons, double idthresh, double *opt_avgid, double *opt_avgconn); |
| 50 |
|
| 51 |
extern int esl_dst_XAvgSubsetConnectivity(const ESL_ALPHABET *abc, ESL_DSQ **ax, int N, int *V, int nV, int max_comparisons, double idthresh, double *opt_avgid, double *opt_avgconn); |
| 52 |
|
| 53 |
#ifdef __cplusplus |
| 54 |
} |
| 55 |
#endif |
| 56 |
#endif |
| 57 |
|