Untitled
unknown
plain_text
a year ago
817 B
3
Indexable
Never
Algorithm: function UTILITY - BASED - REFLEX - AGENT( percept ) returns an action persistent: state, the agent’s current conception of the world state. It includes the current dirt locations, hurdle locations and agent location. Utility , agent tries to the find dirts with minimum moves rules, a set of condition–action rules Agent will find the nearest dirt location as the target location Then the agent will find the shortest path to go to that target location using BFS. It will avoid the paths that have hurdles. action, the most recent action, initially none state ← UPDATE -STATE (state, action , percept , model ) rule ← RULE -MATCH(state, rules) action ← rule.ACTION return action