Presentation is loading. Please wait.

Presentation is loading. Please wait.

Specifying the Interactions Builds on agent types and scenario descriptors Interaction Diagrams( IDs) involve –Replacing each functionality with the agent.

Similar presentations


Presentation on theme: "Specifying the Interactions Builds on agent types and scenario descriptors Interaction Diagrams( IDs) involve –Replacing each functionality with the agent."— 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


Download ppt "Specifying the Interactions Builds on agent types and scenario descriptors Interaction Diagrams( IDs) involve –Replacing each functionality with the agent."

Similar presentations


Ads by Google