Package | Description |
---|---|
org.kepler.ddp.actor | |
org.kepler.monitor | |
org.kepler.provenance | |
org.kepler.provenance.opm | |
org.kepler.provenance.prov | |
org.kepler.provenance.sql | |
org.kepler.sms | |
org.kepler.sms.actors | |
org.kepler.sms.gui | |
ptolemy.actor |
Executable entities.
|
ptolemy.actor.lib |
Polymorphic actor classes.
|
ptolemy.actor.lib.hoc |
Higher Order Component Classes.
|
ptolemy.actor.parameters |
The ptolemy.actor.parameters package.
|
ptolemy.actor.process |
Process oriented actor classes.
|
ptolemy.actor.sched |
Schedule related classes.
|
ptolemy.actor.test |
The ptolemy.actor.test package.
|
ptolemy.actor.util |
Actor utilities.
|
ptolemy.domains.continuous.kernel |
The Continuous domain kernel.
|
ptolemy.domains.ddf.kernel |
Discrete Data Flow (DDF) Kernel.
|
ptolemy.domains.de.kernel |
The ptolemy.domains.de.kernel package.
|
ptolemy.domains.modal.kernel |
The ptolemy.domains.modal.kernel package.
|
ptolemy.domains.modal.modal |
The ptolemy.domains.modal.modal package.
|
ptolemy.domains.pn.kernel |
The Kahn-MacQueen process network domain.
|
ptolemy.domains.pn.kernel.test |
The ptolemy.domains.pn.kernel.test package.
|
ptolemy.domains.sdf.kernel |
The ptolemy.domains.sdf.kernel package.
|
ptolemy.moml.unit |
Unit System Modeling Markup Language classes.
|
ptolemy.vergil.actor |
Actor specific GUI packages.
|
ptolemy.vergil.basic |
Basic GUI classes.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ExecutionChoiceDirector._transferOutputs(IOPort port)
Transfer data from output ports in an ExecutionChoice actor.
|
Modifier and Type | Method and Description |
---|---|
IOPort |
MonitorAttribute.getPort() |
Modifier and Type | Method and Description |
---|---|
void |
MonitorAttribute.setPort(IOPort port) |
Modifier and Type | Method and Description |
---|---|
IOPort |
IOPortRefillEvent.getPort()
Return the port where the event occurred.
|
Modifier and Type | Method and Description |
---|---|
void |
PortConnector.createConnections(IOPort port)
Create connections for a port.
|
Id |
PortConnector.getNextId(IOPort port,
int channel)
Get the next Id for an input port and channel.
|
void |
PortConnector.receiveId(IOPort receiverPort,
int channel,
Id pass)
A port should receive an id on a specific channel.
|
void |
PortConnector.refillId(IOPort port,
int channel)
Restore the previous Id to a port and channel.
|
void |
PortConnector.sendIdToConnections(IOPort senderPort,
int channel,
Id pass)
Send an Id to an output port's connections on a channel.
|
Constructor and Description |
---|
IOPortRefillEvent(IOPort port,
int channel)
Construct a new IOPortRefillEvent.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OpenProvenanceModelXML._recordPortEvent(IOPort port,
org.openprovenance.model.ProcessId processId,
boolean isRead,
int channel,
Token token)
Deprecated.
Record a port read or write.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ProvRecording._recordPortEvent(IOPort port,
org.openprovenance.prov.model.Activity activity,
boolean isRead,
int channel,
Token token,
java.util.Date timestamp)
Record a port read or write.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SQLRecording._recordPortEvent(IOPort port,
int fireId,
int rwfireId,
boolean isRead,
int channel,
Token token,
IOPort destPort,
java.util.Date timestamp)
Record a port read or write to the token_flow table.
|
protected void |
SQLRecordingV8._recordPortEvent(IOPort port,
int fireId,
int rwfireId,
boolean isRead,
int channel,
Token token,
IOPort destPort,
java.util.Date timestamp)
Record a specific type of firing for an actor.
|
Modifier and Type | Method and Description |
---|---|
void |
KeplerCompositeIOPort.addEncapsulatedPort(IOPort port)
Assigns the given ptolemy port reference to the current set of
encapsulated ports.
|
void |
KeplerIOPortSemanticLink.setDomain(IOPort domain)
Assigns the domain of this link.
|
void |
KeplerIOPortReference.setPort(IOPort port)
Create a reference from the given port.
|
void |
KeplerIOPortSemanticLink.setRange(IOPort range)
Assigns the IOPort as the range of the link.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<IOPort> |
MergeActor.getActorPorts(NamedObj actor) |
java.util.Vector<IOPort> |
MergeEditorDialog.getTargetPorts() |
java.util.Vector<IOPort> |
MergeEditorDialog.getTargetPorts(IOPort inputPort) |
java.util.Iterator<IOPort> |
MergeActor.getTargetPorts(IOPort inPort) |
Modifier and Type | Method and Description |
---|---|
void |
MergeEditorDialog.addTargetPort(IOPort port)
adds the given target port
|
java.util.Iterator<SimpleMergeMapping> |
MergeActor.getInputPortMappings(IOPort port) |
java.util.Vector<IOPort> |
MergeEditorDialog.getTargetPorts(IOPort inputPort) |
java.util.Iterator<IOPort> |
MergeActor.getTargetPorts(IOPort inPort) |
void |
MergeActor.removeOutputPort(IOPort port)
removes the given output port
|
void |
MergeEditorDialog.removeTargetPort(IOPort port)
removes the given target port
|
Modifier and Type | Method and Description |
---|---|
boolean |
PortSemanticTypeEditorPane.validPort(IOPort p) |
Modifier and Type | Class and Description |
---|---|
class |
AtomicActor<T extends IOPort>
An AtomicActor is an executable entity that cannot itself contain
other actors.
|
Modifier and Type | Class and Description |
---|---|
class |
ConstantPublisherPort
This is a specialized output port that publishes constant data sent on
the specified named channel.
|
class |
PublisherPort
This is a specialized output port that publishes data sent through it on
the specified named channel.
|
class |
PubSubPort
An abstract base class for publisher and subscriber ports.
|
class |
SubscriberPort
This is a specialized input port that subscribes to data sent
to it on the specified named channel.
|
class |
SubscriptionAggregatorPort
Aggregate data produced by multiple publishers.
|
class |
TypedIOPort
An IOPort with a type.
|
Modifier and Type | Field and Description |
---|---|
protected IOPort |
IntermediateReceiver._port
The port.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.Set<IOPort>> |
CompositeActor._publishedPorts
Keep track of all published ports accessible in this container.
|
protected java.util.Map<java.lang.String,java.util.List<IOPort>> |
CompositeActor._subscribedPorts
Keep track of all published ports accessible in this container.
|
Modifier and Type | Method and Description |
---|---|
IOPort |
Receiver.getContainer()
Return the container of this receiver, or null if there is none.
|
IOPort |
IntermediateReceiver.getContainer()
Delegate to the internal receiver and return whatever it returns.
|
IOPort |
AbstractReceiver.getContainer()
Return the container of this receiver, or null if there is none.
|
IOPort |
TokenGotEvent.getPort()
Deprecated.
Return the port that the token was received at.
|
IOPort |
TokenSentEvent.getPort()
Deprecated.
Return the port that the token was sent from.
|
IOPort |
IOPortEvent.getPort()
Return the port where the event occurred.
|
IOPort |
CompositeActor.getPublishedPort(java.lang.String name)
Get the published port with named name.
|
IOPort |
IOPortEvent.getReceiverPort()
Return the receiver's port if this event represents a token put directly
into a receiver instead of transferred via IOPort send or sendInside.
|
IOPort |
CompositeActor.linkToPublishedPort(java.lang.String name,
IOPort subscriberPort)
Link the subscriberPort with a already registered "published port" coming
from a publisher.
|
IOPort |
CompositeActor.linkToPublishedPort(java.lang.String name,
IOPort subscriberPort,
boolean global)
Link the subscriberPort with an already registered "published port" coming
from a publisher.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IOPort> |
IOPort.deepConnectedInPortList()
Return a list of input ports connected to this port on the
outside.
|
java.util.List<IOPort> |
IOPort.deepConnectedOutPortList()
Return a list of output ports connected to this port on the
outside.
|
java.util.List<IOPort> |
CompositeActor.getPublishedPorts(java.util.regex.Pattern pattern)
Get the published ports with names that match a regular expression.
|
java.util.List<IOPort> |
IOPort.insideSinkPortList()
Return a list of the ports that may accept data from this port
when it sends on the inside.
|
java.util.List<IOPort> |
IOPort.insideSourcePortList()
Return a list of the ports that can send data to this port
from the inside.
|
java.util.List<IOPort> |
IORelation.linkedDestinationPortList()
List the input ports that this relation connects to from the
outside, and the output ports that it connects to from
the inside.
|
java.util.List<IOPort> |
IORelation.linkedDestinationPortList(IOPort except)
List the input ports that this relation connects to from the
outside and the output ports that it connects to from
the inside, except the port given as an argument.
|
java.util.List<IOPort> |
IORelation.linkedSourcePortList()
List the output ports that this relation connects to from the
outside and the input ports that it connects to from
the inside.
|
java.util.List<IOPort> |
IORelation.linkedSourcePortList(IOPort except)
List the output ports that this relation connects to from the
outside and the input ports that it connects to from
the inside, except the port given as an argument.
|
java.util.List<IOPort> |
IOPort.sinkPortList()
Return a list of the ports that may accept data from this port when
it sends on the outside.
|
java.util.List<IOPort> |
IOPort.sourcePortList()
Return a list of ports that may send data to this port from the
outside.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
GraphReader._computeEdgeWeight(IOPort sourcePort,
IOPort sinkPort)
Determine the weight to be assigned to the weighted graph edge that
represents a given connection in a Ptolemy II model.
|
protected void |
AtomicActor._declareDelayDependency(IOPort input,
IOPort output,
double timeDelay)
Set the dependency between the input and output port to
represent a time delay with the specified value.
|
protected void |
GraphReader._processNewEdge(Graph graph,
Edge edge,
IOPort sourcePort,
IOPort sinkPort)
Process a new edge corresponding to a given connection in a given graph.
|
protected boolean |
Director._transferInputs(IOPort port)
Transfer at most one data token from the given input port of
the container to the ports it is connected to on the inside.
|
protected boolean |
Director._transferOutputs(IOPort port)
Transfer at most one data token from the given output port of
the container to the ports it is connected to on the outside..
|
Receiver[][] |
IORelation.deepReceivers(IOPort except)
Return the receivers of all input ports linked to this
relation, directly or indirectly through a relation group,
except those in the port
given as an argument.
|
java.lang.String |
CompositeActor.getPublishedPortChannel(IOPort port)
Get the channel name of a published port.
|
static int |
IOPort.getRelationIndex(IOPort port,
Relation relation,
boolean isOutsideRelation)
Retrieve the index of the relation at the port.
|
java.lang.String |
CompositeActor.getSubscribedPortChannel(IOPort port)
Get the name of the channel that the port subscribes to.
|
boolean |
CompositeActor.isPublishedPort(IOPort port)
Return true if a port is in the published port list
at this level.
|
java.util.List<IOPort> |
IORelation.linkedDestinationPortList(IOPort except)
List the input ports that this relation connects to from the
outside and the output ports that it connects to from
the inside, except the port given as an argument.
|
java.util.Enumeration |
IORelation.linkedDestinationPorts(IOPort except)
Deprecated.
Use linkDestinationPortList(IOPort) instead.
|
java.util.List<IOPort> |
IORelation.linkedSourcePortList(IOPort except)
List the output ports that this relation connects to from the
outside and the input ports that it connects to from
the inside, except the port given as an argument.
|
java.util.Enumeration |
IORelation.linkedSourcePorts(IOPort except)
Deprecated.
Use linkedSourcePortList(IOPort) instead.
|
IOPort |
CompositeActor.linkToPublishedPort(java.lang.String name,
IOPort subscriberPort)
Link the subscriberPort with a already registered "published port" coming
from a publisher.
|
IOPort |
CompositeActor.linkToPublishedPort(java.lang.String name,
IOPort subscriberPort,
boolean global)
Link the subscriberPort with an already registered "published port" coming
from a publisher.
|
void |
CompositeActor.registerPublisherPort(java.lang.String name,
IOPort port)
Register a "published port" coming from a publisher.
|
void |
CompositeActor.registerPublisherPort(java.lang.String name,
IOPort port,
boolean global)
Register a "published port" coming from a publisher.
|
void |
AtomicActor.removeDependency(IOPort input,
IOPort output)
Remove the dependency that the specified output port has,
by default, on the specified input port.
|
void |
Receiver.setContainer(IOPort port)
Set the container.
|
void |
IntermediateReceiver.setContainer(IOPort port)
Set the container of the internal receiver.
|
void |
AbstractReceiver.setContainer(IOPort port)
Set the container.
|
void |
IOPort.setWidthEquals(IOPort port,
boolean bidirectional)
Constrain the width of this port to be equal to the width of
the IOPort port.
|
boolean |
Director.transferInputs(IOPort port)
Transfer data from an input port of the container to the ports
it is connected to on the inside.
|
boolean |
DoNothingDirector.transferInputs(IOPort port) |
boolean |
Director.transferOutputs(IOPort port)
Transfer data from an output port of the container to the
ports it is connected to on the outside.
|
boolean |
DoNothingDirector.transferOutputs(IOPort port) |
void |
CompositeActor.unlinkToPublishedPort(java.lang.String name,
IOPort subscriberPort)
Unlink the subscriberPort with a already registered "published port" coming
from a publisher.
|
void |
CompositeActor.unlinkToPublishedPort(java.lang.String name,
IOPort subscriberPort,
boolean global)
Unlink the subscriberPort with a already registered "published port" coming
from a publisher.
|
void |
CompositeActor.unregisterPublisherPort(java.lang.String name,
IOPort publisherPort)
Unregister a "published port" coming
from a publisher.
|
void |
CompositeActor.unregisterPublisherPort(java.lang.String name,
IOPort publisherPort,
boolean global)
Unregister a "published port" coming
from a publisher.
|
Constructor and Description |
---|
AbstractReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
IntermediateReceiver(CommunicationAspect aspect,
Receiver receiver,
IOPort port)
Construct an intermediate receiver with no container that wraps the
specified receiver using the specified communication aspect.
|
IOPortEvent(IOPort port,
int event,
int channel,
boolean outside,
Token token)
Create a new port event with the given parameters.
|
IOPortEvent(IOPort port,
int event,
int channel,
boolean outside,
Token[] tokens,
int vectorLength)
Create a new port event with the given parameters.
|
IOPortEvent(IOPort port,
IOPort receiverPort,
boolean isBegin,
int channel,
boolean outside,
Token token)
Create a new port event with the given parameters.
|
Mailbox(IOPort container)
Construct an empty Mailbox with the specified container.
|
QueueReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
TokenGotEvent(IOPort sink,
int channel,
Token[] tokens,
int vectorLength,
boolean outside)
Deprecated.
Create a new token got event with the given parameters.
|
TokenGotEvent(IOPort sink,
int channel,
Token token,
boolean outside)
Deprecated.
Create a new token got event with the given parameters.
|
TokenSentEvent(IOPort source,
int channel,
Token token)
Deprecated.
Create a new token sent event with the given parameters.
|
TokenSentEvent(IOPort source,
int channel,
Token[] tokens,
int vectorLength)
Deprecated.
Create a new token sent event with the given parameters.
|
TokenSentEvent(IOPort source,
Token token)
Deprecated.
Create a new token sent event with the given parameters.
|
TokenSentEvent(IOPort source,
Token[] tokens,
int vectorLength)
Deprecated.
Create a new token sent event with the given parameters.
|
Modifier and Type | Class and Description |
---|---|
static class |
Assert.AssertPort
Class for ports created by the user for this actor.
|
Modifier and Type | Class and Description |
---|---|
static class |
IterateOverArray.IteratePort
This is a specialized port for IterateOverArray.
|
class |
MirrorPort
This port mirrors the properties of an associated port.
|
class |
MultiCompositePort
A port for multi-composite actors.
|
class |
RefinementPort
A port for controllers and refinements in modal models.
|
Modifier and Type | Class and Description |
---|---|
class |
ParameterMirrorPort
This port mirrors properties of associated parameter ports.
|
class |
ParameterPort
A specialized port for use with PortParameter.
|
Modifier and Type | Method and Description |
---|---|
void |
BranchController.addBranches(IOPort port)
Add branches corresponding to the channels of the port
argument.
|
void |
MailboxBoundaryReceiver.setContainer(IOPort port)
Set the container.
|
boolean |
ProcessDirector.transferInputs(IOPort port)
Do nothing.
|
boolean |
ProcessDirector.transferOutputs(IOPort port)
Do nothing.
|
Constructor and Description |
---|
MailboxBoundaryReceiver(IOPort container)
Construct an empty MailboxBoundaryReceiver with the specified
container.
|
Modifier and Type | Method and Description |
---|---|
void |
FixedPointReceiver.setContainer(IOPort port)
Set the container.
|
boolean |
FixedPointDirector.transferInputs(IOPort port)
Transfer data from the specified input port of the
container to the ports it is connected to on the inside.
|
boolean |
FixedPointDirector.transferOutputs(IOPort port)
Transfer data from the specified output port of the
container to the ports it is connected to on the outside.
|
Modifier and Type | Field and Description |
---|---|
IOPort |
IdentityActor.input |
IOPort |
IdentityActor.output |
Constructor and Description |
---|
TestAbstractReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<IOPort,java.util.Set<IOPort>> |
DefaultCausalityInterface._backwardPrunedDependencies
A record of removed dependencies from output to input, if any.
|
protected java.util.Map<IOPort,java.util.Set<IOPort>> |
DefaultCausalityInterface._backwardPrunedDependencies
A record of removed dependencies from output to input, if any.
|
protected java.util.Map<IOPort,java.util.Map<IOPort,Dependency>> |
DefaultCausalityInterface._delayDependencies
A record of delay dependencies from input to output, if any.
|
protected java.util.Map<IOPort,java.util.Map<IOPort,Dependency>> |
DefaultCausalityInterface._delayDependencies
A record of delay dependencies from input to output, if any.
|
protected static java.util.Collection<IOPort> |
DefaultCausalityInterface._EMPTY_COLLECTION
Empty collection for use by dependentPort().
|
protected java.util.Map<IOPort,java.util.Collection<IOPort>> |
CausalityInterfaceForComposites._equivalenceClasses
Computed equivalence classes of input ports.
|
protected java.util.Map<IOPort,java.util.Collection<IOPort>> |
CausalityInterfaceForComposites._equivalenceClasses
Computed equivalence classes of input ports.
|
protected java.util.Map<IOPort,java.util.Map<IOPort,Dependency>> |
CausalityInterfaceForComposites._forwardDependencies
Computed dependencies between input ports and output ports of the associated actor.
|
protected java.util.Map<IOPort,java.util.Map<IOPort,Dependency>> |
CausalityInterfaceForComposites._forwardDependencies
Computed dependencies between input ports and output ports of the associated actor.
|
protected java.util.Map<IOPort,java.util.Set<IOPort>> |
DefaultCausalityInterface._forwardPrunedDependencies
A record of removed dependencies from input to output, if any.
|
protected java.util.Map<IOPort,java.util.Set<IOPort>> |
DefaultCausalityInterface._forwardPrunedDependencies
A record of removed dependencies from input to output, if any.
|
protected java.util.Map<IOPort,java.util.Map<IOPort,Dependency>> |
CausalityInterfaceForComposites._reverseDependencies
Computed reverse dependencies (the key is now an output port).
|
protected java.util.Map<IOPort,java.util.Map<IOPort,Dependency>> |
CausalityInterfaceForComposites._reverseDependencies
Computed reverse dependencies (the key is now an output port).
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IOPort> |
CausalityInterface.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> |
BreakCausalityInterface.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> |
DefaultCausalityInterface.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> |
CausalityInterfaceForComposites.dependentPorts(IOPort port)
Return a collection of the ports in the associated actor that depend on
or are depended on by the specified port.
|
java.util.Collection<IOPort> |
CausalityInterface.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.
|
java.util.Collection<IOPort> |
DefaultCausalityInterface.equivalentPorts(IOPort input)
Return a collection of the input ports in this actor that are
in the same equivalence class with the specified input
port.
|
java.util.Collection<IOPort> |
CausalityInterfaceForComposites.equivalentPorts(IOPort input)
Return a set of the input ports in this actor that are
in an equivalence class with the specified input.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultCausalityInterface._growDependencies(IOPort input,
java.util.Set<IOPort> inputs,
java.util.Set<IOPort> outputs)
If the input port is already in the inputs set, do nothing
and return.
|
void |
CausalityInterface.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.
|
void |
DefaultCausalityInterface.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> |
CausalityInterface.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> |
BreakCausalityInterface.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> |
DefaultCausalityInterface.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> |
CausalityInterfaceForComposites.dependentPorts(IOPort port)
Return a collection of the ports in the associated actor that depend on
or are depended on by the specified port.
|
static java.util.Set<AtomicActor> |
ActorDependencies.dependents(IOPort port,
java.lang.Class filter)
Return a Set of dependent (downstream) actors of a particular
class that are connected to a port.
|
java.util.Collection<IOPort> |
CausalityInterface.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.
|
java.util.Collection<IOPort> |
DefaultCausalityInterface.equivalentPorts(IOPort input)
Return a collection of the input ports in this actor that are
in the same equivalence class with the specified input
port.
|
java.util.Collection<IOPort> |
CausalityInterfaceForComposites.equivalentPorts(IOPort input)
Return a set of the input ports in this actor that are
in an equivalence class with the specified input.
|
Dependency |
CausalityInterface.getDependency(IOPort input,
IOPort output)
Return the dependency between the specified input port
and the specified output port.
|
Dependency |
BreakCausalityInterface.getDependency(IOPort input,
IOPort output)
Return the dependency between the specified input port
and the specified output port.
|
Dependency |
DefaultCausalityInterface.getDependency(IOPort input,
IOPort output)
Return the dependency between the specified input port
and the specified output port.
|
Dependency |
CausalityInterfaceForComposites.getDependency(IOPort input,
IOPort output)
Return the dependency between the specified input port
and the specified output port.
|
int |
CausalityInterfaceForComposites.getDepthOfPort(IOPort ioPort)
Return the depth of a port of the associated actor
or an actor contained by it.
|
static int |
DFUtilities.getRate(IOPort port)
Return the number of tokens that will be produced or consumed on the
given port.
|
static int |
DFUtilities.getTokenConsumptionRate(IOPort port)
Get the number of tokens that are consumed on the given port.
|
static int |
DFUtilities.getTokenInitConsumption(IOPort port)
Get the number of tokens that are initially
available on the given input port
after initialization.
|
static int |
DFUtilities.getTokenInitProduction(IOPort port)
Get the number of tokens that are produced on the given port
during initialization.
|
static int |
DFUtilities.getTokenProductionRate(IOPort port)
Get the number of tokens that are produced on the given port.
|
void |
CausalityInterface.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 |
BreakCausalityInterface.removeDependency(IOPort inputPort,
IOPort outputPort)
Remove the dependency that the specified output port has
on the specified input port.
|
void |
DefaultCausalityInterface.removeDependency(IOPort inputPort,
IOPort outputPort)
Remove the dependency that the specified output port has
on the specified input port.
|
void |
CausalityInterfaceForComposites.removeDependency(IOPort inputPort,
IOPort outputPort)
Remove the dependency that the specified output port has
on the specified input port.
|
static void |
DFUtilities.setTokenConsumptionRate(IOPort port,
int rate)
Set the tokenConsumptionRate parameter of the given port
to the given rate.
|
static void |
DFUtilities.setTokenInitConsumption(IOPort port,
int rate)
Set the tokenInitConsumption parameter of the given port to
the given rate.
|
static void |
DFUtilities.setTokenInitProduction(IOPort port,
int rate)
Set the tokenInitProduction parameter of the given port to
the given rate.
|
static void |
DFUtilities.setTokenProductionRate(IOPort port,
int rate)
Set the tokenProductionRate parameter of the given port
to the given rate.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultCausalityInterface._growDependencies(IOPort input,
java.util.Set<IOPort> inputs,
java.util.Set<IOPort> outputs)
If the input port is already in the inputs set, do nothing
and return.
|
protected void |
DefaultCausalityInterface._growDependencies(IOPort input,
java.util.Set<IOPort> inputs,
java.util.Set<IOPort> outputs)
If the input port is already in the inputs set, do nothing
and return.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ContinuousDirector.transferInputs(IOPort port)
Override the base class to do nothing.
|
boolean |
ContinuousDirector.transferOutputs(IOPort port)
Override the base class to do nothing.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DDFDirector.transferInputs(IOPort port)
Override the base class method to transfer enough tokens to complete
an internal iteration.
|
boolean |
DDFDirector.transferOutputs(IOPort port)
Override the base class method to transfer enough tokens to
fulfill the output production rate.
|
Modifier and Type | Field and Description |
---|---|
protected IOPort |
DEEvent._ioPort
The destination IO port.
|
Modifier and Type | Method and Description |
---|---|
IOPort |
DEEvent.ioPort()
Return the destination IO port of this event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DEDirector._enqueueTriggerEvent(IOPort ioPort)
Put a trigger event into the event queue.
|
protected int |
DEDirector._getDepthOfIOPort(IOPort ioPort)
Return the depth of an ioPort.
|
boolean |
DEDirector.transferInputs(IOPort port)
Transfer data from an input port of the container to the ports
it is connected to on the inside.
|
void |
DEThreadActor.waitForNewInputs(IOPort[] ports)
Wait for new inputs on the specified array of ports.
|
Constructor and Description |
---|
DEEvent(IOPort ioPort,
Time timeStamp,
int microstep,
int depth)
Construct a trigger event with the specified destination IO port,
timestamp, microstep, and depth.
|
DEReceiver(IOPort container)
Construct an empty DEReceiver with the specified container.
|
Modifier and Type | Method and Description |
---|---|
protected IOPort |
FSMActor._getPortForIdentifier(java.lang.String identifier)
Get the port for the specified identifier, which may be of
form portName, portName_isPresent, portName_i, portName_i_isPresent,
etc.
|
Modifier and Type | Method and Description |
---|---|
protected Receiver[][] |
FSMDirector._currentLocalReceivers(IOPort port)
Return the receivers contained by ports connected to the inside
of the given input port and on the mode controller or the
refinement of its current state.
|
protected void |
MultirateFSMDirector._declareDependency(ConstVariableModelAnalysis analysis,
IOPort port,
java.lang.String name,
java.util.List dependents)
Add a DependencyDeclaration (with the name
"_MultirateFSMRateDependencyDeclaration") to the variable with the
given name in the given port that declares the variable is dependent
on the given list of variables.
|
protected void |
MultirateFSMDirector._declareReconfigurationDependencyForRefinementRateVariables(ConstVariableModelAnalysis analysis,
IOPort port,
java.lang.String parameterName)
Declare the reconfiguration dependency in the given analysis
associated with the parameter name of the given port.
|
protected java.util.List |
MultirateFSMDirector._getRefinementRateVariables(IOPort port,
java.lang.String parameterName)
Return the set of variables with the given parameter name that are
contained by ports connected to the given port on the inside.
|
protected boolean |
FSMActor._isRefinementOutput(IOPort port,
int channel)
Return true if the channel of the port is connected to an output
port of the refinement of current state.
|
protected boolean |
FSMActor._isSafeToClear(IOPort port,
int channel,
State state,
boolean immediateOnly,
java.util.HashSet<State> visitedStates)
Given an output port and channel, determine whether the
output port must be absent on the specified channel, given whatever
current information about the inputs is available (the inputs
may be known or unknown).
|
protected void |
FSMActor._readInputs(IOPort port,
int channel)
Read tokens from the given channel of the given input port and
make them accessible to the expressions of guards and
transitions through the port scope.
|
protected boolean |
FSMDirector._transferOutputs(IOPort port)
Transfer at most one data token from the given output port of
the container to the ports it is connected to on the
outside.
|
Dependency |
FSMCausalityInterface.getDependency(IOPort input,
IOPort output)
Return the dependency between the specified input port
and the specified output port.
|
boolean |
NonStrictFSMDirector.transferInputs(IOPort port)
Override the super class by only transferring inputs for those
input ports that are referred by the guard expressions of the
preemptive transitions leaving the current state.
|
boolean |
FSMDirector.transferInputs(IOPort port)
Transfer data from the input port of the container to the ports
connected to the inside of the input port and on the mode
controller or the refinement of its current state.
|
boolean |
MultirateFSMDirector.transferInputs(IOPort port)
Transfer data from the input port of the container to the
ports connected to the inside of the input port and on the
mode controller or the refinement of its current state.
|
boolean |
MultirateFSMDirector.transferOutputs(IOPort port)
Transfer data from an output port of the current refinement actor
to the ports it is connected to on the outside.
|
Constructor and Description |
---|
FSMReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
Modifier and Type | Class and Description |
---|---|
class |
ModalBasePort
A base class that contains common functionality for ModelPort and
ModalRefinementPort.
|
class |
ModalPort
A port for modal models.
|
class |
ModalRefinementPort
A port for refinements in modal models that are themselves modal models.
|
class |
TransitionRefinementPort
A port for transition refinements in modal models.
|
Modifier and Type | Method and Description |
---|---|
Dependency |
MirrorCausalityInterface.getDependency(IOPort input,
IOPort output)
Return the dependency between the specified input port
and the specified output port.
|
Modifier and Type | Method and Description |
---|---|
void |
PNQueueReceiver.setContainer(IOPort port)
Set the container.
|
Constructor and Description |
---|
PNQueueReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
Modifier and Type | Field and Description |
---|---|
IOPort |
TestDirector.input |
IOPort |
TestDirector.output |
Modifier and Type | Class and Description |
---|---|
class |
SDFIOPort
Deprecated.
It is preferable to declare the rate parameters directly
in the actors, instead of using this class. This allows the
dependence of rates to be understood by various SDF schedulers.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SDFScheduler._simulateExternalInputs(IOPort port,
int count,
java.util.List actorList,
java.util.LinkedList readyToScheduleActorList)
Simulate the consumption of tokens from the given external input
port.
|
boolean |
SDFDirector.transferInputs(IOPort port)
Override the base class method to transfer enough tokens to
complete an internal iteration.
|
boolean |
SDFDirector.transferOutputs(IOPort port)
Override the base class method to transfer enough tokens to
fulfill the output production rate.
|
Constructor and Description |
---|
SDFReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
SDFReceiver(IOPort container,
int size)
Construct an empty receiver with the specified container and size.
|
Constructor and Description |
---|
UnitExpr(IOPort ioPort)
Construct a UnitTerm from an IOPort.
|
Modifier and Type | Field and Description |
---|---|
static IOPort |
ExternalIOPortController._GENERIC_INOUT
Prototype inout port.
|
static IOPort |
ExternalIOPortController._GENERIC_INOUT_MULTIPORT
Prototype inout multiport.
|
static IOPort |
ExternalIOPortController._GENERIC_INPUT
Prototype input port.
|
static IOPort |
ExternalIOPortController._GENERIC_INPUT_MULTIPORT
Prototype input multiport.
|
static IOPort |
ExternalIOPortController._GENERIC_OUTPUT
Prototype output port.
|
static IOPort |
ExternalIOPortController._GENERIC_OUTPUT_MULTIPORT
Prototype output multiport.
|
Modifier and Type | Method and Description |
---|---|
IOPort |
PortTerminal.getPort()
Return the port specified in the constructor.
|
Constructor and Description |
---|
PortTerminal(IOPort port,
diva.canvas.Figure figure,
double normal,
boolean inside)
Construct a port terminal with the specified figure as
the port figure.
|
Modifier and Type | Method and Description |
---|---|
static double[] |
WithIconGraphController.getNewPortLocation(diva.graph.GraphPane pane,
BasicGraphFrame frame,
IOPort _prototype)
Get a location for a port that hasn't got a location yet.
|
Constructor and Description |
---|
NewPortAction(IOPort prototype,
java.lang.String description,
int mnemonicKey)
Create a new port that has the same input, output, and
multiport properties as the specified port.
|
NewPortAction(IOPort prototype,
java.lang.String description,
int mnemonicKey,
java.lang.String[][] iconRoles)
Create a new port that has the same input, output, and
multiport properties as the specified port and has icons
associated with being unselected, rollover, rollover
selected, and selected.
|