diff --git a/aigyminsper/search/SearchAlgorithms.py b/aigyminsper/search/SearchAlgorithms.py index 198e842d..60baa2d3 100644 --- a/aigyminsper/search/SearchAlgorithms.py +++ b/aigyminsper/search/SearchAlgorithms.py @@ -209,7 +209,7 @@ def search (self, initialState, pruning='without', trace=False): if (n.state.is_goal()): return n # iterate trought all successors - for i in n.state.sucessors(): + for i in n.state.successors(): new_n = Node(i,n) # without pruning