Ptolemy Ptutorial: Creating Directors

This tutorial explains how to create new directors in Ptolemy II to implement new models of computation and communication for concurrent software components. Specifically, it explains what a director does and then shows how to create a new director that modifies the behavior of an existing director. Specifically, it creates a variant of the process networks (PN) director where a consumer actor reads the most recently produced value received from a producer actor, rather than reading every value in order produced by the producer. It shows through a simple example model that the resulting director yields nondeterministic behavior.