
FunctionDependencyOfCompositeActor |
ptolemy.actor.util.FunctionDependencyOfCompositeActor |
An instance of FunctionDependencyOfCompositeActor describes the function
dependency between the outputs and inputs of a composite actor. In
particular, which outputs depend on which inputs. An output is depend on
an input if the token sent through an output port depends on the token
received from the input port in the same iteration.
<p> This class provides both an abstracted view, which gives the function
dependency the output ports of a composite actor have on input ports, and
a detailed view from which the abstruct view is constructed.
The detailed view is a graph where the nodes correspond
to the ports of a composite actor and to the ports of all deeply
contained opaque actors, and the edges represent either the communication
dependencies implied by the connections within this composite actor or
the function dependencies of the contained opaque actors.
The detailed view is typically used by a director to construct a
schedule while the abstracted view is abstracted from the detailed view
for composition.
<p>
The detailed view may reveal dependency loops, which in many domains
means that the model cannot be executed.
To check whether there are such loops, use the getCycleNodes() method.
The method returns an array of IOPorts in such loops, or an empty
array if there are no such loops.
Author(s): Haiyang Zheng
Version:$Id: FunctionDependencyOfCompositeActor.doc.html,v 1.1 2006/02/22 18:40:27 mangal Exp $
Pt.Proposed Rating:Green (hyzheng)
Pt.Accepted Rating:Green (zhouye)