
NondeterministicMerge |
ptolemy.domains.pn.kernel.NondeterministicMerge |
This actor takes any number of input streams and merges them
nondeterministically. This actor is intended for use in the
PN domain. It is a composite actor that
creates its own contents. It contains an instance of PNDirector and one
actor for each input channel (it creates these actors automatically
when a connection is created to the input multiport). The contained
actors are special actors (implemented as an instance of an inner class)
that read from the port of this actor and write to the port of
this actor. They have no ports of their own. The lifecycle of the
contained actors (when they are started or stopped) is handled by
the PNDirector in the usual way.
Author(s): Edward A. Lee, Haibo Zeng
Version:$Id: NondeterministicMerge.java,v 1.23 2005/11/12 22:54:58 eal Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (eal)
input
The input port. This base class imposes no type constraints except
that the type of the input cannot be greater than the type of the
output.
output
The output port. By default, the type of this output is constrained
to be at least that of the input.
channel
Output port used to indicate which input channel the current
output came from. This has type int.