Presentation is loading. Please wait.

Presentation is loading. Please wait.

Mary Lou Maher MIT Fall 2002 Production Systems for Rational Agents 4.209 Agent-Based Virtual Worlds.

Similar presentations


Presentation on theme: "Mary Lou Maher MIT Fall 2002 Production Systems for Rational Agents 4.209 Agent-Based Virtual Worlds."— Presentation transcript:

1 Mary Lou Maher MIT Fall 2002 Production Systems for Rational Agents 4.209 Agent-Based Virtual Worlds

2 Mary Lou Maher MIT Fall 2002 Components of a Production System Facts Controller Rules

3 Mary Lou Maher MIT Fall 2002 Agent Model Perception Conception Hypothesizer Action Sensors Effectors The World

4 Mary Lou Maher MIT Fall 2002 Agents as a Production System Facts Perception Conception Hypothesizer Action Controller Sensors Effectors

5 Mary Lou Maher MIT Fall 2002 Facts = Constructed Memory The fact base in the Production System is essentially the agent’s 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 agent’s memory

6 Mary Lou Maher MIT Fall 2002 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 Mary Lou Maher MIT Fall 2002 Rules = Declarative Knowledge IF situation THEN assert new facts

8 Mary Lou Maher MIT Fall 2002 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 Mary Lou Maher MIT Fall 2002 Examples of agents Slide projector Intelligent assistant Smart door Intelligent information panel Conversational robot Conversation recorder

10 Mary Lou Maher MIT Fall 2002 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 Mary Lou Maher MIT Fall 2002 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, then assert that this is an important area

12 Mary Lou Maher MIT Fall 2002 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 Mary Lou Maher MIT Fall 2002 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)


Download ppt "Mary Lou Maher MIT Fall 2002 Production Systems for Rational Agents 4.209 Agent-Based Virtual Worlds."

Similar presentations


Ads by Google