Production Systems for Rational Agents - PowerPoint PPT Presentation

About This Presentation
Title:

Production Systems for Rational Agents

Description:

If there are people in a room at a certain time today and at the same time ... If the room is occupied and the light is not on, assert a goal to turn on the light. ... – PowerPoint PPT presentation

Number of Views:13
Avg rating:3.0/5.0
Slides: 14
Provided by: marylo2
Learn more at: http://web.mit.edu
Category:

less

Transcript and Presenter's Notes

Title: Production Systems for Rational Agents


1
Production Systems for Rational Agents
  • 4.209 Agent-Based Virtual Worlds

2
Components of a Production System
Rules
Controller
Facts
3
Agent Model
The World
Perception
Sensors
Conception
Hypothesizer
Effectors
Action
4
Agents as a Production System
Facts
Perception
Sensors
Conception
Hypothesizer
Effectors
Action
Controller
5
Facts Constructed Memory
  • The fact base in the Production System is
    essentially the agents representation of the
    current context
  • The fact base is constructed by the rules
  • The agent takes data from the context and
    interprets that data to construct the agents
    memory

6
Examples of Facts
  • Avatars name of person, time of entry, location,
    friend, stranger
  • Other objects model, location, action, owner,
    date of creation
  • Chat who said it, what was said, when it was
    said
  • Room local area coordinates, owner, who is in it

7
Rules Declarative Knowledge
  • IF situation
  • THEN assert new facts

8
Example rules
  • IF avatar enters the room
  • THEN say hello, welcome to my office
  • IF a friend says open the door
  • THEN make door invisible

9
Examples of agents
  • Slide projector
  • Intelligent assistant
  • Smart door
  • Intelligent information panel
  • Conversational robot
  • Conversation recorder

10
Light Source Perception
  • If there is one or more person in the room,
    record that the room is occupied.
  • If there are no people in the room, record that
    the room is unoccupied.
  • If there are picture/bulletin board/animation
    panels in the room, record that there are info
    panels in the room and record where they are
    located.
  • If there are people in a room at a certain time
    today and at the same time yesterday, then record
    that the room is occupied during this time
    everyday.
  • If a certain citizen comes in the world today and
    yesterday and asks that the light be turned on,
    then record the person and light-on in knowledge
    base.

11
Light Source Conception
  • If there are usually no people in this room at
    this time and it is ?day-of-week, then record
    that the room is unoccupied on ?day-of-week.
  • If there are usually people in this room at this
    time and it is ?day-of-week, then record that the
    room is occupied on ?day-of-week.
  • If an area is used more than others, assert that
    this is an important area.
  • If there are info panels at location ltxyzgt, then
    assert that this is an important area

12
Light Source Hypothesizer
  • If the room is occupied and the light is not on,
    assert a goal to turn on the light.
  • If the room is not occupied and the light is on,
    assert a goal to turn off the light.
  • If today is ?day-of-week and room is unoccupied
    on ?day-of-week and the light is on, assert a
    goal to turn off the light.
  • If today is ?day-of-week and room is occupied on
    ?day-of-week and the light is off, assert a goal
    to turn the light on.
  • If the distance between the light source and the
    closest person is greater than 10 units then
    assert a goal to move the light source closer to
    the person.
  • If the distance between the light source and an
    important area is greater than 10 units, then
    assert a goal to move the light source closer to
    the important area.
  • If there is a goal to move the light source
    closer to the person and the goal is to move the
    light source closer to an important area, then
    remove the goal to move the light source closer
    to the important area and assert a goal to create
    a new light source near the important area.
  • If a person enters the world and that person has
    asked to turn on the light before, then assert a
    goal to turn the light on.

13
Light Source Action
  • If a person is near the light and asks for the
    light to be on, then record the person, date, and
    send a message to the effector to turn on the
    light. (reflexive)
  • If the goal is to turn on the light and the light
    is off, then send message to effector to turn on
    the light source and remove goal. (reflective)
  • If the goal is to turn the light off and the
    light is on, then send message to effector to
    turn the light off and remove goal. (reflective)
  • If the goal is to create a new light source at a
    specific location, then send message to effector
    to create a duplicate of this agent and the light
    source object in AW at specific location.
    (reflective)
Write a Comment
User Comments (0)
About PowerShow.com