Skip to content

Commit 746477a

Browse files
committed
Fix misspelled variable.
1 parent f502be9 commit 746477a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agents4e.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,14 @@ def program(percept):
170170
return program
171171

172172

173-
def ModelBasedReflexAgentProgram(rules, update_state, trainsition_model, sensor_model):
173+
def ModelBasedReflexAgentProgram(rules, update_state, transition_model, sensor_model):
174174
"""
175175
[Figure 2.12]
176176
This agent takes action based on the percept and state.
177177
"""
178178

179179
def program(percept):
180-
program.state = update_state(program.state, program.action, percept, trainsition_model, sensor_model)
180+
program.state = update_state(program.state, program.action, percept, transition_model, sensor_model)
181181
rule = rule_match(program.state, rules)
182182
action = rule.action
183183
return action

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy