Enhancing DEVS simulation through template metaprogramming: DEVS-MetaSimulator

  • Authors:
  • Luc Touraille;Mamadou K. Traoré;David R. C. Hill

  • Affiliations:
  • Clermont Université, Université Blaise Pascal, LIMOS, BP, Clermont-Ferrand and CNRS, LIMOS, Aubiere;Clermont Université, Université Blaise Pascal, LIMOS, BP, Clermont-Ferrand and CNRS, LIMOS, Aubiere;Clermont Université, Université Blaise Pascal, LIMOS, BP, Clermont-Ferrand and CNRS, LIMOS, Aubiere

  • Venue:
  • Proceedings of the 2010 Summer Computer Simulation Conference
  • Year:
  • 2010

Quantified Score

Hi-index 0.01

Visualization

Abstract

For several years, the DEVS community has been developing many tools for simulating DEVS models, ranging from local and sequential simulation to massively distributed and parallel simulation. In this paper, we present an innovative approach to local DEVS simulation. By using template metaprogramming, we developed the DEVS-MetaSimulator (DEVS-MS); instead of proposing one simulator meant to be used with every DEVS models, our library provides several metaclasses defining families of simulators. This way, each simulator instantiation is really specialized for a particular model. Doing so, we increase the detection of errors at compile-time, and we reduce the execution time by removing several runtime computations that are instead performed by the compiler.