Hi Madhavi,
Not easily. The director controls which actor is fired. In SDF, the SDFScheduler determines the schedule.

SDFScheduler extends actor.sched.StaticSchedulingDirector, which has a getScheduler().

PN is more complex, the PNDirector extends actor.process.CompositeProcessDirector. I'm not sure how you would determine which actor is next.

You could use the LeftRightDirector at doc/tutorial/domains/LeftRightDirector.java to instantiate it, you would use Instantiate Attribute or what ever it is called in Kepler and enter doc.tutorial.domains.LeftRightDirector.

See http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2011-July/019653.html
and http://inst.eecs.berkeley.edu/~ee249/fa07/PtolemyIIExtensions.pdf

_Christopher


On 9/12/12 3:21 AM, Madhavi Tikhe wrote:

Hi

Is it possible to find out which actor is next in the row to be executed during the workflow execution?

Regards,

Madhavi

DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.



_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

--
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841                                (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670

_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

Reply via email to