repo.or.cz
/
git
/
jnareb-git
/
bp-gitweb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Further 'approxidate' improvements
[git/jnareb-git/bp-gitweb.git]
/
levenshtein.h
blob
0173abeef52c8dc3930a5c36420ff073ba8ddc87
1
#ifndef LEVENSHTEIN_H
2
#define LEVENSHTEIN_H
3
4
int
levenshtein
(
const char
*
string1
,
const char
*
string2
,
5
int
swap_penalty
,
int
substition_penalty
,
6
int
insertion_penalty
,
int
deletion_penalty
);
7
8
#endif