About 9,660,000 results
Open links in new tab
  1. The best shortest path algorithm - Stack Overflow

    What is the difference between the "Floyd-Warshall algorithm" and "Dijkstra's Algorithm", and which is the best for finding the shortest path in a graph? I need to calculate the shortest path betw...

  2. algorithm - Finding all possible combinations of numbers to reach a ...

    Jan 8, 2011 · How would you go about testing all possible combinations of additions from a given set N of numbers so they add up to a given final number? A brief example: Set of numbers to add: N = …

  3. algorithm - What does O (log n) mean exactly? - Stack Overflow

    Feb 22, 2010 · A common algorithm with O (log n) time complexity is Binary Search whose recursive relation is T (n/2) + O (1) i.e. at every subsequent level of the tree you divide problem into half and do …

  4. c - How is a CRC32 checksum calculated? - Stack Overflow

    Your code is a bit hard to understand, partly because it's incomplete: temp and testcrc are not declared, so it's unclear what's being indexed, and how much data is running through the algorithm. The way …

  5. What is the difference between a heuristic and an algorithm?

    Feb 25, 2010 · An algorithm is the description of an automated solution to a problem. What the algorithm does is precisely defined. The solution could or could not be the best possible one but you know from …

  6. algorithm - Peak signal detection in realtime timeseries data - Stack ...

    Robust peak detection algorithm (using z-scores) I came up with an algorithm that works very well for these types of datasets. It is based on the principle of dispersion: if a new datapoint is a given x …

  7. Is there an efficient algorithm to generate a 2D concave hull?

    The answer may still be interesting for somebody else: One may apply a variation of the marching square algorithm, applied (1) within the concave hull, and (2) then on (e.g. 3) different scales that my …

  8. Algorithm to find multiple string matches - Stack Overflow

    Jul 16, 2010 · In case you really need to implement the algorithm, I think the fastest way is to reproduce what agrep does (agrep excels in multi-string matching!). Here are the source and executable files. …

  9. Where can I find information on the D* or D* Lite pathfinding algorithm?

    May 24, 2010 · As opposed to repeated A* search, the D* Lite algorithm avoids replanning from scratch and incrementally repair path keeping its modifications local around robot pose. if you would like to …

  10. What are some algorithms for comparing how similar two strings are?

    What you're looking for are called String Metric algorithms. There a significant number of them, many with similar characteristics. Among the more popular: Levenshtein Distance : The minimum number …