
Const |
ptolemy.actor.lib.Const |
Produce a constant output. The value of the
output is that of the token contained by the value parameter,
which by default is an IntToken with value 1. The type of the output
is that of value parameter.
Author(s): Yuhong Xiong, Edward A. Lee
Version:$Id: Const.java,v 1.51 2005/07/08 19:55:57 cxh Exp $
Pt.Proposed Rating:Green (eal)
Pt.Accepted Rating:Green (bilung)
value
The value produced by this constant source.
By default, it contains an IntToken with value 1. If the
type of this token is changed during the execution of a model,
then the director will be asked to redo type resolution.