THE STRUCTURE OF AGENTSK.MAHALAKSHMI.,AP/CSEAPEC
THE STRUCTURE OF AGENTSAgent Program:It implements the agent function mapping percepts to actionsArchitecture:Agent program will run on some sort of computing device with physical sensors called architecture.Agent=architecture+programK.MAHALAKSHMI.,AP/CSE
THE STRUCTURE OF AGENTSAgent programs:The agent programs take the current percept as input from the sensors and return an action to the actuators.
The agent program takes just the current percept as input because nothing more is available from the envirnoment.
If the agent’s actions depend on the entire percept sequence, the agent will have to remember the percepts.K.MAHALAKSHMI.,AP/CSE
Continue…Four kinds of agent programs:Simple reflex agents
Model based reflex agents
Goal-based agents
Utility based agentsK.MAHALAKSHMI.,AP/CSE
Simple reflex agentsThese are simplest kind of agents that select actions on the basis of current percept, ignoring the rest of the percept history.
The agent program for a simple reflex agent in 2 state vacuum environment is as followsfunction Reflex-Vacuum-Agent( [location,status]) returns an actionif status = Dirty then return Suckelse if location = A then return Rightelse if location = B then return LeftK.MAHALAKSHMI.,AP/CSE
Simple reflex agentsfig: schematic diagram of a simplex reflex agentK.MAHALAKSHMI.,AP/CSE
Infinite loops are often unavoidable for simple reflex agents operating in partially observable environments.
Escape from infinite loops is possible if the agent can randomize its actions.K.MAHALAKSHMI.,AP/CSE
Model based reflex agentsK.MAHALAKSHMI.,AP/CSE
Model based reflex agentsThe most effective way to handle partial observability is for the agent to keep track of the part of the world it can’t see now.The agent should maintain some sort of internal state that depends on the percept history and thereby reflects at least some of the unobserved aspects of the current stateModel based agentThe knowledge about “how the world works” whether implemented in simple boolean circuits or in complete scientific theories is called model of the world.The agent that uses such a model is called a model-based agentK.MAHALAKSHMI.,AP/CSE

The structure of agents

  • 1.
    THE STRUCTURE OFAGENTSK.MAHALAKSHMI.,AP/CSEAPEC
  • 2.
    THE STRUCTURE OFAGENTSAgent Program:It implements the agent function mapping percepts to actionsArchitecture:Agent program will run on some sort of computing device with physical sensors called architecture.Agent=architecture+programK.MAHALAKSHMI.,AP/CSE
  • 3.
    THE STRUCTURE OFAGENTSAgent programs:The agent programs take the current percept as input from the sensors and return an action to the actuators.
  • 4.
    The agent programtakes just the current percept as input because nothing more is available from the envirnoment.
  • 5.
    If the agent’sactions depend on the entire percept sequence, the agent will have to remember the percepts.K.MAHALAKSHMI.,AP/CSE
  • 6.
    Continue…Four kinds ofagent programs:Simple reflex agents
  • 7.
  • 8.
  • 9.
  • 10.
    Simple reflex agentsTheseare simplest kind of agents that select actions on the basis of current percept, ignoring the rest of the percept history.
  • 11.
    The agent programfor a simple reflex agent in 2 state vacuum environment is as followsfunction Reflex-Vacuum-Agent( [location,status]) returns an actionif status = Dirty then return Suckelse if location = A then return Rightelse if location = B then return LeftK.MAHALAKSHMI.,AP/CSE
  • 12.
    Simple reflex agentsfig:schematic diagram of a simplex reflex agentK.MAHALAKSHMI.,AP/CSE
  • 13.
    Infinite loops areoften unavoidable for simple reflex agents operating in partially observable environments.
  • 14.
    Escape from infiniteloops is possible if the agent can randomize its actions.K.MAHALAKSHMI.,AP/CSE
  • 15.
    Model based reflexagentsK.MAHALAKSHMI.,AP/CSE
  • 16.
    Model based reflexagentsThe most effective way to handle partial observability is for the agent to keep track of the part of the world it can’t see now.The agent should maintain some sort of internal state that depends on the percept history and thereby reflects at least some of the unobserved aspects of the current stateModel based agentThe knowledge about “how the world works” whether implemented in simple boolean circuits or in complete scientific theories is called model of the world.The agent that uses such a model is called a model-based agentK.MAHALAKSHMI.,AP/CSE