03.08.2013 Views

PTOLEMY II - CiteSeerX

PTOLEMY II - CiteSeerX

PTOLEMY II - CiteSeerX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction<br />

associated with such diagrams. Formalizing the semantics is essential if these diagrams are to be used<br />

for system specification and design. Ptolemy <strong>II</strong> supports exploration of the possible concurrency<br />

semantics. A principle of the project is that the strengths and weaknesses of these alternatives make<br />

them complementary rather than competitive. Thus, interoperability of diverse models is essential.<br />

1.2.5 Architecture Design<br />

Architecture description languages (ADLs), such as Wright [6] and Rapide [97], focus on formalisms<br />

for describing the rich sorts of component interactions that commonly arise in software architecture.<br />

Ptolemy <strong>II</strong>, by contrast, might be called an architecture design language, because its objective is<br />

not so much to describe existing interactions, but rather to promote coherent software architecture by<br />

imposing some structure on those interactions. Thus, while an ADL might focus on the compatibility<br />

of a sender and receiver in two distinct components, we would focus on a pattern of interactions among<br />

a set of components. Instead of, for example, verifying that a particular protocol in a single port-to-port<br />

interaction does not deadlock [6], we would focus on whether an assemblage of components can deadlock.<br />

It is arguable that our approach is less modular, because components must be designed to the<br />

framework. Typical ADLs can describe pre-existing components, whereas in Ptolemy <strong>II</strong>, such preexisting<br />

components would have to wrapped in Ptolemy <strong>II</strong> actors. Moreover, designing components to<br />

a particular interface may limit their reusability, and in fact the interface may not match their needs<br />

FIGURE 1.6. Visual rendition of a Ptolemy <strong>II</strong> model as a block diagram in Vergil (in the DE domain).<br />

12 Ptolemy <strong>II</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!