Commit 81d14936 rédigé par DKE's avatar DKE Commit de Peter Norvig
Parcourir les fichiers

Minor refactor on a variable name (#925)

* Added a line to child node

`child_node` method of `Node` uses the `problem.result` which returns normally a state not a node according to its docstring in `Problem`. Naming the variable `next_node` can be confusing to users when it actually refers to a resulting state.

* Update search.py

* Update search.py
parent 22071279
Prend en charge le Markdown
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message !
Veuillez vous inscrire ou vous pour commenter