Click here to Skip to main content
15,890,973 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: how to know a file just copy to some path in HDD ? Pin
Eddy Vluggen30-May-09 9:00
professionalEddy Vluggen30-May-09 9:00 
GeneralIraq-born teen cracks maths puzzle Pin
Bassam Abdul-Baki28-May-09 8:02
professionalBassam Abdul-Baki28-May-09 8:02 
GeneralRe: Iraq-born teen cracks maths puzzle Pin
73Zeppelin28-May-09 8:30
73Zeppelin28-May-09 8:30 
GeneralRe: Iraq-born teen cracks maths puzzle Pin
User 171649228-May-09 8:56
professionalUser 171649228-May-09 8:56 
GeneralRe: Iraq-born teen cracks maths puzzle Pin
Bassam Abdul-Baki28-May-09 9:13
professionalBassam Abdul-Baki28-May-09 9:13 
GeneralRe: Iraq-born teen cracks maths puzzle Pin
User 171649228-May-09 11:38
professionalUser 171649228-May-09 11:38 
GeneralRe: Iraq-born teen cracks maths puzzle Pin
Moreno Airoldi29-May-09 8:43
Moreno Airoldi29-May-09 8:43 
QuestionFinding Matches in Two Large Lists of Strings Pin
ggraham41227-May-09 11:14
ggraham41227-May-09 11:14 
Hi,

I have two long (>50000) lists of names that must be periodically checked for possible matches between them. I've coded up several fast algorithms for computing edit distances (Eg- Levenshtein) but the size of the lists still makes it very time costly.

Is there any fast function F(S) that people compute offline on single strings that you could cluster them by, so that two strings far apart in F are also far apart in string distance, and one could reduce the size of the set that must be checked exactly? For example, if my criterion for matching is Leven(s1, s2) < N, then I know that |Length(s1) - Length(s2)| < N, and if I find a length difference >= N I won't even bother running Levenshtein.

I Googled once and came up with suggestions to use Hilbert curves or Z-ordering, and it made my head hurt. But there's gotta be something better than just length...

Thanks a million!
AnswerRe: Finding Matches in Two Large Lists of Strings Pin
Alan Balkany28-May-09 10:54
Alan Balkany28-May-09 10:54 
AnswerRe: Finding Matches in Two Large Lists of Strings Pin
supercat928-May-09 12:03
supercat928-May-09 12:03 
AnswerRe: Finding Matches in Two Large Lists of Strings Pin
Moreno Airoldi29-May-09 8:41
Moreno Airoldi29-May-09 8:41 
AnswerRe: Finding Matches in Two Large Lists of Strings Pin
PIEBALDconsult12-Jul-09 17:58
mvePIEBALDconsult12-Jul-09 17:58 
AnswerRe: Finding Matches in Two Large Lists of Strings Pin
Tadeusz Westawic13-Jul-09 18:08
Tadeusz Westawic13-Jul-09 18:08 
Question[Message Deleted] Pin
Padmanabha_M26-May-09 17:54
Padmanabha_M26-May-09 17:54 
AnswerRe: arctan Pin
Tim Craig26-May-09 18:28
Tim Craig26-May-09 18:28 
Questionimage segmentation Pin
sridharmcapsg25-May-09 20:16
sridharmcapsg25-May-09 20:16 
AnswerRe: image segmentation Pin
riced25-May-09 23:51
riced25-May-09 23:51 
QuestionK means with Mahalanobis - Singularity [modified] Pin
FatMooseHenry21-May-09 22:41
FatMooseHenry21-May-09 22:41 
AnswerRe: K means with Mahalanobis - Singularity Pin
73Zeppelin22-May-09 10:06
73Zeppelin22-May-09 10:06 
QuestionRegion based shape representation Pin
raouaa21-May-09 1:15
raouaa21-May-09 1:15 
QuestionString matching algorithm Pin
vSoares18-May-09 6:43
professionalvSoares18-May-09 6:43 
AnswerRe: String matching algorithm Pin
Yusuf18-May-09 6:53
Yusuf18-May-09 6:53 
GeneralRe: String matching algorithm Pin
vSoares18-May-09 7:01
professionalvSoares18-May-09 7:01 
GeneralRe: String matching algorithm Pin
harold aptroot18-May-09 7:43
harold aptroot18-May-09 7:43 
GeneralRe: String matching algorithm Pin
riced18-May-09 22:21
riced18-May-09 22:21 

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.