z-logo
Premium
The design and application of structured types in Ptolemy II
Author(s) -
Zhao Yang,
Xiong Yuhong,
Lee Edward A.,
Liu Xiaojun,
Zhong Lizhi C.
Publication year - 2010
Publication title -
international journal of intelligent systems
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 1.291
H-Index - 87
eISSN - 1098-111X
pISSN - 0884-8173
DOI - 10.1002/int.20391
Subject(s) - ptolemy's table of chords , workflow , computer science , theoretical computer science , lattice (music) , base (topology) , type (biology) , algorithm , mathematics , database , ecology , physics , geometry , acoustics , biology , mathematical analysis
Ptolemy II is a component‐based design and modeling environment. It has a polymorphic type system that supports both base types and structured types, such as arrays, records, and unions. This paper presents the extensions to the base type system that support structured types. In the base type system, all the types are organized into a type lattice, and type constraints in the form of inequalities can be solved efficiently over the lattice. We take a hierarchical and granular approach to add structured types to the lattice and extend the format of inequality constraints to allow arbitrary nesting of structured types. We also analyze the convergence of the constraint‐solving algorithm on an infinite lattice after structured types are added. To show the application of structured types, we present two Ptolemy II models that have direct real‐world background. The first one describes the workflow of a charity organization, and the second one implements part of the IEEE 802.11 specification. These models make extensive use of record and union types to represent structured information. © 2009 Wiley Periodicals, Inc.

This content is not available in your region!

Continue researching here.

Having issues? You can contact us here