xapian-core
1.4.26
|
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) const |
void | edist_calc_f_kp (int k, int p) |
Private Member Functions | |
void | operator= (const edist_state &) |
Don't allow assignment. More... | |
edist_state (const edist_state &) | |
Don't allow copying. More... | |
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.
|
private |
Don't allow copying.
edist_state< CHR >::edist_state | ( | const CHR * | ptr1, |
int | len1, | ||
const CHR * | ptr2, | ||
int | len2 | ||
) |
Definition at line 139 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 | ( | ) |
Definition at line 163 of file editdistance.cc.
References edist_state< CHR >::fkp.
|
inlineprivate |
Definition at line 71 of file editdistance.cc.
void edist_state< CHR >::edist_calc_f_kp | ( | int | k, |
int | p | ||
) |
Definition at line 99 of file editdistance.cc.
Referenced by seqcmp_editdist().
|
inline |
Definition at line 81 of file editdistance.cc.
Referenced by seqcmp_editdist().
|
inline |
Definition at line 89 of file editdistance.cc.
References edist_seq< CHR >::len, and edist_seq< CHR >::ptr.
|
private |
Don't allow assignment.
|
inline |
Definition at line 85 of file editdistance.cc.
Referenced by edist_state< CHR >::edist_state().
|
private |
Definition at line 64 of file editdistance.cc.
Referenced by edist_state< CHR >::edist_state(), and edist_state< CHR >::~edist_state().
|
private |
Definition at line 65 of file editdistance.cc.
Referenced by edist_state< CHR >::edist_state().
|
private |
Definition at line 69 of file editdistance.cc.
Referenced by edist_state< CHR >::edist_state().
|
private |
Definition at line 56 of file editdistance.cc.
|
private |
Definition at line 57 of file editdistance.cc.