<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Chad, <br>
In Ptolemy II, we would use a modal model for this. I'm not sure
if modal models are enabled in Kepler, but I believe they are.<br>
<br>
A model model is a state machine where the states are composite
actors. These inner composites are known as refinements. The
modal model has inputs and outputs that are connected to the ports
of the refinement. The guards on the transitions between the
states control which composite is fired.<br>
<br>
See
<a class="moz-txt-link-freetext" href="http://ptolemy.eecs.berkeley.edu/books/Systems/chapters/ModalModels.pdf">http://ptolemy.eecs.berkeley.edu/books/Systems/chapters/ModalModels.pdf</a><br>
<br>
BTW - it is not necessary to cc both kepler-dev and kepler-users.
Kepler-dev is for development of Kepler itself, kepler-users is
for questions about using Kepler. This is an excellent question
for kepler-users. Cc'ing both lists is not a big deal, just a
mild preference.<br>
<br>
_Christopher<br>
<br>
On 2/18/14 9:24 AM, Chad Sebranek wrote:<br>
</div>
<blockquote
cite="mid:CABaYX-ryqWd8GoEr+7fsKKSsZCOOY4YFHgg7sHBKDt2=0+ywNA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>Is there a way to control whether or not a composite actor
fires? Say I only want it to fire if it meets certain
conditions?</div>
<div><br>
</div>
<div>Thanks</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-dev@kepler-project.org">Kepler-dev@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Christopher Brooks, PMP University of California
Academic Program Manager & Software Engineer US Mail: 337 Cory Hall
CHESS/iCyPhy/Ptolemy/TerraSwarm Berkeley, CA 94720-1774
<a class="moz-txt-link-abbreviated" href="mailto:cxh@eecs.berkeley.edu">cxh@eecs.berkeley.edu</a>, 707.332.0670 (Office: 545Q Cory)
</pre>
</body>
</html>