Enhancing DEVS Simulation through Template Metaprogramming
Résumé
For several years, the DEVS community has been developing many tools for simulating DEVS models, ranging from local sequential 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 greatly reduce the execution time by removing several runtime computations that are instead performed by the compiler.
Domaines
Modélisation et simulationOrigine | Fichiers produits par l'(les) auteur(s) |
---|
Loading...