News for hackers. Stuff that matters.
Re:Can GPT-4 *Actually* Write Code? by thethirdone on Friday March 17, 2023 @02:35AM (#35193932)
That algorithm (implemented efficiently) is just A* using a different concept of distance.

The distance specifically would be `fire*episilon + steps if steps < max else inf`

Re:Can GPT-4 *Actually* Write Code? by laserbeam on Friday March 17, 2023 @02:47AM (#35194027)
It doesn't work if you just change the distance. Having implemented similar variations of A* I agree with Tyler. You need to change more than distance to get this to work.

Usually you need to change the search space and increase the number of states you go through to get the algorithm to differentiate between things you want and things you don't want to happen in your final result.