correction indentation

This commit is contained in:
François Pelletier 2019-02-03 19:37:21 -05:00
parent ee935490b5
commit 234e96b463

View file

@ -135,8 +135,8 @@ def breadthFirstSearch(problem):
maListeFermee.append(noeudCourant)
# Verifier si c'est un but
if(problem.isGoalState(noeudCourant)):
print "Nous avons atteint le but !"
return listeDirections
print "Nous avons atteint le but !"
return listeDirections
# Effectuer la recherche de successeurs
for s in problem.getSuccessors(noeudCourant):
# Decomposer le tuple pour faciliter la lecture