3 ms·
Erm. Algorithms aren't necessarily deterministic. http://en.wikipedia.org/wiki/Nondeterministic_algorithm http://en.wikipedia.org/wiki/Nondeterministic_algorith
by ramidarigaz 15y ago
Erm. Algorithms aren't necessarily deterministic. http://en.wikipedia.org/wiki/Nondeterministic_algorithm http://en.wikipedia.org/wiki/Nondeterministic_algorithm
Primality testing is a very good example of a useful algorithm that gives an answer that is probably correct.
- byrneseyeview 15y agoThank you for the correction. I'd been using terminology ineffectively. The way I was taught it was: - An algorithm is a step-by-step process for transforming any valid input into a specific valid output. - A heuristic is a process that brings you closer to something that looks like an answer, but does not necessarily find the best possible answer.