Skip to main content Accessibility help
×
Hostname: page-component-8448b6f56d-gtxcr Total loading time: 0 Render date: 2024-04-24T18:26:29.231Z Has data issue: false hasContentIssue false

12 - Routing algorithm for a mobile agent

Published online by Cambridge University Press:  05 March 2013

Jean-Raymond Abrial
Affiliation:
Swiss Federal University (ETH), Zürich
Get access

Summary

The purpose of the example developed in this chapter is to present an interesting routing algorithm for sending messages to a mobile phone. In this example, we shall again encounter a tree structure as in the previous chapter, but this time the tree structure will be modified dynamically. We shall also encounter another example (besides the bounded re-transmission protocol in Chapter 6) where the usage of clocks will play a fundamental role. This example is taken from [1].

Informal description of the problem

A, so-called, mobile agent ℳ is supposed to travel between various sites. Fixed agents situated in the sites in question want to establish some communications with it. To simplify matters, such communications are supposed to be unidirectional: they take the practical form of messages sent from the fixed agents to .

Abstract informal specification

In an ideal abstract world, the moves of the mobile agent from one site to another are instantaneous. Likewise, the knowledge by the fixed agents of the exact position of is also supposed to be instantaneous. In that case, the fixed agents follow the mobile agent by sending messages where it currently is. Notice that such messages are (for the moment) received immediately by . This is illustrated in Fig. 12.1 where the mobile agent (represented by a black square) originally situated at site c, moves then successively to sites d, a, c, and b.

Type
Chapter
Information
Modeling in Event-B
System and Software Engineering
, pp. 387 - 405
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×