TY - JOUR AU - Juhász, Z AU - Sipos, Á AU - Porkoláb, Zoltán TI - Implementation of a finite state machine with active libraries in C++ JF - LECTURE NOTES IN ARTIFICIAL INTELLIGENCE J2 - LECT NOTES ARTIF INT VL - 5235 LNCS PY - 2008 SP - 474 EP - 488 PG - 15 SN - 0302-9743 DO - 10.1007/978-3-540-88643-3-14 UR - https://m2.mtmt.hu/api/publication/2743868 ID - 2743868 AB - Active libraries are code parts playing an active role during compilation. In C++ active libraries are implemented with the help of template metaprogramming (TMP) techniques. In this paper we present an active library designed as an implementation tool for Finite state machines. With the help of various TMP constructs, our active library carries out compile-time actions like optimizations via state-minimalization, and more sophisticated error-detection steps. Our library provides extended functionality to the Boost::Statechart library, the popular FSM implementation of the Boost library. We describe the implementation and analyze the efficiency. © 2008 Springer Berlin Heidelberg. LA - English DB - MTMT ER -