A Generative Approach to Model Interpreter Evolution.ppt
《A Generative Approach to Model Interpreter Evolution.ppt》由会员分享,可在线阅读,更多相关《A Generative Approach to Model Interpreter Evolution.ppt(11页珍藏版)》请在麦多课文档分享上搜索。
1、A Generative Approach to Model Interpreter Evolution,Jing Zhang, Jeff Gray, and Yuehua Lin zhangj, gray, liny cis.uab.edu Dept. of Computer & Information Sciences University of Alabama at Birmingham http:/www.cis.uab.edu/softcom/,Evolution of models and interpreters in terms of meta-model changes,MM
2、: The changes made to the meta-models M: The changes reflected in the domain models I: The changes reflected in the model interpreters,Example: Old/New Metamodel and model,Example: Old/New Interpreter,CBuilderAtom *GetStartState( CBuilderModel *StateDiagram) CBuilderAtom *startstate = null; const CB
3、uilderAtomList *states = StateDiagram-GetAtoms(“State“); POSITION pos=states-GetHeadPosition(); while(pos) CBuilderAtom *st = states-GetNext(pos); CBuilderConnectionList *cons = st-GetInConnections(“Transition“); if ( cons = null ) if ( startstate = null) startstate = st; else ASSERT ( startstate !=
4、null ); return startstate; ,CBuilderAtom *GetStartState( CBuilderModel *StateDiagram) const CBuilderAtomList *startstates = StateDiagram-GetAtoms(“StartState“);ASSERT(startstates-GetCount()=1);CBuilderAtom *startstate = startstates-GetHead();return startstate; ,Technical Challenges,Lack of formally-
5、written model interpreter Different developers may program interpreters in various ways Hard to maintain and evolve such subjective realizations of model interpreters Lack of formal specification for metamodel transformation Metamodel transformation specifications must include the entire knowledge f
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- AGENERATIVEAPPROACHTOMODELINTERPRETEREVOLUTIONPPT

链接地址:http://www.mydoc123.com/p-377831.html