检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]浙江大学数字技术及仪器研究所,浙江杭州310027
出 处:《工程设计学报》2003年第5期251-255,共5页Chinese Journal of Engineering Design
摘 要:有限状态机(FSM)是对反应式系统建模的一种强大工具.虽然一些高级特征和可视化状态图的引入,使FSM的表达能力更强,但是其实现往往存在复用性差,维护困难等问题.传统的FSM实现模式,如结构化方法和State模式,由于软件结构简单,与状态图不能有效匹配,难以解决这些问题.通过引入良好的数据结构和事件触发机制,提出了一种面向对象的高度结构化的FSM实现框架,并给出了事件触发转换的调度算法.新框架清晰地表达了FSM中的所有主要元素及它们之间的关系,并将行为部分与结构部分相分离,不仅改善了软件的灵活性和重用性,而且提高了系统的健壮性与可维护性.Finite state machines(FSMs) provide a powerful way for modeling reactive systems. Although FSM has stronger expression ability after it is extended with many advanced features and visual statechart diagrams, its implementation often suffers from bad reusability and maintenance problems. The traditional ways for FSM implementation, such as structure approach and state pattern, do not address these problems because their software structures are too simple to match the statechart diagrams. By providing more structure and event\|triggered mechanism, a new object\|oriented FSM implementation framework is presented as well as the event\|dispatching algorithm. The new software framework explicitly describes all the core elements and associations between these elements in the FSM and separates the behavior from the structure. Therefore, not only can this framework make the software more reusable and flexible, but also can improve the maintenance and robustness.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15