Click here to Skip to main content
15,893,622 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: When completing a bespoke programme should I give the code up? Pin
jschell17-Dec-12 8:27
jschell17-Dec-12 8:27 
GeneralRe: When completing a bespoke programme should I give the code up? Pin
itorchuk17-Dec-12 8:37
itorchuk17-Dec-12 8:37 
QuestionPrime Number Generation Pin
Joshua Guyette14-Dec-12 9:36
Joshua Guyette14-Dec-12 9:36 
AnswerRe: Prime Number Generation Pin
Alan Balkany17-Dec-12 4:39
Alan Balkany17-Dec-12 4:39 
AnswerRe: Prime Number Generation Pin
April Fans19-Dec-12 19:34
April Fans19-Dec-12 19:34 
AnswerRe: Prime Number Generation Pin
_Kel_30-Dec-12 4:44
_Kel_30-Dec-12 4:44 
QuestionFinding Bounding Entities Pin
Kyudos9-Dec-12 12:10
Kyudos9-Dec-12 12:10 
AnswerRe: Finding Bounding Entities Pin
Alan Balkany10-Dec-12 5:28
Alan Balkany10-Dec-12 5:28 
A k-d tree ([^]) is good for nearest-neighbor and range searches.

It's like a standard binary search tree, except the discriminant (the value you use to decide on the left or right branches) alternates between the X and Y coordinates at each level.

So at each level, you can eliminate half the search space, depending on if the X or Y coordinates are beyond the point you're searching around. (If neither can be eliminated, you recursively search down both the left and right branches.)

Once you have the entities that are clustered around your point, you can check if they overlap to detect a contiguous entity path around the point.
"Microsoft -- Adding unnecessary complexity to your work since 1987!"

Questionneed a guidance Pin
en4114-Dec-12 22:08
en4114-Dec-12 22:08 
AnswerRe: need a guidance Pin
Alan Balkany5-Dec-12 4:55
Alan Balkany5-Dec-12 4:55 
AnswerRe: need a guidance Pin
Dr. Hurol Aslan1-Feb-13 3:55
Dr. Hurol Aslan1-Feb-13 3:55 
GeneralUSING PARTICLE SWARM OPTIMIZATION IN MATLAB Pin
李不凡 Dec20123-Dec-12 6:34
李不凡 Dec20123-Dec-12 6:34 
Questionalgorithms??? Pin
en4111-Dec-12 15:13
en4111-Dec-12 15:13 
AnswerRe: algorithms??? Pin
Peter_in_27801-Dec-12 19:34
professionalPeter_in_27801-Dec-12 19:34 
QuestionRe: algorithms??? Pin
April Fans27-Dec-12 4:17
April Fans27-Dec-12 4:17 
NewsWilling to Trade Ad Space on My site for work on my site Pin
Beyslist114-Nov-12 17:15
Beyslist114-Nov-12 17:15 
QuestionNeed a Classified Ad Aggregator Algorithm Pin
Beyslist114-Nov-12 17:14
Beyslist114-Nov-12 17:14 
Questionfinding the best algorithm Pin
speedchandu20-Oct-12 11:32
speedchandu20-Oct-12 11:32 
AnswerRe: finding the best algorithm Pin
Alan Balkany22-Oct-12 5:00
Alan Balkany22-Oct-12 5:00 
GeneralRe: finding the best algorithm Pin
speedchandu22-Oct-12 20:12
speedchandu22-Oct-12 20:12 
GeneralRe: finding the best algorithm Pin
_Kel_22-Oct-12 23:36
_Kel_22-Oct-12 23:36 
GeneralRe: finding the best algorithm Pin
AshrafKawarezmey14-Nov-12 4:57
AshrafKawarezmey14-Nov-12 4:57 
AnswerRe: finding the best algorithm Pin
YvesDaoust22-Oct-12 21:41
YvesDaoust22-Oct-12 21:41 
AnswerRe: finding the best algorithm Pin
YvesDaoust22-Oct-12 22:11
YvesDaoust22-Oct-12 22:11 
GeneralRe: finding the best algorithm Pin
Peter_in_27802-Dec-12 14:45
professionalPeter_in_27802-Dec-12 14:45 

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.