Note: Not all the PT actors show up in the Kepler actor list. I think the case actor is one that does not.
Dan Higgins Sivagowri Swaminathan wrote: > Sir > > are you referring to the 'switch' actor found under control actors? I am > using kepler alpha 9.0 and didnt find the case actor. It would be useful for > me if you could point out exactly, where to look for the actor. > > Thanx > Siva > > > > > >> From: "Edward A. Lee" <eal at eecs.berkeley.edu> >> To: Mohana Ramaratnam <mramarat at wustl.edu> >> CC: Kepler-users at ecoinformatics.org >> Subject: Re: [kepler-users] If-Else Kepler >> Date: Tue, 09 May 2006 11:21:34 -0700 >> >> At 10:59 AM 5/8/2006, Mohana Ramaratnam wrote: >> >>> Hello, >>> >>> Has anybody tried implementing if-then-else like control of flow in >>> kepler? I didnt see any replies to a previous post >>> (http://mercury.nceas.ucsb.edu/ecoinformatics/pipermail/kepler-users/2006-March/000088.html) >>> >>> ~Mohana >>> >> In addition to the DDF and PN mechanisms others have pointed >> to (which conditionally route tokens), there is a new actor >> in Ptolemy II called Case, listed in the Ptolemy II default >> library under "higher-order components." This is a composite >> actor that can have more than one "inside", and a control port >> that determines which inside executes on any given firing... >> This works in all domains except CT, but is probably most >> useful in SDF, DDF, SR, and DE. We are working on getting >> it to work in CT. >> >> Edward >> >> >> >> ------------ >> Edward A. Lee >> Professor, Chair of the EE Division, Associate Chair of EECS >> 231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770 >> phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845 >> eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal >> >> _______________________________________________ >> Kepler-users mailing list >> Kepler-users at ecoinformatics.org >> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users >> > > > _______________________________________________ > Kepler-users mailing list > Kepler-users at ecoinformatics.org > http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users > -- ******************************************************************* Dan Higgins higgins at nceas.ucsb.edu http://www.nceas.ucsb.edu/ Ph: 805-893-5127 National Center for Ecological Analysis and Synthesis (NCEAS) Marine Science Building - Room 3405 Santa Barbara, CA 93195 *******************************************************************

