Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fed270f

Browse files
committed
Fixed issue 9.
1 parent 476f5bf commit fed270f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def program(percept):
507507
class ReflexAgentWithState (Agent):
508508
"""This agent takes action based on the percept and state. [Fig. 2.16]"""
509509

510-
def __init__(self, rules, udpate_state):
510+
def __init__(self, rules, update_state):
511511
self.rules = rules
512512
self.update_state = update_state
513513
super(ReflexAgentWithState, self).__init__()

0 commit comments

Comments
 (0)