Click here to Skip to main content
15,881,882 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Hi There is a function in PhotoShop Color match! Pin
the north face15-Nov-11 15:57
the north face15-Nov-11 15:57 
QuestionLevenshtein Distance Pin
PIEBALDconsult14-Oct-11 6:05
mvePIEBALDconsult14-Oct-11 6:05 
AnswerRe: Levenshtein Distance Pin
TheGreatAndPowerfulOz18-Oct-11 12:44
TheGreatAndPowerfulOz18-Oct-11 12:44 
GeneralRe: Levenshtein Distance Pin
PIEBALDconsult19-Oct-11 6:27
mvePIEBALDconsult19-Oct-11 6:27 
AnswerRe: Levenshtein Distance Pin
Luc Pattyn18-Oct-11 14:08
sitebuilderLuc Pattyn18-Oct-11 14:08 
AnswerRe: Levenshtein Distance Pin
Luc Pattyn18-Oct-11 17:23
sitebuilderLuc Pattyn18-Oct-11 17:23 
GeneralRe: Levenshtein Distance Pin
PIEBALDconsult18-Oct-11 17:54
mvePIEBALDconsult18-Oct-11 17:54 
AnswerRe: Levenshtein Distance Pin
Luc Pattyn19-Oct-11 0:31
sitebuilderLuc Pattyn19-Oct-11 0:31 
of course the calculations are O(mn), each matrix element needs some (simple) calculations. If you don't like that (your original question was about memory foot print, not calculations), you shouldn't be using Levinshtein at all; I've never used it myself as I consider it too much trouble to get an estimated difference between strings. That is why I suggested some alternatives. Tokenizing would save both cycles and bytes, the stochastic approach probably only saves bytes, not cycles, as it needs a lot of string scanning.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Levenshtein Distance Pin
PIEBALDconsult19-Oct-11 2:40
mvePIEBALDconsult19-Oct-11 2:40 
AnswerRe: Levenshtein Distance Pin
Luc Pattyn19-Oct-11 3:01
sitebuilderLuc Pattyn19-Oct-11 3:01 
GeneralRe: Levenshtein Distance Pin
PIEBALDconsult19-Oct-11 3:16
mvePIEBALDconsult19-Oct-11 3:16 
AnswerRe: Levenshtein Distance Pin
Luc Pattyn19-Oct-11 3:51
sitebuilderLuc Pattyn19-Oct-11 3:51 
AnswerRe: Levenshtein Distance Pin
TheGreatAndPowerfulOz19-Oct-11 4:58
TheGreatAndPowerfulOz19-Oct-11 4:58 
GeneralRe: Levenshtein Distance Pin
PIEBALDconsult19-Oct-11 6:24
mvePIEBALDconsult19-Oct-11 6:24 
AnswerRe: Levenshtein Distance Pin
YvesDaoust19-Oct-11 3:31
YvesDaoust19-Oct-11 3:31 
AnswerRe: Levenshtein Distance Pin
Luc Pattyn19-Oct-11 3:49
sitebuilderLuc Pattyn19-Oct-11 3:49 
GeneralRe: Levenshtein Distance Pin
YvesDaoust19-Oct-11 4:06
YvesDaoust19-Oct-11 4:06 
GeneralRe: Levenshtein Distance Pin
Luc Pattyn19-Oct-11 4:16
sitebuilderLuc Pattyn19-Oct-11 4:16 
GeneralRe: Levenshtein Distance Pin
YvesDaoust19-Oct-11 4:27
YvesDaoust19-Oct-11 4:27 
GeneralRe: Levenshtein Distance Pin
PIEBALDconsult19-Oct-11 6:26
mvePIEBALDconsult19-Oct-11 6:26 
GeneralRe: Levenshtein Distance Pin
PIEBALDconsult19-Oct-11 6:24
mvePIEBALDconsult19-Oct-11 6:24 
GeneralRe: Levenshtein Distance Pin
PIEBALDconsult19-Oct-11 6:28
mvePIEBALDconsult19-Oct-11 6:28 
AnswerRe: Levenshtein Distance Pin
YvesDaoust19-Oct-11 7:14
YvesDaoust19-Oct-11 7:14 
GeneralRe: Levenshtein Distance Pin
PIEBALDconsult19-Oct-11 11:15
mvePIEBALDconsult19-Oct-11 11:15 
Questionstate-of-the art computer/machine vision system Pin
BupeChombaDerrick10-Oct-11 10:17
BupeChombaDerrick10-Oct-11 10:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.