Click here to Skip to main content
15,899,314 members
Home / Discussions / Algorithms
   

Algorithms

 
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 
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 
I'm not sure there's a good method if one is seeking to find all strings in one set which are within some Leven distance of any string in another set, unless the only distances of interest are small (preferably one, maybe two).

If the strings in question are names, you could hash each one into an 26-bit integer identifying what letters it contains. If desired, some letters could be ignored, or other letters folded together, so as to yield e.g. a 16-bit integer. If two names are within an edit distance of e.g. 2, then there must be at most two bits different between the names. One could produce a list of all distance-two collisions among the 65,536 different integer hash values. There would be many such collisions, but one might still save some time versus a brute-force comparison of everything.
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 
AnswerRe: String matching algorithm Pin
PIEBALDconsult19-May-09 4:24
mvePIEBALDconsult19-May-09 4:24 
AnswerRe: String matching algorithm Pin
Fatbuddha 119-May-09 5:01
Fatbuddha 119-May-09 5:01 

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.