Package ptolemy.domains.tdl.kernel
Class TDLCausalityInterface
- java.lang.Object
-
- ptolemy.actor.util.DefaultCausalityInterface
-
- ptolemy.actor.util.CausalityInterfaceForComposites
-
- ptolemy.domains.tdl.kernel.TDLCausalityInterface
-
- All Implemented Interfaces:
CausalityInterface
public class TDLCausalityInterface extends CausalityInterfaceForComposites
This class gives a specialized causality interface for TDL.- Since:
- Ptolemy II 8.0
- Version:
- $Id$
- Author:
- Patricia Derler, Contributor: Edward A. Lee
- Pt.AcceptedRating:
- Red (eal)
- Pt.ProposedRating:
- Yellow (eal)
-
-
Field Summary
-
Fields inherited from class ptolemy.actor.util.CausalityInterfaceForComposites
_actorDepthVersion, _actorToDepth, _dependencyVersion, _equivalenceClasses, _forwardDependencies, _reverseDependencies
-
Fields inherited from class ptolemy.actor.util.DefaultCausalityInterface
_actor, _backwardPrunedDependencies, _defaultDependency, _delayDependencies, _EMPTY_COLLECTION, _forwardPrunedDependencies
-
-
Constructor Summary
Constructors Constructor Description TDLCausalityInterface(Actor actor, Dependency defaultDependency)
Construct a causality interface for the specified actor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dependency
getMinimumDelay(IOPort port)
Return the minimum delay for this port.void
wrapup()
Override the base class Clear local variables.-
Methods inherited from class ptolemy.actor.util.CausalityInterfaceForComposites
_computeActorDepth, checkForCycles, dependentPorts, describeDepths, equivalentPorts, getDependency, getDepthOfActor, getDepthOfPort, invalidate, removeDependency, topologicalSort
-
Methods inherited from class ptolemy.actor.util.DefaultCausalityInterface
_growDependencies, declareDelayDependency, getActor, getDefaultDependency, toString
-
-
-
-
Constructor Detail
-
TDLCausalityInterface
public TDLCausalityInterface(Actor actor, Dependency defaultDependency) throws java.lang.IllegalArgumentException
Construct a causality interface for the specified actor.- Parameters:
actor
- The actor for which this is a causality interface. This is required to be an instance of CompositeEntity.defaultDependency
- The default dependency of an output port on an input port.- Throws:
java.lang.IllegalArgumentException
- If the actor parameter is not an instance of CompositeEntity.
-
-
Method Detail
-
getMinimumDelay
public Dependency getMinimumDelay(IOPort port) throws IllegalActionException
Return the minimum delay for this port. The minimum delay is the minimum model time delay between this port or any equivalent port and a source actor.- Parameters:
port
- Port for which the minimum delay should be computed.- Returns:
- the minimum delay for the specified port.
- Throws:
IllegalActionException
- Thrown if minimum delay cannot be computed, because e.g. equivalent ports cannot be computed.
-
wrapup
public void wrapup()
Override the base class Clear local variables.
-
-