RemoveNilTokens
ptolemy.actor.lib.RemoveNilTokens

Read in tokens and silently discard any tokens that are marked as nil. Non-nill tokens are transferred to the output.

In the real world, data sources sometimes pass null values when data sources are sparsely populated. The null values are sometimes called missing values. The Ptolemy II expression language represents the missing or null tokens with the string "nil".

This actor should not be used in the SDF domain because the number of tokens sent to the output depends on the input.

Author(s): Christopher Brooks
Version:$Id: RemoveNilTokens.java,v 1.8 2006/03/29 00:43:25 cxh Exp $
Pt.Proposed Rating:Red (cxh)
Pt.Accepted Rating:Red (cxh)