Just a simple question in the implementation of some of AI Algorithms i have been creating (Dijkstras & A*).
Why do we use a closedlist to store the nodes we have already searched/etc.
Couldn't i just use a bool to say whether it has been searched.What are the advantages and disadvantages.
Thanks
Aucun commentaire:
Enregistrer un commentaire