Hacker News new | ask | show | jobs
by yummyfajitas 3627 days ago
This is true provided your cost function is "continuous" w.r.t. distance. Roughly what this means is that if you make a small change - e.g. one edit in this example - then your cost function shouldn't change a lot.

If you don't have some form of continuity condition you are actually just doing random search.