CountTrues
ptolemy.domains.sdf.lib.CountTrues

Read the given number of input booleans and output the number that are true.

Author(s): Steve Neuendorffer
Version:$Id: CountTrues.java,v 1.17 2005/10/28 20:18:58 cxh Exp $
Pt.Proposed Rating:Red (eal)
Pt.Accepted Rating:Red (yuhong)




blockSize
The number of input tokens to read before outputting a count. The input is of type integer and has a default value of 1.