public interface CausalityInterface
dependentPorts(IOPort)
,
equivalentPorts(IOPort)
, and getDependency(IOPort, IOPort)
.Dependency
Modifier and Type | Method and Description |
---|---|
void |
declareDelayDependency(IOPort input,
IOPort output,
double timeDelay,
int index)
Set the dependency that the specified output port has
on the specified input port to represent a time
delay with the specified value and superdense time index.
|
java.util.Collection<IOPort> |
dependentPorts(IOPort port)
Return a collection of the ports in this actor that depend on
or are depended on by the specified port.
|
java.util.Collection<IOPort> |
equivalentPorts(IOPort input)
Return a collection of input ports in the associated actor that are
in the same equivalence class as the specified input port.
|
Actor |
getActor()
Return the associated actor.
|
Dependency |
getDefaultDependency()
Return the default dependency.
|
Dependency |
getDependency(IOPort input,
IOPort output)
Return the dependency between the specified input port
and the specified output port.
|
void |
removeDependency(IOPort inputPort,
IOPort outputPort)
Remove the dependency that the specified output port has
on the specified input port, meaning that the dependency
is set to oPlusIdentity.
|
void declareDelayDependency(IOPort input, IOPort output, double timeDelay, int index)
input
- The input port.output
- The output port with a time delay dependency on the
input port.timeDelay
- The time delay.index
- The superdense time index.java.util.Collection<IOPort> dependentPorts(IOPort port) throws IllegalActionException
port
- The port to find the dependents of.IllegalActionException
- If the dependency
cannot be determined.java.util.Collection<IOPort> equivalentPorts(IOPort input) throws IllegalActionException
input
- The port to find the equivalence class of.IllegalActionException
- If the equivalent ports
cannot be determined.Actor getActor()
Dependency getDefaultDependency()
Dependency getDependency(IOPort input, IOPort output) throws IllegalActionException
input
- The specified input port.output
- The specified output port.IllegalActionException
- If the dependency
cannot be determined.void removeDependency(IOPort inputPort, IOPort outputPort)
inputPort
- The input port.outputPort
- The output port that does not depend on the
input port.