gpt4 book ai didi

uml - 状态机与事件

转载 作者:行者123 更新时间:2023-12-04 18:59:44 25 4
gpt4 key购买 nike

在这种特定情况下,我对状态机图和事件图之间的区别有些困惑。
在一个简单的模式中,你能区分事件或状态机图吗?符号出现在两个图中。
ambiguous diagram

谢谢

毛罗

最佳答案

我现在可以确认你不能说。在第。在 UML 2.5 规范的 331 中,您可以找到在 SM 中使用的接收事件的示例。在 p 上使用了完全相同的符号。 409 为广告。

所以答案是:不,您无法从上面的示例中判断使用的是哪种图表类型。

更一般地(来自第 683 页的附件):

NOTE. This taxonomy provides a logical organization for the various major kinds of diagrams. However, it does not preclude mixing different kinds of diagram types, as one might do when one combines structural and behavioral elements (e.g., showing a state machine nested inside an internal structure). Consequently, the boundaries between the various kinds of diagram types are not strictly enforced.

关于uml - 状态机与事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40438484/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com