return up to NUMTOFIND results w/ cost < MAXERR
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 17 Sep 2012 21:38:38 +0000 (17:38 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 17 Sep 2012 21:38:38 +0000 (17:38 -0400)
commit42943c57fcf2987e9942820f9a1bebde5be9bed2
treee07fb022b8fd7b8cb52e19cd5bd9784a4202e64b
parente27deeca07429c1cfe968ad5186a15bc1a421bd1
return up to NUMTOFIND results w/ cost < MAXERR

return NUMTOFIND results that have a cost less than MAXERR, if they
exist.

this way, almost all searches will return results.

the maximum cost that is searched with decreases, as more results are
found that have less than the starting or current cost. (cost ==
fuzziness)
fuzzy.c