DocumentCode
2621269
Title
The design and application of structured types in Ptolemy II
Author
Xiong, Yuhong ; Lee, Edward ; Liu, Xiaojun ; Zhao, Yang ; Zhong, Lizhi C.
Author_Institution
HP Labs., Palo Alto, CA, USA
Volume
2
fYear
2005
fDate
25-27 July 2005
Firstpage
683
Abstract
Ptolemy II is a component-based design and modeling environment. It has a polymorphic type system that supports both the base types and structured types, such as arrays and records. 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 a Ptolemy II model that implements part of the IEEE 802.11 specifications. This model makes extensive use of record types to represent the protocol messages in the system.
Keywords
object-oriented programming; IEEE 802.11 specification; Ptolemy II; base type system; component-based design; granular approach; inequality constraint; infinite lattice; polymorphic type system; protocol message; type constraints; type lattice; Algorithm design and analysis; Consumer electronics; Convergence; Embedded software; Embedded system; Home appliances; Lattices; Protocols; Research and development; USA Councils;
fLanguage
English
Publisher
ieee
Conference_Titel
Granular Computing, 2005 IEEE International Conference on
Print_ISBN
0-7803-9017-2
Type
conf
DOI
10.1109/GRC.2005.1547378
Filename
1547378
Link To Document