返回主题:状态与活动建模

知识卡片

普通读书笔记卡 · 2314.m.3

行为描述区分轨迹与全模型

理解等级:中级

轨迹描述特定状态受到特定刺激后的活动序列,适合解释具体场景;完整行为模型则刻画可能状态和迁移,目标是能推导全部合法路径。两者补充结构图,让人能分析时限、资源和死锁等运行问题。画出一条成功流程不代表覆盖了错误与并发行为,应按分析问题决定需要哪些轨迹或完整模型。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 记录架构文档 · 查看原书依据

      Traces are sequences of activities or interactions that describe the system’s response to a specific stimulus when the system is in a specific state. A trace describes a sequence of activities or interactions between structural elements of the system.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第22章《记录架构文档》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch22.html) - 结论依据:原文解释轨迹描述特定状态受到特定刺激后的活动序列,适合解释具体场景;完整行为模型则刻画可能状态和迁移,目标是能推导全部合法路径;本章后续机制、例子与条件共同限定本卡,原书经验数字和前景不视为当前实测或现状。 - 原始内容:Traces are sequences of activities or interactions that describe the system’s response to a specific stimulus when the system is in a specific state. A trace describes a sequence of activities or interactions between structural elements of the system.