Previous
ptolemy.domains.de.lib.Previous

On each iteration, this actor produces the token received on the previous iteration. On the first iteration, it produces the token given by the <i>initialValue</i> parameter, if such a value has been set. <p> Although it might be tempting to try, this actor is not very useful for breaking precedences in a feedback loop in DE, the way the TimedDelay actor in DE or the SampleDelay actor in SDF do. Since it does not trigger until there is an input, it will not actually break the precedences in a feedback loop. <p> The output data type is constrained to be at least as general as both the input and the <i>initialValue</i> parameter.

Author(s): Edward A. Lee
Version:$Id: Previous.doc.html,v 1.1 2006/02/22 18:41:22 mangal Exp $
Pt.Proposed Rating:Red (eal)
Pt.Accepted Rating:Red (cxh)




initialValue
The initial output value. If this is set, it specifies the first output value produced when the first input arrives. If it is not set, then no output is produced on the first firing.