correction indentation
This commit is contained in:
parent
ee935490b5
commit
234e96b463
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue