Read at most one token from each input channel and broadcast the one with the
greatest value to the <i>maximumValue</i> output.
In addition, broadcast the channel number of the maximum on
the <i>channelNumber</i> output port. Either output port may be
left unconnected if you do not need its results.
This actor works with any scalar token. For ComplexToken, the output is
the one with the maximum magnitude.
The input port is a multiport.
Edward A. Lee
$Id: Maximum.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 0.3
Yellow (eal)
Yellow (yuhong)
The input port. This is required to be a scalar type.
The output port for the maximum value.
The output port for the channel number. The type of this
output is an integer.