New course! Every coder should learn Generative AI!
Try a free lesson+ 1
A* Pathfinder
how can you make an A* pathfinder find the longest path instead of shortest. I tried making it pick the biggest F value at the beginning and smallest at the end, but that didn't work. any ideas?
5 Answers
+ 4
Kirill Vidov , your descriptions sounds confusing to me. Can you please rework your question, also please show us your attempt and a sample with input and desired output. Thanks!
+ 1
Lothar i don't have an example, and I don't need a written code as an answer, I just need a general idea on how to make A* Pathfinder find the longest path
+ 1
Kirill Vidov I don't know the answer, but maybe you can get inspiration by watching A* in action using this amazing implementation.
https://code.sololearn.com/Wj92b2V80y7d/?ref=app
0
Brian thanks
0
Kirill Vidov some of the amazing codes you can study from great coder Lily Mea ..
https://code.sololearn.com/Whey0tmX2Z61/?ref=app
https://code.sololearn.com/WPSt2EU171Xe/?ref=app
https://code.sololearn.com/WQgmra7O6CQt/?ref=app