4 ms·
Actually, I don't see that you're guaranteed that this would terminate at all. This algorithm could easily work down to a local minimum and then find that there
by larsga 18y ago
Actually, I don't see that you're guaranteed that this would terminate at all. This algorithm could easily work down to a local minimum and then find that there's no route from there to the correct solution.
- hugh 18y agoWhich is why the algorithm provides the possibility of moving uphill.