This class uses a graph to describe the function dependency, where the nodes of the graph correspond to the ports and an edge indicates a function dependency. The edges go from input ports to output ports that depend on them.
The dependency graph by default indicates complete dependency, which means that each output port depends on all input ports. This default dependency graph is constructed in the protected method {@link #_constructDependencyGraph()}, which can be overridden in subclasses to construct a more accurate dependency graph. See {@link FunctionDependencyOfAtomicActor}and {@link FunctionDependencyOfCompositeActor} for exampleconcrete subclasses. The composite actor version analyzes the contained model to determine from the function dependencies of the contained actors and from the connections what the function dependencies of the composite actor are. @author Haiyang Zheng @version $Id: FunctionDependency.java,v 1.22 2007/12/07 06:26:46 cxh Exp $ @since Ptolemy II 4.0 @Pt.ProposedRating Green (hyzheng) @Pt.AcceptedRating Green (eal)
|
|
|
|