DAIIA - HW1

Conception

Agents

Profiler

Sequential behaviour that call :

  • Get a list of services (Wacker)
  • Ask the user to choose one to communicate with (OneShot)
  • Ask the agent for the service, sending the user's interests
  • receive the tour (MsgReceive)
  • Ask the curator for some details about the artwork that the user is visiting (Ticker)

Agents

Tour Guide

Handle messages from the profiler (Cyclic)

  • Receive the message (OneShot non-blocking)
  • Ask the curator for a subGallery (OneShot)

Handle messages from the curator (Cyclic)

  • Receive the curator's subGallery
  • Create the tour
  • Send it to the profiler

Two parallel behaviours :

Agents

Curator

FSM Behavior

  • Handle message from profiler or tour guide
  • Answer them

Objectives realised

 5 simple behaviors

  • OneShot
  • MsgReceive
  • Cyclic
  • Ticker
  • Waker

 

Objectives realised

3 Composite behaviors

  • Parallel
  • Sequential
  • FSM

 

Difficulties ?

Implementation problems

  •  Cyclic behaviors

  • Message handling

  • Not too much guided

Made with Slides.com