GoF设计模式的代数形式化
An Algebraic Formalization of the GoF Design Patterns
摘要:
本文报告了使用代数的、可视化的、正式的方法来规范GoF设计模式。该方法是基于图,态射和操作的范畴理论,并利用三重图模式角色的模型元素进行注释。该方法以范畴理论为基础,可以应用于不同领域的模式形式化。在我们的建议是新颖的描述(嵌套)可变子模型,跨几个图(如类和序列图UML设计模式),模式组合和冲突分析的模式间同步的可能性。
英文摘要:
This document reports on the use of an algebraic, visual, formal approach to the specification of patterns for the formalization of the GoF design patterns. The approach is based on graphs, morphisms and operations from category theory and exploits triple graphs to annotate model elements with pattern roles. Being based on category theory, the approach can be applied to formalize patterns in different domains. Novel in our proposal is the possibility of describing (nested) variable submodels, inter-pattern synchronization across several diagrams (e.g. class and sequence diagrams for UML design patterns), pattern composition, and conflict analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。