A tutorial of the R&B ToolkitRational and Behavioral reasoning in Assistant AgentsJ-P Sansonnet, 4 dec, 2009 - beta version - Release 0.9You need some basic knowledge about the interface of the front ends of Mathematca to understand this tutorial.This file contains Mathematica code that can be freely edited and executed.To Evaluate the code of the examples in this notebook do the following:1) Put the good path to the R&B directory on your computer like in the example just above;2) Do MENU Evaluation / 'Evaluate Initialisation Cells' and then evaluate the cells that launch the examples inLightYellowTHERNBPATH "E:\\RNB\\"; change only this line THEDATAPATH THERNBPATH "DATA\\";THESOUNDPATH "SOUNDS\\";THEPICTPATH "PICTS\\";Get THERNBPATH "rnb code.m" A Simple Model: Todoü The model of todoü The Simulation panel of todoA more complex model: Robbieü The model of Robbieã PresentationRobbie is very simple robot that walks in a 3x3 cell room and can go outside (through a door) in order to eat a piece of cake.In the room, there are some physical objects: 2 keys (one opens the door) and a cup of coffee.The basic situation at T0 is like illustrated in the following figure:2 rnb-tutorial.nbã Model structure : MODELROBBIEThe model of Robbie is defined by the following code, stored in the variable MODELROBBIE.Then, it can be compiled into the BASE by the function: MAKEMODEL[MODELROBBIE]After that, a simulation can be launched by ...
Voir