- 1、本文档共19页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
恡楍档-FiniteModels
(c) Mauro Pezzè Michal Young 2003 Finite Models Learning objectives Understand goals and implications of finite state abstraction Learn how to model program control flow with graphs Learn how to model the software system structure with call graphs Learn how to model finite state behavior with finite state machines Properties of Models Compact: representable and manipulable in a reasonably compact form What is reasonably compact depends largely on how the model will be used Predictive: must represent some salient characteristics of the modeled artifact well enough to distinguish between good and bad outcomes of analysis no single model represents all characteristics well enough to be useful for all kinds of analysis Semantically meaningful: it is usually necessary to interpret analysis results in a way that permits diagnosis of the causes of failure Sufficiently general: models intended for analysis of some important characteristic must be general enough for practical use in the intended domain of application Graph Representations: directed graphs Directed graph: N (set of nodes) E (relation on the set of nodes ) edges Graph Representations: labels and code We can label nodes with the names or descriptions of the entities they represent. If nodes a and b represent program regions containing assignment statements, we might draw the two nodes and an edge (a,b) connecting them in this way: Multidimensional Graph Representations Sometimes we draw a single diagram to represent more than one directed graph, drawing the shared nodes only once class B extends (is a subclass of) class A class B has a field that is an object of type C Finite Abstraction of Behavior an abstraction function suppresses some details of program execution (Intraprocedural) Control Flow Graph nodes = regions of source code (basic blocks) Basic block = maximal program region with a single entry and single exit point Often statements are grouped in single regions to get a compact model Sometime sin
您可能关注的文档
最近下载
- 数字营销技术应用职业技能等级标准(2021年版).pdf VIP
- 浙江中医药大学《高等数学(上)》内部题库练习期末真题汇编及答案.pdf
- 2025年中国猪肉脯市场调查研究报告.docx
- 部编版二年级语文课文填空汇总.doc VIP
- 国家工商行政管理总局通达商标服务中心招聘模拟备考预测(共1000题)综合模拟试卷+答案解析.docx
- 教科版小学科学知识点汇总.docx VIP
- 部编版二年级语文下册课文填空练习.pdf VIP
- 2025届THUSSAT北京市清华大学中学高考生物二模试卷含解析.doc VIP
- 《数学课程标准》义务教育2022年修订版(原版).pdf VIP
- 半中半理论_del35论数字心理.pdf VIP
文档评论(0)