World Scientific
Skip main navigation

Cookies Notification

We use cookies on this site to enhance your user experience. By continuing to browse the site, you consent to the use of our cookies. Learn More
×
Spring Sale: Get 35% off with a min. purchase of 2 titles. Use code SPRING35. Valid till 31st Mar 2025.

System Upgrade on Tue, May 28th, 2024 at 2am (EDT)

Existing users will be able to log into the site and access content. However, E-commerce and registration of new users may not be available for up to 12 hours.
For online purchase, please visit us again. Contact us at customercare@wspc.com for any enquiries.

DESIGN PATTERNS IN SITUATION CALCULUS

    This work is supported by Research Fund for the Doctoral Program of Higher Education of China, No. 20060269002.

    https://doi.org/10.1142/9789814289986_0045Cited by:0 (Source: Crossref)
    Abstract:

    The formalization of design patterns should concern both their structure and behavior. However, many proposed approaches either focused on only one aspect of them or handled them separately using different and incompatible formalisms. To complete and merge the specification of both aspects, we propose an approach based on Situation Calculus in this paper. Firstly, we introduced the core concepts in design patterns and distinguished two types of relations: static relation and dynamic relation, which are capable of modeling pattern's structure and behavior respectively. Then we established a mapping relation between the concepts in design patterns and Situation Calculus, which can serve as a general strategy for translating the informal descriptions of design patterns into their formal correspondences in Situation Calculus. As a case study, we formalized the Observer pattern. Finally we explored the potential uses of our approach by using Projection and Planning in Situation Calculus.