Abstract

Keywords: air-combat simulation; decision behavior; domain specific modeling language; code generation; python script Abstract. The application of domain specific modeling language (DSML) in the decision behavior modeling of the air-combat simulation brings higher level of abstraction and friendly environment. However, the decision behavior model must be translated to executed code before it be used in air-combat simulation system. So, how to realize auto generation of code and improving the efficiency has become an important problem. A code generation framework and mechanism based on python script is designed, which provide the semantic algorithm of air-combat simulation decision behavior modeling language and model explain framework. Otherwise, based on the BON technology provided by generic modeling environment (GME), a code generator is built in VS2010 using C++, which really realize the auto code generation and avoid the error and time waste by manual coding.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call