On 2010-03-10, Lawrence D'Oliveiro <l...@geek-central.gen.new_zealand> wrote: > In message <mailman.527.1268199449.23598.python-l...@python.org>, Gabriel > Genellina wrote: > >> Warnsdorff's algorithm is heuristic ... > > Then it shouldn???t be called an ???algorithm???.
Why? An algorithm is just a well-defined series of steps. Just because it uses heuristics doesn't mean it's not an algorithm. In my book it's still an algorithm even if it never produces a correct result. It's just not a very _good_ algorithm. :) -- Grant Edwards grant.b.edwards Yow! YOU PICKED KARL at MALDEN'S NOSE!! gmail.com -- http://mail.python.org/mailman/listinfo/python-list