In this chapter, we introduce MOTION (MOdeling and simulaTIng mObile ad-hoc Networks), a Java application in which the behavior of MANETs is modeled by means of an Abstract State Machine representation [21], and then simulated with the simulation engine ASMETA [22]. This approach is similar to [17], in which Colored Petri Nets are used to model the AODV routing protocol (Ad-hoc On-demand Distance Vector), and CPN model is used to simulates the MANET behavior. As an improvement, our approach is more general purpose, meaning that the implementation of the routing protocol is only one of the several services that can be modeled in our layered framework and implemented in the simulator. Thanks to the structured approach, services can be easily added, removed and replaced by changing some transitions and nested nets, as well as changing classes in software implementation. The ASM approach also provides a way to describe algorithms in a simple abstract pseudo-code, which can be translated into a high-level programming language source code [21]. Finally, from the implementation point of view, the capability of translating formal specifications into executable code, in order to carry out simulations of the models, is provided by tools like CoreASM [23] and ASMETA [22].

A Java Application for Modeling and Simulating Mobile Ad-hoc NETworks

Emanuele Covino
Writing – Original Draft Preparation
;
Giovanni Pani
Writing – Original Draft Preparation
2021-01-01

Abstract

In this chapter, we introduce MOTION (MOdeling and simulaTIng mObile ad-hoc Networks), a Java application in which the behavior of MANETs is modeled by means of an Abstract State Machine representation [21], and then simulated with the simulation engine ASMETA [22]. This approach is similar to [17], in which Colored Petri Nets are used to model the AODV routing protocol (Ad-hoc On-demand Distance Vector), and CPN model is used to simulates the MANET behavior. As an improvement, our approach is more general purpose, meaning that the implementation of the routing protocol is only one of the several services that can be modeled in our layered framework and implemented in the simulator. Thanks to the structured approach, services can be easily added, removed and replaced by changing some transitions and nested nets, as well as changing classes in software implementation. The ASM approach also provides a way to describe algorithms in a simple abstract pseudo-code, which can be translated into a high-level programming language source code [21]. Finally, from the implementation point of view, the capability of translating formal specifications into executable code, in order to carry out simulations of the models, is provided by tools like CoreASM [23] and ASMETA [22].
2021
978-84-09-29876-1
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11586/392703
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact