Public Member Functions | |
edist_state (const CHR *ptr1, int len1, const CHR *ptr2, int len2) | |
~edist_state () | |
int | get_f_kp (int k, int p) const |
void | set_f_kp (int k, int p, int val) |
bool | is_transposed (int pos1, int pos2) |
void | edist_calc_f_kp (int k, int p) |
Private Member Functions | |
int | calc_index (int k, int p) const |
Private Attributes | |
edist_seq< CHR > | seq1 |
edist_seq< CHR > | seq2 |
int * | fkp |
int | fkp_cols |
int | maxdist |
Definition at line 49 of file editdistance.cc.
edist_state< CHR >::edist_state | ( | const CHR * | ptr1, | |
int | len1, | |||
const CHR * | ptr2, | |||
int | len2 | |||
) | [inline] |
Definition at line 133 of file editdistance.cc.
References Assert, edist_state< CHR >::fkp, edist_state< CHR >::fkp_cols, INF, edist_state< CHR >::maxdist, and edist_state< CHR >::set_f_kp().
edist_state< CHR >::~edist_state | ( | ) | [inline] |
int edist_state< CHR >::calc_index | ( | int | k, | |
int | p | |||
) | const [inline, private] |
Definition at line 65 of file editdistance.cc.
References edist_state< CHR >::fkp_cols, and edist_state< CHR >::maxdist.
Referenced by edist_state< CHR >::get_f_kp(), and edist_state< CHR >::set_f_kp().
int edist_state< CHR >::get_f_kp | ( | int | k, | |
int | p | |||
) | const [inline] |
Definition at line 75 of file editdistance.cc.
References edist_state< CHR >::calc_index(), and edist_state< CHR >::fkp.
Referenced by edist_state< CHR >::edist_calc_f_kp(), and seqcmp_editdist().
void edist_state< CHR >::set_f_kp | ( | int | k, | |
int | p, | |||
int | val | |||
) | [inline] |
Definition at line 79 of file editdistance.cc.
References edist_state< CHR >::calc_index(), and edist_state< CHR >::fkp.
Referenced by edist_state< CHR >::edist_calc_f_kp(), and edist_state< CHR >::edist_state().
bool edist_state< CHR >::is_transposed | ( | int | pos1, | |
int | pos2 | |||
) | [inline] |
Definition at line 83 of file editdistance.cc.
References edist_state< CHR >::seq1, and edist_state< CHR >::seq2.
Referenced by edist_state< CHR >::edist_calc_f_kp().
void edist_state< CHR >::edist_calc_f_kp | ( | int | k, | |
int | p | |||
) | [inline] |
Definition at line 93 of file editdistance.cc.
References edist_state< CHR >::get_f_kp(), edist_state< CHR >::is_transposed(), edist_state< CHR >::seq1, edist_state< CHR >::seq2, and edist_state< CHR >::set_f_kp().
Referenced by seqcmp_editdist().
edist_seq<CHR> edist_state< CHR >::seq1 [private] |
Definition at line 50 of file editdistance.cc.
Referenced by edist_state< CHR >::edist_calc_f_kp(), and edist_state< CHR >::is_transposed().
edist_seq<CHR> edist_state< CHR >::seq2 [private] |
Definition at line 51 of file editdistance.cc.
Referenced by edist_state< CHR >::edist_calc_f_kp(), and edist_state< CHR >::is_transposed().
int* edist_state< CHR >::fkp [private] |
Definition at line 58 of file editdistance.cc.
Referenced by edist_state< CHR >::edist_state(), edist_state< CHR >::get_f_kp(), edist_state< CHR >::set_f_kp(), and edist_state< CHR >::~edist_state().
int edist_state< CHR >::fkp_cols [private] |
Definition at line 59 of file editdistance.cc.
Referenced by edist_state< CHR >::calc_index(), and edist_state< CHR >::edist_state().
int edist_state< CHR >::maxdist [private] |
Definition at line 63 of file editdistance.cc.
Referenced by edist_state< CHR >::calc_index(), and edist_state< CHR >::edist_state().