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

Algorithms

 
GeneralRe: algorithm Pin
PIEBALDconsult15-May-15 14:42
mvePIEBALDconsult15-May-15 14:42 
QuestionAlgorithm for finding the best “route” of tasks Pin
Nino Cotec2-Apr-15 5:50
Nino Cotec2-Apr-15 5:50 
AnswerRe: Algorithm for finding the best “route” of tasks Pin
Chris Losinger2-Apr-15 9:41
professionalChris Losinger2-Apr-15 9:41 
AnswerRe: Algorithm for finding the best “route” of tasks Pin
Patrice T25-Jun-15 8:44
mvePatrice T25-Jun-15 8:44 
QuestionCreate continuous path from multiple segments Pin
Member 115731191-Apr-15 3:38
Member 115731191-Apr-15 3:38 
AnswerRe: Create continuous path from multiple segments Pin
Frankie-C2-Apr-15 1:27
Frankie-C2-Apr-15 1:27 
GeneralRe: Create continuous path from multiple segments Pin
Member 115731192-Apr-15 6:47
Member 115731192-Apr-15 6:47 
GeneralRe: Create continuous path from multiple segments Pin
Frankie-C2-Apr-15 7:29
Frankie-C2-Apr-15 7:29 
To allow for small coordinates errors, especially if they are floating point or come from float calc. In that case the comparison could fail for very small differences.

When dealing with floats the best test for comparison is:
C++
if (fabs(float1-float2) < epsilon)
in this case we say that the comparison is satisfied if the absolute value difference between the two floats is less than the approximation (epsilon).
BTW you can do as you like... Laugh | :laugh:
GeneralRe: Create continuous path from multiple segments Pin
Member 115731192-Apr-15 7:34
Member 115731192-Apr-15 7:34 
AnswerRe: Create continuous path from multiple segments Pin
Patrice T28-Jun-15 16:58
mvePatrice T28-Jun-15 16:58 
QuestionECDSA FOR A NOOB Pin
Reversedme28-Mar-15 5:16
Reversedme28-Mar-15 5:16 
QuestionIs there a way to accelerate the following algorithm for hamming distance calculation? By assembly language? Pin
prime_tang23-Mar-15 23:40
prime_tang23-Mar-15 23:40 
AnswerRe: Is there a way to accelerate the following algorithm for hamming distance calculation? By assembly language? Pin
harold aptroot24-Mar-15 1:16
harold aptroot24-Mar-15 1:16 
AnswerRe: Is there a way to accelerate the following algorithm for hamming distance calculation? By assembly language? Pin
Patrice T30-Jun-15 14:41
mvePatrice T30-Jun-15 14:41 
QuestionUNION FIND Pin
Pratik Naik16-Mar-15 10:26
Pratik Naik16-Mar-15 10:26 
AnswerRe: UNION FIND Pin
Richard Andrew x6416-Mar-15 10:43
professionalRichard Andrew x6416-Mar-15 10:43 
GeneralRe: UNION FIND Pin
Pratik Naik16-Mar-15 10:46
Pratik Naik16-Mar-15 10:46 
AnswerRe: UNION FIND Pin
F-ES Sitecore16-Mar-15 23:55
professionalF-ES Sitecore16-Mar-15 23:55 
QuestionSPOJ DIVCON PROBLEM Pin
Member 114896771-Mar-15 10:54
Member 114896771-Mar-15 10:54 
AnswerRe: SPOJ DIVCON PROBLEM Pin
Richard MacCutchan1-Mar-15 22:47
mveRichard MacCutchan1-Mar-15 22:47 
QuestionLooking for someone to help create an algorithm. Pin
Member 1146989221-Feb-15 19:27
Member 1146989221-Feb-15 19:27 
AnswerRe: Looking for someone to help create an algorithm. Pin
Richard MacCutchan21-Feb-15 21:28
mveRichard MacCutchan21-Feb-15 21:28 
SuggestionRe: Looking for someone to help create an algorithm. Pin
Kornfeld Eliyahu Peter21-Feb-15 22:33
professionalKornfeld Eliyahu Peter21-Feb-15 22:33 
GeneralRe: Looking for someone to help create an algorithm. Pin
Member 1146989222-Feb-15 6:16
Member 1146989222-Feb-15 6:16 
GeneralRe: Looking for someone to help create an algorithm. Pin
Richard MacCutchan22-Feb-15 7:19
mveRichard MacCutchan22-Feb-15 7:19 

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.