Heterogeneous Concurrent Modeling and Design in Java
(Volume 1: Introduction to Ptolemy II)
Shuvra S. Bhattacharyya, Elaine Cheong, John Davis II, Mudit Goel,
Christopher Hylands, Bart Kienhuis, Edward A. Lee, Jie Liu, Xiaojun
Liu, Lukito Muliadi, Steve Neuendorffer, John Reekie, Neil Smyth, Jeff
Tsay, Brian Vogel, Winthrop Williams, Yuhong Xiong, Yang Zhao, Haiyang Zheng
Memorandum UCB/ERL M03/27,
EECS, University of California, Berkeley, CA USA 94720
July 16, 2003
ABSTRACT
This volume describes how to construct Ptolemy II models for web-based modeling or building applications.
The first chapter includes an overview of Ptolemy II software, and a brief description of each
of the models of computation that have been implemented. It describes the package structure of the
software, and includes as an appendix a brief tutorial on UML notation, which is used throughout the
documentation to explain the structure of the software. The second chapter is a tutorial on building
models using Vergil, a graphical user interface where models are built pictorially. The third chapter
discusses the Ptolemy II expression language, which is used to set parameter values. The next chapter
gives an overview of actor libraries. These three chapters, plus one of the domain chapters, will be sufficient
for users to start building interesting models in the selected domain. The fifth chapter gives a
tutorial on designing actors in Java.The sixth chapter explains MoML, the XML schema used by
Vergil to store models. And the seventh chapter, the final one in this part, explains how to construct
custom applets.
Volume 2 describes the software architecture of Ptolemy II, and volume 3 describes the domains, each of which implements a model of computation.