1 / 5

Specifying the Interactions

Specifying the Interactions. Builds on agent types and scenario descriptors Interaction Diagrams( IDs) involve Replacing each functionality with the agent that includes it Inserting a communication between agents where it is needed, and then Expressing the result as an interaction diagram

wynona
Download Presentation

Specifying the Interactions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Specifying the Interactions Builds on agent types and scenario descriptors • Interaction Diagrams( IDs) involve • Replacing each functionality with the agent that includes it • Inserting a communication between agents where it is needed, and then • Expressing the result as an interaction diagram For example, see page 68-69

  2. Determining where communication between agents is required Whenever there is a step in the scenario that involves a functionality from a new agent, there must be some interaction from a previously involved agent to the newly participating agent • Analyzing the sequential dependencies will identify where messages are required • Initially assume that each message in the ID is a new type. Later, it might be possible to coalesce some of them into a single type

  3. Steps in Scenarios Not necessarily sequential (see Figure 6.2 page 70); analyze options (see sample options on page 70-71) See larger example on pages 72-74 Interaction Protocols follow IDs, by defining exactly which interaction sequences are valid within the system. They use different notations, and provide control structures (most popular are FIPA standard protocols). Select one and consider alternatives required by application

  4. Developing Protocols • Ask: “what are the possible continuations (i.e., sequences of messages)” • In most cases best described by parallelism or looping (see credit card example middle of page 76) • Variation field of use case scenario(s) is one source for possible alternatives (for example , see bottom of page 76)

  5. Develop protocol and message descriptors • Protocol template includes • Name • Description • Scenarios • Agents • Messages • Notes • Message template includes • Name • Description • From agent • To agent • Purpose • Information carried For example, see bottom page 78

More Related