Modifier and Type | Method and Description |
---|---|
void |
DensityGridActor.fire() |
void |
DensityGridActor.initialize() |
boolean |
DensityGridActor.prefire() |
Constructor and Description |
---|
DensityGridActor(CompositeEntity container,
java.lang.String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
CAMERARESTService.attributeChanged(Attribute at) |
void |
CAMERARESTService.configureActorConstant(java.lang.String name,
java.lang.String value,
double[] pos)
Currently, this method is not used.
|
void |
CAMERARESTService.configureActorParameter(java.lang.String value,
java.lang.String appender,
java.lang.String description,
java.lang.String valueType,
double[] pos)
This method creates Parameters with name as value and data type
it represents as valueType.
|
void |
CAMERARESTService.configureActorPort(java.lang.String value,
java.lang.String description,
java.lang.String valueType)
It dynamically creates port with name as value and display
name as description and port type is set as valueType.
|
java.lang.String |
CAMERARESTService.executeGetMethod(java.util.List<NameValuePair> nvPairList,
java.lang.String serSiteURL) |
java.lang.String |
CAMERARESTService.executePostMethod(java.util.List<NameValuePair> pmPairList,
java.util.List<NameValuePair> flPairList,
java.lang.String serSiteURL)
File & regular parameters are passed as two separate lists and they are treated
little differently.
|
void |
IdSizeMapForSeqFile.fire() |
void |
CAMERARESTService.fire() |
void |
FastaValidation.fire()
Output the data read from the file or URL as a string.
|
void |
AverageGenomeSizeParserV2.fire() |
void |
Fastq2Fasta.fire() |
void |
CAMERAResourceMonitor.fire()
Output the data read from the file or URL as a string.
|
void |
CAMERAURLProcessor.fire() |
void |
CAMERARESTService.remAttributes(java.lang.String resName)
Parameters whose names start with resName are removed by this method.
|
void |
CAMERARESTService.removeMyPorts()
Removes port that were in the old list but not used currently
|
void |
CAMERARESTService.removePorts()
This method removes all input ports
|
Constructor and Description |
---|
AverageGenomeSizeParserV2(CompositeEntity container,
java.lang.String name) |
CAMERAResourceMonitor(CompositeEntity container,
java.lang.String name)
Construct an actor with a name and a container.
|
CAMERARESTService(CompositeEntity container,
java.lang.String name) |
CAMERAURLProcessor(CompositeEntity container,
java.lang.String name) |
FastaValidation(CompositeEntity container,
java.lang.String name) |
Fastq2Fasta(CompositeEntity container,
java.lang.String name) |
IdSizeMapForSeqFile(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
SubsetChooserActor.fire()
Choose a subset from the displayed objects.
|
void |
MatrixAligner.fire()
Improve the tree using RecIDCM3 CORBA service, and send the result tree
to the output port.
|
void |
TreeImprover.fire()
Improve a tree and send the final tree to the output port.
|
void |
TreeMerger.fire()
Merge a set of trees and send the whole tree to the output port.
|
void |
GUIRunCIPRes.fire()
Invoke the external program by setting the parameters of the execution
using GUIGen.
|
void |
AlignmentEditor_Seaview.fire()
Run seaview for alignment reviw and manipulation.
|
void |
PAUPInfer.fire()
Run PAUP for tree inference.
|
void |
ClustalWSeqAlign.fire()
Run ClustalW for Sequence Alignment.
|
void |
TreeDecomposer.fire()
Decompose the input tree and send the subtrees to the output port.
|
void |
TreeToString.fire()
Send the single string description of a tree to the output port.
|
void |
JRunCIPRes.fire()
Invoke the external program.
|
void |
TreeParser.fire()
Parse the tree and send various sub data structure into corresponding
ports.
|
void |
TreeVizForester.fire()
Display the phylogenetic tree ported in from the input port with the
Forester package.
|
void |
NexusFileReader.fire()
Send the content of the Nexus file to the output.
|
void |
PhyloDataReader.fire()
Read and parse the Nexus data.
|
void |
Initializer.fire()
Send out a token to indicate that the intialization is successful.
|
void |
PAUPConsensusTrees.fire()
Run PAUP for finding consensus trees.
|
void |
RecIDCM3.fire()
Improve the tree using RecIDCM3 CORBA service, and send the result tree
to the output port.
|
boolean |
GUIRunCIPRes.postfire()
Post fire the actor.
|
boolean |
JRunCIPRes.postfire()
Post fire the actor.
|
Constructor and Description |
---|
AlignmentEditor_Seaview(CompositeEntity container,
java.lang.String name)
Construct a AlignmentEditor_Seaview actor with the given container and
name.
|
ClustalWSeqAlign(CompositeEntity container,
java.lang.String name)
Construct ClustalWSeqAlign source with the given container and name.
|
GUIRunCIPRes(CompositeEntity container,
java.lang.String name)
Construct GUIRunCIPRes source with the given container and name.
|
Initializer(CompositeEntity container,
java.lang.String name)
Construct an Initializer actor with the given container and name.
|
JRunCIPRes(CompositeEntity container,
java.lang.String name)
Construct JRunCIPRes source with the given container and name.
|
MatrixAligner(CompositeEntity container,
java.lang.String name)
Construct a MatrixAligner actor with the given container and name.
|
NexusFileReader(CompositeEntity container,
java.lang.String name)
Construct a NexusFileReader actor with the given container and name.
|
PAUPConsensusTrees(CompositeEntity container,
java.lang.String name)
Construct PAUPConsensusTrees source with the given container and name.
|
PAUPInfer(CompositeEntity container,
java.lang.String name)
Construct PAUPInfer source with the given container and name.
|
PhyloDataReader(CompositeEntity container,
java.lang.String name)
Construct a PhyloDataReader actor with the given container and name.
|
RecIDCM3(CompositeEntity container,
java.lang.String name)
Construct a RecIDCM3 actor with the given container and name.
|
SubsetChooserActor(CompositeEntity container,
java.lang.String name)
Construct SubsetChooserActor source with the given container and name.
|
TreeDecomposer(CompositeEntity container,
java.lang.String name)
Construct a TreeDecomposer actor with the given container and name.
|
TreeImprover(CompositeEntity container,
java.lang.String name)
Construct a TreeImprover actor with the given container and name.
|
TreeMerger(CompositeEntity container,
java.lang.String name)
Construct a TreeMerger actor with the given container and name.
|
TreeParser(CompositeEntity container,
java.lang.String name)
Construct a TreeParser actor with the given container and name.
|
TreeToString(CompositeEntity container,
java.lang.String name)
Construct a TreeToString actor with the given container and name.
|
TreeVizForester(CompositeEntity container,
java.lang.String name)
Construct a TreeVizForester actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
MatlabExpression.fire() |
Constructor and Description |
---|
MatlabExpression(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
BackProp.fire() |
void |
BackProp.initialize() |
boolean |
BackProp.prefire() |
Constructor and Description |
---|
BackProp(CompositeEntity container,
java.lang.String name)
BackProp Actor
|
Constructor and Description |
---|
DataSourceIcon(NamedObj parent)
Create the DataSource Icon.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DarwinCoreMetaDataSpecification.addResultsetRecordsToContainer(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType aResults,
java.lang.String aEndPointURLStr,
CompositeEntity aContainer,
java.util.Vector aResultList)
Creates a DarwinCore DataSource which extends Source
|
void |
DarwinCoreDataSource.attributeChanged(Attribute attribute)
Callback for changes in attribute values.
|
void |
DarwinCoreDataSource.fire()
Send a record's tokens over the ports on each fire event.
|
void |
DarwinCoreDataSource.initialize()
Initialize the actor prior to running in the workflow.
|
boolean |
DarwinCoreDataSource.prefire() |
Constructor and Description |
---|
DarwinCoreDataSource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EML2MetadataSpecification.addResultsetRecordsToContainer(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results,
java.lang.String endpoint,
CompositeEntity container,
java.util.Vector aResultList)
Creates a the ResultRecord items (derived from Source) and adds them into
the container
|
void |
Eml200DataSource.attributeChanged(Attribute attribute)
Callback for changes in attribute values.
|
void |
Eml200DataSource.fire()
Send a record's tokens over the ports on each fire event.
|
void |
Eml200DataSource.initialize()
Initialize the actor prior to running in the workflow.
|
boolean |
Eml200DataSource.postfire()
This method is only for output as byte array.
|
boolean |
Eml200DataSource.prefire() |
void |
Eml200DataSource.preinitialize() |
ResultRecord[] |
EML2MetadataSpecification.transformResultset(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results,
java.lang.String endpoint,
CompositeEntity container)
This method will transfer ResultsetType java object to array of
ResultRecord java object.
|
Constructor and Description |
---|
Eml200DataSource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
MetadataSpecificationInterface.addResultsetRecordsToContainer(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results,
java.lang.String endpoint,
CompositeEntity container,
java.util.Vector aResultList)
The ResultSet is added directly to the container
|
void |
EcogridWriter.attributeChanged(Attribute attribute)
Determine the attribute changed value
|
void |
EcogridWriter.fire()
Output the data lines into an array.
|
boolean |
EcogridWriter.prefire() |
Constructor and Description |
---|
EcogridWriter(CompositeEntity container,
java.lang.String name) |
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
ResultRecord(CompositeEntity container,
java.lang.String name)
Create a new ResultRecord with the given name.
|
ResultRecordDetail(NamedObj container,
java.lang.String name)
Construct a new detail record with the given name and containing record.
|
ResultTreeRoot(java.lang.String name)
Construct the root node, setting its name to "name".
|
ResultTreeRoot(java.lang.String name,
Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
void |
GarpAlgorithm.fire() |
void |
GarpPrediction.fire() |
void |
GarpPresampleLayers.fire() |
void |
GarpAlgorithm.initialize() |
void |
GarpPrediction.initialize() |
void |
GarpPresampleLayers.initialize() |
boolean |
GarpAlgorithm.prefire() |
boolean |
GarpPrediction.prefire() |
boolean |
GarpPresampleLayers.prefire() |
Constructor and Description |
---|
GarpAlgorithm(CompositeEntity container,
java.lang.String name)
GarpAlgorithm Actor
|
GarpPrediction(CompositeEntity container,
java.lang.String name)
GarpPrediction Actor
|
GarpPresampleLayers(CompositeEntity container,
java.lang.String name)
Garp presample layer actor
|
Modifier and Type | Method and Description |
---|---|
void |
GDALWarpActor.fire()
Fire
|
void |
GDALTranslateActor.fire()
Fire
|
void |
GDALWarpActor.initialize()
Initialize
|
void |
GDALTranslateActor.initialize()
Initialize
|
boolean |
GDALWarpActor.prefire()
Prefire
|
boolean |
GDALTranslateActor.prefire()
Prefire
|
Constructor and Description |
---|
GDALTranslateActor(CompositeEntity container,
java.lang.String name)
Constructor
|
GDALWarpActor(CompositeEntity container,
java.lang.String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
GrassImportActor.fire() |
void |
GISBufferActor.fire() |
void |
GISRasterActor.fire() |
void |
GrassExportActor.fire() |
void |
GISHullActor.fire() |
void |
GrassImportActor.initialize() |
void |
GISBufferActor.initialize() |
void |
GISRasterActor.initialize() |
void |
GrassExportActor.initialize() |
void |
GISHullActor.initialize() |
boolean |
GrassImportActor.prefire() |
boolean |
GISBufferActor.prefire() |
boolean |
GISRasterActor.prefire() |
boolean |
GrassExportActor.prefire() |
boolean |
GISHullActor.prefire() |
Constructor and Description |
---|
GISBufferActor(CompositeEntity container,
java.lang.String name)
his actor takes a raster grid and assigns a 'buffed regoin around the
cells with values of 1.
|
GISHullActor(CompositeEntity container,
java.lang.String name) |
GISRasterActor(CompositeEntity container,
java.lang.String name) |
GrassExportActor(CompositeEntity container,
java.lang.String name)
Grass Export Actor.
|
GrassImportActor(CompositeEntity container,
java.lang.String name)
Grass Import Actor. imports an arc file into the grass database.
|
Modifier and Type | Method and Description |
---|---|
void |
GridReset.fire() |
void |
MergeGrids.fire() |
void |
AddGrids.fire() |
void |
GISHullActorJ.fire() |
void |
CVHull2Raster.fire() |
void |
AscGridValue.fire() |
void |
GridRescaler.fire()
Creates rescaled ascii grid for each input grid using the input
parameters Uses the 'Grid' class that is disk-based, thus allowing very
large grids.
|
void |
GARPSummary.fire() |
void |
MergeGrids.initialize() |
void |
AddGrids.initialize() |
void |
GISHullActorJ.initialize() |
void |
CVHull2Raster.initialize() |
boolean |
GridReset.postfire()
Post fire the actor.
|
boolean |
MergeGrids.postfire()
Post fire the actor.
|
boolean |
AddGrids.postfire()
Post fire the actor.
|
boolean |
GridRescaler.postfire()
Post fire the actor.
|
boolean |
GARPSummary.postfire()
Post fire the actor.
|
boolean |
GridReset.prefire()
Pre fire the actor.
|
boolean |
MergeGrids.prefire() |
boolean |
AddGrids.prefire() |
boolean |
GISHullActorJ.prefire() |
boolean |
CVHull2Raster.prefire() |
boolean |
GridRescaler.prefire()
Pre fire the actor.
|
boolean |
GARPSummary.prefire()
Pre fire the actor.
|
Constructor and Description |
---|
AddGrids(CompositeEntity container,
java.lang.String name) |
AscGridValue(CompositeEntity container,
java.lang.String name)
constructor
|
CVHull2Raster(CompositeEntity container,
java.lang.String name) |
GARPSummary(CompositeEntity container,
java.lang.String name)
constructor
|
GISHullActorJ(CompositeEntity container,
java.lang.String name) |
GridRescaler(CompositeEntity container,
java.lang.String name)
constructor
|
GridReset(CompositeEntity container,
java.lang.String name)
constructor
|
MergeGrids(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
RExpression2.fire() |
void |
RExpression.fire() |
void |
RExpression2.initialize() |
void |
RExpression.initialize() |
boolean |
RExpression2.postfire() |
boolean |
RExpression.postfire() |
void |
RExpression2.preinitialize() |
void |
RExpression.preinitialize() |
Constructor and Description |
---|
RExpression(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
RExpression2(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
GetTaxa.fire() |
Constructor and Description |
---|
GetTaxa(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
SequenceToTrigger.attributeChanged(Attribute attribute)
Ensure that the sequenceLength parameter is not negative.
|
void |
FieldChooser.fire()
Send a random number with a uniform distribution to the output.
|
void |
SequenceToTrigger.fire()
Consume the inputs and produce the output ArrayToken.
|
boolean |
FieldChooser.prefire() |
boolean |
SequenceToTrigger.prefire()
Return true if the input port has enough tokens for this actor to fire.
|
protected void |
FieldChooser.sendToken(java.lang.Object o)
sends the token. this can be overwritten to send different types of
tokens besides strings.
|
protected void |
DoubleFieldChooser.sendToken(java.lang.Object o)
sends the token. this can be overwritten to send different types of
tokens besides strings.
|
protected void |
IntegerFieldChooser.sendToken(java.lang.Object o)
sends the token. this can be overwritten to send different types of
tokens besides strings.
|
Constructor and Description |
---|
DoubleFieldChooser(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FieldChooser(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
IntegerFieldChooser(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SequenceToTrigger(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
WmsdActor.fire()
Send a random number with a uniform distribution to the output.
|
void |
WmsdActor.initialize()
initialize
|
boolean |
WmsdActor.prefire() |
Constructor and Description |
---|
WmsdActor(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
DatabaseAccessor._setPreparedStatementValue(java.sql.PreparedStatement st,
int index,
Token token)
Set a parameter value in a prepared statement.
|
void |
FileToArray.attributeChanged(Attribute attribute)
If the specified attribute is fileOrURL and there is an open file
being read, then close that file and open the new one; if the attribute
is numberOfLinesToSkip and its value is negative, then throw an
exception.
|
void |
BinaryFileWriter.attributeChanged(Attribute attribute)
If the specified attribute is fileName and there is an open file
being written, then close that file.
|
void |
FTPClient.attributeChanged(Attribute attribute)
Determine the output format
|
void |
DatabaseQuery.attributeChanged(Attribute attribute)
Determine the output format
|
void |
OpenDBConnection.attributeChanged(Attribute at)
Callback for changes in attribute values.
|
void |
FileToString.attributeChanged(Attribute attribute)
If the specified attribute is fileOrURL and there is an open file
being read, then close that file and open the new one; if the attribute
is numberOfLinesToSkip and its value is negative, then throw an
exception.
|
static DBConnectionToken |
DBConnectionToken.convert(Token token)
Convert the specified token into an instance of DBConnectionToken.
|
Token |
DBConnectionToken.DBConnectionType.convert(Token token)
Convert the specified token to a token having the type represented by
this object.
|
void |
NextDiagram.fire() |
void |
TokenToString.fire()
Set postfire to false.
|
void |
PointinPolygonXY.fire()
Receive a set of polygons and a classification point and returns the
point region along with a URL for browser display of the point in the
polygon.
|
void |
XMLToADN.fire()
Consume an XML string representing name value pairs and converts it to an
ADN schema.
|
void |
TransitiveClosureDBQuery.fire()
Consumes a query and a database connection reference.
|
void |
AddPointToSVG.fire()
Translate the point into the svg ratio parameters and add it to the file.
|
void |
FileToArray.fire()
Output the data lines into an array.
|
void |
GetPoint.fire()
Retrieve the mineral composition for the coordinate names and calculate
the classification point.
|
void |
TokenToSeparateChannels.fire()
Read the input token, and transmits it each time to a different
consecutive channel.
|
void |
StringToPolygon.fire()
Output the data lines into an array.
|
void |
Get2DPoint.fire()
Accepts coordinates expressions and an xml composition string.
|
void |
Scp.fire()
Send the token in the value parameter to the output.
|
void |
GridOverlay.fire() |
void |
Duplicator.fire()
broadcast the input token numCopies times.
|
void |
Interpolate.fire() |
void |
DatabaseAccessor.fire()
If connection is closed, open a new one.
|
void |
URLExists.fire()
Consume a URL and verifies its existence.
|
void |
Diagrams.fire()
Receive diagrams information and a reference to the current diagram.
|
void |
FileCopy.fire()
Copy the source file to the destination file.
|
void |
FTPClient.fire()
Output the data lines into an array.
|
void |
DatabaseQuery.fire()
Consume a query and a database connection reference.
|
void |
FileExists.fire()
Verify whether the file exists.
|
void |
FilterUI.fire()
Output the selected input data.
|
void |
CloseDBConnection.fire()
Closes the input database connection when triggered.
|
void |
SVGToPolygon.fire()
Output the SVG file into a Polygons and their region names.
|
void |
BinaryFileReader.fire()
Output the data read initially in the prefire() than in each invocation
of postfire(), if there is any.
|
void |
OpenDBConnection.fire()
Connect to a database outputs a reference to the DB connection.
|
void |
DiagramTransitions.fire()
Provide the diagrams and transitions between them along with a refernce
to first diagram.
|
void |
FileToString.fire()
Output the data lines into a string.
|
void |
SVGConcat.fire()
Translate the point into the svg ratio parameters and add it to the file.
|
void |
PointinPolygon.fire()
Receive a set of polygons and a classification point and returns the
point region along with a URL for browser display of the point in the
polygon.
|
void |
BrowserDisplay.fire()
Display the input file or URL if it is other than null.
|
protected void |
DatabaseAccessor.getConnection()
Get the database connection.
|
static java.sql.Connection |
OpenDBConnection.getConnection(RecordToken params)
Get a JDBC Connection from a database parameter token.
|
void |
TokenToSeparateChannels.initialize()
Gets the output port width.
|
void |
GridOverlay.initialize() |
void |
Interpolate.initialize() |
void |
DatabaseAccessor.initialize()
Close the connection if open.
|
void |
BinaryFileReader.initialize()
If this is called after prefire() has been called but before wrapup() has
been called, then close any open file.
|
boolean |
BinaryFileWriter.postfire()
Writes the input content to the file.
|
boolean |
FileWrite.postfire()
Calls LineWriter's postfire and broadcasts the fileName.
|
boolean |
ServerExecute.postfire()
Set postfire to false.
|
boolean |
ConstOnce.postfire()
Deprecated.
Set postfire to false.
|
boolean |
DatabaseQuery.postfire()
Takes care of halting the execution in case the query is not updated from
a port and hasn't changed.
|
boolean |
TempActor.postfire()
Set postfire to false.
|
boolean |
BinaryFileReader.postfire()
Read the next bytes from the file.
|
boolean |
DiagramTransitions.postfire()
Return false to indicate that the process has finished.
|
boolean |
InvokeService.postfire()
Set postfire to false.
|
boolean |
BrowserDisplay.postfire()
If there are no more URLs to display (the input token was null) returns
false.
|
boolean |
GridOverlay.prefire() |
boolean |
Interpolate.prefire() |
boolean |
BinaryFileReader.prefire()
If this method is called after wrapup() has been called, then open the
file, and read the first chunk of bytes Return false if there is no more
data available in the file.
|
void |
TransitiveClosureDBQuery.preinitialize()
Set the output type
|
void |
FileToArray.preinitialize()
Open the file or URL and read the first line, and use the first line to
set the type of the output.
|
void |
DatabaseQuery.preinitialize()
Read the outputType parameter and set output type accordingly.
|
void |
FileToString.preinitialize()
Open the file or URL and read the first line, and use the first line to
set the type of the output.
|
java.lang.String |
OpenDBConnection.sendSchemaToConnected()
Returns the database schema.
|
void |
FileToArray.wrapup()
Close the reader if there is one.
|
void |
BinaryFileWriter.wrapup()
Close the writer if there is one.
|
void |
Scp.wrapup()
Terminate any sessions.
|
void |
DatabaseAccessor.wrapup()
Close the connection if open.
|
void |
DatabaseQuery.wrapup() |
void |
BinaryFileReader.wrapup()
Close the reader if there is one.
|
void |
FileToString.wrapup()
Close the reader if there is one.
|
Constructor and Description |
---|
AddPointToSVG(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
BinaryFileReader(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
BinaryFileWriter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
BrowserDisplay(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
CloseDBConnection(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ConstOnce(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
DatabaseAccessor(CompositeEntity container,
java.lang.String name) |
DatabaseQuery(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DBConnectionToken(java.sql.Connection value)
Construct a token with a reference to the specified connection.
|
Diagrams(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DiagramTransitions(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Duplicator(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FileCopy(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FileExists(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FileToArray(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FileToString(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FileWrite(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FilterUI(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FTPClient(CompositeEntity container,
java.lang.String name) |
Get2DPoint(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
GetPoint(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
GridOverlay(CompositeEntity container,
java.lang.String name) |
Interpolate(CompositeEntity container,
java.lang.String name) |
InvokeService(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
NextDiagram(CompositeEntity container,
java.lang.String name) |
OpenDBConnection(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
PointinPolygon(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
PointinPolygonXY(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Scp(CompositeEntity container,
java.lang.String name)
Construct an SCP actor with the given container and name.
|
ServerExecute(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringToPolygon(CompositeEntity container,
java.lang.String name) |
SVGConcat(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SVGToPolygon(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TempActor(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TokenToSeparateChannels(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TokenToString(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TransitiveClosureDBQuery(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
URLExists(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
XMLToADN(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
static void |
Kepler.load(java.lang.String className,
java.lang.String[] args)
Load classes and invoke "main" method.
|
static void |
Kepler.load(java.lang.String className,
java.lang.String methodName,
java.lang.String[] args)
This method provides a generic loader.
|
Manager |
ExecutionEngine.runModel(CompositeActor model)
run a single model in the current thread
|
Manager |
ExecutionEngine.runModelInThread(CompositeActor model)
run a model in a new thread.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordOperation.attributeChanged(Attribute attribute) |
void |
Logger.fire()
fire
|
void |
DecimalFormatConverter.fire()
output the number according to designed format.
|
void |
MappedLogger.fire()
fire
|
void |
RandomDirectoryMaker.fire()
Create the new directory.
|
void |
ArrayFilter.fire()
Filter elements in the input array.
|
void |
RecordOperation.fire() |
void |
Logger.initialize()
Set the format for the logging.
|
void |
MappedLogger.initialize()
Nothing to do currently.
|
void |
ArrayFilter.preinitialize()
Read getIndices and set the output type.
|
void |
RecordOperation.preinitialize() |
void |
Logger.wrapup()
Close all opened log files.
|
void |
MappedLogger.wrapup()
Close all opened log files.
|
Constructor and Description |
---|
ArrayFilter(CompositeEntity container,
java.lang.String name)
Construct an ArrayFilter with the given container and name.
|
DecimalFormatConverter(CompositeEntity container,
java.lang.String name)
Construct a DecimalFormatConverter with the given container and name.
|
Logger(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MappedLogger(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
RandomDirectoryMaker(CompositeEntity container,
java.lang.String name)
Construct a RandomDirectoryMaker with the given container and name.
|
RecordOperation(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
DatabaseTableCreator.attributeChanged(Attribute attribute)
Reconfigure actor when certain attributes change.
|
void |
DatabaseTableCreator.fire()
If connection is closed, open a new one.
|
protected void |
DatabaseTableCreator.getConnection()
Get the database connection.
|
void |
DatabaseTableCreator.initialize()
Close the connection if open.
|
void |
DatabaseTableCreator.wrapup()
Close the connection if open.
|
Constructor and Description |
---|
DatabaseTableCreator(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
ExecGsisshCmd.fire()
Send the token in the value parameter to the output.
|
Constructor and Description |
---|
ExecGsisshCmd(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
XMLViewer._getInputString(int i)
Return a nicely formatted string describing XML input on channel i.
|
Constructor and Description |
---|
XMLViewer(CompositeEntity container,
java.lang.String name)
Construct a new XMLViewer in a container with a specific name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ArrayOfRecordsWriter._setInputConstraints()
Set the type constraints and multiport property of the input
port.
|
protected void |
ArrayOfRecordsWriter._writeToken(Token token)
Write the specified token to the current writer.
|
void |
FileDeleter.fire()
Delete the given file or directory and send out the status of the deleting.
|
void |
ParameterSetter.fire()
fire
|
void |
SshDirectoryList.fire()
fire
|
void |
SshDirectoryList_v1_1.fire()
fire
|
void |
SshDirectoryList.initialize()
initialize() runs once before first exec
|
void |
SshDirectoryList_v1_1.initialize()
initialize() runs once before first exec
|
void |
ArrayOfRecordsWriter.preinitialize()
Read the formatting parameter.
|
Constructor and Description |
---|
ArrayOfRecordsWriter(CompositeEntity container,
java.lang.String name)
Construct an ArrayOfRecordsWriter.
|
FileDeleter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ParameterSetter(CompositeEntity container,
java.lang.String name)
const.
|
SshDirectoryList_v1_1(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SshDirectoryList(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericJobLauncher.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
JobStatus.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
GenericJobReconnect.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
GenericJobLauncher.fire()
fire
|
void |
JobStatus.fire()
fire
|
void |
JobManager.fire()
fire
|
void |
JobRemover.fire()
fire
|
void |
JobGetRealJobID.fire()
fire
|
void |
GenericJobReconnect.fire()
fire
|
void |
JobGetDirectory.fire()
fire
|
void |
JobSubmitter.fire()
fire
|
void |
JobFileFetcher.fire()
fire
|
void |
JobCreator.fire()
fire
|
Constructor and Description |
---|
GenericJobLauncher(CompositeEntity container,
java.lang.String name) |
GenericJobReconnect(CompositeEntity container,
java.lang.String name) |
JobCreator(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
JobFileFetcher(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
JobGetDirectory(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
JobGetRealJobID(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
JobManager(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
JobRemover(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
JobStatus(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
JobSubmitter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
RESTService.executeGetMethod(java.util.List<NameValuePair> nvPairList,
java.lang.String serSiteURL) |
java.lang.String |
RESTService.executePostMethod(java.util.List<NameValuePair> pmPairList,
java.util.List<NameValuePair> flPairList,
java.lang.String serSiteURL)
File & regular parameters are passed as two separate lists and they are
treated little differently.
|
void |
RESTService.fire()
Sends the results as a String back after executing the appropriate
service.
|
java.util.List<NameValuePair> |
RESTService.getCombinedPairList(java.util.List<NameValuePair> nmvlPairList) |
Constructor and Description |
---|
RESTService(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecuteCmd.attributeChanged(Attribute attribute)
If the specified attribute is showTriggerPort, then get the value
of it and re-render the trigger port.
|
void |
FileRemover.fire()
Perform copying.
|
void |
DirectoryCreator.fire()
fire
|
void |
FileCopier.fire()
Perform copying.
|
void |
SshSession.fire()
fire.
|
void |
ExecuteCmd.fire()
Send the token in the value parameter to the output.
|
void |
DirectoryCreator.initialize()
initialize() runs once before first exec
|
void |
SshSession.initialize()
initialize() runs once before first exec
|
void |
SshSession.wrapup()
Close all sessions.
|
Constructor and Description |
---|
DirectoryCreator(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ExecuteCmd(CompositeEntity container,
java.lang.String name)
Construct an ExecuteCmd actor with the given container and name.
|
FileCopier(CompositeEntity container,
java.lang.String name)
Construct an ExecuteCmd actor with the given container and name.
|
FileRemover(CompositeEntity container,
java.lang.String name)
Construct an FileRemover actor with the given container and name.
|
SshSession(CompositeEntity container,
java.lang.String name)
Construct an SshSession actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
BlastTabularResultMerge.fire()
Sort the blast tabular results from input port,
and truncate them if needed (defined by alignLimit parameter).
|
Constructor and Description |
---|
BlastTabularResultMerge(CompositeEntity container,
java.lang.String name)
Construct a BlastTabularResultMerge with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
ShareToCloud.fire()
Read the set of file names.
|
void |
ShareToCloud.preinitialize()
Clear the set of file names.
|
Constructor and Description |
---|
ShareToCloud(CompositeEntity container,
java.lang.String name)
Create a new ShareToCloud in specified container with the specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
ArrayOfRecordsToRecordOfArrays.fire()
Convert an input array of records.
|
void |
StringToN.fire() |
Constructor and Description |
---|
ArrayOfRecordsToRecordOfArrays(CompositeEntity container,
java.lang.String name)
Construct an ArrayOfRecordsToRecordOfArrays with the given container
and name.
|
StringToN(CompositeEntity container,
java.lang.String name)
Construct a StringToN with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
EnsembleActor.attributeChanged(Attribute attribute) |
void |
EnsembleActor.fire() |
boolean |
EnsembleActor.postfire() |
Constructor and Description |
---|
EnsembleActor(CompositeEntity container,
java.lang.String name)
Construct a RBNBToKepler2 source with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
DataOneActor.fire() |
void |
DataOneActor.preinitialize() |
void |
DataOneActor.wrapup() |
Constructor and Description |
---|
DataOneActor(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
DataTurbine.attributeChanged(Attribute attribute)
Reconfigure actor when certain attributes change.
|
void |
DataTurbineWriter.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
DataTurbine.fire()
Send the token in the value parameter to the output.
|
void |
DataTurbineWriter.fire()
Fire the actor.
|
void |
DataTurbineWriter.initialize()
Initialize the actor.
|
boolean |
DataTurbine.openDataTurbine()
Open connection to DataTurbine server.
|
void |
DataTurbine.outputData(com.rbnb.sapi.ChannelMap cmap)
Push the data out the output ports.
|
void |
DataTurbine.preinitialize()
Reset the stop requested boolean.
|
void |
DataTurbineWriter.preinitialize()
Preinitialize the actor.
|
void |
DataTurbine.wrapup() |
void |
DataTurbineWriter.wrapup()
Cleanup after execution or error.
|
Constructor and Description |
---|
DataTurbine(CompositeEntity container,
java.lang.String name)
Construct a DataTurbine source with the given container and name.
|
DataTurbineWriter(CompositeEntity container,
java.lang.String name)
Construct a new DataTurbineWriter with a container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
NetCDFWriter.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
NetCDFReader.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
NetCDFWriter.fire()
Read the value and indexes, and update the array.
|
void |
NetCDFReader.fire() |
void |
NetCDFWriter.initialize()
Create the NetCDF file, add the header information, and initialize the array.
|
void |
NetCDFReader.initialize() |
void |
NetCDFWriter.wrapup()
Write the array to the file and close it.
|
void |
NetCDFReader.wrapup()
Close the NetCDF file.
|
Constructor and Description |
---|
NetCDFReader(CompositeEntity container,
java.lang.String name) |
NetCDFWriter(CompositeEntity container,
java.lang.String name)
Construct a new NetCDFWriter in a container with a name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GEONShpResource._deletePorts()
Deletes all the ports of this actor.
|
void |
GEONDatabaseResource.attributeChanged(Attribute attribute)
Callback for changes in attribute values.
|
void |
GEONShpResource.attributeChanged(Attribute attribute)
Callback for changes in attribute values.
|
void |
GEONShpResource.fire() |
void |
GEONDatabaseResource.getConnection()
Get the database connection.
|
boolean |
GEONShpResource.postfire()
postfire the actor.
|
Constructor and Description |
---|
GEONDatabaseResource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
GEONShpResource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
OpendapDataSource.attributeChanged(Attribute attribute) |
void |
OpendapDataSourceODC.attributeChanged(Attribute attribute) |
static Token |
AttTypeMapper.buildMetaDataTokens(opendap.dap.BaseType bt) |
static Type |
AttTypeMapper.buildMetaDataTypes(opendap.dap.BaseType bt) |
static Token |
AttTypeMapper.convertAttributeToToken(opendap.dap.Attribute att) |
static Type |
AttTypeMapper.convertAttributeToType(opendap.dap.Attribute att) |
void |
OpendapDataSource.fire() |
void |
OpendapDataSourceODC.fire() |
void |
OpendapDataSourceODC.initialize() |
static Token |
TokenMapper.mapDapObjectToToken(opendap.dap.BaseType dapBT,
boolean addMetadataRecord)
Maps a DAP data object to a ptII Token object.
|
static Type |
TypeMapper.mapDapObjectToType(opendap.dap.BaseType dapBT,
boolean addMetadataRecord)
Maps a DAP2 variable (which is represented as an
opendap.dap.BaseType
to a kepler data Type. |
static java.util.Vector |
TypeMapper.mapDDSToTypeList(opendap.dap.DDS dds,
boolean addMetadataRecord)
Maps a DAP2 DDS object to a list of kepler data types.
|
static Token |
AttTypeMapper.mapSimpleTypeToToken(int attType,
java.lang.String attValue) |
static Type |
AttTypeMapper.mapSimpleTypeToType(int attType) |
boolean |
OpendapDataSourceODC.postfire() |
boolean |
OpendapDataSourceODC.prefire() |
void |
OpendapDataSource.preinitialize() |
void |
OpendapDataSourceODC.preinitialize() |
Constructor and Description |
---|
OpendapDataSource(CompositeEntity container,
java.lang.String name) |
OpendapDataSourceODC(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
ADNMetadataSpecification.addResultsetRecordsToContainer(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results,
java.lang.String endpoint,
CompositeEntity container,
java.util.Vector aResultList)
Creates GEONDataResource items (derived from Source) and adds them into
the container
|
boolean |
ADNMetadataSpecification.transformResultset(org.ecoinformatics.ecogrid.queryservice.resultset.ResultsetType results,
java.lang.String endpoint,
CompositeEntity container,
java.util.Vector aResultList)
This method will transfer ResultsetType java object to array of
ResultRecord java object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RandomDate._generateRandomNumber()
Generate a new random date.
|
void |
CreateDate.attributeChanged(Attribute attribute)
React to an attribute change.
|
void |
DateSequence.fire() |
void |
DateDifference.fire()
Send the token in the value parameter to the output.
|
void |
CreateDate.fire()
Create a date token.
|
void |
DateToString.fire()
Convert the input date to a formatted output string.
|
void |
RandomDate.fire()
Output the most recently generated random date.
|
Constructor and Description |
---|
CreateDate(CompositeEntity container,
java.lang.String name)
Construct a CreateDate with the given container and name.
|
DateDifference(CompositeEntity container,
java.lang.String name)
Construct a DateDifference with the given container and name.
|
DateSequence(CompositeEntity container,
java.lang.String name) |
DateToString(CompositeEntity container,
java.lang.String name)
Construct a DateToString with the given container and name.
|
RandomDate(CompositeEntity container,
java.lang.String name)
Construct a RandomDate with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
static ConfigurationProperty |
Utilities.getEngineProperty(java.lang.String engineName,
Nameable source)
Get the ConfigurationProperty for an Engine on the configuration file.
|
static java.lang.String[] |
Utilities.getExecutionLanguageNames()
Get a list of available execution language names.
|
static java.util.List<java.lang.String> |
Utilities.getJarsForLanguage(java.lang.String languageName)
Get the jars for a language.
|
static java.lang.String |
Utilities.getScriptEngineFactoryName(java.lang.String languageName)
Get the script engine factory name for a language.
|
static java.lang.String |
Utilities.getScriptEngineName(java.lang.String languageName)
Get the script engine name for a language.
|
Modifier and Type | Method and Description |
---|---|
protected ExecutionChoiceDirector |
ExecutionChoice._createDirector()
Create a director.
|
protected boolean |
ExecutionChoiceDirector._transferOutputs(IOPort port)
Transfer data from output ports in an ExecutionChoice actor.
|
void |
ExecutionChoice.addDefaultExecutionChoice()
Add default execution choice if none are present.
|
boolean |
ExecutionChoice.addDefaultInputsAndOutputs()
Add default inputs and outputs if none are present.
|
static boolean |
ExecutionChoice.addDefaultInputsAndOutputs(ExecutionChoice choice)
Add default inputs and outputs if non are present for an ExecutionChoice.
|
void |
ExecutionChoice.addDefaults() |
void |
ExecutionChoice.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
ExecutionChoice.exportExecutionChoice(java.io.File saveFile,
java.lang.String name)
Export an execution choice to a file.
|
void |
ExecutionChoice.fire() |
static java.lang.String |
ExecutionChoice.getArgument(NamedObj container,
java.lang.String name)
Get the command line argument for a parameter in a specific container
|
java.lang.String |
ExecutionChoice.getArgument(java.lang.String name)
Get the command line argument for a parameter.
|
static StringParameter |
ExecutionChoice.getArgumentParameter(NamedObj container,
java.lang.String name)
Get the parameter containing the command line argument for a parameter
in a specific container.
|
StringParameter |
ExecutionChoice.getArgumentParameter(java.lang.String name)
Get the parameter containing the command line argument for a parameter.
|
java.util.List<java.lang.String> |
ExecutionChoice.getInputNames()
Get a list of file input names.
|
java.util.List<java.lang.String> |
ExecutionChoice.getInputNames(boolean includeData)
Get a list of input port names.
|
java.util.List<java.lang.String> |
ExecutionChoice.getOutputNames()
Get a list of file output names.
|
java.util.List<java.lang.String> |
ExecutionChoice.getOutputNames(boolean includeData)
Get a list of output port names.
|
java.util.List<java.lang.String> |
ExecutionChoice.getParameterNames()
Get a list of parameter names.
|
static ExecutionChoice.ParameterType |
ExecutionChoice.getParameterType(NamedObj container,
java.lang.String name)
Get the parameter type for a parameter in a container within this actor.
|
ExecutionChoice.ParameterType |
ExecutionChoice.getParameterType(java.lang.String name)
Get the parameter type for a parameter.
|
static ExecutionChoice.IOType |
ExecutionChoice.getPortIOType(Port port)
Get the IOType for a port.
|
java.util.Set<java.lang.String> |
ExecutionChoice.getTemplateNames()
Get the available template names.
|
Refinement |
ExecutionChoice.newExecutionChoice(java.io.File templateFile,
java.lang.String refinementName)
Create a new execution choice from a file.
|
Refinement |
ExecutionChoice.newExecutionChoice(java.lang.String templateName,
java.lang.String refinementName)
Create a new execution choice from a template.
|
void |
ExecutionChoice.newInput(java.lang.String name,
ExecutionChoice.IOType type)
Create a new file input.
|
void |
ExecutionChoice.newInput(java.lang.String name,
ExecutionChoice.IOType type,
java.lang.String argument)
Create a new file input.
|
void |
ExecutionChoice.newOutput(java.lang.String name,
ExecutionChoice.IOType type)
Create a new file output.
|
void |
ExecutionChoice.newOutput(java.lang.String name,
ExecutionChoice.IOType type,
java.lang.String argument)
Create a new file output.
|
void |
ExecutionChoice.newParameter(java.lang.String name,
java.lang.String argument)
Add a new parameter.
|
void |
ExecutionChoice.newParameter(java.lang.String name,
java.lang.String argument,
java.lang.String value)
Add a new parameter.
|
void |
ExecutionChoice.newParameter(java.lang.String name,
java.lang.String argument,
java.lang.String value,
java.lang.String choice,
ExecutionChoice.ParameterType type)
Add a new parameter.
|
void |
ExecutionChoice.portEvent(IOPortEvent event)
Receive a port event.
|
boolean |
ExecutionChoiceDirector.prefire()
Read the control token input, transfer input tokens,
and invoke prefire() of the selected refinement.
|
void |
ExecutionChoice.preinitialize()
List to port events for File input ports so that when a token is read, we
can set the corresponding parameter.
|
void |
ExecutionChoiceDirector.preinitialize()
Add DDF director to any refinements that have no directors.
|
void |
ExecutionChoice.removeExecutionChoice(java.lang.String name)
Remove an execution choice.
|
static void |
ExecutionChoice.setArgument(Parameter parameter,
java.lang.String argument)
Set the command line argument for a parameter.
|
static void |
ExecutionChoice.setParameterType(NamedObj container,
java.lang.String name,
ExecutionChoice.ParameterType type)
Set the ParameterType for a parameter in contained in a sub-workflow.
|
void |
ExecutionChoice.setParameterType(java.lang.String name,
ExecutionChoice.ParameterType type)
Set the ParameterType for a parameter contained by this actor.
|
void |
ExecutionChoice.setPortIOType(TypedIOPort port,
ExecutionChoice.IOType type)
Set the PortType for a port.
|
void |
ExecutionChoice.updateExecutionChoices()
Update the execution choices in the control parameter.
|
void |
ExecutionChoice.wrapup()
Perform cleanup.
|
void |
ExecutionChoiceDirector.wrapup()
Remove all DDF directors that were added to refinements in preinitialize().
|
Constructor and Description |
---|
ExecutionChoice(CompositeEntity container,
java.lang.String name)
Create a new ExecutionChoice in a container with the
specified name.
|
ExecutionChoice(Workspace workspace)
Create a new ExecutionChoice in a workspace.
|
ExecutionChoiceDirector(CompositeEntity container,
java.lang.String name)
Create a new ExecutionChoiceDirector in a container
with a specific name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AtomicPatternActor._setFormat(java.lang.String newFormatTypeStr)
Set the format, and add any associated parameters.
|
protected void |
AtomicPatternActor._setTypesFromConfiguration(ConfigurationProperty formatProperty)
Set the key and value types from the types in the configuration property.
|
protected void |
DDPDataSink._setTypesFromConfiguration(ConfigurationProperty formatProperty)
Set the key and value types from the types in the configuration property.
|
protected void |
DDPDataSource._setTypesFromConfiguration(ConfigurationProperty formatProperty)
Set the key and value types from the types in the configuration property.
|
static void |
DDPDataSink.addTokens(java.lang.String sinkActorName,
java.util.List<Token> tokenList)
Set a list of tokens for a specific DDPDataSink actor.
|
void |
AtomicPatternActor.attributeChanged(Attribute attribute)
See if the formatType parameter changed.
|
void |
DualInputPatternActor.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
SingleInputPatternActor.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
DDPDataSource.attributeChanged(Attribute attribute)
React to a parameter change.
|
void |
DDPDataSink.fire()
Write the token in the path parameter to the out port.
|
void |
DDPDataSource.fire()
Read the data input path and make sure it exists.
|
int |
AtomicPatternActor.getDegreeOfParallelism()
Get the number of parallel instances to execute.
|
int |
DDPPatternActor.getDegreeOfParallelism()
Get the number of parallel instances to execute.
|
int |
SingleInputPatternActor.getDegreeOfParallelism()
Get the number of parallel instances to execute.
|
java.lang.String |
AtomicPatternActor.getDisplayRedirectDir() |
java.lang.String |
DDPPatternActor.getDisplayRedirectDir()
Get the dir to redirect display related actors.
|
java.lang.String |
SingleInputPatternActor.getDisplayRedirectDir()
Get the dir to redirect display related actors.
|
java.lang.String |
DDPPatternActor.getExecutionClassName()
Get the name of the execution class.
|
java.lang.String |
AtomicPatternActor.getExecutionCode()
Get the execution code.
|
java.lang.String |
DDPPatternActor.getExecutionCode()
Get the execution code.
|
java.lang.String |
SingleInputPatternActor.getExecutionCode()
Get the execution code.
|
java.lang.String |
AtomicPatternActor.getExecutionCodeType()
Get the execution code type.
|
java.lang.String |
DDPPatternActor.getExecutionCodeType()
Get the execution code type.
|
java.lang.String |
SingleInputPatternActor.getExecutionCodeType()
Get the execution code type.
|
java.lang.String |
AtomicPatternActor.getFormatClassName(java.lang.String engineName)
Get the name of the class that provides the format type implementation
for a specific engine.
|
java.lang.String |
AtomicPatternActor.getJars()
Get a comma-separated list of jars to use with this actor.
|
java.lang.String |
DDPPatternActor.getJars()
Get a comma-separated list of jars to use with this actor.
|
java.lang.String |
SingleInputPatternActor.getJars()
Get a comma-separated list of jars to use with this actor.
|
static Type |
Types.getKeyValueType(Parameter parameter,
java.lang.String typesStr)
Get the Ptolemy type for a key-value type string.
|
static Type[] |
Types.getKeyValueTypes(Parameter parameter,
java.lang.String typesStr)
Get the Ptolemy types for a key-value type string.
|
java.util.Map<java.lang.String,java.lang.String> |
AtomicPatternActor.getParaImplNames(java.lang.String engineName)
Get a set of (kepler name, implementation name) pairs of input/output format parameters for the execution engine.
|
java.util.Map<java.lang.String,java.lang.String> |
DDPPatternActor.getParaImplNames(java.lang.String engineName)
Get a set of (kepler name, implementation name) pairs of input/output format parameters for the execution engine.
|
java.util.Map<java.lang.String,java.lang.String> |
SingleInputPatternActor.getParaImplNames(java.lang.String engineName)
Get a set of (kepler name, implementation name) pairs of input/output format parameters for the execution engine.
|
java.util.Map<java.lang.String,java.lang.String> |
AtomicPatternActor.getParameters()
Get a set of name-value pairs of input/output format parameters for the execution engine.
|
java.util.Map<java.lang.String,java.lang.String> |
DDPPatternActor.getParameters()
Get a set of name-value pairs of input/output format parameters for the execution engine.
|
java.util.Map<java.lang.String,java.lang.String> |
SingleInputPatternActor.getParameters()
Get a set of name-value pairs of input/output format parameters for the execution engine.
|
java.net.URI |
AtomicPathActor.getPathAsURI()
Get the path as a URI string.
|
boolean |
AtomicPatternActor.getPrintExeInfo()
Get whether print execution summary when running workflow
inside of Hadoop/Stratosphere job.
|
boolean |
DDPPatternActor.getPrintExeInfo()
Get whether print execution summary when running workflow inside of Hadoop/Stratosphere job.
|
boolean |
SingleInputPatternActor.getPrintExeInfo()
Get whether print execution summary when running workflow inside of Hadoop/Stratosphere job.
|
boolean |
SingleInputPatternActor.getRunWorkflowLifecyclePerInput()
Check if the full lifecycle of the sub-workflow should be executed for each input.
|
boolean |
DDPDataSink.prefire()
Update the path parameter if connected.
|
boolean |
AtomicPathActor.prefire()
Update the path parameter.
|
void |
AtomicPatternActor.preinitialize()
Update the port types based on the format type.
|
void |
DualInputPatternActor.preinitialize()
Override the parent class to check that parameter values are correctly set.
|
void |
DDPDataSink.preinitialize()
Make sure output is either data or file, but not both.
|
void |
SingleInputPatternActor.preinitialize()
Override the parent class to check that parameter values are correctly set.
|
void |
DDPDataSource.preinitialize()
Make sure input is either data or file, but not both.
|
void |
DDPDataSink.wrapup()
Remove any tokens stored for this actor.
|
void |
DDPDataSource.wrapup()
Remove any token stored for this actor.
|
Constructor and Description |
---|
AtomicPathActor(CompositeEntity container,
java.lang.String name)
Create a new AtomicPathActor in the speficied container with the
specified name.
|
AtomicPatternActor(CompositeEntity container,
java.lang.String name)
Construct a new AtomicPatternActor in a container with a given name.
|
CoGroup(CompositeEntity container,
java.lang.String name)
Construct a new CoGroup in a container with a given name.
|
Cross(CompositeEntity container,
java.lang.String name)
Construct a new Cross in a container with a given name.
|
DDPDataSink(CompositeEntity container,
java.lang.String name)
Construct a new FileDataSink in a container with a given name.
|
DDPDataSource(CompositeEntity container,
java.lang.String name)
Construct a new FileDataSource in a container with a given name.
|
DualInputPatternActor(CompositeEntity container,
java.lang.String name)
Construct a new DualInputPatternActor in a container with a given name.
|
Map(CompositeEntity container,
java.lang.String name)
Construct a new Map in a container with a given name.
|
Match(CompositeEntity container,
java.lang.String name)
Construct a new Match in a container with a given name.
|
Reduce(CompositeEntity container,
java.lang.String name)
Construct a new Reduce in a container with a given name.
|
SingleInputPatternActor(CompositeEntity container,
java.lang.String name)
Construct a new SingleInputPatternActor in a container with a given name.
|
Modifier and Type | Method and Description |
---|---|
void |
MatchInput.fire()
Write the key and value from both inputs to the workflow.
|
void |
ReduceInput.fire()
Write the key and values from the input to the workflow.
|
void |
StubSinkActor.fire()
Read the data the input port.
|
void |
CoGroupInput.fire()
Write the key and values from both inputs to the workflow.
|
void |
CrossInput.fire()
Write the key and value from both inputs to the workflow.
|
void |
MapInput.fire()
Write key and value to the workflow.
|
java.util.List<Token> |
StubSinkActor.getOutput()
Get the data read from the workflow by this actor.
|
boolean |
StubSourceActor.postfire()
Returns true if the actor should execute again.
|
void |
StubSinkActor.preinitialize() |
void |
ReduceInput.setInput(Token keyToken,
Token valuesToken)
Set the input and values.
|
void |
MapInput.setInput(Token keyToken,
Token valueToken)
Set the key and value to write to workflow.
|
void |
MatchInput.setInput(Token keyToken,
Token value1Token,
Token value2Token)
Set the key and value from both inputs.
|
void |
CoGroupInput.setInput(Token keyToken,
Token values1Token,
Token values2Token)
Set the key and values from both inputs.
|
void |
CrossInput.setInput(Token key1Token,
Token value1Token,
Token key2Token,
Token value2Token)
Set the key and value from both inputs.
|
Constructor and Description |
---|
CoGroupInput(CompositeEntity container,
java.lang.String name)
Construct a new CoGroupInput in a container with a given name.
|
CrossInput(CompositeEntity container,
java.lang.String name)
Construct a new CrossInput in a container with a given name.
|
MapInput(CompositeEntity container,
java.lang.String name)
Construct a new MapInput in a container with a given name.
|
MatchInput(CompositeEntity container,
java.lang.String name)
Construct a new MatchInput in a container with a given name.
|
ReduceInput(CompositeEntity container,
java.lang.String name)
Construct a new ReduceInput in a container with a given name.
|
StubBaseActor(CompositeEntity container,
java.lang.String name)
Construct a new StubBaseActor in a container with a given name.
|
StubSinkActor(CompositeEntity container,
java.lang.String name)
Construct a new StubSinkActor in a container with a given name.
|
StubSourceActor(CompositeEntity container,
java.lang.String name)
Construct a new StubSourceActor in a container with a given name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DDPEngine._addParameters()
Add parameters to the containing director.
|
protected void |
DDPEngine._checkConfigDir()
Check that the configuration directory is set and exists on the file system.
|
protected boolean |
DDPEngine._checkFilesBeforeStartingServer()
Check the existence of required files before starting the DDP server.
|
protected void |
DDPEngine._checkModel()
Check the container of this director for incorrect actors, etc.
|
protected void |
DDPEngine._checkModelForNonDDPActors(CompositeActor container)
Make sure the container only contains DDP actors.
|
protected boolean |
DDPEngine._checkServer(java.net.InetSocketAddress socketAddress,
java.lang.String startScriptStr)
Check if the DDP engine server is running.
|
protected void |
DDPEngine._copyParameters(DDPPatternActor sourceSubWorkflow,
DDPPatternActor destSubWorkflow)
Copy the workflow parameters from one sub-workflow to another including
the parameters in all the containers of the source.
|
protected void |
DDPEngine._createJobDirectory()
Create a new directory for this job.
|
protected abstract void |
DDPEngine._executeDDPJob()
Execute the DDP job.
|
protected java.util.List<java.net.URI> |
DDPEngine._getJarList()
Get a list of jars required for director to start.
|
protected java.net.InetSocketAddress |
DDPEngine._parseOutputFromStartingServer(java.io.InputStream input)
Parse the output from the script that starts the server.
|
protected void |
DDPEngine._removeParameters()
Remove engine-specific parameters from the director.
|
protected java.util.Map<java.lang.String,Type> |
DDPEngine._setPortTypes(DDPPatternActor actor)
Set the port types inside a cloned pattern actor.
|
void |
DDPDirector.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
DDPEngine.attributeChanged(Attribute attribute)
React to a parameter change.
|
static void |
DDPEngine.closeAllEffigies()
Close all the effigies created.
|
void |
DDPDirector.fire()
Run the engine.
|
void |
DDPEngine.fire()
Execute the engine.
|
java.lang.String |
DDPDirector.getDisplayRedirectDir()
Get the dir to redirect display related actors.
|
java.lang.String |
DDPEngine.getDisplayRedirectDir()
Get the directory to redirect display related actors.
|
java.lang.String |
DDPDirector.getEngineName()
Get the name of the DDP engine.
|
boolean |
DDPDirector.postfire()
Postfire the engine.
|
boolean |
DDPEngine.postfire()
Postfire the engine.
|
void |
DDPDirector.preinitialize()
Preinitialize the engine.
|
void |
DDPEngine.preinitialize()
Initialize fields from parameters.
|
void |
DDPEngine.stop()
Stop any running DDP jobs.
|
void |
DDPDirector.wrapup()
Perform any cleanup in the engine.
|
void |
DDPEngine.wrapup()
Perform cleanup.
|
Constructor and Description |
---|
DDPDirector(CompositeEntity container,
java.lang.String name)
Construct a new DDPBaseDirector in a container with a given name.
|
DDPDirector(Workspace workspace)
Construct a new DDPBaseDirector for a workspace.
|
DDPEngine(DDPDirector director)
Create a new DDPEngine.
|
Constructor and Description |
---|
ExecutionChoiceEditorFactory(NamedObj container,
java.lang.String name) |
ExecutionChoiceGraphTableau(PtolemyEffigy container,
java.lang.String name)
Create a new execution choice editor tableau with the specified container
and name.
|
ExecutionChoiceGraphTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a new execution choice editor tableau with the specified container,
name, and default library.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
SDF4WS.fire()
BASIC SDF director functionality :Calculate the current schedule, if
necessary, and iterate the contained actors in the order given by the
schedule.
|
Constructor and Description |
---|
SDF4WS()
Construct a director in the default workspace with an empty string as its
name.
|
SDF4WS(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
SDF4WS(Workspace workspace)
Construct a director in the workspace with an empty name.
|
Modifier and Type | Method and Description |
---|---|
void |
VectorFilter.attributeChanged(Attribute attribute) |
void |
VectorSort.attributeChanged(Attribute attribute) |
void |
SplitBoundingBox.attributeChanged(Attribute attribute)
Deprecated.
|
void |
CRSActor.attributeChanged(Attribute attribute) |
void |
VectorFilter.fire() |
void |
GetBoundingBox.fire()
Output the bounding box for the data.
|
void |
Crop.fire() |
void |
GetCentroids.fire() |
void |
VectorSort.fire()
Sort the features based on the property name.
|
void |
SplitBoundingBox.fire()
Deprecated.
|
void |
VectorProperty.fire() |
void |
VectorCombineFiles.fire() |
void |
CRSActor.fire() |
void |
ExtractPolygons.fire() |
static org.geotools.geometry.jts.ReferencedEnvelope |
GetBoundingBox.getBoundingBox(Token token)
Get the bounding box for a GIS dataset in a token.
|
static org.geotools.geometry.jts.ReferencedEnvelope |
GetBoundingBox.getBoundingBox(Token token,
org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Get the bounding box for a GIS dataset in a token with a specific crs.
|
void |
VectorSort.preinitialize()
Check that propertyName and order are specified.
|
void |
MapView.preinitialize()
Set the input and output port types to be Vectors.
|
void |
VectorCombineFiles.wrapup() |
Constructor and Description |
---|
Crop(CompositeEntity container,
java.lang.String name) |
CRSActor(CompositeEntity container,
java.lang.String name) |
ExtractPolygons(CompositeEntity container,
java.lang.String name) |
GetBoundingBox(CompositeEntity container,
java.lang.String name)
Create a new GetBoundingBox with a given container and name.
|
GetCentroids(CompositeEntity container,
java.lang.String name) |
MapView(CompositeEntity container,
java.lang.String name)
Construct a new MapView in a container with the specified name.
|
SplitBoundingBox(CompositeEntity container,
java.lang.String name)
Deprecated.
|
VectorCombineFiles(CompositeEntity container,
java.lang.String name) |
VectorFilter(CompositeEntity container,
java.lang.String name) |
VectorProperty(CompositeEntity container,
java.lang.String name) |
VectorSort(CompositeEntity container,
java.lang.String name)
Create a new VectorSort in the container with the specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
CreateBoundingBox.attributeChanged(Attribute attribute) |
void |
CoverBoundingBox.attributeChanged(Attribute attribute) |
void |
BoundingBoxValues.fire() |
void |
CreateBoundingBox.fire() |
void |
CoverBoundingBox.fire() |
void |
FindCoveringFile.fire() |
void |
ScaleBoundingBox.fire() |
Constructor and Description |
---|
BoundingBoxValues(CompositeEntity container,
java.lang.String name) |
CoverBoundingBox(CompositeEntity container,
java.lang.String name) |
CreateBoundingBox(CompositeEntity container,
java.lang.String name)
Create a new CreateBoundingBox in a container with the specified name.
|
FindCoveringFile(CompositeEntity container,
java.lang.String name) |
ScaleBoundingBox(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
JiffleRasterCalculator.attributeChanged(Attribute attribute) |
void |
Area.fire() |
void |
Difference.fire() |
void |
Perimeter.fire() |
void |
JiffleRasterCalculator.fire() |
void |
Difference.preinitialize() |
void |
JiffleRasterCalculator.preinitialize() |
Constructor and Description |
---|
Area(CompositeEntity container,
java.lang.String name)
Create a new Area in a container with a specific name.
|
Difference(CompositeEntity container,
java.lang.String name) |
JiffleRasterCalculator(CompositeEntity container,
java.lang.String name) |
Perimeter(CompositeEntity container,
java.lang.String name)
Create a new Perimeter in a container with a specific name.
|
Modifier and Type | Method and Description |
---|---|
void |
VectorToGeoJSONString.fire() |
void |
VectorToRaster.fire() |
void |
BoundingBoxToVector.fire() |
void |
VectorToRaster.preinitialize() |
Constructor and Description |
---|
BoundingBoxToVector(CompositeEntity container,
java.lang.String name)
Create a new BoundingBoxToVector in a container with a specific name.
|
VectorToGeoJSONString(CompositeEntity container,
java.lang.String name) |
VectorToRaster(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
GenerateWindFile.attributeChanged(Attribute attribute) |
void |
GenerateWindFile.fire() |
Constructor and Description |
---|
GenerateWindFile(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
GISWriter.fire() |
void |
RasterReader.fire() |
void |
VectorReader.fire() |
void |
RasterWriter.fire() |
void |
VectorWriter.fire() |
void |
RasterReader.wrapup() |
void |
VectorReader.wrapup() |
Constructor and Description |
---|
GISWriter(CompositeEntity container,
java.lang.String name)
Create a new GISWriter in a container with the specified name.
|
RasterReader(CompositeEntity container,
java.lang.String name) |
RasterWriter(CompositeEntity container,
java.lang.String name)
Create a new RasterWriter in a container with the specified name.
|
VectorReader(CompositeEntity container,
java.lang.String name) |
VectorWriter(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
KMLWriter.attributeChanged(Attribute attribute) |
void |
KMLWriter.fire() |
void |
WriteTimestampToKML.fire() |
void |
KMLCombineFiles.fire() |
void |
KMLWriter.preinitialize()
Set the input ports to vector.
|
Constructor and Description |
---|
KMLCombineFiles(CompositeEntity container,
java.lang.String name) |
KMLWriter(CompositeEntity container,
java.lang.String name) |
WriteTimestampToKML(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
CreateLandscape.fire() |
void |
CreateLandscape.preinitialize() |
void |
CreateLandscape.wrapup() |
Constructor and Description |
---|
CreateLandscape(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
GetUTMZone.fire() |
void |
Reproject.fire() |
void |
GetProjection.fire() |
Constructor and Description |
---|
GetProjection(CompositeEntity container,
java.lang.String name) |
GetUTMZone(CompositeEntity container,
java.lang.String name) |
Reproject(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
GetPylaskiMeasurements.attributeChanged(Attribute attribute) |
void |
PylaskiProperty.fire() |
void |
GetPylaskiMeasurements.fire() |
void |
GetPylaskiMeasurements.preinitialize() |
Constructor and Description |
---|
GetPylaskiMeasurements(CompositeEntity container,
java.lang.String name) |
PylaskiProperty(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
ATMCombineFiles.fire() |
void |
ATMCombineFiles.preinitialize() |
Constructor and Description |
---|
ATMCombineFiles(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static BoundingBoxToken |
BoundingBoxToken.bbox(java.lang.String value)
Create a BoundingBoxToken from a string value.
|
Token |
RasterToken.RasterType.convert(Token token) |
Token |
VectorToken.VectorType.convert(Token token) |
Token |
BoundingBoxToken.BoundingBoxType.convert(Token token)
Convert the specified token into a BoundingBox token.
|
Token |
GISToken.GISType.convert(Token token) |
java.lang.Object |
WebViewConverter.fromToken(Token token)
Convert from a token to a (geo)json string.
|
org.geotools.data.simple.SimpleFeatureCollection |
VectorToken.getFilteredVectors(org.opengis.filter.Filter filter)
Get the filtered set of features represented in this token.
|
org.geotools.data.simple.SimpleFeatureCollection |
VectorToken.getVectors()
Get the set of features represented in this token.
|
BooleanToken |
BoundingBoxToken.isCloseTo(Token other,
double epsilon)
Test that the value of this Token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
RasterToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument Token.
|
BooleanToken |
VectorToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument Token.
|
BooleanToken |
BoundingBoxToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument Token.
|
Token |
WebViewConverter.toToken(java.lang.String data,
Type type)
Converts from a geojson string to a token.
|
Constructor and Description |
---|
BoundingBoxToken(java.lang.String value)
Create a new BoundingBoxToken from a string value.
|
RasterToken(org.geotools.coverage.grid.io.AbstractGridCoverage2DReader reader)
Create a new RasterToken from a reader.
|
RasterToken(org.opengis.coverage.grid.GridCoverage coverage)
Create a new RasterToken from a coverage.
|
VectorToken(org.geotools.data.simple.SimpleFeatureCollection features)
Create a new VectorToken from a set of features.
|
Modifier and Type | Method and Description |
---|---|
void |
ENMPCPVisualizer.fire() |
void |
JumpSHPDisplayer.fire() |
void |
JumpGMLDisplayer.fire() |
void |
ENMPCPVisualizer.initialize() |
void |
JumpSHPDisplayer.initialize() |
void |
JumpGMLDisplayer.initialize() |
boolean |
ENMPCPVisualizer.prefire() |
boolean |
JumpSHPDisplayer.prefire() |
boolean |
JumpGMLDisplayer.prefire() |
Constructor and Description |
---|
ENMPCPVisualizer(CompositeEntity container,
java.lang.String name)
Constructor for the ENMPCPVisualizer object
|
JumpGMLDisplayer(CompositeEntity container,
java.lang.String name)
Constructor for the JumpGMLDisplayer object
|
JumpSHPDisplayer(CompositeEntity container,
java.lang.String name)
Constructor for the JumpSHPDisplayer object
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Integer |
GISUtilities.getEPSGCode(java.lang.String wktStr)
Get the EPSG code from a WKT.
|
static java.lang.Integer[] |
RasterUtilities.getGridSize(RasterToken raster)
Get the grid size of a raster.
|
static RasterUtilities.RasterInfo |
RasterUtilities.getInfo(java.io.File file)
Get a RasterInfo object for a raster file.
|
static VectorToken |
VectorUtilities.readFile(java.io.File inputFile)
Create a vector token from reading a file containing features.
|
static VectorToken |
VectorUtilities.readFile(java.io.File inputFile,
java.lang.String typeNameStr)
Create a vector token from a specific type in a file containing features.
|
static VectorToken |
VectorUtilities.readFile(java.io.File inputFile,
java.lang.String typeNameStr,
org.opengis.referencing.crs.CoordinateReferenceSystem defaultCRS)
Create a vector token from a specific type in a file containing features.
|
static VectorToken |
VectorUtilities.readGeoJSONString(java.lang.String geoJSON)
Read a string containing GeoJSON.
|
static VectorToken |
VectorUtilities.readGeoJSONString(java.lang.String geoJSON,
org.opengis.referencing.crs.CoordinateReferenceSystem defaultCRS)
Read a string containing GeoJSON using a default CRS.
|
static org.geotools.data.simple.SimpleFeatureCollection |
VectorUtilities.readGeoJSONString(java.lang.String geoJSON,
org.opengis.referencing.crs.CoordinateReferenceSystem defaultCRS,
org.opengis.feature.simple.SimpleFeatureType defaultType)
Read a string containing GeoJSON.
|
static VectorToken |
VectorUtilities.readGeoString(java.lang.String geoString,
org.opengis.referencing.crs.CoordinateReferenceSystem defaultCRS)
Read a string containing either GML or GeoJSON.
|
static VectorToken |
VectorUtilities.readGMLString(java.lang.String gmlString)
Read a string containing GML.
|
static VectorToken |
VectorUtilities.readWFS(java.lang.String urlStr,
java.lang.String typeNameStr)
Get a vector token from a WFS service.
|
static java.io.File |
RasterUtilities.reproject(java.io.File rasterFile,
org.opengis.referencing.crs.CoordinateReferenceSystem destCRS)
Reproject a raster file.
|
static org.geotools.data.simple.SimpleFeatureCollection |
VectorUtilities.reproject(org.geotools.data.simple.SimpleFeatureCollection features,
org.opengis.referencing.crs.CoordinateReferenceSystem destCRS)
Reproject a set of features.
|
static org.geotools.data.simple.SimpleFeatureCollection |
VectorUtilities.reproject(org.geotools.data.simple.SimpleFeatureCollection features,
org.opengis.referencing.crs.CoordinateReferenceSystem crs,
org.opengis.referencing.crs.CoordinateReferenceSystem destCRS)
Reproject a set of features from the specified coordinate reference system.
|
static void |
RasterUtilities.reprojectToResolveGCP(java.io.File inputFile,
java.io.File outputFile)
Reproject a raster using gdalwarp to resolve ground control points.
|
Modifier and Type | Method and Description |
---|---|
LibrarySearchResultPane |
ResultHighlighter.Factory.createLibrarySearchResultPane(PTree library,
LibrarySearchResults results)
creates a ResultsHighlighter and returns it.
|
LibrarySearchResultPane |
ResultTreeRebuilder.Factory.createLibrarySearchResultPane(PTree library,
LibrarySearchResults results)
creates a ResultTreeBuilder and returns it.
|
LibrarySearchResultPane |
LibrarySearchResultPaneFactory.createLibrarySearchResultPane(PTree library,
LibrarySearchResults results)
This method returns a LibrarySearchResultPane which is used in the
pluggable interface for the search result pane
|
boolean |
KeplerIconLoader.loadIconForClass(java.lang.String className,
NamedObj context)
Load an icon for a class in a particular context.
|
LibrarySearchResults |
SimpleLibrarySearcher.search(java.lang.String value,
boolean authenticate)
search for val in the library
|
LibrarySearchResults |
RepositorySearcher.search(java.lang.String value,
boolean authenticate) |
abstract LibrarySearchResults |
LibrarySearcher.search(java.lang.String value,
boolean authenticate)
search for value in the library
|
void |
ResultTreeRebuilder.update(EntityLibrary root)
Update the tree to display only a specific root.
|
abstract void |
LibrarySearchResultPane.update(LibrarySearchResults results)
this method allows the search results to be updated in the panel
|
void |
ResultTreeRebuilder.update(LibrarySearchResults results)
this method allows the search results to be updated in the panel
|
Constructor and Description |
---|
CanvasNavigationModifierFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name) |
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
KeplerXMLIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
KeplerXMLIcon(Workspace workspace,
java.lang.String name)
Construct an icon in the specified workspace and name.
|
LibrarySearchResultPane(PTree library,
LibrarySearchResults results)
constructor. this initializes the library and results variables as well
as sets the layout for the panel. update is automatically called from
here as well.
|
LibrarySearchResultPaneFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
PreferencesTabFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
ResultHighlighter(PTree library,
LibrarySearchResults results)
the constructor passes in the library to highlight the results in and the
results to highlight. if results is null, the tree is built fully
collapsed with no highlights.
|
ResultTreeRebuilder(PTree library,
LibrarySearchResults results)
the constructor passes in the library to highlight the results in and the
results to highlight. if results is null, the tree is built fully
collapsed with no highlights.
|
TabPaneFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
ViewerFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
ViewPaneFactory(NamedObj container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
TabbedKeplerGraphTableau.setContainer(CompositeEntity container)
Override the parent class so that if the new container is null and we did
not create a new frame, then set the frame to null so that it is not
disposed of by the parent class.
|
void |
MultiCompositeTableau.setContainer(CompositeEntity container)
Set the container for this tableau.
|
void |
TabbedKeplerGraphFrame.updateWindowAttributes()
Update the size, zoom and position of all the open tabs.
|
Constructor and Description |
---|
CaseGraphTableau(PtolemyEffigy container,
java.lang.String name)
Create a new case editor tableau with the specified container
and name.
|
CaseGraphTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a new case editor tableau with the specified container,
name, and default library.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
KeplerGraphTableau(PtolemyEffigy container,
java.lang.String name)
Create a tableau with the specified container and name, with no specified
default library.
|
KeplerGraphTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a tableau with the specified container, name, and default library.
|
KeplerGraphTableau(Workspace workspace)
Create a tableau in the specified workspace.
|
MultiCompositeTableau(PtolemyEffigy container,
java.lang.String name)
Create a new multicomposite editor tableau with the specified
container and name.
|
MultiCompositeTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a new multicomposite editor tableau with the specified
container, name, and default library.
|
TabbedKeplerGraphTableau(PtolemyEffigy container,
java.lang.String name)
Create a new TabbedKeplerGraphTableau with the specified
container and name.
|
TabbedKeplerGraphTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a new TabbedKeplerGraphTableau with the specified
container, name, and default library.
|
Constructor and Description |
---|
Factory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
KAREffigy(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
HDFSWriter.attributeChanged(Attribute attribute)
If the specified attribute is fileName and there is an open file
being written, then close that file.
|
boolean |
HDFSUnLoader.postfire()
Load HDFS files from input port to local file system.
|
boolean |
HDFSLoader.postfire()
Load local files from input port to HDFS.
|
boolean |
HDFSWriter.postfire()
Read an input string token from each input channel and write it to the
file, one line per token.
|
boolean |
HDFSRemover.postfire()
Parse input paths and delete them one by one.
|
void |
HDFSUnLoader.preinitialize()
Get default value of HDFS Configure.
|
void |
HDFSLoader.preinitialize()
Get default value of HDFS Configure.
|
void |
HDFSWriter.preinitialize()
Get default value of HDFS Configure.
|
void |
HDFSRemover.preinitialize()
Get default value of HDFS Configure.
|
void |
HDFSUnLoader.wrapup()
Close the writer if there is one.
|
void |
HDFSLoader.wrapup()
Close the writer if there is one.
|
void |
HDFSWriter.wrapup()
Close the writer if there is one.
|
void |
HDFSRemover.wrapup()
Close the file system if there is one.
|
Constructor and Description |
---|
HDFSLoader(CompositeEntity container,
java.lang.String name) |
HDFSRemover(CompositeEntity container,
java.lang.String name) |
HDFSUnLoader(CompositeEntity container,
java.lang.String name) |
HDFSWriter(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
HadoopEngine._addParameters()
Add parameters to the containing director.
|
protected void |
HadoopEngine._executeDDPJob() |
protected void |
HadoopEngine._removeParameters()
Remove engine-specific parameters from the director.
|
protected java.util.Map<java.lang.String,Type> |
HadoopEngine._setPortTypes(DDPPatternActor actor)
Set the port types inside a cloned pattern actor.
|
boolean |
HadoopEngine.postfire() |
void |
HadoopEngine.preinitialize() |
static void |
HadoopEngine.shutdownServer()
Shutdown the Hadoop server if one was started.
|
void |
HadoopEngine.stop()
Stop any running Hadoop jobs.
|
void |
HadoopEngine.wrapup()
Free resources.
|
Constructor and Description |
---|
HadoopDirector(CompositeEntity container,
java.lang.String name)
Create a new HadoopDirector in a container with a specific name.
|
HadoopDirector(Workspace workspace)
Create a new HadoopDirector for a workspace.
|
HadoopEngine(DDPDirector director) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
StubUtilities.arrayTokenToByteArray(ArrayToken arrayToken)
Convert ArrayToken to an array of byte.
|
static java.lang.Class<?> |
StubUtilities.convertRecordArrayToHadoopType(ArrayType type,
java.lang.String name)
Convert a token record array type to hadoop data type.
|
static java.lang.Class<?> |
StubUtilities.convertRecordToHadoopType(RecordType type,
java.lang.String name)
Convert a token record type to hadoop data type.
|
static java.lang.Object |
StubUtilities.convertToHadoopData(Token token)
Convert a token to hadoop data.
|
static java.lang.Class<?> |
StubUtilities.convertToHadoopType(java.lang.String typeString)
Convert a token type (string type) to hadoop data type.
|
static java.lang.Class<?> |
StubUtilities.convertToHadoopType(Type type)
Convert a token type to hadoop data type.
|
static void |
StubUtilities.convertTokenToList(java.util.List<Token> tokenList,
java.util.List<KeyValuePair> outputList)
Convert a token to hadoop data and add to a Collector.
|
static java.lang.Class<?> |
StubUtilities.convertToTaggedType(Type type)
Convert a token type to hadoop data type.
|
static Token |
StubUtilities.convertToToken(java.lang.Object value)
Convert hadoop data to a token.
|
Modifier and Type | Method and Description |
---|---|
static void |
ComponentEntityConfig.addSVGIconTo(NamedObj namedObj) |
static boolean |
ComponentEntityConfig.tryToAssignIconByLSID(NamedObj container)
Look for an LSID in an Attribute, and if it exists, try to find an icon
mapping in the appropriate resource bundle
|
Modifier and Type | Method and Description |
---|---|
void |
KARBuilder.generateKAR(TableauFrame tableauFrame,
java.lang.String overrideModDeps) |
Constructor and Description |
---|
KAREntryHandlerFactory(NamedObj container,
java.lang.String name)
Constructor
|
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name) |
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Modifier and Type | Method and Description |
---|---|
static void |
Screenshot.closeAll()
Close all tableaux, which will shutdown Kepler.
|
Modifier and Type | Method and Description |
---|---|
void |
MetadataParser.fire() |
void |
MetadataParser.preinitialize() |
void |
MetadataParser.wrapup() |
Constructor and Description |
---|
MetadataParser(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
NamedObjIdReferralList.addReferral(KeplerLSID lsid)
Add an LSID to the referral list.
|
static NamedObjIdReferralList |
NamedObjId.getIDListAttributeFor(NamedObj no)
Return the KeplerIDListAttribute associated with the given NamedObj or
null if no KeplerIDListAttribute exists.
|
void |
NamedObjId.setContainer(NamedObj container)
Override setContainer method to handle adding and removing the listener
based on whether or not there is a container.
|
void |
NamedObjId.setExpression(KeplerLSID lsid)
Helper method for setting the expression directly with a KeplerLSID
object.
|
void |
NamedObjId.setExpression(java.lang.String expression)
set the value of this id.
|
Constructor and Description |
---|
CompositeClassEntity(CompositeEntity container,
java.lang.String name) |
CompositeClassEntity(Workspace workspace,
java.lang.String name) |
DependencyAttribute(NamedObj container,
java.lang.String name)
Constructor
|
DocumentationAttribute(NamedObj container,
java.lang.String name)
Deprecated.
Constructor
|
DownloadableKAREntityLibrary(CompositeEntity container,
DownloadableKAREntityLibrary entityLibrary) |
DownloadableKAREntityLibrary(CompositeEntity container,
java.lang.String name,
KarXml karXml) |
EmptyEntityLibrary(CompositeEntity container,
java.lang.String name) |
FolderEntityLibrary(CompositeEntity container,
java.lang.String name) |
KAREntityLibrary(CompositeEntity container,
java.lang.String name) |
KARErrorEntityLibrary(CompositeEntity container,
java.lang.String name) |
NamedObjId(NamedObj container,
java.lang.String name)
Constructor
|
NamedObjIdReferralList(NamedObj container,
java.lang.String name) |
OntologyEntityLibrary(CompositeEntity container,
java.lang.String name) |
PortAttribute(NamedObj container,
java.lang.String name)
Constructor
|
PropertyAttribute(CompositeEntity container,
java.lang.String name) |
PropertyAttribute(Workspace workspace,
java.lang.String name) |
PropertyEntity(CompositeEntity container,
java.lang.String name) |
PropertyEntity(Workspace workspace,
java.lang.String name) |
RemoteKAREntityLibrary(CompositeEntity container,
java.lang.String name)
Constructor
|
RemoteKARErrorEntityLibrary(CompositeEntity container,
java.lang.String name) |
RemoteRepositoryEntityLibrary(CompositeEntity container,
java.lang.String name) |
SearchEntityLibrary(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
MonitorAttribute.attributeChanged(Attribute attribute)
Do updates according to the changed attribute.
|
void |
MonitorManager.attributeChanged(Attribute attribute)
Sets the icon type and timer delay according to the changed attribute.
|
void |
MonitorManager.initialize()
Creates the MI attributes for the existing component entities in the
container and activates the MI icons.
|
void |
MonitorManager.preinitialize()
Does nothing.
|
void |
MonitorAttribute.setContainer(NamedObj container)
If this component is removed from its container, finish monitoring
|
void |
MonitorManager.setContainer(NamedObj container)
If container is null, it finishes monitoring
|
void |
MonitorManager.wrapup()
Finishes the monitors.
|
Constructor and Description |
---|
MonitorAttribute(NamedObj container,
java.lang.String name)
Creates a monitor attribute.
|
MonitorIcon(NamedObj container,
java.lang.String name) |
MonitorManager(NamedObj container,
java.lang.String name)
Creates a monitor manager.
|
Modifier and Type | Method and Description |
---|---|
void |
ActorWithTrafficLight.attributeChanged(Attribute attribute) |
void |
ActorWithProgressBar.attributeChanged(Attribute attribute)
Updates the progress bar according to the new parameters.
|
void |
ActorWithTrafficLight.fire()
Broadcasts the input token.
|
void |
ActorWithTokenCounters.fire()
Broadcasts every other input token.
|
void |
ActorWithProgressBar.fire()
Broadcasts the input token.
|
void |
ActorWithTrafficLight.initialize()
Starts the figure.
|
void |
ActorWithTokenCounters.initialize()
Starts the counters.
|
void |
ActorWithProgressBar.initialize()
Starts the progress bar.
|
void |
ActorWithTrafficLight.wrapup()
Stops the figure.
|
void |
ActorWithProgressBar.wrapup()
Stops the progress bar.
|
Constructor and Description |
---|
ActorWithProgressBar(CompositeEntity container,
java.lang.String name) |
ActorWithTokenCounters(CompositeEntity container,
java.lang.String name) |
ActorWithTrafficLight(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
ActorMetadata.setDocumentationAttribute(KeplerDocumentationAttribute newda) |
Modifier and Type | Method and Description |
---|---|
void |
DataCachePutActor.fire() |
void |
DataCacheGetActor.fire() |
void |
DataCachePutActor.initialize() |
void |
DataCacheGetActor.initialize() |
boolean |
DataCachePutActor.prefire() |
boolean |
DataCacheGetActor.prefire() |
Constructor and Description |
---|
CacheNamedObj(CompositeEntity container,
CacheObject cacheObject) |
DataCacheGetActor(CompositeEntity container,
java.lang.String name) |
DataCachePutActor(CompositeEntity container,
java.lang.String name) |
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Constructor and Description |
---|
DataSourceControllerFactory(NamedObj container,
java.lang.String name)
Construct a new factory with the given container and name.
|
Constructor and Description |
---|
Factory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
QBEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
QBTableau(QBEffigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
QBTableau(QBEffigy container,
java.lang.String name,
QBEditor editor)
Construct a new tableau for the model represented by the given effigy.
|
QBTableauFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Modifier and Type | Method and Description |
---|---|
ComponentEntity |
LibraryManager.createAndAddTreeItem(CompositeEntity parent,
LibItem li)
Create and add the appropriate type of placeholder object to the parent
CompositeEntity that is in the tree model.
|
void |
LibraryManager.refreshJTrees()
Refresh and redraw any JTrees that the LibraryManager is keeping track
of.
|
Modifier and Type | Method and Description |
---|---|
LibrarySearchResults |
EcogridRepositoryLibrarySearcher.search(java.lang.String value,
boolean authenticate)
search for value in the library
|
Constructor and Description |
---|
EcogridRepositoryLibrarySearcher(javax.swing.JTree library,
LibrarySearchPane searchPane,
java.lang.String reposName)
constructor
|
NondraggableTreeItem(java.lang.String name) |
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name) |
Factory(NamedObj container,
java.lang.String name) |
Factory(NamedObj container,
java.lang.String name) |
Factory(NamedObj container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
RecordingParameters.addBooleanParameter(java.lang.String name,
boolean value)
Add a boolean parameter with a default value.
|
protected void |
RecordingParameters.addFileParameter(java.lang.String name,
java.lang.String value)
Add a file parameter with default value.
|
protected void |
RecordingParameters.addIntParameter(java.lang.String name,
int value)
Add an integer parameter.
|
static boolean |
ProvenanceRecorder.addProvenanceRecorder(CompositeActor container,
ProvenanceEnabledListener listener,
Effigy effigy)
Add the default provenance recorder to a container if it does not
already contain a provenance recorder.
|
void |
ProvenanceRecorder.addRecordingType(java.lang.String typeName,
java.lang.String typeImpl)
Add a recording type.
|
protected void |
RecordingParameters.addStringParameter(java.lang.String name)
Add a string parameter.
|
protected void |
RecordingParameters.addStringParameter(java.lang.String name,
java.lang.String value)
Add a string parameter with default value.
|
protected void |
RecordingParameters.addStringParameterChoice(java.lang.String name,
java.lang.String choice)
Add a choice to a string parameter.
|
void |
Recording.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
TextFileRecording.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
ProvenanceRecorder.attributeChanged(Attribute attribute)
React to attribute change (of ProvenanceRecorder only).
|
boolean |
ProvenanceRecorder.checkForSupportedDirector()
Check if the director is supported.
|
static void |
RecordPlayer.closeAllEffigies()
Close any effigies created while replaying workflows.
|
void |
ProvenanceRecorder.disconnect()
Perform cleanup.
|
static void |
ProvenanceRecorder.disconnectAll()
Perform cleanup for all ProvenanceRecorder instances.
|
RecordingParameters |
Recording.generateParameters(NamedObj no)
Add Parameters to ProvenanceListener configuration GUI.
|
RecordingParameters |
TextFileRecording.generateParameters(NamedObj no)
Add Parameters for ProvenanceListener.
|
RecordingParameters |
XMLRecording.generateParameters(NamedObj no)
Deprecated.
Add Parameters for ProvenanceListener.
|
protected java.lang.Boolean |
RecordingParameters.getBooleanValue(java.lang.String name)
Get the value of a boolean parameter.
|
java.lang.String |
RecordingParameters.getStringValue(java.lang.String name)
Get the value of a string parameter.
|
void |
ProvenanceRecorder.initialize()
Invoke the initialize methods and check for additional
MultiInstanceComposite actors created after preinitialize().
|
boolean |
ProvenanceRecorder.isEnabled()
Return true if provenance output is turned on.
|
void |
ProvenanceRecorder.loadRecordingTypes()
Load the default recording types.
|
void |
ProvenanceRecorder.loadRecordingTypes(java.io.File file)
Load the recording types from a specific file.
|
void |
ProvenanceRecorder.portEvent(IOPortEvent event)
React to a port read or write.
|
void |
ProvenanceRecorder.preinitialize()
This function is called when the manager is about to run the model
and allows us to register with the manager before the run happens.
|
void |
ProvenanceRecorder.removeRecordingType(java.lang.String typeName)
Remove a recording type.
|
void |
RecordingParameters.replaceContainer(java.lang.String name,
NamedObj no)
Replace a specific Parameter's container.
|
void |
TextFileRecording.TextFileRecordingParameters.replaceParameter(java.lang.String name,
Parameter parameter)
Replace a Parameter.
|
void |
RecordingParameters.replaceParameter(java.lang.String name,
Parameter parameter)
Replace a specific Parameter.
|
void |
XMLRecording.XMLRecordingParameters.replaceParameter(java.lang.String name,
Parameter parameter)
Replace a Parameter.
|
void |
ProvenanceRecorder.saveRecordingTypes(java.lang.String file,
java.lang.String header)
Save the recording types to a specific properties file.
|
void |
ProvenanceRecorder.setContainer(NamedObj container)
Change the container.
|
void |
ProvenanceRecorder.wrapup()
Perform clean up.
|
Constructor and Description |
---|
ProvenanceRecorder()
Construct a provenance recorder in the default workspace using the
TOP Recorder Name specified in the configuration file.
|
ProvenanceRecorder(CompositeEntity container)
Construct a provenance recorder using the specified container.
|
ProvenanceRecorder(CompositeEntity container,
java.lang.String name)
Construct a provenance recorder in the given container with the
given name.
|
ProvenanceRecorder(ConfigurationProperty configProperty)
Construct a provenance recorder in the default workspace using
non-default ConfigurationProperty.
|
ProvenanceRecorder(Workspace workspace)
Construct a provenance recorder in the workspace with an empty name.
|
Modifier and Type | Method and Description |
---|---|
void |
AddProvenanceKeyValues.fire() |
void |
AddProvenanceKeyValues.preinitialize() |
Constructor and Description |
---|
AddProvenanceKeyValues(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
TransferComponent.addExecutions(java.util.List<KeplerLSID> executionLSIDs)
Add KeplerLSIDs for provenance executions.
|
java.util.List<KeplerLSID> |
TransferComponent.getExecutionLSIDs()
Get the KeplerLSIDs for provenance executions.
|
Constructor and Description |
---|
TransferComponent(CompositeEntity container,
java.lang.String name)
Create a new TransferComponent in a container with a name.
|
TransferComponent(java.lang.String format)
Create a new TransferComponent.
|
Modifier and Type | Method and Description |
---|---|
void |
OpenProvenanceModelXML.attributeChanged(Attribute attribute)
Deprecated.
React to a parameter change.
|
RecordingParameters |
OpenProvenanceModelXML.generateParameters(NamedObj no)
Deprecated.
Add Parameters for ProvenanceListener.
|
Modifier and Type | Method and Description |
---|---|
void |
ProvRecording.attributeChanged(Attribute attribute)
React to a parameter change.
|
RecordingParameters |
ProvRecording.generateParameters(NamedObj no)
Add Parameters for ProvenanceListener.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SQLRecording._checkParameters()
Check parameters before (re)connecting to database or workflow.
|
void |
SQLRecording.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
SQLRecordingV8.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
RecordingParameters |
SQLRecording.generateParameters(NamedObj no)
Add Parameters for ProvenanceListener.
|
RecordingParameters |
SQLRecordingV8.generateParameters(NamedObj no)
Add Parameters for ProvenanceRecorder.
|
Constructor and Description |
---|
SQLRecordingParameters(NamedObj no)
Construct a new SQLRecordParameters.
|
SQLRecordingParametersV8(NamedObj no)
Construct a new SQLRecordParametersV8.
|
Modifier and Type | Method and Description |
---|---|
void |
ReportingListener.initialize() |
void |
ReportingListener.preinitialize() |
void |
ReportingListener.wrapup() |
Constructor and Description |
---|
ReportingListener(NamedObj container,
java.lang.String name) |
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
PlottingFactory(NamedObj container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static void |
TokenUtil.main(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
ScriptEngineActor._evaluateScript()
Evaluate the script.
|
protected java.lang.Object |
Java._evaluateScript()
Evaluate the script.
|
void |
ScriptEngineActor.attributeChanged(Attribute attribute)
React to an attribute change.
|
void |
Jython.attributeChanged(Attribute attribute)
React to changes in by attributes named "jythonClassName".
|
void |
ScriptEngineActor.fire()
Invoke the fire() method in the script.
|
void |
ScriptEngineActor.initialize()
Invoke the initialize() method in the script.
|
boolean |
ScriptEngineActor.postfire()
Invoke the postfire() method in the script.
|
boolean |
ScriptEngineActor.prefire()
Invoke the prefire() method in the script.
|
void |
ScriptEngineActor.preinitialize()
Invoke the preinitialize() method of the script.
|
void |
ScriptEngineActor.wrapup()
Invoke the wrapup() method in the script.
|
Constructor and Description |
---|
BeanShell(CompositeEntity container,
java.lang.String name) |
Groovy(CompositeEntity container,
java.lang.String name)
Construct a new Groovy with the given container and name.
|
Java(CompositeEntity container,
java.lang.String name)
Create a new Java with the given container and name.
|
Javascript(CompositeEntity container,
java.lang.String name)
Construct a new Javascript with the given container and name.
|
JRuby(CompositeEntity container,
java.lang.String name)
Construct a new JRuby with the given container and name.
|
Jython(CompositeEntity container,
java.lang.String name)
Construct a new Jython with the given container and name.
|
ScriptEngineActor(CompositeEntity container,
java.lang.String name)
Construct a new ScriptEngineActor with the given container and name.
|
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 |
KeplerCompositeIOPort.addEncapsulatedPort(KeplerVirtualIOPort port)
Assigns the given virtual port to the current set of encapsulated ports.
|
void |
KeplerIOPortSemanticLink.addSemanticProperty(SemanticProperty property) |
void |
SemanticType.setConceptId(java.lang.String expr)
set the semantic type concept value
|
void |
SemanticProperty.setContainer(NamedObj container)
Set the container of the semantic property to the given container.
|
void |
KeplerIOPortSemanticLink.setContainer(NamedObj container)
FIXME: This should be "external" to the port ...
|
void |
KeplerVirtualIOPort.setContainer(NamedObj container)
Set the container of the virtual port to the given container.
|
void |
KeplerIOPortSemanticLink.setDomain(IOPort domain)
Assigns the domain of this link.
|
void |
KeplerIOPortSemanticLink.setDomain(KeplerVirtualIOPort domain)
Assigns the domain of this link.
|
void |
KeplerRefinementIOPort.setName(java.lang.String name)
Calls setRefinedPortPointer to set the pointer.
|
void |
KeplerCompositeIOPort.setName(java.lang.String name) |
void |
KeplerRefinementIOPort.setPointer(java.lang.String pointer)
Assign the given pointer (name) to the port.
|
void |
KeplerIOPortReference.setPort(IOPort port)
Create a reference from the given port.
|
void |
KeplerVirtualIOPortReference.setPort(KeplerVirtualIOPort port)
Sets the reference to the given virtual port.
|
void |
SemanticProperty.setPropertyId(java.lang.String expr)
set the semantic property id value
|
void |
KeplerIOPortSemanticLink.setRange(IOPort range)
Assigns the IOPort as the range of the link.
|
void |
KeplerIOPortSemanticLink.setRange(KeplerVirtualIOPort range)
Assigns the Virtual IOPort as the range of the link.
|
java.util.Collection |
SemanticProperty.validate()
validate the expression.
|
java.util.Collection |
KeplerIOPortReference.validate()
Validate the expression.
|
java.util.Collection |
KeplerVirtualIOPortReference.validate()
Validate the expression.
|
java.util.Collection |
SemanticTypeDefinition.validate()
validate the expression.
|
Constructor and Description |
---|
KeplerCompositeIOPort(NamedObj container,
java.lang.String name)
Constructor
|
KeplerIOPortReference(NamedObj container,
java.lang.String name)
Constructor
|
KeplerIOPortSemanticLink(NamedObj container,
java.lang.String name)
Constructor
|
KeplerRefinementIOPort(NamedObj container,
java.lang.String name)
Constructor
|
KeplerVirtualIOPort(NamedObj container,
java.lang.String name)
Constructor
|
KeplerVirtualIOPortReference(NamedObj container,
java.lang.String name)
Constructor
|
SemanticProperty(NamedObj container,
java.lang.String name)
Constructor
|
SemanticType() |
SemanticType(NamedObj container,
java.lang.String name)
Constructor for the SemanticTypeParam object
|
SemanticTypeDefinition(NamedObj container,
java.lang.String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
MergeActor.computeMerge() |
void |
MergeActor.computeMergeOld() |
void |
MergeActor.editMerge() |
void |
MergeActor.fire() |
void |
MergeActor.preinitialize() |
void |
SimpleMergeSourceActorPort.setContainer(NamedObj container)
Set the container of the virtual port to the given container.
|
void |
SimpleMergeSourceActor.setContainer(NamedObj container)
Set the container of the virtual port to the given container.
|
void |
SimpleMergeMapping.setContainer(NamedObj container) |
void |
SimpleMergeConversion.setContainer(NamedObj container)
Set the container of the virtual port to the given container.
|
void |
SimpleMergeTargetPort.setContainer(NamedObj container)
Set the container of the virtual port to the given container.
|
void |
SimpleMergeMapping.setConversion(java.lang.String name)
Set the name of the conversion
|
void |
SimpleMergeConversion.setConversion(java.lang.String name)
Set the conversion to use
|
void |
SimpleMergeSourceActor.setSourceActor(java.lang.String name)
Sets the source actor name
|
void |
SimpleMergeMapping.setSourceActor(java.lang.String name)
Set the name of the source actor
|
void |
SimpleMergeSourceActorPort.setSourceActorPort(java.lang.String name)
Sets the source actor port name
|
void |
SimpleMergeMapping.setSourceActorPort(java.lang.String name)
Set the name of the source actor port
|
void |
SimpleMergeMapping.setTargetPort(java.lang.String name)
Set the name of the target port
|
void |
SimpleMergeTargetPort.setTargetPort(java.lang.String name)
Sets the target port name
|
Constructor and Description |
---|
MergeActor(CompositeEntity container,
java.lang.String name)
Constructor
|
MergeActor(Workspace workspace)
Constructor
|
SimpleMergeConversion(NamedObj container,
java.lang.String name)
Constructor
|
SimpleMergeMapping(NamedObj container,
java.lang.String name)
Constructor
|
SimpleMergeMapping(NamedObj container,
java.lang.String name,
java.lang.String sourceActor,
java.lang.String sourcePort,
java.lang.String targetPort)
Constructor
|
SimpleMergeMapping(NamedObj container,
java.lang.String name,
java.lang.String sourceActor,
java.lang.String sourcePort,
java.lang.String targetPort,
java.lang.String conversion)
Constructor
|
SimpleMergeMapping(java.lang.String sourceActor,
java.lang.String sourcePort,
java.lang.String targetPort)
Constructor
|
SimpleMergeSourceActor(NamedObj container,
java.lang.String name)
Constructor
|
SimpleMergeSourceActorPort(NamedObj container,
java.lang.String name)
Constructor
|
SimpleMergeTargetPort(NamedObj container,
java.lang.String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static TypedIOPort |
SemanticTypeEditor.addInputType(TypedAtomicActor actor,
Type type,
java.lang.String name) |
static TypedIOPort |
SemanticTypeEditor.addOutputType(TypedAtomicActor actor,
Type type,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
SparkConnection.attributeChanged(Attribute attribute) |
void |
SaveableModelActor.fire()
Get the model path and make sure it's not empty.
|
java.lang.String |
SparkConnection.getConnectionName()
Get the name used for this attribute.
|
org.apache.spark.api.java.JavaSparkContext |
SparkConnection.getContext()
Get the context using the parameters of this SparkConnection
(serverName, driverMemory, numLocalWorkers, etc.).
|
static org.apache.spark.api.java.JavaSparkContext |
SparkConnection.getContext(java.lang.String masterNameAndPortStr,
int numLocalWorkersVal,
java.lang.String driverMemoryStr,
java.lang.String connectionNameStr)
Get the context for a specific master.
|
static org.apache.spark.api.java.JavaSparkContext |
SparkConnection.getDefaultContext()
Get the default context.
|
static java.net.InetSocketAddress |
SparkConnection.getDefaultMasterSocketAddress()
Get the default Spark master socket address.
|
static java.net.InetSocketAddress |
SparkConnection.getMasterAndPortAddress(java.lang.String masterHostAndPortStr)
Parse a string containing the master host and port and return the
socket address.
|
static java.lang.String |
SparkConnection.parseOutputFromStartingServer(java.io.InputStream input)
Parse the output from starting the server using start-myspark.sh
|
boolean |
SaveableModelActor.postfire()
Check if the model path already exists.
|
void |
SparkSQLActor.preinitialize() |
void |
SparkBaseActor.preinitialize() |
void |
SparkBaseActor.wrapup()
Free resources.
|
Constructor and Description |
---|
SaveableModelActor(CompositeEntity container,
java.lang.String name)
Create a new SaveableModelActor in a container with a specific name.
|
SparkBaseActor(CompositeEntity container,
java.lang.String name) |
SparkConnection(NamedObj container,
java.lang.String name)
Create a new SparkConnection with the specified name.
|
SparkSQLActor(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
SparkEngine._addParameters()
Add parameters to the containing director.
|
protected void |
SparkEngine._addSubModelToContract(SingleInputPatternActor pactor,
Operator contract)
Write the sub-workflow of a SingleInputPatternActor either to a parameter
in the Spark job configuration or to a file.
|
protected boolean |
SparkEngine._checkFilesBeforeStartingServer()
Check the existence of the Spark assembly jar.
|
protected void |
SparkEngine._executeDDPJob() |
protected SparkJob |
SparkEngine._getModelPlan()
Constructs a SparkJob from the model.
|
protected java.net.InetSocketAddress |
SparkEngine._parseOutputFromStartingServer(java.io.InputStream input)
Parse the output from the script that starts the server.
|
protected void |
SparkEngine._removeParameters()
Remove engine-specific parameters from the director.
|
void |
SparkEngine.attributeChanged(Attribute attribute)
React to a parameter change.
|
void |
SparkEngine.preinitialize() |
static void |
SparkEngine.shutdownServer() |
void |
SparkEngine.stop()
Stop any running Spark jobs.
|
Constructor and Description |
---|
SparkEngine(DDPDirector director) |
Modifier and Type | Method and Description |
---|---|
void |
GetLiveMeasurements.attributeChanged(Attribute attribute)
Handles changing the message type parameter, and validates it.
|
void |
Standardize.fire() |
void |
SparkSQLQuery.fire() |
void |
VectorAssemble.fire() |
void |
ExtractColumns.fire() |
void |
KMeansModel.fire() |
void |
RemoveRowsWithNulls.fire() |
void |
DropColumns.fire() |
void |
KMeansClustering.fire() |
void |
StandardizeApply.fire() |
void |
RandomForestModel.fire() |
void |
CreateVectorRDD.fire() |
void |
SVMApply.fire() |
void |
CreateLabeledPoint.fire() |
void |
SantaAnaDetect.fire() |
void |
GetLiveMeasurements.fire()
Waits for weather station data then packages it into a Spark data frame.
|
void |
DatasetToJson.fire() |
void |
SantaAnaIdentify.fire() |
void |
SVMKModel.fire() |
void |
KMeansApply.fire() |
void |
RemoveNulls.fire() |
void |
ConvertColumns.fire() |
void |
Standardize.initialize() |
void |
KMeansClustering.initialize() |
void |
StandardizeApply.initialize() |
void |
SantaAnaDetect.initialize() |
void |
GetLiveMeasurements.initialize()
Sets up the websocket and other member variables once per workflow
execution.
|
void |
SantaAnaIdentify.initialize() |
void |
KMeansApply.initialize() |
void |
SparkSQLQuery.preinitialize() |
void |
CreateVectorRDD.preinitialize() |
void |
ConvertColumns.preinitialize() |
void |
Standardize.wrapup() |
void |
KMeansClustering.wrapup() |
void |
GetLiveMeasurements.wrapup()
Close the websocket connection when the workflow ends.
|
void |
SantaAnaIdentify.wrapup() |
Constructor and Description |
---|
ConvertColumns(CompositeEntity container,
java.lang.String name) |
CreateLabeledPoint(CompositeEntity container,
java.lang.String name) |
CreateVectorRDD(CompositeEntity container,
java.lang.String name) |
DatasetToJson(CompositeEntity container,
java.lang.String name) |
DropColumns(CompositeEntity container,
java.lang.String name) |
ExtractColumns(CompositeEntity container,
java.lang.String name) |
GetLiveMeasurements(CompositeEntity container,
java.lang.String name)
Initializes the actor's parameters and Vertex property.
|
KMeansApply(CompositeEntity container,
java.lang.String name) |
KMeansClustering(CompositeEntity container,
java.lang.String name) |
KMeansModel(CompositeEntity container,
java.lang.String name) |
RandomForestModel(CompositeEntity container,
java.lang.String name) |
RemoveNulls(CompositeEntity container,
java.lang.String name) |
RemoveRowsWithNulls(CompositeEntity container,
java.lang.String name) |
SantaAnaDetect(CompositeEntity container,
java.lang.String name) |
SantaAnaIdentify(CompositeEntity container,
java.lang.String name) |
SparkSQLQuery(CompositeEntity container,
java.lang.String name) |
Standardize(CompositeEntity container,
java.lang.String name) |
StandardizeApply(CompositeEntity container,
java.lang.String name) |
SVMApply(CompositeEntity container,
java.lang.String name) |
SVMKModel(CompositeEntity container,
java.lang.String name) |
VectorAssemble(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.api.java.JavaPairRDD<java.lang.Object,?> |
TokenSink.execute()
Execute the operator.
|
abstract org.apache.spark.api.java.JavaPairRDD<java.lang.Object,?> |
Operator.execute()
Execute the operator.
|
org.apache.spark.api.java.JavaPairRDD<java.lang.Object,?> |
TokenSource.execute()
Execute the operator.
|
Constructor and Description |
---|
TokenSource(ArrayToken token,
java.lang.String name)
Create a new TokenSource.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
StubUtilities.convertArrayTokenToObject(ArrayToken arrayToken)
Convert ArrayToken to an array of objects.
|
static java.lang.Object |
StubUtilities.convertTokenToObject(Token token)
Convert a token to a Java Object.
|
static void |
StubUtilities.convertTokenToTupleList(java.util.List<Token> tokenList,
java.util.List<scala.Tuple2<java.lang.Object,java.lang.Object>> out)
Convert a list of record tokens into a list of Tuple2s containing Java Objects.
|
static Token |
StubUtilities.convertToToken(java.lang.Object value)
Convert Hadoop data types or Java Objects to a Ptolemy token.
|
Modifier and Type | Method and Description |
---|---|
Token |
RecordValue.recordToken()
Get the record token from the serialized value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StratosphereEngine._addSubModelToContract(SingleInputPatternActor pactor,
eu.stratosphere.api.common.operators.Operator contract)
Write the sub-workflow of a SingleInputPatternActor either to a parameter
in the PACT plan configuration or to a file.
|
protected void |
StratosphereEngine._executeDDPJob()
Execute the engine.
|
protected eu.stratosphere.api.common.Plan |
StratosphereEngine._getModelPlan()
Constructs a PACT Plan from the model.
|
void |
StratosphereEngine.preinitialize()
Initialize the engine.
|
static void |
StratosphereEngine.shutdownServer()
Shutdown the Stratosphere server if one was started.
|
void |
StratosphereEngine.stop()
Stop any running Stratosphere jobs.
|
void |
StratosphereEngine.wrapup()
Free resources.
|
Constructor and Description |
---|
StratosphereDirector(CompositeEntity container,
java.lang.String name)
Create a new StratosphereDirector in a container with a specific name.
|
StratosphereDirector(Workspace workspace)
Create a new StratosphereDirector for a workspace.
|
StratosphereEngine(DDPDirector director)
Create a new StratosphereEngine.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
StubUtilities.arrayTokenToByteArray(ArrayToken arrayToken)
Convert ArrayToken to an array of byte.
|
static eu.stratosphere.types.Value[] |
StubUtilities.arrayTokenToPactData(ArrayToken arrayToken)
Convert ArrayToken to an array of Value.
|
static void |
StubUtilities.convertTokenToCollector(java.util.List<Token> tokenList,
eu.stratosphere.util.Collector<eu.stratosphere.types.Record> collector)
Convert a token to PACT data and add to a Collector.
|
static eu.stratosphere.types.Key |
StubUtilities.convertTokenToPactKeyData(Token token)
Convert a token to PACT Key data.
|
static eu.stratosphere.types.Value |
StubUtilities.convertTokenToPactValueData(Token token)
Convert a token to PACT Value data.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
WorkflowRun._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
static java.util.Map<java.lang.String,java.lang.String> |
ParseWorkflowUtil.parseParameterFile(java.lang.String fileStr)
Read a file containing name value pairs of parameters.
|
void |
WorkflowRun.setName(java.lang.String name) |
static void |
ParseWorkflowUtil.setParametersFromFile(NamedObj model,
java.lang.String parameterFileStr)
Set parameters in a workflow from a configuration file.
|
Constructor and Description |
---|
TransientStringAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
container.
|
WorkflowRun() |
WorkflowRun(Workspace workspace,
java.lang.String string) |
Modifier and Type | Method and Description |
---|---|
protected void |
WebViewAttribute._connectionOpened(java.lang.String id) |
protected java.lang.Object |
WebViewAttribute._convertInputToJson(Token token) |
protected Token |
WebView._convertOutputToToken(java.lang.String data,
Type type) |
protected void |
WebViewAttribute._registerHandler() |
void |
WebViewAttribute.attributeChanged(Attribute attribute)
React to an attribute change.
|
void |
WebView.fire() |
java.lang.String |
WebViewAttribute.getHTML() |
java.lang.String |
WebViewable.getHTML() |
void |
WebViewAttribute.initialize() |
void |
WebViewAttribute.portEvent(IOPortEvent event) |
void |
WebViewAttribute.preinitialize() |
void |
WebView.preinitialize()
Perform initializations during workflow start up.
|
void |
WebViewAttribute.setContainer(NamedObj container)
Set the container.
|
void |
WebViewAttribute.wrapup() |
Constructor and Description |
---|
ControlAttribute(NamedObj container,
java.lang.String name) |
ParametersAttribute(NamedObj container,
java.lang.String name) |
WebView(CompositeEntity container,
java.lang.String name)
Create a new WebView in a container with the specified name.
|
WebViewAttribute(NamedObj container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
TokenConverter.convertFromToken(Token token)
Convert data from a Ptolemy token.
|
Token |
TokenConverter.convertToToken(java.lang.String data,
Type type)
Convert data to a Ptolemy token with the specified type.
|
java.lang.Object |
Converter.fromToken(Token token) |
Token |
Converter.toToken(java.lang.String data,
Type type) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
WebViewId.getId(NamedObj namedObj)
Get the web view id for a NamedObj.
|
static void |
WebViewableUtilities.sendData(io.vertx.core.json.JsonObject jsonData,
NamedObj source) |
static void |
WebViewableUtilities.sendEvent(WebViewableUtilities.Event type,
NamedObj source) |
static void |
WebViewableUtilities.sendEvent(WebViewableUtilities.Event type,
NamedObj source,
java.util.Date timestamp) |
static void |
WebViewableUtilities.sendEvent(WebViewableUtilities.Event type,
NamedObj source,
java.lang.String id) |
static void |
WebViewableUtilities.sendOptions(NamedObj source,
java.lang.String id) |
static void |
WebViewableUtilities.sendTitle(java.lang.String title,
NamedObj source) |
void |
WebViewId.setContainer(NamedObj container)
Override the base class to remove an existing WebViewId in the
container.
|
void |
WebViewId.setExpression(java.lang.String value)
Set the value of the id.
|
Modifier and Type | Method and Description |
---|---|
void |
WorkflowRunManager.disconnect() |
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Modifier and Type | Method and Description |
---|---|
void |
CreateUniqueFile.fire()
Create the file using java.lang.File.createTempFile().
|
Constructor and Description |
---|
CreateUniqueFile(CompositeEntity container,
java.lang.String name)
Construct a CreateUniqueFile source with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
StatusChecker.attributeChanged(Attribute attribute)
If the specified attribute is sleepTime or maxChecks, then
get the value of them.
|
void |
BooleanAccumulator.attributeChanged(Attribute attribute)
Check the validity of the number parameter value, set the
consumption rate of the input port, and, if necessary, invalidate the
current schedule of the director.
|
void |
StringSplitter.fire()
Take the string and split it into an array.
|
void |
FileArrayPrinter.fire()
Take the directory and print out the file array.
|
void |
TokenCounter.fire()
Consume and count all tokens and print out their number.
|
void |
FileCopier.fire()
Take the files and put them into the new directory.
|
void |
StringToInt.fire()
Consume one string token on the input port and produce a new integer
token on the output port.
|
void |
SimpleFileReader.fire()
Output the data read from the file as a string.
|
void |
StatusChecker.fire()
...
|
void |
ArrayToString.fire()
Take the array and print out the elements.
|
void |
PermanentStringConstant.fire()
Send the token in the value parameter to the output.
|
void |
BooleanAccumulator.fire()
Take the booleans and combine them.
|
void |
StringToLong.fire()
Consume one string token on the input port and produce a new integer
token on the output port.
|
void |
DirectoryMaker.fire()
Create the new directory.
|
void |
StringAccumulator.fire()
Take the partial strings and print out the whole string.
|
void |
TextFileWriter.fire()
Read an input string and write it to the corresponding file.
|
boolean |
BooleanAccumulator.prefire()
Prefire the actor.
|
Constructor and Description |
---|
ArrayToString(CompositeEntity container,
java.lang.String name)
Construct an ArrayToString with the given container and name.
|
BooleanAccumulator(CompositeEntity container,
java.lang.String name)
Construct a BooleanAccumulator with the given container and name.
|
DirectoryMaker(CompositeEntity container,
java.lang.String name)
Construct a DirectoryMaker with the given container and name.
|
FileArrayPrinter(CompositeEntity container,
java.lang.String name)
Construct a FileArrayPrinter with the given container and name.
|
FileCopier(CompositeEntity container,
java.lang.String name)
Construct a FileCopier with the given container and name.
|
PermanentStringConstant(CompositeEntity container,
java.lang.String name)
Construct a PermanentStringConstant with the given container and name.
|
SimpleFileReader(CompositeEntity container,
java.lang.String name) |
StatusChecker(CompositeEntity container,
java.lang.String name)
Construct a StatusChecker actor with the given container and name.
|
StringAccumulator(CompositeEntity container,
java.lang.String name)
Construct a StringAccumulator with the given container and name.
|
StringSplitter(CompositeEntity container,
java.lang.String name)
Construct a StringSplitter with the given container and name.
|
StringToInt(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringToLong(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TextFileWriter(CompositeEntity container,
java.lang.String name)
Construct a TextFileWriter with the given container and name.
|
TokenCounter(CompositeEntity container,
java.lang.String name)
Construct a TokenCounter with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
OrbLogger.attributeChanged(Attribute at)
If the specified attribute is triggerOutput then create a "triggerReady"
output port If the specified attribute is paramOutput then create ports
for all the workflow String Parameters If the specified attribute is
ErrorOutput then create a "ErrorFile" output port The newly created ports
are removed if attribute is unchecked.
|
void |
QAQC.attributeChanged(Attribute at)
Callback for changes in attribute values Get the attributes from the
config file.
|
void |
OrbPacketChannelExtractor.fire()
Process a token
|
void |
OrbPacketObjectSource.fire()
Reap one packet from the ORB, and broadcast it to the output port as an
ObjectToken holding an OrbPacket object.
|
void |
OrbWaveformSink.fire() |
void |
ObjectToRecord.fire()
Accept an ObjectToken from the input and produce a corresponding
RecordToken on the output.
|
void |
RecordToObject.fire()
Accept an ObjectToken from the input and produce a corresponding
RecordToken on the output.
|
void |
OrbWaveformSource.fire()
Reap one packet from the ORB and distribute the samples contained in
channels to the output port.
|
void |
OrbImageSource.fire()
Reap one packet from the ORB, unstuff it as an OrbImagePacket, and output
the resulting ImageToken (containing a java.awt.Image object).
|
void |
OrbSensorDataSource.fire()
Reap one packet from the ORB, unstuff it as an OrbImagePacket, and output
the resulting ImageToken (containing a java.awt.Image object).
|
void |
OrbLogger.fire()
This method first determines how many threads are currently running in
the workflow.For each of the weather elements such as
(Temp,Press,Wind,Humidity) we get the appropriate filter (regular
expression pattern) and narrow down the source names to unstuff for
values.
|
void |
QAQC.fire()
Compute the product of the input and the factor.
|
void |
OrbPacketChannelExtractor.initialize()
Connect to the ORB
|
void |
OrbPacketObjectSource.initialize()
Connect to the ORB
|
void |
OrbWaveformSink.initialize() |
void |
OrbWaveformSource.initialize()
Initialize the component and connect to the ORB.
|
void |
OrbImageSource.initialize()
Initialize the component and connect to the ORB.
|
void |
OrbLogger.initialize()
This method initializes the component and connects to the specified orb
source.It also obtains all source names in the current orb and puts them
in array _values.
|
boolean |
QAQC.postfire()
Post fire the actor.
|
boolean |
OrbWaveformSink.prefire() |
boolean |
ObjectToRecord.prefire() |
boolean |
RecordToObject.prefire() |
Constructor and Description |
---|
ObjectToRecord(CompositeEntity container,
java.lang.String name) |
OrbImageSource(CompositeEntity container,
java.lang.String name) |
OrbLogger(CompositeEntity container,
java.lang.String name) |
OrbPacketChannelExtractor(CompositeEntity container,
java.lang.String name) |
OrbPacketObjectSource(CompositeEntity container,
java.lang.String name) |
OrbSensorDataSource(CompositeEntity container,
java.lang.String name) |
OrbWaveformSink(CompositeEntity container,
java.lang.String name) |
OrbWaveformSource(CompositeEntity container,
java.lang.String name) |
QAQC(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
RecordToObject(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Ssh2Exec._sendStreamOutput(java.lang.String currentStream)
This function streams the output line by line.
|
void |
WSWithComplexTypes.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
SoaplabChooseResultType.attributeChanged(Attribute at)
Callback for changes in attribute values Get the WSDL from the given URL.
|
void |
CommandLine.attributeChanged(Attribute attribute)
If the specified attribute is showTriggerPort, then get the value
of it and re-render the trigger port.
|
void |
XMLAssembler.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
WebService.attributeChanged(Attribute at)
Callback for changes in attribute values Get the WSDL from the given URL.
|
void |
Ssh2Exec.attributeChanged(Attribute at)
Callback for changes in attribute values Get the WSDL from the given URL.
|
void |
XMLDisassembler.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
ArrayPermute.attributeChanged(Attribute attribute)
React to a change in attributes.
|
void |
SoaplabServiceStarter.attributeChanged(Attribute at)
Callback for changes in attribute values Get the WSDL from the given URL.
|
void |
BrowserUI.attributeChanged(Attribute at)
Callback for changes in attribute values.
|
void |
MessageBasedWebService.attributeChanged(Attribute at)
Deprecated.
Callback for changes in attribute values Get the WSDL from the given URL.
|
void |
CommandLineExec.attributeChanged(Attribute attribute)
If the specified attribute is showTriggerPort, then get the value
of it and re-render the trigger port.
|
void |
SyncOnTerminator.attributeChanged(Attribute attribute)
Override the base class to determine which function is being specified.
|
void |
WebServiceStub.attributeChanged(Attribute at)
Deprecated.
Callback for changes in attribute values.
|
void |
SoaplabChooseOperation.attributeChanged(Attribute at)
Callback for changes in attribute values Get the WSDL from the given URL.
|
void |
XPath.fire()
Take in an XMLToken and the XPath expression, and return an ArrayToken
containing XMLTokens representing the result of selecting nodes using the
XPath expression.
|
void |
ArchiveCounter.fire()
fire
|
void |
WSWithComplexTypes.fire()
Create and send the request, and send the response to the appropriate
output ports.
|
void |
DelayStreamToASpecificElement.fire()
fire
|
void |
FASTACounter.fire()
Count the number of FASTA entries.
|
void |
SoaplabChooseResultType.fire()
Calls the appropriate get_<name> operation on the client and
outputs the result obtained.
|
void |
TextualInteractionShell.fire()
Read and display the input, then wait for user input and produce the user
data on the output.
|
void |
CommandLine.fire()
...
|
void |
ProcessFileRT.fire()
Send the token in the value parameter to the output.
|
void |
StringReverse.fire()
If there is an input string, reverse it and produce that at the output.
|
void |
XMLAssembler.fire()
Read each input port, assemble the XML document, and send it to all
output ports.
|
void |
WebService.fire()
Get the URL address of the the location of the web service defined by the
given WSDL.
|
void |
EnumItemTriggered.fire()
Send the token in the value parameter to the output.
|
void |
Ssh2Exec.fire()
Send the token in the value parameter to the output.
|
void |
XMLDisassembler.fire()
Read the XML input and send pieces to the correct output ports.
|
void |
MatchDisplay.fire()
It receives GI number and the Match result in a string.
|
void |
SoaplabAnalysis.fire()
Gets the client as input and given the standard soaplab operation, calls
that specific operation on the client.
|
void |
XSLTActor.fire() |
void |
CreateExpressionFromQuery.fire() |
void |
ArrayPermute.fire()
Compute the permutations of the inputs and send to output port.
|
void |
SoaplabServiceStarter.fire()
For each of the connected input port, retrieve the input Values from the
port ( an object containing the set_<name> operation as well its
respective input Values).
|
void |
BrowserUI.fire()
Given a ...., BrowserUI actor opens a broser ...
|
void |
Email.fire()
Given a ...., Email actor ...
|
void |
Timestamp.fire()
Send the token in the value parameter to the output.
|
void |
DatabaseWriter.fire()
Read a string token for the query from the input port, execute it on the
database and output the query result.
|
void |
MessageBasedWebService.fire()
Deprecated.
Get the URL address of the the location of the web service defined by the
given WSDL.
|
void |
CommandLineExec.fire()
Send the exitCode and outputFileHandle(optional) to the result port.
|
void |
XMLUpdater.fire()
Send the token in the value parameter to the output.
|
void |
SyncOnTerminator.fire()
fire
|
void |
Repeat.fire()
Deprecated.
Fire the actor.
|
void |
WebServiceStub.fire()
Deprecated.
Get the URL address of the the location of the web service defined by the
given WSDL.
|
void |
Pause.fire()
If any of the channels on the input port contain a true token,
the cause postfire() to pause the Manager, display a dialog
with a button to resume execution and send a true token.
|
void |
SoaplabChooseOperation.fire()
Gets a list of input ports configured with the actor and finally outputs
an object containing all the inputValues for the set_<name>
operation as well as name of operation itself.
|
void |
CreateRequestFromResult.fire() |
int |
CommandLineExec.getSystemProps() |
void |
ArchiveCounter.initialize()
initialize() runs once before first exec
|
void |
DelayStreamToASpecificElement.initialize()
initialize() runs once before first exec
|
void |
TextualInteractionShell.initialize()
If the shell has not already been created, create it.
|
void |
ProcessFileRT.initialize()
initialize() runs once before first exec
|
void |
MatchDisplay.initialize() |
void |
ArrayPermute.initialize() |
void |
BrowserUI.initialize() |
void |
SyncOnTerminator.initialize()
initialize() runs once before first exec
|
void |
Repeat.initialize()
Deprecated.
Initialize the PN actor.
|
boolean |
WSWithComplexTypes.postfire()
Returns false unless there are connected input ports.
|
boolean |
TextualInteractionShell.postfire()
Override the base class to return false if the user has typed "quit" or
"exit".
|
boolean |
EnumItemTriggered.postfire()
Post fire the actor.
|
boolean |
BrowserUI.postfire()
Post fire the actor.
|
boolean |
Pause.postfire()
If we read a true token, then pause the Manager until the
user presses a button.
|
boolean |
CreateExpressionFromQuery.prefire()
Pre fire the actor.
|
boolean |
SoaplabServiceStarter.prefire()
Before executing the actor, delete any unconnected input ports to the
actor done in order to prevent possible SDF disconnected graphs problem
for users.
|
boolean |
MessageBasedWebService.prefire()
Deprecated.
Pre fire the actor.
|
boolean |
SoaplabChooseOperation.prefire()
Before executing the actor, delete any unconnected input ports to the
actor done in order to prevent possible SDF disconnected graphs problem
for users.
|
boolean |
CreateRequestFromResult.prefire()
Pre fire the actor.
|
void |
WSWithComplexTypes.preinitialize()
Initialize the actor by getting the input and output parameters from the
soap service.
|
void |
XMLAssembler.preinitialize()
Set all output ports whose types have not been set to XMLToken.
|
void |
WebService.preinitialize() |
void |
ArrayPermute.preinitialize() |
void |
TextualInteractionShell.setContainer(CompositeEntity container)
Override the base class to remove the shell from its graphical container
if the argument is null.
|
void |
XMLHelper.splitOutXML(java.lang.String name,
org.w3c.dom.Document doc,
java.util.List outputPorts,
java.lang.String portPrepend)
Peel off the root element from an XML document, and output the content in
each child element to the output port with same name.
|
void |
TextualInteractionShell.wrapup()
Override the base class to make the shell uneditable.
|
void |
Ssh2Exec.wrapup()
Terminate any sessions.
|
void |
BrowserUI.wrapup()
Wrapup the actor.
|
void |
CommandLineExec.wrapup()
Terminate the subprocess.
|
void |
Pause.wrapup()
Dispose the frame of the button dialog.
|
Constructor and Description |
---|
ArchiveCounter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayPermute(CompositeEntity container,
java.lang.String name)
Construct an ArrayPermute with the given container and name.
|
BrowserUI(CompositeEntity container,
java.lang.String name)
Construct a BrowserUI actor with the given container and name.
|
CommandLine(CompositeEntity container,
java.lang.String name)
Construct a CommandLine actor with the given container and name.
|
CommandLineExec(CompositeEntity container,
java.lang.String name)
Construct a CommandLine actor with the given container and name.
|
CreateExpressionFromQuery(CompositeEntity container,
java.lang.String name)
Construct a CreateExpressionFromQuery actor with the given container and
name.
|
CreateRequestFromResult(CompositeEntity container,
java.lang.String name)
Construct a CreateExpressionFromQuery actor with the given container and
name.
|
DatabaseWriter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DelayStreamToASpecificElement(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Email(CompositeEntity container,
java.lang.String name)
Construct an Email actor with the given container and name.
|
EnumItemTriggered(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
FASTACounter(CompositeEntity container,
java.lang.String name)
Construct a FASTACounter source with the given container and name.
|
MatchDisplay(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MessageBasedWebService(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct a WebService actor with the given container and name.
|
Pause(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified name.
|
ProcessFileRT(CompositeEntity container,
java.lang.String name)
Construct an ExecuteCmd actor with the given container and name.
|
Repeat(CompositeEntity aContainer,
java.lang.String aName)
Deprecated.
|
ShellFrame(ExpressionShellTableau tableau)
Construct a frame to display the ExpressionShell window.
|
ShellTableau(ExpressionShellEffigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given
effigy.
|
SoaplabAnalysis(CompositeEntity container,
java.lang.String name)
Construct a SoaplabAnalysis actor with given container and name.
|
SoaplabChooseOperation(CompositeEntity container,
java.lang.String name)
Construct a SoaplabChooseOperation actor with given container and name.
|
SoaplabChooseResultType(CompositeEntity container,
java.lang.String name)
Construct a SoaplabChooseResultType actor with given container and name.
|
SoaplabServiceStarter(CompositeEntity container,
java.lang.String name)
Construct a SoaplabServiceStarter actor with given container and name.
|
Ssh2Exec(CompositeEntity container,
java.lang.String name)
Construct an SSH2 actor with the given container and name.
|
StringReverse(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SyncOnTerminator(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TextualInteractionShell(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Timestamp(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
WebService(CompositeEntity container,
java.lang.String name)
Construct a WebService actor with the given container and name.
|
WebServiceStub(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct a WebServiceStub actor with the given container and name.
|
WSWithComplexTypes(CompositeEntity container,
java.lang.String name)
Construct a WSWithComplexTypes source with the given container and name.
|
XMLAssembler(CompositeEntity container,
java.lang.String name)
Construct a XMLAssembler source with the given container and name.
|
XMLDisassembler(CompositeEntity container,
java.lang.String name)
Construct a XMLDisassembler source with the given container and name.
|
XMLUpdater(CompositeEntity container,
java.lang.String name)
Construct an XMLUpdater source with the given container and name.
|
XPath(CompositeEntity container,
java.lang.String name)
Construct an XPath actor with the given container and name.
|
XSLTActor(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
DirectoryCreate.fire()
Create the directory with the name taken from the input port and output
either the error or an empty string along the errors port.
|
Constructor and Description |
---|
DirectoryCreate(CompositeEntity container,
java.lang.String name)
Create an instance of this actor.
|
Modifier and Type | Method and Description |
---|---|
void |
VizActor.fire()
Also for testing, if called, create the visualization frame then stop
calling this actor This is just set up this way for testing and needs to
be changed.
|
Constructor and Description |
---|
VizActor(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected FileCopierBase.CopyResult |
FileCopierBase.copy(ConnectionDetails srcDetails,
java.lang.String srcFile,
ConnectionDetails destDetails,
java.lang.String destFile,
boolean recursive)
Generic copy method that does the initial input validation and calls the
copyTo, copyFrom or copyRemote of the appropriate FileCopier subclass.
|
void |
GenericFileCopier.fire()
Send the token in the value parameter to the output.
|
Constructor and Description |
---|
GenericFileCopier(CompositeEntity container,
java.lang.String name)
Construct an FileCopierBetweenRemoteMachines actor with the given
container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
UserInteractiveShell.fire()
Read and display the input, then wait for user input and produce the user
data on the output.
|
void |
UserInteractiveShell.initialize()
If the shell has not already been created, create it.
|
boolean |
UserInteractiveShell.postfire()
Override the base class to return false if the user has typed "quit" or
"exit".
|
void |
UserInteractiveShell.setContainer(CompositeEntity container)
Override the base class to remove the shell from its graphical container
if the argument is null.
|
void |
UserInteractiveShell.wrapup()
Override the base class to make the shell uneditable.
|
Constructor and Description |
---|
DoubleShellTAPEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given container with the given name.
|
DoubleShellTAPTableau(DoubleShellTAPEffigy container,
java.lang.String name)
Create a new tableau.
|
DoubleShellTAPTableauFrame(DoubleShellTAPTableau tableau)
Construct a frame to display the ExpressionShell window.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
ShellFactory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
ShellFrame(DoubleShellTAPTableau tableau)
Construct a frame to display the ExpressionShell window.
|
ShellTableau(DoubleShellTAPEffigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given
effigy.
|
UserInteractiveShell(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
TextFileReader.fire()
Read the input file name string if it is other than null ...
|
Constructor and Description |
---|
TextFileReader(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
SRBProxyCommand.attributeChanged(Attribute attribute)
If the specified attribute is showTriggerPort, then get the value
of it and re-render the trigger port.
|
void |
SProxy.attributeChanged(Attribute at)
Callback for changes in attribute values.
|
void |
SRBProxyCommand.fire()
Sends a proxy command to be executed on SRB.
|
void |
SGet.fire()
Upload the file to the SRB.
|
void |
SRBReader.fire()
Accepts an SRBFileSystem reference and a file name and outputs the file
content (Array of Bytes).
|
void |
SRBCreateQueryConditions.fire()
Translate user selcted conditions into an array of strings.
|
void |
SPut.fire()
Upload the file to the SRB.
|
void |
DataGridTransfer.fire()
Transfer the file or directory,
from the source URL to the destination URL.
|
void |
SRBQueryMD.fire()
Returns an array of all the file paths satisfying the constraints.
|
void |
SProxy.fire()
Upload the file to the SRB.
|
void |
SRBDisconnect.fire()
Closes the SRB connection.
|
void |
SRBConnect.fire()
Connects to SRB and returns a connection reference.
|
void |
SRBCreateQueryInterface.fire()
Get the physical location of SRB logical file paths.
|
void |
SRBAddMD.fire()
Add the metadata conditions to the specified file/directory.
|
void |
SRBGetMD.fire()
Get the user defined metadata for SRB file paths.
|
void |
SRBWriter.fire()
Accepts an SRBFileSystem reference and a file name and outputs the file
content (Array of Bytes).
|
void |
SGetPhysicalLocation.fire()
Get the physical location of SRB logical file paths.
|
void |
SRBProxyCommand.initialize()
Initialize the srb file system to null.
|
void |
SGet.initialize()
Initialize the srb file system to null.
|
void |
SPut.initialize()
Initialize the srb file system to null.
|
void |
DataGridTransfer.initialize()
Initialize the source file system to null.
|
void |
SRBQueryMD.initialize()
Initialize the srb file system to null.
|
void |
SProxy.initialize()
Initialize the srb file system to null.
|
void |
SRBConnect.initialize()
Connect to SRB account.
|
void |
SRBCreateQueryInterface.initialize()
Initialize the srb file system to null.
|
void |
SRBAddMD.initialize()
Initialize the srb file system to null.
|
void |
SRBGetMD.initialize()
Initialize the srb file system to null.
|
void |
SGetPhysicalLocation.initialize()
Initialize the srb file system to null.
|
boolean |
SGet.postfire()
Post fire the actor.
|
boolean |
DataGridTransfer.postfire()
Post fire the actor.
|
boolean |
SRBWriter.postfire()
Post fire the actor.
|
Constructor and Description |
---|
DataGridTransfer(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SGet(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SGetPhysicalLocation(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SProxy(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SPut(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SRBAddMD(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SRBConnect(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SRBCreateQueryConditions(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SRBCreateQueryInterface(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SRBDisconnect(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SRBGetMD(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SRBProxyCommand(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SRBQueryMD(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SRBReader(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SRBWriter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordToStrings.attributeChanged(Attribute attribute) |
void |
StringsToRecord.fire()
Send the token in the value parameter to the output.
|
void |
RecordToStrings.fire()
Send the token in the value parameter to the output.
|
void |
RecordMerger.fire()
Merge RecordTokens from all input ports.
|
Constructor and Description |
---|
RecordMerger(CompositeEntity container,
java.lang.String name)
Construct a RecordMerger with the given container and name.
|
RecordToStrings(CompositeEntity container,
java.lang.String name)
Construct a RecordToStrings source with the given container and name.
|
StringsToRecord(CompositeEntity container,
java.lang.String name)
Construct a StringsToRecord source with the given container and name.
|
Modifier and Type | Class and Description |
---|---|
class |
InvariantViolationException
Thrown when an invariant is violated.
|
static class |
TypedIOPort.RunTimeTypeCheckException
Exception class for run-time type errors.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LazyTypedCompositeActor._addEntity(ComponentEntity entity)
Add an entity or class definition to this container.
|
protected void |
TypedCompositeActor._addEntity(ComponentEntity entity)
Add an actor to this container with minimal error checking.
|
protected void |
CompositeActor._addEntity(ComponentEntity entity)
Add an actor to this container with minimal error checking.
|
protected void |
TypeOpaqueCompositeActor._addPort(Port port)
Override the base class to throw an exception if the added port
is not an instance of TypedIOPort.
|
protected void |
TypedCompositeActor._addPort(Port port)
Add a port to this actor.
|
protected void |
CompositeActor._addPort(Port port)
Add a port to this actor.
|
protected void |
LazyTypedCompositeActor._addRelation(ComponentRelation relation)
Add a relation to this container.
|
protected void |
TypedCompositeActor._addRelation(ComponentRelation relation)
Add a relation to this container.
|
protected void |
CompositeActor._addRelation(ComponentRelation relation)
Add a relation to this container.
|
protected void |
TypedIORelation._checkContainer(CompositeEntity container)
Override the method in the super class to constrain the
container to be an instance of TypedCompositeActor, or to be null.
|
protected void |
TypedIOPort._checkContainer(Entity container)
Override the base class to ensure that the proposed container
implements the TypedActor interface (the base class ensures that
the container implements the Actor interface), is null, or is
an EntityLibrary.
|
protected void |
IOPort._checkContainer(Entity container)
Check that the specified container implements the Actor interface
(or is null).
|
protected void |
TypedIOPort._checkLiberalLink(ComponentRelation relation)
Override the method in the super class to ensure compatibility of
the relation.
|
protected void |
IOPort._checkLiberalLink(Relation relation)
Override parent method to ensure compatibility of the relation
and validity of the width of the port.
|
protected void |
TypedIOPort._checkLink(Relation relation)
Override the method in the super class to ensure compatibility of
the relation.
|
protected void |
IOPort._checkLink(Relation relation)
Override parent method to ensure compatibility of the relation
and validity of the width of the port.
|
protected void |
IORelation._checkPort(Port port)
Throw an exception if the specified port cannot be linked to this
relation (is not of class IOPort).
|
protected void |
TypedIORelation._checkPort(Port port)
Throw an exception if the specified port cannot be linked to this
relation (is not of class TypedIOPort).
|
protected void |
IORelation._checkRelation(Relation relation,
boolean symmetric)
Throw an exception if the specified relation is not an instance
of IORelation or if it does not have the same width as this relation.
|
protected void |
TypedIORelation._checkRelation(Relation relation,
boolean symmetric)
Throw an exception if the specified relation is not an instance
of TypedIORelation.
|
protected void |
TypedIOPort._checkType(Token token)
Check that the specified token as well as the token in
the default value, if specified, is compatible with the
resolved type of this port.
|
protected void |
TypedIOPort._checkTypedIOPortContainer(Entity container)
Override the base class to ensure that the proposed container
implements the TypedActor interface (the base class ensures that
the container implements the Actor interface), is null, or is
an EntityLibrary.
|
protected Time |
Director._consultTimeRegulators(Time proposedTime)
Consult all attributes contained by the container of this director
that implement the
TimeRegulator interface, if any, and return the
smallest time returned by those regulators. |
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 java.lang.String |
TypedIOPort._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
protected java.lang.String |
Director._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
protected java.lang.String |
IORelation._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
protected java.lang.String |
IOPort._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
protected void |
TypedAtomicActor._fireAt(double time)
Request a firing of this actor at the specified time
and throw an exception if the director does not agree to
do it at the requested time.
|
protected void |
TypedAtomicActor._fireAt(Time time)
Request a firing of this actor at the specified time
and throw an exception if the director does not agree to
do it at the requested time.
|
protected int |
IOPort._getInsideWidth(IORelation except)
Return the sums of the widths of the relations linked on the
inside, except the specified relation.
|
protected int |
IOPort._getOutsideWidth(IORelation except)
Return the sums of the widths of the relations linked on the
outside, except the specified relation.
|
protected Receiver[][] |
IOPort._getReceiversLinkedToGroup(IORelation relation,
int occurrence)
If the port is an input, return receivers that handle incoming
channels from the specified relation or any relation in its
relation group.
|
protected Receiver |
IOPort._newInsideReceiver()
Create a new receiver compatible with the local director.
|
protected Receiver |
IOPort._newInsideReceiver(int channel)
Create a new receiver compatible with the local director.
|
protected Receiver |
IOPort._newReceiver()
Create a new receiver compatible with the executive director.
|
protected Receiver |
IOPort._newReceiver(int channel)
Create a new receiver compatible with the executive director.
|
protected void |
IOPort._notifyPortEventListeners(IOPortEvent event)
Send a PortEvent to all port event listeners that
have registered with this IOPort.
|
protected static java.util.Set<IORelation> |
RelationWidthInference._relationsWithUnspecifiedWidths(java.util.List<?> relationList)
Filter the relations for which the width still has to be inferred.
|
protected boolean |
Director._schedule(NamedObj actor,
Time timestamp)
Schedule an actor for execution on a ExecutionAspect.
|
protected void |
CompositeActor._setDirector(Director director)
Set the local director for execution of this CompositeActor.
|
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..
|
protected void |
CompositeActor._transferPortParameterInputs()
Read inputs from ParameterPorts and update.
|
protected void |
SubscriberPort._updateLinks()
Update the connection to the publisher, if there is one.
|
protected void |
SubscriptionAggregatorPort._updateLinks()
Update the connection to the publishers, if there are any.
|
protected void |
SubscriberPort._updatePublisherPorts(Entity root)
Traverse the model, starting at the specified object
and examining objects below it in the hierarchy, to find
all instances of PublisherPort and make sure that they have
registered their port.
|
protected Receiver |
IOPort._wrapReceiver(Receiver receiver,
int channel)
If this port has parameters whose values are tokens that contain
an object implementing
CommunicationAspect , then wrap the
receiver specified in the argument using those communication aspects. |
void |
ActorExecutionAspect.addExecutingListener(ExecutionAspectListener listener)
Add schedule listener.
|
void |
TypedIOPort.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
PublisherPort.attributeChanged(Attribute attribute)
If a publish and subscribe channel is set, then set up the connections.
|
void |
TypedCompositeActor.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
Director.attributeChanged(Attribute attribute)
Override the base class to update local variables.
|
void |
IORelation.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
IOPort.attributeChanged(Attribute attribute)
If a communication aspect is added, removed or modified,
invalidate the list of communication aspects which is read again
in the preinitialize phase.
|
void |
LocalClock.attributeChanged(Attribute attribute)
Delegate the call to the director, which handles changes
to the parameters of the clock.
|
void |
SubscriberPort.attributeChanged(Attribute attribute)
If a publish and subscribe channel is set, then set up the connections.
|
void |
SubscriptionAggregatorPort.attributeChanged(Attribute attribute)
If a publish and subscribe channel is set, then set up the connections.
|
void |
ExecutionAttributes.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
CommunicationAspectAttributes.attributeChanged(Attribute attribute)
If attribute is messageLength report the new value
to the communication aspect.
|
void |
TypedAtomicActor.attributeTypeChanged(Attribute attribute)
React to a change in the type of an attribute.
|
void |
TypedCompositeActor.attributeTypeChanged(Attribute attribute)
React to a change in the type of an attribute.
|
void |
TypedIOPort.broadcast(Token token)
Send a token to all connected receivers.
|
void |
ConstantPublisherPort.broadcast(Token token)
Override the base class to replace the specified token with
the value of constantValue.
|
void |
IOPort.broadcast(Token token)
Send a token to all connected receivers.
|
void |
TypedIOPort.broadcast(Token[] tokenArray,
int vectorLength)
Send the specified portion of a token array to all receivers connected
to this port.
|
void |
ConstantPublisherPort.broadcast(Token[] tokenArray,
int vectorLength)
Override the base class to replace the specified tokens with
the value of constantValue.
|
void |
IOPort.broadcast(Token[] tokenArray,
int vectorLength)
Send the specified portion of a token array to all receivers connected
to this port.
|
void |
IOPort.broadcastClear()
Set all receivers connected on the outside to have no
tokens.
|
void |
IOPort.checkWidthConstraints()
Check whether the widths constraints are met.
|
void |
Mailbox.clear()
Clear this receiver of any contained token.
|
void |
Receiver.clear()
Clear this receiver of any contained tokens.
|
void |
IntermediateReceiver.clear()
Reset the communication aspect and the receiver that we delegate to.
|
void |
AbstractReceiver.clear()
Throw an exception.
|
Token |
TypedIOPort.convert(Token token)
Convert the specified token into a token with type equal
to the type returned by getType().
|
Token |
IOPort.convert(Token token)
Convert the specified token into a token acceptable to
this port.
|
Receiver |
CommunicationAspect.createIntermediateReceiver(Receiver receiver)
Create a receiver to mediate a communication via the specified receiver.
|
void |
Actor.createReceivers()
Create receivers for all necessary ports.
|
void |
AtomicActor.createReceivers()
Create receivers for each input port.
|
void |
IOPort.createReceivers()
Create new receivers for this port, replacing any that may
previously exist, and validate any instances of Settable that
this port may contain.
|
void |
CompositeActor.createReceivers()
Create receivers for each port.
|
void |
Director.createSchedule()
Create the schedule for this director, if necessary.
|
void |
CompositeActor.createSchedule()
Create the schedule for this model, if necessary.
|
void |
AtomicActor.declareDelayDependency()
Set the dependency between all output ports and all input
ports of this actor.
|
Receiver[][] |
IOPort.deepGetReceivers()
If the port is an input, return the receivers deeply linked on
the inside.
|
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.util.List<Token> |
Receiver.elementList()
Return a list with tokens that are currently in the receiver
available for get() or getArray().
|
java.util.List<Token> |
IntermediateReceiver.elementList()
Delegate to the internal receiver and return whatever it returns.
|
java.util.List<Token> |
AbstractReceiver.elementList()
Return a list with tokens that are currently in the receiver
available for get() or getArray().
|
void |
Manager.execute()
Execute the model.
|
void |
Executable.fire()
Fire the actor.
|
void |
AtomicActor.fire()
Do nothing.
|
void |
Director.fire()
Iterate all the deeply contained actors of the
container of this director exactly once.
|
void |
CompositeActor.fire()
If this actor is opaque, transfer any data from the input ports
of this composite to the ports connected on the inside, and then
invoke the fire() method of its local director.
|
void |
Director.fireAt(Actor actor,
double time)
Deprecated.
Instead of using double as time argument, use a
time object instead. As of Ptolemy 4.1, replaced by
Director.fireAt(Actor, Time) |
Time |
Director.fireAt(Actor actor,
Time time)
Request a firing of the given actor at the given model
time.
|
Time |
Director.fireAt(Actor actor,
Time time,
int microstep)
Request a firing of the given actor at the given model
time with the given microstep.
|
Time |
Director.fireAtCurrentTime(Actor actor)
Request a firing of the given actor at the current model time or later.
|
Time |
Director.fireContainerAt(Time time)
Request a firing of the container of this director at the specified time
and throw an exception if the executive director does not agree to
do it at the requested time.
|
Time |
Director.fireContainerAt(Time time,
int microstep)
Request a firing of the container of this director at the specified time,
adjusted by the current offset and drift of the local clock,
and the specified microstep.
|
Token |
IOPort.get(int channelIndex)
Get a token from the specified channel.
|
Token |
SubscriptionAggregatorPort.get(int channelIndex)
Get a token from the specified channel.
|
Token[] |
IOPort.get(int channelIndex,
int vectorLength)
Get an array of tokens from the specified channel.
|
Token[] |
SubscriptionAggregatorPort.get(int channelIndex,
int vectorLength)
Get an array of tokens from the specified channel.
|
CausalityInterface |
Actor.getCausalityInterface()
Return a causality interface for this actor.
|
CausalityInterface |
AtomicActor.getCausalityInterface()
Return a causality interface for this actor.
|
int |
IOPort.getChannelForReceiver(Receiver receiver)
Return the corresponding channel in this port for the given receiver.
|
java.util.List<CommunicationAspect> |
IOPort.getCommunicationAspects()
Return the list of communication aspects in this port.
|
double |
IOPort.getCurrentTime(int channelIndex)
Deprecated.
As Ptolemy II 4.1,
replaced by
IOPort.getModelTime(int) . |
Time |
Director.getDeadline(NamedObj actor,
Time timestamp)
Compute the deadline for an actor firing.
|
Time |
LocalClock.getEnvironmentTimeForLocalTime(Time time)
Get the environment time that corresponds to the given local time.
|
ActorExecutionAspect |
Director.getExecutionAspect(NamedObj actor)
Find the ExecutionAspect for the actor.
|
double |
ActorExecutionAspect.getExecutionTime(NamedObj actor)
Get the execution time of an actor.
|
Time |
Director.getGlobalTime()
Return the global time for this model.
|
Token |
IOPort.getInside(int channelIndex)
Get a token from the specified inside channel of this port.
|
Time |
LocalClock.getLocalTimeForCurrentEnvironmentTime()
Get the local time that corresponds to the current environment time.
|
Time |
LocalClock.getLocalTimeForEnvironmentTime(Time time)
Get the local time that corresponds to the given environment time.
|
Time |
Director.getModelNextIterationTime()
Return the next time of interest in the model being executed by
this director or the director of any enclosing model up the
hierarchy.
|
Time |
Director.getModelStartTime()
Return the start time parameter value, if it has been explicitly
set.
|
Time |
IOPort.getModelTime(int channelIndex)
Return the current time associated with a certain channel.
|
Time |
IOPort.getModelTime(int channelIndex,
boolean inside)
Return the current time associated with a certain channel.
|
double |
Director.getNextIterationTime()
Deprecated.
As of Ptolemy II 4.1, replaced by
Director.getModelNextIterationTime() |
IOPort |
CompositeActor.getPublishedPort(java.lang.String name)
Get the published port with named name.
|
java.util.List<IOPort> |
CompositeActor.getPublishedPorts(java.util.regex.Pattern pattern)
Get the published ports with names that match a regular expression.
|
Receiver[][] |
IOPort.getReceivers(IORelation relation)
If the port is an input, return receivers that handle incoming
channels from the specified relation.
|
Receiver[][] |
IOPort.getReceivers(IORelation relation,
int occurrence)
If the port is an input, return receivers that handle incoming
channels from the specified relation.
|
Receiver[][] |
IOPort.getRemoteReceivers()
If the port is an output, return the remote receivers that can
receive from the port.
|
Receiver[][] |
IOPort.getRemoteReceivers(IORelation relation)
If this port is an output, return the remote receivers that can
receive data from this port through the specified relation or
any relation in its relation group.
|
double |
Director.getStartTime()
Deprecated.
As of Ptolemy II 4.1, replaced by
Director.getModelStartTime() |
double |
Director.getStopTime()
Deprecated.
As of Ptolemy II 4.1, replaced by
Director.getModelStopTime() |
int |
IORelation.getWidth()
Return the width of the IORelation, which is always at least one.
|
int |
IOPort.getWidth()
Return the width of the port.
|
int |
IOPort.getWidthInside()
Return the inside width of this port.
|
boolean |
IOPort.hasNewToken(int channelIndex)
Return true if the specified channel has a new token to deliver
via the get() method.
|
boolean |
IOPort.hasNewTokenInside(int channelIndex)
Return true if the specified channel has a token to deliver
via the getInside() method.
|
boolean |
IOPort.hasRoom(int channelIndex)
Return true if the specified channel can accept a token via the
put() method.
|
boolean |
IOPort.hasRoomInside(int channelIndex)
Return true if the specified channel can accept a token via
the putInside() method.
|
boolean |
IOPort.hasToken(int channelIndex)
Return true if the port is persistent (see
IOPort.defaultValue ),
or if the most recent input was an SmoothToken , or
if the specified channel has a token to deliver
via the get() method. |
boolean |
SubscriptionAggregatorPort.hasToken(int channelIndex)
Return true if any input channel has a token.
|
boolean |
IOPort.hasToken(int channelIndex,
int tokens)
Return true if the specified channel has the specified number
of tokens to deliver via the get() method.
|
boolean |
SubscriptionAggregatorPort.hasToken(int channelIndex,
int vectorLength)
Return true if every input channel that has tokens has enough tokens.
|
boolean |
IOPort.hasTokenInside(int channelIndex)
Return true if the port is persisent or the specified channel
has a token to deliver
via the getInside() method.
|
void |
PublisherPort.hierarchyChanged()
Notify this object that the containment hierarchy above it has
changed.
|
void |
PubSubPort.hierarchyChanged()
Notify this object that the containment hierarchy above it has
changed.
|
void |
AbstractInitializableAttribute.hierarchyChanged()
Notify this object that the containment hierarchy above it has
changed.
|
void |
SubscriberPort.hierarchyChanged()
Notify this object that the containment hierarchy above it has
changed.
|
void |
PublisherPort.hierarchyWillChange()
Notify this object that the containment hierarchy above it will be
changed, which results in publisher ports being unregistered.
|
void |
PubSubPort.hierarchyWillChange()
Notify this object that the containment hierarchy above it will be
changed, which results in this port being removed from the set
of initializables of the container.
|
void |
AbstractInitializableAttribute.hierarchyWillChange()
Notify this object that the containment hierarchy above it will be
changed.
|
void |
SubscriberPort.hierarchyWillChange()
Notify this object that the containment hierarchy above it will be
changed, which results in the channel being unlinked from the publisher.
|
void |
RelationWidthInference.inferWidths()
Infer the width of the relations for which no width has been
specified yet.
|
void |
CompositeActor.inferWidths()
Infer the width of the relations for which no width has been
specified yet.
|
void |
ConstantPublisherPort.initialize()
Override the base class to initialize the token count.
|
void |
PublisherPort.initialize()
If
PubSubPort.initialTokens has been set, then produce the
outputs specified by its array value. |
void |
AtomicActor.initialize()
Initialize this actor.
|
void |
Director.initialize()
Initialize the model controlled by this director.
|
void |
Manager.initialize()
Initialize the model.
|
void |
PubSubPort.initialize()
Do nothing.
|
void |
AbstractInitializableAttribute.initialize()
Invoke initialize() on registered initializables.
|
void |
SubscriberPort.initialize()
If
PubSubPort.initialTokens has been set, then make available the
inputs specified by its array value. |
void |
Initializable.initialize()
Begin execution of the actor.
|
void |
CompositeActor.initialize()
Initialize this actor.
|
void |
Director.initialize(Actor actor)
Initialize the given actor.
|
void |
ActorExecutionAspect.initializeDecoratedActors()
Iterate through all entities deeply contained by the container,
record for each that it is not executing.
|
void |
IOPort.insertLink(int index,
Relation relation)
Override the base class to invalidate the schedule and resolved
types of the director of the container, if there is one, in addition
to what the base class does.
|
boolean |
IOPort.isKnown()
Return true if all channels of this port have known state; that is,
the tokens on each channel are known, or each channel is known not to
have any tokens.
|
boolean |
IOPort.isKnown(int channelIndex)
Return true if the specified channel has known state;
that is, the tokens on this channel are known, or this channel
is known not to have any tokens.
|
boolean |
IOPort.isKnownInside(int channelIndex)
Return true if the specified inside channel has known state;
that is, the tokens on this channel are known, or this channel
is known not to have any tokens.
|
boolean |
Executable.isStrict()
Return true if this executable is strict, meaning all inputs must
be known before iteration.
|
boolean |
AtomicActor.isStrict()
Return true unless all input ports have non-empty default values.
|
boolean |
Director.isStrict()
Return true.
|
boolean |
CompositeActor.isStrict()
Return false if all input ports have non-empty default values,
or if this actor is opaque and the contained director indicates
that it is non-strict.
|
boolean |
IORelation.isWidthFixed()
Return true if the relation has a definite width (i.e.,
setWidth() has not been called with a value equal to
WIDTH_TO_INFER.
|
int |
Executable.iterate(int count)
Invoke a specified number of iterations of the actor.
|
int |
AtomicActor.iterate(int count)
Invoke a specified number of iterations of the actor.
|
int |
Director.iterate(int count)
Invoke a specified number of iterations of this director.
|
int |
CompositeActor.iterate(int count)
Invoke a specified number of iterations of the actor.
|
void |
IOPort.liberalLink(ComponentRelation relation)
Override the base class to invalidate the schedule and resolved
types of the director of the container, if there is one, in addition
to what the base class does.
|
void |
IOPort.link(Relation relation)
Override the base class to invalidate the schedule and resolved
types of the director of the container, if there is one, in addition
to what the base class does.
|
void |
CompositeActor.linkToPublishedPort(java.util.regex.Pattern pattern,
TypedIOPort subscriberPort)
Link the subscriberPort with a already registered "published port" coming
from a publisher.
|
void |
CompositeActor.linkToPublishedPort(java.util.regex.Pattern pattern,
TypedIOPort subscriberPort,
boolean global)
Link the subscriberPort with a already registered "published port" coming
from a publisher.
|
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.
|
boolean |
IORelation.needsWidthInference()
Determine whether for this relation width inference needs to be performed.
|
Receiver |
CompositeActor.newInsideReceiver()
Return a new receiver of a type compatible with the local director.
|
Receiver |
Actor.newReceiver()
Return a new receiver of a type compatible with the executive director.
|
Receiver |
AtomicActor.newReceiver()
Return a new receiver of a type compatible with the director.
|
Receiver |
CompositeActor.newReceiver()
Return a new receiver of a type compatible with the executive director.
|
ComponentRelation |
CompositeActor.newRelation(java.lang.String name)
Create a new IORelation with the specified name, add it to the
relation list, and return it.
|
void |
InstanceOpener.openAnInstance(NamedObj entity)
Open the specified instance.
|
void |
IOPortEventListener.portEvent(IOPortEvent event)
Report a port activity.
|
boolean |
Executable.postfire()
This method should be invoked once per iteration, after the last
invocation of fire() in that iteration.
|
boolean |
AtomicActor.postfire()
Return true, unless stop() has been called, in which case,
return false.
|
boolean |
Director.postfire()
Return true if the director wishes to be scheduled for another
iteration.
|
boolean |
CompositeActor.postfire()
If this actor is opaque, invoke the postfire() method of its
local director and transfer output data.
|
boolean |
Executable.prefire()
This method should be invoked prior to each invocation of fire().
|
boolean |
AtomicActor.prefire()
Return true.
|
boolean |
Director.prefire()
Return true if the director is ready to fire.
|
boolean |
CompositeActor.prefire()
If this actor is opaque, invoke the prefire() method of the local
director.
|
void |
PublisherPort.preinitialize()
Override the base class to throw an exception if this port is at the top level.
|
void |
AtomicActor.preinitialize()
Create receivers and declare delay dependencies.
|
void |
Director.preinitialize()
Validate the attributes and then invoke the preinitialize()
methods of all its deeply contained actors.
|
void |
PubSubPort.preinitialize()
Do nothing.
|
void |
AbstractInitializableAttribute.preinitialize()
Invoke preinitialize() on registered initializables.
|
void |
SubscriberPort.preinitialize()
Override the base class to ensure that there is a publisher.
|
void |
SubscriptionAggregatorPort.preinitialize()
Check that the port is not in the top level, then
call preinitialize() in the super class.
|
void |
Initializable.preinitialize()
This method should be invoked exactly once per execution
of a model, before any of these other methods are invoked.
|
void |
CompositeActor.preinitialize()
Create receivers and invoke the
preinitialize() method of the local director.
|
void |
Director.preinitialize(Actor actor)
Preinitialize the actor.
|
Time |
TimeRegulator.proposeTime(Time proposedTime)
Propose a time to advance to.
|
void |
AtomicActor.pruneDependencies()
Deprecated.
There is no need to override this method anymore.
Just call removeDependency() in preinitialize().
|
void |
Receiver.put(Token token)
Put the specified token into this receiver.
|
void |
IntermediateReceiver.put(Token token)
Forward the specified token to communication aspect specified in
the constructor.
|
abstract void |
AbstractReceiver.put(Token token)
Put the specified token into this receiver.
|
void |
Receiver.putArray(Token[] tokenArray,
int numberOfTokens)
Put a portion of the specified token array into this receiver.
|
void |
AbstractReceiver.putArray(Token[] tokenArray,
int numberOfTokens)
Put a portion of the specified token array into this receiver.
|
void |
Receiver.putArrayToAll(Token[] tokens,
int numberOfTokens,
Receiver[] receivers)
Put a sequence of tokens to all receivers in the specified array.
|
void |
AbstractReceiver.putArrayToAll(Token[] tokens,
int numberOfTokens,
Receiver[] receivers)
Put a sequence of tokens to all receivers in the specified array.
|
void |
Receiver.putToAll(Token token,
Receiver[] receivers)
Put a single token to all receivers in the specified array.
|
void |
AbstractReceiver.putToAll(Token token,
Receiver[] receivers)
Put to all receivers in the specified array.
|
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.reset()
Reset this receiver to its initial state, which is typically
either empty (same as calling clear()) or unknown.
|
void |
IOPort.reset()
If port has default value reset the saved persistent value.
|
void |
IntermediateReceiver.reset()
Reset this receiver to its initial state, which in this base
class is the same as calling clear().
|
void |
AbstractReceiver.reset()
Reset this receiver to its initial state, which in this base
class is the same as calling clear().
|
void |
Director.resume()
Start or resume the actor, which means (re)start the local clock.
|
void |
Director.resumeActor(NamedObj actor)
Resume the execution of an actor that was previously blocked because
it didn't have all the resources it needed for execution.
|
static Time |
ExecutionAspectHelper.schedule(ActorExecutionAspect aspect,
NamedObj actor,
Time environmentTime,
Time deadline)
Schedule an actor for execution on an aspect and return the next time
this aspect has to perform an action.
|
Time |
ActorExecutionAspect.schedule(NamedObj actor,
Time environmentTime,
Time deadline,
Time executionTime)
Schedule the actor.
|
Time |
ActorExecutionAspect.schedule(Time environmentTime)
Perform rescheduling actions when no new actor requests to be
scheduled.
|
boolean |
Director.scheduleContainedActors()
Return true if the next actor in the model governed by this director
can be scheduled.
|
void |
TypedIOPort.send(int channelIndex,
Token token)
Send a token to the specified channel, checking the type
and converting the token if necessary.
|
void |
ConstantPublisherPort.send(int channelIndex,
Token token)
Override the base class to replace the specified token with
the value of constantValue.
|
void |
IOPort.send(int channelIndex,
Token token)
Send the specified token to all receivers connected to the
specified channel.
|
void |
TypedIOPort.send(int channelIndex,
Token[] tokenArray,
int vectorLength)
Send the specified portion of a token array to all receivers
connected to the specified channel, checking the type
and converting the token if necessary.
|
void |
ConstantPublisherPort.send(int channelIndex,
Token[] tokenArray,
int vectorLength)
Override the base class to replace the specified tokens with
the value of constantValue.
|
void |
IOPort.send(int channelIndex,
Token[] tokenArray,
int vectorLength)
Send the specified portion of a token array to all receivers connected
to the specified channel.
|
void |
IOPort.sendClear(int channelIndex)
Set all destination receivers connected via the specified to channel
to have no token.
|
void |
IOPort.sendClearInside(int channelIndex)
Set all destination receivers connected on the inside via the specified
to channel to have no token.
|
void |
TypedIOPort.sendInside(int channelIndex,
Token token)
Send the specified token to all receivers connected to the
specified inside channel of this port, checking the type and
converting the token if necessary.
|
void |
IOPort.sendInside(int channelIndex,
Token token)
Send the specified token to all receivers connected to the
specified inside channel of this port.
|
void |
CommunicationAspect.sendToken(Receiver source,
Receiver receiver,
Token token)
Take the specified token and mediate communication to the specified
receiver.
|
void |
QueueReceiver.setCapacity(int capacity)
Set receiver capacity.
|
void |
LazyTypedCompositeActor.setClassDefinition(boolean isClass)
Specify whether this object is a class definition.
|
void |
LocalClock.setClockDrift(double drift)
Set the new clock drift and commit it.
|
void |
AtomicActor.setContainer(CompositeEntity container)
Override the base class to invalidate the schedule and
resolved types of the director.
|
void |
IORelation.setContainer(CompositeEntity container)
Specify the container, adding the relation to the list
of relations in the container.
|
void |
CompositeActor.setContainer(CompositeEntity container)
Override the base class to invalidate the schedule and
resolved types of the director.
|
void |
PubSubPort.setContainer(Entity container)
Override the base class to register as an
Initializable
so that preinitialize() is invoked, and as a
HierarchyListener , so that we are notified of
changes in the hierarchy above. |
void |
IOPort.setContainer(Entity container)
Override the base class to ensure that the proposed container
implements the Actor interface (the base class ensures that the
container is an instance of ComponentEntity) or null.
|
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 |
Director.setContainer(NamedObj container)
Specify the container.
|
void |
AbstractInitializableAttribute.setContainer(NamedObj container)
Override the base class to register as an
Initializable
so that preinitialize() is invoked, and as a
HierarchyListener , so that we are notified of
changes in the hierarchy above. |
void |
TypeAttribute.setContainer(NamedObj container)
Override the base class to remove any other instances of TypeAttribute.
|
void |
Director.setCurrentTime(double newTime)
Deprecated.
As of Ptolemy 4.1, replaced by
Director.setModelTime(ptolemy.actor.util.Time) |
void |
CompositeActor.setDirector(Director director)
Set the local director for execution of this CompositeActor.
|
void |
QueueReceiver.setHistoryCapacity(int capacity)
Set the capacity of the history queue.
|
void |
SuperdenseTimeDirector.setIndex(int index)
Set the superdense time index.
|
void |
PublisherPort.setInput(boolean isInput)
Override the base class to refuse to accept setting to be an input.
|
void |
IOPort.setInput(boolean isInput)
If the argument is true, make the port an input port.
|
void |
SubscriberPort.setInput(boolean isInput)
Override the base class to only accept setting to be an input.
|
void |
LocalClock.setLocalTime(Time time)
Set local time without committing.
|
void |
CompositeActor.setManager(Manager manager)
Set the Manager for execution of this CompositeActor.
|
void |
Director.setModelTime(Time newTime)
Set a new value to the current time of the model.
|
void |
IOPort.setMultiport(boolean isMultiport)
If the argument is true, make the port a multiport.
|
void |
PublisherPort.setOutput(boolean isOutput)
Override the base class to require the port to be an output.
|
void |
IOPort.setOutput(boolean isOutput)
If the argument is true, make the port an output port.
|
void |
SubscriberPort.setOutput(boolean isOutput)
Override the base class to refuse to make the port an output.
|
void |
IORelation.setWidth(int widthValue)
Set the width of this relation and all relations in its
relation group.
|
void |
Manager.startRun()
Start an execution in another thread and return.
|
boolean |
IOPort.transferInputs()
Deprecated.
Domains should use sendInside directly to
implement their transferInputs method.
|
boolean |
Director.transferInputs(IOPort port)
Transfer data from an input port of the container to the ports
it is connected to on the inside.
|
void |
Director.transferOutputs()
Transfer data from all output ports of the container to the
ports they are connected to on the outside.
|
boolean |
IOPort.transferOutputs()
Deprecated.
domains should use getInside directly to implement their
transferOutputs method.
|
boolean |
Director.transferOutputs(IOPort port)
Transfer data from an output port of the container to the
ports it is connected to on the outside.
|
java.util.List |
TypedCompositeActor.typeConstraintList()
Deprecated.
Use typeConstraints().
|
java.util.Set<Inequality> |
TypedCompositeActor.typeConstraints()
Return the type constraints of this typed composite actor.
|
java.util.Set<Inequality> |
TypedActor.typeConstraints()
Return the type constraints of this actor.
|
void |
CompositeActor.unlinkToPublishedPort(java.util.regex.Pattern pattern,
TypedIOPort subscriberPort)
Unlink the subscriberPort with a already registered "published port" coming
from a publisher.
|
void |
CompositeActor.unlinkToPublishedPort(java.util.regex.Pattern pattern,
TypedIOPort subscriberPort,
boolean global)
Unlink the subscriberPort with a already registered "published port" coming
from a publisher.
|
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.
|
java.util.Collection |
LocalClock.validate()
This method has to be implemented for the AbstractSettableAttribute
interface.
|
void |
AtomicActor.wrapup()
Do nothing except invoke the wrapup() methods of any
objects that have been registered with addInitializable().
|
void |
Director.wrapup()
Invoke the wrapup() method of all the actors contained in the
director's container.
|
void |
Manager.wrapup()
Wrap up the model by invoking the wrapup method of the toplevel
composite actor.
|
void |
PubSubPort.wrapup()
Do nothing.
|
void |
AbstractInitializableAttribute.wrapup()
Invoke wrapup() on registered initializables.
|
void |
Initializable.wrapup()
This method is invoked exactly once per execution
of an application.
|
void |
CompositeActor.wrapup()
If this actor is opaque, then invoke the wrapup() method of the local
director.
|
Constructor and Description |
---|
AbstractInitializableAttribute(NamedObj container,
java.lang.String name)
Construct an instance of the attribute.
|
AbstractReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
AtomicActor(CompositeEntity container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
CommunicationAspectAttributes(NamedObj target,
Decorator decorator)
Constructor to use when editing a model.
|
CommunicationAspectAttributes(NamedObj target,
java.lang.String name)
Constructor to use when parsing a MoML file.
|
CompositeActor(CompositeEntity container,
java.lang.String name)
Create an actor with a name and a container.
|
ConstantPublisherPort(ComponentEntity container,
java.lang.String name)
Construct a constant publisher port with the specified name and container.
|
Director()
Construct a director in the default workspace with an empty string
as its name.
|
Director(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
Director(Workspace workspace)
Construct a director in the workspace with an empty name.
|
DoNothingDirector(CompositeEntity container,
java.lang.String name)
Construct a director with the given container and name.
|
ExecutionAttributes(NamedObj target,
Decorator decorator)
Constructor to use when editing a model.
|
ExecutionAttributes(NamedObj target,
java.lang.String name)
Constructor to use when parsing a MoML file.
|
IOPort(ComponentEntity container,
java.lang.String name)
Construct an IOPort with a containing actor and a name
that is neither an input nor an output.
|
IOPort(ComponentEntity container,
java.lang.String name,
boolean isInput,
boolean isOutput)
Construct an IOPort with a container and a name that is
either an input, an output, or both, depending on the third
and fourth arguments.
|
IOPort(Workspace workspace)
Construct a port in the specified workspace with an empty
string as a name.
|
IORelation(CompositeEntity container,
java.lang.String name)
Construct a relation with the given name contained by the specified
entity.
|
LazyTypedCompositeActor(CompositeEntity container,
java.lang.String name)
Construct a library with the given container and name.
|
LocalClock(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
Mailbox(IOPort container)
Construct an empty Mailbox with the specified container.
|
Manager(java.lang.String name)
Construct a manager in the default workspace with the given name.
|
Manager(Workspace workspace,
java.lang.String name)
Construct a manager in the given workspace with the given name.
|
PublisherPort(ComponentEntity container,
java.lang.String name)
Construct a publisher port with the specified name and container.
|
PubSubPort(ComponentEntity container,
java.lang.String name)
Construct a subscriber port with a containing actor and a name.
|
QueueReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
SubscriberPort(ComponentEntity container,
java.lang.String name)
Construct a subscriber port with a containing actor and a name.
|
SubscriptionAggregatorPort(ComponentEntity container,
java.lang.String name)
Construct a subscriber port with a containing actor and a name.
|
TypeAttribute(Attribute container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
port.
|
TypeAttribute(TypedIOPort container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
port.
|
TypedAtomicActor(CompositeEntity container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
TypedCompositeActor(CompositeEntity container,
java.lang.String name)
Construct a TypedCompositeActor with a name and a container.
|
TypedIOPort(ComponentEntity container,
java.lang.String name)
Construct a TypedIOPort with a containing actor and a name
that is neither an input nor an output.
|
TypedIOPort(ComponentEntity container,
java.lang.String name,
boolean isInput,
boolean isOutput)
Construct a TypedIOPort with a container and a name that is
either an input, an output, or both, depending on the third
and fourth arguments.
|
TypedIOPort(Workspace workspace)
Construct a port in the specified workspace with an empty
string as a name.
|
TypedIORelation(CompositeEntity container,
java.lang.String name)
Construct a relation with the given name contained by the specified
entity.
|
TypeOpaqueCompositeActor(CompositeEntity container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Advanceable.advance(Time time,
int microstep)
Advance to the specified time.
|
double |
ContinuousStepSizeController.refinedStepSize()
Implementations of this method should return
the suggested refined step size for restarting the current integration.
|
void |
ContinuousStatefulComponent.rollBackToCommittedState()
Roll back to committed state.
|
double |
ContinuousStepSizeController.suggestedStepSize()
Implementations of this method should return
the suggested next step size.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Effigy._checkContainer(CompositeEntity container)
Check that the specified container is of a suitable class for
this entity, i.e., ModelDirectory or Effigy.
|
protected void |
PtolemyEffigy._checkContainer(CompositeEntity container)
Check that the specified container is of a suitable class for
this entity, i.e., ModelDirectory or PtolemyEffigy.
|
protected void |
PtolemyApplet._go()
Execute the model, if the manager is not currently executing.
|
protected PtolemyEffigy |
PtolemyEffigy.Factory._newEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy.
|
protected Tableau |
ConfigurationApplication._openModel(NamedObj entity)
Open the specified Ptolemy II model.
|
void |
TokenTableau.append(java.util.List list)
Append the specified tokens to the display.
|
void |
TokenTableau.append(Token token)
Append the specified token to the display.
|
void |
TokenEffigy.append(Token token)
Append the specified token to the token array associated with this
effigy.
|
void |
Tableau.attributeChanged(Attribute attribute)
If the argument is the size parameter, and a
frame has been specified with setFrame(), then set the size
of the frame.
|
void |
ImageTokenEffigy.attributeChanged(Attribute attribute)
If the argument is the uri parameter, then read the
specified URL and parse the data contained in it.
|
void |
Effigy.attributeChanged(Attribute attribute)
If the argument is the identifier parameter, then set
the title of all contained Tableaux to the value of the parameter;
if the argument is the uri parameter, then check to see
whether it is writable, and call setModifiable() appropriately.
|
void |
ExternalTextEffigy.attributeChanged(Attribute attribute)
If the argument is the identifier parameter, then tell
the external editor to finally open the file specified by the
identifier (as opposed to at newTextEffigy(container, text) time
at which the document file is not yet specified.
|
void |
HTMLViewerTableau.attributeChanged(Attribute attribute)
If the argument is the url parameter, then open the
specified URL and display its contents.
|
void |
Configuration.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
PlotTableau.attributeChanged(Attribute attribute)
If the argument is the uri parameter, then open the
specified URI and display its contents.
|
void |
WelcomeWindowTableau.attributeChanged(Attribute attribute)
Handle cases where the url attribute is changed,
yet there is no frame.
|
void |
TokenEffigy.attributeChanged(Attribute attribute)
If the argument is the uri parameter, then read the
specified URL and parse the data contained in it.
|
static java.lang.String |
Configuration.checkCloneFields(NamedObj namedObj)
Check that clone(Workspace) method properly sets the fields.
|
static void |
Configuration.closeAllTableaux()
Close all the tableaux.
|
static void |
ConfigurationApplication.closeModelWithoutSavingOrExiting(CompositeEntity model)
Close the model without saving or exiting.
|
void |
TokenTableau.createFrame(TableauFrame frame)
Create a text editor frame to view the data.
|
void |
MatrixTokenTableau.createFrame(TableauFrame frame)
Create a matrix frame to view the data.
|
javax.swing.Box |
CustomQueryBoxParameter.createQueryBox(PtolemyQuery query,
Settable attribute)
Create a customized query box for the given query.
|
static Effigy |
Effigy.findToplevelEffigy(NamedObj object)
Find the effigy associated with the top level of the object, and if not
found but the top level has a ContainmentExtender attribute, use that
attribute to find the containment extender of the top level and continue
the search.
|
static void |
HTMLViewer.getDocumentation(Configuration configuration,
java.lang.String className,
Effigy context)
Give a ptdoc: path, open the PtDoc viewer.
|
static PtolemyPreferences |
PtolemyPreferences.getPtolemyPreferencesWithinConfiguration(Configuration configuration)
Get the PtolemyPreferences within the specified configuration.
|
java.lang.Object |
Configuration.getStringParameterAsClass(java.lang.String parameterName,
java.lang.Class[] constructorParameterTypes,
java.lang.Object[] constructorParameterClass)
Instantiate the class named by a StringParameter in the configuration.
|
void |
AbstractPlaceableJavaSE.init(TypedAtomicActor actor)
Initialize the specified actor with window properties and pane size attributes.
|
void |
CommunicationAspectMonitor.initialize()
Initialize the plot and the legend with the list of communication aspects used
in this model.
|
void |
Configuration.openAnInstance(NamedObj entity)
Open the specified instance.
|
Tableau |
Configuration.openInstance(NamedObj entity)
Open the specified instance.
|
Tableau |
Configuration.openInstance(NamedObj entity,
CompositeEntity container)
Open the specified instance.
|
Tableau |
Configuration.openModel(NamedObj entity)
Open the specified Ptolemy II model.
|
Tableau |
Configuration.openModel(NamedObj entity,
CompositeEntity container)
Open the specified Ptolemy II model.
|
static void |
UserActorLibrary.saveComponentInLibrary(Configuration configuration,
Entity entity)
Save the given entity in the user library in the given
configuration.
|
void |
PtolemyPreferences.setAsDefault()
Set the values in this instance of PtolemyPreferences to be
the default values by creating entries in the Constants class
so that these values are accessible to any expression.
|
void |
Tableau.setContainer(CompositeEntity container)
Override the base class so that if the argument is null and the
window is a master, then all other windows associated with the
container are closed and the model is removed from the ModelDirectory.
|
void |
Effigy.setContainer(CompositeEntity container)
Override the base class so that tableaux contained by this object
are removed before this effigy is removed from the ModelDirectory.
|
void |
ConfigurationEffigy.setContainer(CompositeEntity container)
Specify the container, adding the entity to the list
of entities in the container.
|
void |
Configuration.setContainer(CompositeEntity container)
If the argument is not null, then throw an exception.
|
void |
ModelRepaintController.setContainer(NamedObj container)
Specify the container NamedObj, adding this attribute to the
list of attributes in the container.
|
void |
Tableau.setFrame(javax.swing.JFrame frame)
Set the top-level window associated with this tableau.
|
void |
PlotTableau.setFrame(javax.swing.JFrame frame)
Set the top-level window associated with this tableau.
|
void |
ImageTokenEffigy.setImage(ImageToken token)
Specify the image represented by this effigy.
|
void |
TokenEffigy.setTokens(java.util.List tokens)
Set the token array associated with this effigy.
|
java.lang.Object |
CompositeActorSimpleApplication.startRun(CompositeActor model)
If the specified model has a manager and is not already running,
then execute the model in a new thread.
|
Constructor and Description |
---|
AbstractPlaceableActor(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
BrowserEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
BrowserTableau(BrowserEffigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
ColorAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
ColorAttribute(java.lang.String name)
Construct an attribute with the given name.
|
CommunicationAspectMonitor(CompositeEntity container,
java.lang.String name)
Construct a factory with the specified container and name.
|
CommunicationAspectMonitorEditorFactory(NamedObj container,
java.lang.String name)
Constructs a SchedulePlotter$SchedulePlotterEditorFactory object.
|
Configuration(Workspace workspace)
Construct an instance in the specified workspace with an empty
string as a name.
|
ConfigurationEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
Console(PtolemyEffigy container,
java.lang.String name)
Create a new control panel displaying Console
The tableau is itself an entity contained by the effigy
and having the specified name.
|
ConsoleFrame(Tableau tableau)
Construct a frame to display Console.
|
DebugListenerTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
DialogTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
EditorFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
EditorPaneFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
Effigy(CompositeEntity container,
java.lang.String name)
Construct an effigy with the given name and container.
|
EffigyFactory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
ExecutionAspectPlotterEditorFactory(NamedObj container,
java.lang.String name)
Constructs a SchedulePlotter$SchedulePlotterEditorFactory object.
|
ExpressionShellEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given container with the given name.
|
ExpressionShellFrame(ExpressionShellTableau tableau)
Construct a frame to display the ExpressionShell window.
|
ExpressionShellTableau(ExpressionShellEffigy container,
java.lang.String name)
Create a new tableau.
|
ExternalTextEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
ExternalTextTableau(TextEffigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
Factory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name,
java.lang.String style)
Create a factory with the given name and container and syntax style.
|
FactoryWithoutNew(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
FileOrURLEditorFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
HTMLEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
HTMLEffigyFactory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
HTMLViewerTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
ImageTokenEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
InsideEntityEditorPaneFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
JVMFrame(CompositeEntity model,
Tableau tableau)
Construct a frame to display JVM properties.
|
JVMTableau(PtolemyEffigy container,
java.lang.String name)
Create a new control panel displaying the JVM properties
The tableau is itself an entity contained by the effigy
and having the specified name.
|
LevelSkippingTableauFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
LiveLink(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
LocationAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
MatrixTokenTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
MatrixTokenTableau(Effigy container,
java.lang.String name,
TableauFrame frame)
Construct a new tableau for the model represented by the given effigy,
using the specified frame.
|
ModelDirectory(CompositeEntity container,
java.lang.String name)
Construct a model directory with the specified container and name.
|
ModelRepaintController(NamedObj container,
java.lang.String name)
Construct an instance of the ModelRepaintController.
|
PasswordAttribute(CompositeEntity container,
java.lang.String name)
Construct a password attribute with the given container and name.
|
PlotEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
PlotTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
PtolemyEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given container with the given name.
|
PtolemyPreferences(NamedObj container,
java.lang.String name)
Construct an instance of the preferences attribute.
|
PtolemyTableauFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
RunTableau(PtolemyEffigy container,
java.lang.String name)
Create a new run control panel for the model with the given
effigy.
|
ShellFactory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
SizeAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
Tableau(CompositeEntity container,
java.lang.String name)
Construct a tableau with the given name and container.
|
Tableau(Workspace workspace)
Construct a tableau in the specified workspace.
|
TableauFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
TextEditorTableau(TextEffigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
TextEditorTableau(TextEffigy container,
java.lang.String name,
TextEditor editor)
Construct a new tableau for the model represented by the given effigy.
|
TextEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
TokenEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
TokenTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
TokenTableau(Effigy container,
java.lang.String name,
TableauFrame frame)
Construct a new tableau for the model represented by the given effigy,
using the specified frame.
|
TopFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
TransitionEditorPaneFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
WelcomeWindowTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
WindowPropertiesAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
Constructor and Description |
---|
ExecShellEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given container with the given name.
|
ExecShellFrame(ExecShellTableau execShellTableau)
Construct a frame to display the ExecShell window.
|
ExecShellTableau(ExecShellEffigy container,
java.lang.String name)
Create a new tableau.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
ShellFactory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Modifier and Type | Method and Description |
---|---|
protected GUIAction |
ActionGUIProperty._createAction()
Create the action to be used in this property.
|
protected javax.swing.JComponent |
ComboBox._createComponent()
Create a new JComboBox component.
|
protected javax.swing.JComponent |
ComboBox.Item._createComponent()
Create a new Java Swing component.
|
protected abstract javax.swing.JComponent |
GUIProperty._createComponent()
Create a new Java Swing component.
|
protected javax.swing.JComponent |
Panel._createComponent()
Create a new JPanel component.
|
protected javax.swing.JComponent |
Button._createComponent()
Create a new Java Swing component.
|
protected javax.swing.JComponent |
Separator._createComponent()
Create a new JSeparator component.
|
protected javax.swing.JComponent |
ToolBar._createComponent()
Create a new Java Swing component.
|
void |
GUIProperty.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
Button.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
Separator.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
ComboBox.Item.setContainer(NamedObj container)
Specify the container NamedObj, adding this attribute to the
list of attributes in the container.
|
void |
GUIProperty.setContainer(NamedObj container)
Specify the container NamedObj, adding this attribute to the
list of attributes in the container.
|
Constructor and Description |
---|
ActionGUIProperty(NamedObj container,
java.lang.String name)
Construct a GUI property with the given name contained by the specified
entity.
|
Button(NamedObj container,
java.lang.String name)
Construct a GUI property with the given name contained by the specified
entity.
|
ComboBox(NamedObj container,
java.lang.String name)
Construct a GUI property with the given name contained by the specified
entity.
|
ComboBox(NamedObj container,
java.lang.String name,
javax.swing.JComponent component)
Construct a GUI property with the given name contained by the specified
entity with the given Java Swing component.
|
ComboBox(NamedObj container,
java.lang.String name,
javax.swing.JComponent component,
java.lang.Object constraint)
Construct a GUI property with the given name contained by the specified
entity with the given Java Swing component and the given layout
constraint.
|
ComboBox(NamedObj container,
java.lang.String name,
java.lang.Object constraint)
Construct a GUI property with the given name contained by the specified
entity with the given layout
constraint.
|
GUIAction(NamedObj container,
java.lang.String name)
Construct an item with the given name contained by the specified
entity.
|
GUIProperty(NamedObj container,
java.lang.String name)
Construct a GUI property with the given name contained by the specified
entity.
|
GUIProperty(NamedObj container,
java.lang.String name,
javax.swing.JComponent component)
Construct a GUI property with the given name contained by the specified
entity with the given Java Swing component.
|
GUIProperty(NamedObj container,
java.lang.String name,
javax.swing.JComponent component,
java.lang.Object constraint)
Construct a GUI property with the given name contained by the specified
entity with the given Java Swing component and the given layout
constraint.
|
GUIProperty(NamedObj container,
java.lang.String name,
java.lang.Object constraint)
Construct a GUI property with the given name contained by the specified
entity with the given layout
constraint.
|
Item(ComboBox container,
java.lang.String name)
Construct an item with the given name contained by the specified
entity.
|
Panel(NamedObj container,
java.lang.String name)
Construct a GUI property with the given name contained by the specified
entity.
|
Panel(NamedObj container,
java.lang.String name,
javax.swing.JComponent component)
Construct a GUI property with the given name contained by the specified
entity with the given Java Swing component.
|
Panel(NamedObj container,
java.lang.String name,
javax.swing.JComponent component,
java.lang.Object constraint)
Construct a GUI property with the given name contained by the specified
entity with the given Java Swing component and the given layout
constraint.
|
Panel(NamedObj container,
java.lang.String name,
java.lang.Object constraint)
Construct a GUI property with the given name contained by the specified
entity with the given layout
constraint.
|
Separator(NamedObj container,
java.lang.String name)
Construct a GUI property with the given name contained by the specified
entity.
|
Separator(NamedObj container,
java.lang.String name,
javax.swing.JComponent component)
Construct a GUI property with the given name contained by the specified
entity with the given Java Swing component.
|
Separator(NamedObj container,
java.lang.String name,
javax.swing.JComponent component,
java.lang.Object constraint)
Construct a GUI property with the given name contained by the specified
entity with the given Java Swing component and the given layout
constraint.
|
Separator(NamedObj container,
java.lang.String name,
java.lang.Object constraint)
Construct a GUI property with the given name contained by the specified
entity with the given layout
constraint.
|
ToolBar(NamedObj container,
java.lang.String name)
Construct a GUI property with the given name contained by the specified
entity.
|
ToolBar(NamedObj container,
java.lang.String name,
javax.swing.JToolBar component)
Construct a GUI property with the given name contained by the specified
entity with the given Java Swing component.
|
ToolBar(NamedObj container,
java.lang.String name,
javax.swing.JToolBar component,
java.lang.Object constraint)
Construct a GUI property with the given name contained by the specified
entity with the given Java Swing component and the given layout
constraint.
|
ToolBar(NamedObj container,
java.lang.String name,
java.lang.Object constraint)
Construct a GUI property with the given name contained by the specified
entity with the given layout
constraint.
|
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
ShellFactory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
TclShellEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given container with the given name.
|
TclShellFrame(TclShellTableau tclShellTableau)
Construct a frame to display the TclShell window.
|
TclShellTableau(TclShellEffigy container,
java.lang.String name)
Create a new tableau.
|
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
PythonShellEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given container with the given name.
|
PythonShellFrame(PythonShellTableau pythonShellTableau)
Construct a frame to display the PythonShell window.
|
PythonShellTableau(PythonShellEffigy container,
java.lang.String name)
Create a new tableau.
|
ShellFactory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.Component |
CustomizableRunPane._getComponent(java.lang.String name)
Return a component with the specified name.
|
Constructor and Description |
---|
CustomizableRunFrame(CompositeActor model,
InterfaceTableau tableau)
Construct a frame to control the specified Ptolemy II model.
|
CustomizableRunPane(CompositeActor model,
java.lang.String xml)
Construct a panel for interacting with the specified Ptolemy II model.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
InterfaceTableau(PtolemyEffigy container,
java.lang.String name)
Create a new run control panel for the model with the given
effigy.
|
LayoutTableau(PtolemyEffigy container,
java.lang.String name,
CustomizableRunPane pane)
Create a new run control panel for the model with the given
effigy.
|
RunLayoutFrame(CompositeActor model,
Tableau tableau,
CustomizableRunPane pane)
Construct a frame to control the specified Ptolemy II model.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ParameterEditorStyle.addEntry(PtolemyQuery query)
Create a new entry in the given query associated with the
attribute containing this style.
|
void |
FileChooserStyle.addEntry(PtolemyQuery query)
Create a new entry in the given query associated with the
attribute containing this style.
|
void |
EditableChoiceStyle.addEntry(PtolemyQuery query)
Create a new editable
combo box entry in the given query associated with the
attribute containing this style.
|
void |
CheckBoxStyle.addEntry(PtolemyQuery query)
Create a new check box entry in the given query associated with the
parameter containing this style.
|
void |
ChoiceStyle.addEntry(PtolemyQuery query)
Create a new uneditable
combo box entry in the given query associated with the
attribute containing this style.
|
void |
ParameterEditorStyle.setContainer(NamedObj container)
Override the base class to first check that the container is
an instance of Settable.
|
void |
CheckBoxStyle.setContainer(NamedObj container)
Override the base class to check that the container is
an instance of parameter.
|
Constructor and Description |
---|
CheckBoxStyle(Parameter container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
ChoiceStyle(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
EditableChoiceStyle(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
FileChooserStyle(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
HiddenStyle(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
LineStyle(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
NotEditableLineStyle(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
NoteStyle(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
ParameterEditorStyle(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
StyleConfigurer(NamedObj object)
Construct a configurer for the specified object.
|
TextStyle()
Construct an attribute in the default workspace with an empty string
as its name.
|
TextStyle(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
SimpleTableau(PtolemyEffigy container,
java.lang.String name)
Create a new run control panel for the model with the given
effigy.
|
TopFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Assert._addPort(TypedIOPort port)
Override the base class to create an output port corresponding
to each new input port added.
|
protected void |
Clock._catchUp()
Deprecated.
Catch up the tentative view
of what the next output time should be.
|
protected void |
NonStrictTest._checkRangeOfTolerance(Token newValue)
Check that the difference in exponents between the
input and the tolerance is not greater than the precision
of a Double.
|
protected void |
RandomSource._createGenerator()
Create the random number generator using current parameter values.
|
protected void |
Subscriber._createInputPort()
Create an input port.
|
protected void |
SubscriptionAggregator._createInputPort()
Create an input port.
|
protected void |
Lattice._doFilter()
Compute the filter, updating the caches, based on the current
values.
|
protected void |
GradientAdaptiveLattice._doFilter() |
protected void |
Rician._generateRandomNumber()
Generate a new random number.
|
protected abstract void |
RandomSource._generateRandomNumber()
Generate a new random number.
|
protected void |
Uniform._generateRandomNumber()
Generate a new random number.
|
protected void |
Triangular._generateRandomNumber()
Generate a new random number.
|
protected void |
PoissonClock._generateRandomNumber()
Generate a new random number.
|
protected void |
Gaussian._generateRandomNumber()
Generate a new random number.
|
protected void |
Bernoulli._generateRandomNumber()
Generate a new random number.
|
protected void |
DiscreteRandomSource._generateRandomNumber()
Choose one of the tokens in values randomly, using
the pmf parameter to select one.
|
protected Token |
DiscreteClock._getValue(int index)
Get the specified output value, checking the form of the values
parameter.
|
protected Token |
Clock._getValue(int index)
Deprecated.
Get the specified output value, checking the form of the values
parameter.
|
protected static boolean |
NonStrictTest._isCloseToIfNilArrayElement(Token token1,
Token token2,
double epsilon)
Test whether the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected static boolean |
NonStrictTest._isCloseToIfNilRecordElement(Token token1,
Token token2,
double epsilon)
Test whether the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected boolean |
TimeDelay._isTime()
Return true if it is time to produce an output.
|
protected boolean |
Clock._isTimeForOutput()
Deprecated.
Return true if the current time is the right time for an output.
|
protected void |
DiscreteClock._produceIntermediateOutput()
Produce the output required at times between the specified times.
|
protected void |
MovingAverage._reinitialize()
Reinitialize local variables in response to changes in attributes.
|
protected void |
URLReader._setURLReader(java.io.BufferedReader reader)
Set the reader.
|
protected void |
DiscreteClock._skipToNextPhase()
Skip the current firing phase and request a refiring at the
time of the next one.
|
protected void |
Clock._updateStates()
Deprecated.
Update the states and request refiring if necessary.
|
protected void |
TriggeredClock._updateTentativeValues()
Deprecated.
Copy values committed in initialize() or in the last postfire()
into the corresponding tentative variables.
|
protected void |
Clock._updateTentativeValues()
Deprecated.
Copy values committed in initialize() or in the last postfire()
into the corresponding tentative variables.
|
void |
URLReader.attributeChanged(Attribute attribute)
If the specified attribute is URL, then close
the current file (if there is one) and open the new one.
|
void |
ComputeHistogram.attributeChanged(Attribute attribute)
If the parameter is binWidth or binOffset, then
configure the histogram with the specified bin width or offset.
|
void |
URLDirectoryReader.attributeChanged(Attribute attribute)
Deprecated.
If the specified attribute is URL, then close
the current file (if there is one) and open the new one.
|
void |
TimedSource.attributeChanged(Attribute attribute)
If the stopTime parameter is changed and the model is
executing, then if the new value is greater
than zero and greater than the current time, then ask the director
to fire this actor at that time.
|
void |
ConfigurationSwitch.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
RecursiveLattice.attributeChanged(Attribute attribute)
If the argument is the reflectionCoefficients parameter,
then reallocate the arrays to use.
|
void |
RandomSource.attributeChanged(Attribute attribute)
If the attribute is seed or useThisSeed
then create the base random number generator.
|
void |
DiscreteClock.attributeChanged(Attribute attribute)
If the argument is the offsets parameter, check that the
array is nondecreasing and has the right dimension; if the
argument is period, check that it is positive.
|
void |
SequentialClock.attributeChanged(Attribute attribute)
Deprecated.
If the argument is the offsets parameter, check that the
array is nondecreasing and has the right dimension; if the
argument is period, check that it is positive.
|
void |
PoissonClock.attributeChanged(Attribute attribute)
If the argument is the meanTime parameter, check that it is
positive.
|
void |
Clock.attributeChanged(Attribute attribute)
Deprecated.
If the argument is the offsets parameter, check that the
array is nondecreasing and has the right dimension; if the
argument is period, check that it is positive.
|
void |
Pulse.attributeChanged(Attribute attribute)
If the attribute being changed is indexes, then check
that it is increasing and nonnegative.
|
void |
ConfigurationSelect.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
CatchExceptionAttribute.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
LinearDifferenceEquationSystem.attributeChanged(Attribute attribute)
If the argument is A, B, C, D or initialStates
parameters, check that they are indeed matrices and vectors,
and request initialization from the director if there is one.
|
void |
NonStrictTest.attributeChanged(Attribute attribute)
If the attribute being changed is tolerance, then check
that it is increasing and nonnegative.
|
void |
UnaryMathFunction.attributeChanged(Attribute attribute)
Override the base class to determine which function is being
specified.
|
void |
MovingAverage.attributeChanged(Attribute attribute)
Set a flag that causes recalculation of various local variables
that are used in execution on the next invocation of fire().
|
void |
Quantizer.attributeChanged(Attribute attribute)
If the argument is the levels parameter, check that the array
is increasing and has the right dimension.
|
void |
Lattice.attributeChanged(Attribute attribute)
If the argument is the reflectionCoefficients parameter,
then reallocate the arrays to use.
|
void |
Ramp.attributeChanged(Attribute attribute)
If the argument is the init parameter, then reset the
state to the specified value.
|
void |
IIR.attributeChanged(Attribute attribute)
Handle parameter change events on the
numerator and denominator parameters.
|
void |
TimeDelay.attributeChanged(Attribute attribute)
If the attribute is delay, then ensure that the value
is non-negative.
|
void |
Interpolator.attributeChanged(Attribute attribute)
Check the validity of the parameter.
|
void |
LimitedFiringSource.attributeChanged(Attribute attribute)
Override the base class to determine which attribute is being
specified.
|
void |
Expression.attributeChanged(Attribute attribute)
React to a change in the value of an attribute.
|
void |
GradientAdaptiveLattice.attributeChanged(Attribute attribute)
Handle parameter change events on the
order and timeConstant parameters.
|
void |
Reader.attributeChanged(Attribute attribute)
Deprecated.
If the specified attribute is URL, then close
the current file (if there is one) and open the new one.
|
void |
TrigFunction.attributeChanged(Attribute attribute)
Override the base class to determine which function is being
specified.
|
void |
DiscreteRandomSource.attributeChanged(Attribute attribute)
If the specified attribute is pmf, then check that its
entries are all between zero and one, and that they add to one,
and that its dimension is correct.
|
void |
MathFunction.attributeChanged(Attribute attribute)
Deprecated.
Override the base class to determine which function is being
specified.
|
void |
PublisherNonStrictTest.attributeChanged(Attribute attribute)
If the attribute is the channel, increment the workspace version
to force cached receiver lists to be updated, and invalidate
the schedule and resolved types of the director, if there is one.
|
void |
ResettableTimer.declareDelayDependency()
Declare that the output does not immediately depend on the input.
|
void |
MicrostepDelay.declareDelayDependency()
Declare that the output does not depend on the input in a firing.
|
void |
TimeDelay.declareDelayDependency()
Declare that the output does not depend on the input in a firing.
|
void |
RecordUpdater.fire()
Read one token from each input port, assemble them into a
RecordToken that contains the union of the original input record
and each of the update ports.
|
void |
VariableSleep.fire()
Call Thread.sleep() the first time fire is called and then
transfer tokens from inputs to outputs, one token from each
channel.
|
void |
Rician.fire()
Send a random number with a Rician distribution to the output.
|
void |
VariableClock.fire()
Deprecated.
If there is an input on the periodControl port, read it
and set the value of the period parameter.
|
void |
OrderedMerge.fire()
Read one token from the port that did not provide the recorded
token (or inputA, on the first firing), and output the
smaller of the recorded token or the newly read token.
|
void |
Sequence.fire()
If the enable input is connected, then if it has a true
token, produce the next output.
|
void |
ComputeHistogram.fire()
Read at most one input token from each input channel
and update the histogram.
|
void |
Test.fire()
Read one token from each input channel and compare against
the value specified in correctValues.
|
void |
URLDirectoryReader.fire()
Deprecated.
Output the data read in the prefire.
|
void |
Sequencer.fire()
Read a token from the sequenceNumber port and from
the input port, and output the next token(s) in the
sequence, or none if the next token in the sequence has not
yet been seen.
|
void |
ArrayToMatrix.fire()
If there is a token at the input, read the array
from the input port, and construct and send to the
output a matrix containing the values from the array.
|
void |
ResettableTimer.fire()
If an output is scheduled to be produced, then produce it.
|
void |
BusDisassembler.fire() |
void |
PhaseUnwrap.fire()
Consume at most one input token and output a value that
represents the same angle, but differs from the previous output
(or from 0.0, if this is the first output), by less than 2*PI.
|
void |
Sleep.fire()
Read input tokens, call Thread.sleep(), and then
transfer tokens from inputs to outputs, at most one token from each
channel.
|
void |
MicrostepDelay.fire()
Read one token from the input.
|
void |
ConfigurationSwitch.fire()
Read a token from each input port.
|
void |
RecursiveLattice.fire()
Consume one input token, if there is one, and produce one output
token.
|
void |
ArrayPeakSearch.fire()
Consume at most one array from the input port and produce
two arrays containing the indices and values of the identified
peaks.
|
void |
RandomSource.fire()
Generate a new random number if this is the first firing
of the iteration.
|
void |
Uniform.fire()
Send a random number with a uniform distribution to the output.
|
void |
Dictionary.fire()
If there is a writeKey input, then update the dictionary;
specifically, if there is also a value input, then insert into
the dictionary the key-value pair given by these two inputs.
|
void |
DiscreteClock.fire()
Output the current value of the clock if the clock is currently
enabled and, if the trigger input is connected, a trigger has been
received.
|
void |
SequentialClock.fire()
Deprecated.
Output the current value of the clock.
|
void |
Default.fire()
If the preferred input is known and present, then its token is
sent to the output port.
|
void |
ArrayElementAsMatrix.fire()
Consume at most one array from the input port and produce
one of its elements on the output port.
|
void |
Scale.fire()
Compute the product of the input and the factor.
|
void |
CurrentMicrostep.fire()
Send the simulated physical time to the output, which is the
currentTime of the enclosing DE director.
|
void |
SingleEvent.fire()
If the current time matches the value of the time parameter,
then produce an output token with value given by the value
parameter.
|
void |
OrderedRecordAssembler.fire()
Read one token from each input port, assemble them into a RecordToken,
and send the RecordToken to the output.
|
void |
DoubleReader.fire()
Deprecated.
Output the data read in the prefire.
|
void |
CurrentDate.fire()
Send the current time to the output.
|
void |
Triangular.fire()
Send a random number with a triangular distribution to the output.
|
void |
ArraySort.fire()
Consume at most one array from the input port and produce
a sorted array on the output port.
|
void |
DateElements.fire()
Output all elements of a date if input has a date token.
|
void |
ArrayRemoveElement.fire()
If there is an array input, consume it and create a new
array that contains all elements of the input that are not equal
to the value given by the element port-parameter.
|
void |
ModifyDate.fire()
Compute the absolute value of the input.
|
void |
ArrayLength.fire()
Consume at most one array from the input port and produce
its length on the output port.
|
void |
SingleTokenCommutator.fire()
Read at most one token from the current input channel and write that
token to the output channel.
|
void |
PoissonClock.fire()
Output the current value.
|
void |
ThrowException.fire()
Read one token from each input channel that has a token,
and if any token is true, invoke the model error handler.
|
void |
ArrayContains.fire()
If there is an array input, then check to see whether it
contains the element given by the element port-parameter,
and output true or false accordingly.
|
void |
Clock.fire()
Deprecated.
Output the current value of the clock if the time is right
and, if connected, a trigger has been received.
|
void |
DB.fire()
Read a token from the input and convert its value into a
decibel representation.
|
void |
Exec.fire()
Invoke a subprocess, read the input data (if any) and
wait for the subprocess to terminate before sending any output
or error data to the appropriate ports.
|
void |
Select.fire()
Read an input token from the specified input channel and produce
it on the output.
|
void |
RemoveNilTokens.fire()
Read tokens from the input and output all non-nil (non-missing)
tokens.
|
void |
RandomInteger.fire()
Send a random integer to the output.
|
void |
PublisherTest.fire()
Read at most one input token from each
input channel and send it to the subscribers,
if any.
|
void |
SubMatrix.fire()
Consume the input matrix and produce the output matrix.
|
void |
RecordDisassembler.fire()
Read one RecordToken from the input port and send its fields
to the output ports.
|
void |
ArrayToElements.fire()
If there is a token at the input, read the ArrayToken
from the input port, and for each channel i of
the output port, send the i-th element of this
array to this channel.
|
void |
RunningMinimum.fire()
Consume a token at the input port, and produce the greater of that value
and the maintained minimum value to the output port.
|
void |
Synchronizer.fire()
Consume exactly one token from each input channel and output
the tokens on the corresponding output channels.
|
void |
Pulse.fire()
Output a value if the count of iterations matches one of the entries
in the indexes array.
|
void |
ExecutionTime.fire()
Read the input token, consume time, the produce on the
output the actual execution time used.
|
void |
Remainder.fire()
Consume at most one input token and output the remainder after
dividing the input by the divisor.
|
void |
Assert.fire()
Override the base class to check the result of the evaluation
of the expression.
|
void |
MultiplyDivide.fire()
If there is at least one token on the input ports, multiply
tokens from the multiply port, divide by tokens from
the divide port, and send the result to the output
port.
|
void |
BooleanSelect.fire()
Read a token from the control port or from the input designated
by the previously read input from the control port.
|
void |
Differential.fire()
Consume at most one token from the input port and output
its value minus the value of the input read in the previous
iteration.
|
void |
ThrowModelError.fire()
Read one token from each input channel that has a token,
and if any token is true, invoke the model error handler.
|
void |
ConfigurationSelect.fire()
Read a token from each input port.
|
void |
TopLevelCurrentTime.fire()
Deprecated.
Send the model time of the top level to the output.
|
void |
RunningMaximum.fire()
Consume a token at the input port, and produce the greater of that value
and the maintained maximum value to the output port.
|
void |
ArrayAccumulate.fire()
Consume at most one ArrayToken from the input, append it
to the accumulating token, and produce the accumulated result
on the output.
|
void |
UnionDisassembler.fire()
Read one UnionToken from the input port and send its fields
to the output ports.
|
void |
ElementsToArray.fire()
Consume one token from each channel of the input port,
assemble those tokens into an ArrayToken, and send the
result to the output.
|
void |
Counter.fire()
Consume at most one token from each input and update the
counter appropriately.
|
void |
Discard.fire()
Read one token from each input channel and discard it.
|
void |
RecordAssembler.fire()
Read one token from each input port, assemble them into a RecordToken,
and send the RecordToken to the output.
|
void |
LinearDifferenceEquationSystem.fire()
Consume the input token, compute the system response, and
produce outputs.
|
void |
GetCausalityInterface.fire()
Read the causality interface from the container and produce a
description of it as an output.
|
void |
ArrayMaximum.fire()
Consume at most one array from the input port and produce
the maximum of its elements on the output port and the index
of that element on the index port.
|
void |
LookupTable.fire()
Consume at most one token from the input port and produce
the element at the index specified by this token from the
table array on the output port.
|
void |
Minimum.fire()
Read at most one token from each input channel and send the one
with the least value to the output.
|
void |
Commutator.fire()
Read blockSize tokens from each input channel and send them
to the output port.
|
void |
NonStrictTest.fire()
Call super.fire() and set _firedOnce to true.
|
void |
ArraySum.fire()
Consume at most one array from the input port and produce
the average of its elements on the output port.
|
void |
UnaryMathFunction.fire()
Consume at most one input token from each input channel, and
compute the specified math function of the input.
|
void |
Maximum.fire()
Read at most one token from each input channel and broadcast the one
with the largest value to the maximumValueoutput.
|
void |
MaxIndex.fire()
Deprecated.
Read at most one token from each channel of the input port
and produce the channel number of the largest one.
|
void |
MovingAverage.fire()
Consume the inputs and produce the output.
|
void |
SetVariable.fire()
Read at most one token from the input port and issue a change
request to update variables as indicated by the input.
|
void |
UnionMerge.fire()
Read all available tokens from each input port, wrap each of them into
a UnionToken of which the label matches the name of the originating
input port.
|
void |
CurrentTime.fire()
Send the current time to the output.
|
void |
ArrayExtract.fire()
Consume one array from the input port and send a subarray to
the output port, padding the subarray with zeros if necessary.
|
void |
MovingMaximum.fire()
Deprecated.
Consume a token at the input port, and produce the greater of that value
and the maintained maximum value to the output port.
|
void |
Source.fire()
Read at most one input token from each channel of the trigger
input and discard it.
|
void |
Multiplexor.fire()
Read a token from the select port and from each channel
of the input port, and output a token on the selected
channel.
|
void |
Limiter.fire()
Compute the output and send it to the output port.
|
void |
Accumulator.fire()
Consume at most one token from each channel of the input
port, add it to the running sum, and produce the result at the
output port.
|
void |
BooleanMultiplexor.fire()
Read all inputs that are known, and if the select input
is true, then output the token consumed from the
trueInput port, otherwise output the token from the
falseInput port.
|
void |
Quantizer.fire()
Output the quantization of the input.
|
void |
VectorDisassembler.fire()
If there is a token at the input, read one column or row vector
(i.e. a DoubleMatrixToken with one column or row) from the
input port, and for each channel i of the output port,
send send the ith element of this column or row vector to this
channel.
|
void |
Const.fire()
Send the token in the value parameter to the output.
|
void |
LevinsonDurbin.fire()
Consume the autocorrelation input, and calculate the predictor
coefficients, reflection coefficients, and prediction error power.
|
void |
Subscriber.fire()
Read at most one input token from each input
channel and send it to the output.
|
void |
Lattice.fire()
Consume one input token, if there is one, and produce one output
token.
|
void |
Sampler.fire()
Generate an output if the current time is one of the sampling
times.
|
void |
Ramp.fire()
Send the current value of the state of this actor to the output.
|
void |
IIR.fire()
If at least one input token is available, consume a single
input token, apply the filter to that input token, and
compute a single output token.
|
void |
WallClockTime.fire()
Output the elapsed time in seconds since the invocation
of the initialize() method.
|
void |
Gaussian.fire()
Send a random number with a Gaussian distribution to the output.
|
void |
TimeDelay.fire()
Send out a token that is scheduled
to be produced at the current time, if any.
|
void |
Interpolator.fire()
Output the value at the current iteration count.
|
void |
VectorAssembler.fire()
Read one token from each channel of the input port,
assemble those tokens into a DoubleMatrixToken, and send the
result to the output.
|
void |
ArrayElement.fire()
Consume at most one array from the input port and produce
one of its elements on the output port.
|
void |
ArrayAverage.fire()
Consume at most one array from the input port and produce
the average of its elements on the output port.
|
void |
SubscriptionAggregator.fire()
Read at most one input token from each input
channel, aggregate them, and send the result to the output.
|
void |
Expression.fire()
Evaluate the expression and send its result to the output.
|
void |
ArrayUpdate.fire()
Consume one array from the input port and send a subarray to
the output port, padding the subarray with zeros if necessary.
|
void |
Bernoulli.fire()
Send a random boolean to the output.
|
void |
Switch.fire()
Read a control token, if there is one, and transfer an input
token, if there is one, to the output channel specified by
the most recent control token, if it is in range.
|
void |
Reader.fire()
Deprecated.
Output the data read in the prefire.
|
void |
AbsoluteValue.fire()
Compute the absolute value of the input.
|
void |
AddSubtract.fire()
If there is at least one token on the input ports, add
tokens from the plus port, subtract tokens from the
minus port, and send the result to the
output port.
|
void |
Publisher.fire()
Read at most one input token from each
input channel and send it to the subscribers,
if any.
|
void |
TrigFunction.fire()
Compute the specified trigonometric function of the input.
|
void |
ClassWrapper.fire()
Read at most one token from each input port.
|
void |
Average.fire()
Consume at most one token from the input
and compute the average of the input tokens so far.
|
void |
Distributor.fire()
Read at most N tokens from the input port, where N
is the width of the output port times the blockSize parameter.
|
void |
ArrayLevelCrossing.fire()
Consume at most one array from the input ports and produce
the index of the first bin that breaks the threshold.
|
void |
MatrixToArray.fire()
If there is a token at the input, read the array
from the input port, and construct and send to the
output a matrix containing the values from the array.
|
void |
DiscreteRandomSource.fire()
Output the token selected in the prefire() method.
|
void |
ArrayMinimum.fire()
Consume at most one array from the input port and produce
the minimum of its elements on the output port and the index
of that element on the index port.
|
void |
ArrayAppend.fire()
Consume at most one ArrayToken from each channel of the input port
and produce a single ArrayToken on the output
port that contains all of the tokens contained in all of the
arrays read from the input.
|
void |
MathFunction.fire()
Deprecated.
Consume at most one input token from each input channel, and
compute the specified math function of the input.
|
void |
PublisherNonStrictTest.fire()
Read at most one input token from each
input channel and send it to the subscribers,
if any.
|
void |
BooleanSwitch.fire()
Read a token from each input port.
|
void |
DateConstructor.fire()
Construct a date token with all tokens present.
|
void |
BusAssembler.fire()
Iterate through input ports and transfer data sequentially from
input channels to output channels, maintaining input to output
channel mapping.
|
void |
Exit.fire()
Consume and discard at most one token from each input channel.
|
Attribute |
SetVariable.getModifiedVariable()
Return the (presumably Settable) attribute modified by this
actor.
|
java.util.List |
SetVariable.getModifiedVariables()
Return a list of variables that this entity modifies.
|
boolean |
CatchExceptionAttribute.handleException(NamedObj context,
java.lang.Throwable exception)
Handle an exception according to the specified policy:
continue: Not implemented yet
Consume the exception and return control to the director.
|
boolean |
ExceptionManager.handleException(NamedObj context,
java.lang.Throwable exception)
Handle an exception according to the specified policy:
continue: Not implemented yet
Consume the exception and return control to the director.
|
boolean |
TestExceptionAttribute.handleException(NamedObj context,
java.lang.Throwable exception)
Handle an exception thrown in a test.
|
boolean |
TestExceptionHandler.handleException(NamedObj context,
java.lang.Throwable exception)
Deprecated.
Handle an exception thrown in a test.
|
void |
ExceptionManager.hierarchyChanged()
Notify this object that the containment hierarchy above it has
changed.
|
void |
ExceptionManager.hierarchyWillChange()
Notify this object that the containment hierarchy above it will be
changed.
|
void |
OrderedMerge.initialize()
Initialize this actor to indicate that no token is recorded.
|
void |
URLReader.initialize()
Open the file at the URL, and set the width of the output.
|
void |
Sequence.initialize()
Initialize the actor by resetting to the first output value.
|
void |
URLDirectoryReader.initialize()
Deprecated.
Open the file at the URL, and set the width of the output.
|
void |
Sequencer.initialize()
Reset current sequence number to the value given by the
startingSequenceNumber parameter.
|
void |
ResettableTimer.initialize()
Initialize the internal states of this actor.
|
void |
TimedSource.initialize()
Initialize the actor.
|
void |
PhaseUnwrap.initialize()
Reset the state of the actor to assume the most recently seen
phase is zero.
|
void |
Sleep.initialize()
Reset the flag that fire() checks so that fire() only sleeps once.
|
void |
TriggeredClock.initialize()
Deprecated.
Override the base class to start not being enabled.
|
void |
MicrostepDelay.initialize()
Initialize the states of this actor.
|
void |
RecursiveLattice.initialize()
Initialize the state of the filter.
|
void |
RandomSource.initialize()
Initialize the random number generator with the seed, if it
has been given.
|
void |
Dictionary.initialize()
Clear the dictionary.
|
void |
DiscreteClock.initialize()
Override the base class to initialize the index.
|
void |
Recorder.initialize()
Initialize the lists used to record input data.
|
void |
SequentialClock.initialize()
Deprecated.
Schedule the first firing and initialize local variables.
|
void |
SingleEvent.initialize()
Request firing at the time given by the time parameter.
|
void |
DoubleReader.initialize()
Deprecated.
Open the file at the URL, and set the width of the output.
|
void |
SingleTokenCommutator.initialize()
Begin execution by setting the current input channel to zero.
|
void |
PoissonClock.initialize()
Request the first firing either at the start time
or at a random time, depending on fireAtStart.
|
void |
Clock.initialize()
Deprecated.
Schedule the first firing and initialize local variables.
|
void |
Select.initialize()
Initialize this actor so that channel zero of input is read
from until a token arrives on the control input.
|
void |
RunningMinimum.initialize()
Initialize the maintained minimum value to be null so it will be set
with the first input at the input port.
|
void |
Pulse.initialize()
Set the iteration count to zero.
|
void |
BooleanSelect.initialize()
Initialize this actor so that the falseInput is read
from until a token arrives on the control input.
|
void |
Differential.initialize()
Reset to indicate that no input has yet been seen.
|
void |
RunningMaximum.initialize()
Initialize the maintained maximum value to be null so it will be set
with the first input at the input port.
|
void |
CatchExceptionAttribute.initialize()
Find all of the ExceptionSubscribers in the model.
|
void |
ArrayAccumulate.initialize()
Initialize this actor to have an empty accumulating array.
|
void |
ExceptionManager.initialize()
Find all of the ExceptionSubscribers in the model and save in a list.
|
void |
Counter.initialize()
Reset the count of inputs to zero.
|
void |
TestExceptionAttribute.initialize()
Initialize.
|
void |
Commutator.initialize()
Begin execution by setting the current input channel to zero.
|
void |
NonStrictTest.initialize()
Override the base class to set the iteration counter to zero.
|
void |
MovingAverage.initialize()
Perform domain-specific initialization by calling the
initialize(Actor) method of the director.
|
void |
DelayStart.initialize()
Sleep until the specified time.
|
void |
MovingMaximum.initialize()
Deprecated.
Initialize the maintained maximum value to be null so it will be set
with the first input at the input port.
|
void |
Multiplexor.initialize()
Initialize to the default, which is to use channel zero.
|
void |
Accumulator.initialize()
Reset the running sum to equal the value of init.
|
void |
BooleanMultiplexor.initialize()
Initialize this actor to the state where no select
input has been read.
|
void |
Lattice.initialize()
Initialize the state of the filter.
|
void |
TypeTest.initialize()
Initialize this actor.
|
void |
Ramp.initialize()
Set the state to equal the value of the init parameter.
|
void |
IIR.initialize()
Initialize the filter state vector with zero state.
|
void |
TimeDelay.initialize()
Initialize the states of this actor.
|
void |
Interpolator.initialize()
Set the iteration count to zero.
|
void |
LimitedFiringSource.initialize()
Initialize the iteration counter.
|
void |
Expression.initialize()
Initialize the iteration count to 1.
|
void |
GradientAdaptiveLattice.initialize()
Initialize the state of the filter.
|
void |
Switch.initialize()
Initialize this actor so that channel zero of input is read
from until a token arrives on the control input.
|
void |
Reader.initialize()
Deprecated.
Open the file at the URL, and set the width of the output.
|
void |
Average.initialize()
Reset the count of inputs.
|
void |
Distributor.initialize()
Begin execution by setting the current output channel to zero.
|
void |
PublisherNonStrictTest.initialize()
Override the base class to set the iteration counter to zero.
|
void |
BooleanSwitch.initialize()
Initialize this actor so that the falseOutput is written
to until a token arrives on the control input.
|
void |
TestExceptionHandler.initialize()
Deprecated.
Initialize.
|
int |
DB.iterate(int count)
Invoke a specified number of iterations of this actor.
|
int |
Ramp.iterate(int count)
Invoke a specified number of iterations of this actor.
|
int |
TrigFunction.iterate(int count)
Invoke a specified number of iterations of this actor.
|
int |
MathFunction.iterate(int count)
Deprecated.
Invoke a specified number of iterations of this actor.
|
boolean |
VariableSleep.postfire()
Reset the flag that fire() checks so that fire() only sleeps once.
|
boolean |
OrderedMerge.postfire()
Commit the recorded token.
|
boolean |
Writer.postfire()
Deprecated.
Read at most one token from each input channel and write its
string value.
|
boolean |
Sequence.postfire()
Update the state of the actor by moving to the next value
in the values array.
|
boolean |
URLDirectoryReader.postfire()
Deprecated.
Update the iteration counter until it exceeds the number of
elements in the directory.
|
boolean |
Sequencer.postfire()
If the fire() method produced the input token then check to
whether any pending tokens have subsequent sequence numbers.
|
boolean |
ResettableTimer.postfire()
Read the input (if any) and schedule a future output.
|
boolean |
TimedSource.postfire()
Return false if the current time is greater than or equal to
the stopTime parameter value.
|
boolean |
PhaseUnwrap.postfire()
Record the final value of the most recent value of the input,
for use in the next phase.
|
boolean |
Sleep.postfire()
Reset the flag that fire() checks so that fire() only sleeps once.
|
boolean |
MicrostepDelay.postfire()
Read the input, if there is one, and request refiring.
|
boolean |
RecursiveLattice.postfire()
Update the backward and forward prediction errors that
were generated in fire() method.
|
boolean |
RandomSource.postfire()
Calculate the next random number.
|
boolean |
DiscreteClock.postfire()
Update the time and index of the next expected output.
|
boolean |
Recorder.postfire()
Read at most one token from each input channel and record its value.
|
boolean |
SequentialClock.postfire()
Deprecated.
Update the state of the actor and schedule the next firing,
if appropriate.
|
boolean |
SingleTokenCommutator.postfire()
Update the input position to equal that determined by the most
recent invocation of the fire() method.
|
boolean |
PoissonClock.postfire()
Generate an exponential random number and schedule the next firing.
|
boolean |
ThrowException.postfire()
Read one token from each input channel that has a token,
and if any token is true, throw an exception.
|
boolean |
Clock.postfire()
Deprecated.
Update the state of the actor and schedule the next firing,
if appropriate.
|
boolean |
RunningMinimum.postfire()
Commit the minimum value observed since the start of execution to the
minimum field to be compared with later inputs.
|
boolean |
Pulse.postfire()
Update the iteration counters until they exceed the values
in the indexes array.
|
boolean |
BooleanSelect.postfire()
Return true, unless stop() has been called, in which case,
return false.
|
boolean |
Differential.postfire()
Record the most recent input as the latest input.
|
boolean |
ThrowModelError.postfire()
Read one token from each input channel that has a token,
and if any token is true, invoke the model error handler.
|
boolean |
FileWriter.postfire()
Read at most one token from each input channel and write its
string value.
|
boolean |
RunningMaximum.postfire()
Commit the maximum value observed since the start of execution to the
maximum field to be compared with later inputs.
|
boolean |
ArrayAccumulate.postfire()
Record the accumulating array and return true.
|
boolean |
Counter.postfire()
Record the most recent output count as the actual count.
|
boolean |
LinearDifferenceEquationSystem.postfire()
Update the internal state.
|
boolean |
Commutator.postfire()
Update the input position to equal that determined by the most
recent invocation of the fire() method.
|
boolean |
NonStrictTest.postfire()
Read one token from each input channel and compare against
the value specified in correctValues.
|
boolean |
Stop.postfire()
Read one token from each input channel that has a token,
and if any token is true, call finish() on the manager.
|
boolean |
SetVariable.postfire()
Read at most one token from the input port and issue a change
request to update variables as indicated by the input.
|
boolean |
MovingMaximum.postfire()
Deprecated.
Commit the maximum value observed since the start of execution to the
maximum field to be compared with later inputs.
|
boolean |
Accumulator.postfire()
Record the most recent input as part of the running average.
|
boolean |
Lattice.postfire()
Update the backward and forward prediction errors that
were generated in fire() method.
|
boolean |
Ramp.postfire()
Update the state of the actor by adding the value of the
step parameter to the state.
|
boolean |
IIR.postfire()
Update the filter state.
|
boolean |
TimeDelay.postfire()
Read the input, if there is one, and request refiring.
|
boolean |
Interpolator.postfire()
Update the iteration counter, then call the super class method.
|
boolean |
LimitedFiringSource.postfire()
Increment the iteration counter, and if it equals the
value of the firingCountLimit parameter, return false.
|
boolean |
Expression.postfire()
Increment the iteration count.
|
boolean |
GradientAdaptiveLattice.postfire()
Update the filter state.
|
boolean |
Average.postfire()
Record the most recent input as part of the running average.
|
boolean |
Distributor.postfire()
Update the output position to equal that determined by the most
recent invocation of the fire() method.
|
boolean |
Pause.postfire()
Read one token from each input channel that has a token,
and if any token is true, call pause() on the manager.
|
boolean |
PublisherNonStrictTest.postfire()
Read one token from each input channel and compare against
the value specified in correctValues.
|
boolean |
RecordUpdater.prefire()
Return true if all input ports have tokens, false if some input
ports do not have a token.
|
boolean |
VariableSleep.prefire()
Reset the flag that fire() checks so that fire() only sleeps once.
|
boolean |
ComputeHistogram.prefire()
Return false if the input does not have enough tokens to fire.
|
boolean |
URLDirectoryReader.prefire()
Deprecated.
Read one row from the input and prepare for output them.
|
boolean |
Sequencer.prefire()
Return false if either the input port or the
sequenceNumber port lacks an input token.
|
boolean |
TimedSource.prefire()
Return false if the current time is greater than or equal to
the stopTime parameter value.
|
boolean |
RecursiveLattice.prefire()
Check to see if this actor is ready to fire.
|
boolean |
DiscreteClock.prefire()
Return true if current time has not exceeded the
stopTime.
|
boolean |
SequentialClock.prefire()
Deprecated.
Set the current value.
|
boolean |
DoubleReader.prefire()
Deprecated.
Read one row from the input and prepare for output them.
|
boolean |
PoissonClock.prefire()
If the current time matches the expected time for the next
output, then return true.
|
boolean |
Clock.prefire()
Deprecated.
Check that the length of the values and
offsets parameters are the same.
|
boolean |
Select.prefire()
Read a control token, if there is one, and check to see
whether an input is available on the input channel specified by
the most recent control token, if it is in range.
|
boolean |
RunningMinimum.prefire()
Return true if the prefire() method of the superclass returns true, and
there is at least one token at the input port.
|
boolean |
Synchronizer.prefire()
If all of the input channels have at least one token, return
what the superclass returns (presumably true).
|
boolean |
Pulse.prefire()
Start an iteration.
|
boolean |
BooleanSelect.prefire()
If the mode is to read a control token, then return true
if the control input has a token.
|
boolean |
ConfigurationSelect.prefire()
Return false if there are not available tokens on the input
port chosen by the current value of the selector.
|
boolean |
RunningMaximum.prefire()
Return true if the prefire() method of the superclass returns true, and
there is at least one token at the input port.
|
boolean |
ElementsToArray.prefire()
Return true if all channels of the input port have
tokens, false if any channel does not have a token.
|
boolean |
RecordAssembler.prefire()
Return true if all connected input ports have tokens, false if some
connected input ports do not have a token.
|
boolean |
LinearDifferenceEquationSystem.prefire()
If the parameter initialStates has changed, then update
the internal state of this actor to be the value of the
initialStates parameter.
|
boolean |
Commutator.prefire()
Return false if the current input position does not have an
input token.
|
boolean |
MovingAverage.prefire()
Return false if the input does not have a token.
|
boolean |
MovingMaximum.prefire()
Deprecated.
Return true if the prefire() method of the superclass returns true, and
there is at least one token at the input port.
|
boolean |
Source.prefire()
If the trigger input is connected and it has no input or an unknown
state, then return false.
|
boolean |
LevinsonDurbin.prefire()
If there is no token on the autocorrelation input, return
false.
|
boolean |
Lattice.prefire()
Check to see if this actor is ready to fire.
|
boolean |
IIR.prefire()
Return false if the input does not have a token.
|
boolean |
VectorAssembler.prefire()
Return true if all channels of the input port have
tokens, false if any channel does not have a token.
|
boolean |
Expression.prefire()
Prefire this actor.
|
boolean |
Reader.prefire()
Deprecated.
Read one row from the input and prepare for output them.
|
void |
ResettableTimer.preinitialize()
Override the base class to declare that the output
does not depend on the input in a firing.
|
void |
BusDisassembler.preinitialize() |
void |
Default.preinitialize()
Override the base class to declare that the output
does not depend on the alternate in a firing.
|
void |
CatchExceptionAttribute.preinitialize()
Register this attribute with the manager.
|
void |
ExceptionManager.preinitialize()
Register this attribute with the manager.
|
void |
LinearDifferenceEquationSystem.preinitialize()
Check the dimension of all parameters.
|
void |
SetVariable.preinitialize()
If there is no variable with the specified name, then create one.
|
void |
Expression.preinitialize()
Preinitialize this actor.
|
void |
Publisher.preinitialize()
Override the base class to ensure that links to subscribers
have been updated.
|
void |
ClassWrapper.preinitialize()
Get the Class object of the specified class.
|
void |
PublisherNonStrictTest.preinitialize()
Override the base class to ensure that links to subscribers
have been updated.
|
void |
BusAssembler.preinitialize()
Makes sure that there is only one relation connected to the
output port and recalculates its width.
|
Time |
SynchronizeToRealTime.proposeTime(Time proposedTime)
Propose a time to advance to.
|
void |
ExceptionManager.setContainer(NamedObj container)
Override the base class to register as an
Initializable
so that preinitialize() is invoked, and as a
HierarchyListener , so that we are notified of
changes in the hierarchy above. |
void |
Assert.AssertPort.setName(java.lang.String name) |
void |
Reader.setReader(java.io.BufferedReader reader)
Deprecated.
Set the reader.
|
void |
Writer.setWriter(java.io.Writer writer)
Deprecated.
Set the writer.
|
void |
URLReader.wrapup()
Close the reader if there is one.
|
void |
Writer.wrapup()
Deprecated.
Flush the writer, if there is one.
|
void |
TimedSource.wrapup()
Override the base class to reset a flag that indicates that the
model is executing.
|
void |
Dictionary.wrapup()
If a file has been specified and updateFile is true, then
save the current state of the dictionary in the file.
|
void |
ArrayRemoveElement.wrapup()
Clear port parameter value.
|
void |
PoissonClock.wrapup()
Override the base class to reset a flag that indicates that the
model is executing.
|
void |
Clock.wrapup()
Deprecated.
Override the base class to indicate that the actor has not
been initialized.
|
void |
Exec.wrapup()
Terminate the subprocess.
|
void |
FileWriter.wrapup()
Close the file, if there is one.
|
void |
ExceptionManager.wrapup()
Invoke wrapup() on registered initializables.
|
void |
TestExceptionAttribute.wrapup()
Call the super.wrapup() method.
|
void |
NonStrictTest.wrapup()
If trainingMode is true, then take the collected
training tokens and store them as an array in correctValues.
|
void |
Reader.wrapup()
Deprecated.
Close the reader if there is one.
|
void |
PublisherNonStrictTest.wrapup()
If trainingMode is true, then take the collected
training tokens and store them as an array in correctValues.
|
void |
TestExceptionHandler.wrapup()
Deprecated.
Call the super.wrapup() method.
|
void |
Exit.wrapup()
Exit the Java process by calling System.exit() after all the
wrapup() methods have been called.
|
Constructor and Description |
---|
AbsoluteValue(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Accumulator(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
AddSubtract(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
ArrayAccumulate(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayAppend(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayAverage(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayContains(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayElement(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayElementAsMatrix(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayExtract(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayLength(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayLevelCrossing(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayMaximum(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayMinimum(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayPeakSearch(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayRemoveElement(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArraySort(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArraySum(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayToElements(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayToMatrix(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayUpdate(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Assert(CompositeEntity container,
java.lang.String name)
Construct an instance of Assert.
|
AssertPort(Assert container,
java.lang.String name)
Construct a port for this actor.
|
Average(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Bernoulli(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
BooleanMultiplexor(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
BooleanSelect(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
BooleanSwitch(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
BusAssembler(CompositeEntity container,
java.lang.String name)
Construct a BusAssembler with the given container and name.
|
BusDisassembler(CompositeEntity container,
java.lang.String name)
Construct a BusDisassembler with the given container and name.
|
CatchExceptionAttribute(CompositeEntity container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
ClassWrapper(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Clock(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the specified container and name.
|
Commutator(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
ComputeHistogram(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ConfigurationSelect(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
ConfigurationSwitch(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Const(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
Counter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
CurrentDate(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
CurrentMicrostep(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
CurrentTime(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DateConstructor(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DateElements(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DB(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Default(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
DelayStart(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Dictionary(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Differential(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Discard(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport.
|
DiscreteClock(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
DiscreteRandomSource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Distributor(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
DoubleReader(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
ElementsToArray(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ExceptionManager(NamedObj container,
java.lang.String name)
Create a model attribute with the specified container and name.
|
ExceptionManagerModel(CompositeEntity container,
java.lang.String name)
Create a new ExceptionManagerModel with the specified name and container.
|
ExceptionManagerModel(ExceptionManager exceptionManager,
Workspace workspace)
Create a new ExceptionManagerModel with the specified workspace and the
specified ExceptionManager.
|
Exec(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ExecutionTime(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Exit(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport.
|
Expression(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FileWriter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Gaussian(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
GetCausalityInterface(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
GradientAdaptiveLattice(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
IIR(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Interpolator(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
Lattice(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LevinsonDurbin(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
LimitedFiringSource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Limiter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LinearDifferenceEquationSystem(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LookupTable(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MathFunction(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
MatrixToArray(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Maximum(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MaxIndex(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor in the specified container with the specified
name.
|
MicrostepDelay(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
Minimum(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ModifyDate(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MovingAverage(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MovingMaximum(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the specified container and name.
|
Multiplexor(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
MultiplyDivide(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
NonStrictTest(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport.
|
OrderedMerge(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
OrderedRecordAssembler(CompositeEntity container,
java.lang.String name)
Construct an OrderedRecordAssembler with the given container and name.
|
Pause(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
PhaseUnwrap(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
PoissonClock(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
Publisher(CompositeEntity container,
java.lang.String name)
Construct a publisher with the specified container and name.
|
PublisherNonStrictTest(CompositeEntity container,
java.lang.String name)
Construct a publisher with the specified container and name.
|
PublisherTest(CompositeEntity container,
java.lang.String name)
Construct a publisher with the specified container and name.
|
Pulse(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
Quantizer(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Ramp(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
RandomInteger(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
RandomSource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Reader(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
RecordAssembler(CompositeEntity container,
java.lang.String name)
Construct a RecordAssembler with the given container and name.
|
RecordDisassembler(CompositeEntity container,
java.lang.String name)
Construct a RecordDisassembler with the given container and name.
|
Recorder(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport that can accept any
Token.
|
RecordUpdater(CompositeEntity container,
java.lang.String name)
Construct a RecordUpdater with the given container and name.
|
RecursiveLattice(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Remainder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
RemoveNilTokens(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ResettableTimer(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
Rician(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
RunningMaximum(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
RunningMinimum(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
Sampler(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Scale(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Select(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Sequence(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Sequencer(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
SequenceSource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SequentialClock(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the specified container and name.
|
SetVariable(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SingleEvent(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
SingleTokenCommutator(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Sink(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport.
|
Sleep(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Source(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Stop(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
StringConst(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
SubMatrix(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Subscriber(CompositeEntity container,
java.lang.String name)
Construct a subscriber with the specified container and name.
|
SubscriptionAggregator(CompositeEntity container,
java.lang.String name)
Construct a subscriber with the specified container and name.
|
Switch(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Synchronizer(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
SynchronizeToRealTime(CompositeEntity container,
java.lang.String name)
Construct an instance of the attribute.
|
Test(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport.
|
TestExceptionAttribute(CompositeEntity container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
TestExceptionHandler(CompositeEntity container,
java.lang.String name)
Deprecated.
Create a new actor in the specified container with the specified
name.
|
ThrowException(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
ThrowModelError(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
TimeDelay(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
TimedSource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TopLevelCurrentTime(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
Transformer(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Triangular(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TrigFunction(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TriggeredClock(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the specified container and name.
|
TypeTest(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport.
|
UnaryMathFunction(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Uniform(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
UnionDisassembler(CompositeEntity container,
java.lang.String name)
Construct a UnionDisassembler with the given container and name.
|
UnionMerge(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
URLDirectoryReader(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
URLReader(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
VariableClock(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the specified container and name.
|
VariableSleep(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
VectorAssembler(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
VectorDisassembler(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
WallClockTime(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Writer(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ColtRandomSource._createGenerator()
Create the random number generator using current parameter values.
|
protected void |
ColtChiSquare._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtNormal._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtVonMises._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtStudentT._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtGamma._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtBinomial._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtBeta._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtExponentialPower._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtBinomialSelector._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtPoissonSlow._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtLogarithmic._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtPoisson._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtBreitWigner._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtZeta._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtExponential._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtNegativeBinomial._generateRandomNumber()
Generate a new random number.
|
protected void |
ColtHyperGeometric._generateRandomNumber()
Generate a new random number.
|
void |
ColtRandomSource.attributeChanged(Attribute attribute)
If the attribute is generatorClass
then create the base random number generator.
|
void |
ColtChiSquare.fire()
Send a random number with a ChiSquare distribution to the output.
|
void |
ColtNormal.fire()
Send a random number with a Normal distribution to the output.
|
void |
ColtVonMises.fire()
Send a random number with a VonMises distribution to the output.
|
void |
ColtStudentT.fire()
Send a random number with a StudentT distribution to the output.
|
void |
ColtGamma.fire()
Send a random number with a Gamma distribution to the output.
|
void |
ColtBinomial.fire()
Send a random number with a Binomial distribution to the output.
|
void |
ColtBeta.fire()
Send a random number with a Beta distribution to the output.
|
void |
ColtExponentialPower.fire()
Send a random number with a ExponentialPower distribution to the output.
|
void |
ColtBinomialSelector.fire()
Send the trial distributions to the output.
|
void |
ColtPoissonSlow.fire()
Send a random number with a PoissonSlow distribution to the output.
|
void |
ColtLogarithmic.fire()
Send a random number with a Logarithmic distribution to the output.
|
void |
ColtPoisson.fire()
Send a random number with a Poisson distribution to the output.
|
void |
ColtBreitWigner.fire()
Send a random number with a BreitWigner distribution to the output.
|
void |
ColtZeta.fire()
Send a random number with a Zeta distribution to the output.
|
void |
ColtExponential.fire()
Send a random number with a Exponential distribution to the output.
|
void |
ColtNegativeBinomial.fire()
Send a random number with a NegativeBinomial distribution to the output.
|
void |
ColtHyperGeometric.fire()
Send a random number with a HyperGeometric distribution to the output.
|
Constructor and Description |
---|
ColtBeta(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtBinomial(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtBinomialSelector(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtBreitWigner(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtChiSquare(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtExponential(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtExponentialPower(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtGamma(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtHyperGeometric(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtLogarithmic(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtNegativeBinomial(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtNormal(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtPoisson(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtPoissonSlow(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtRandomSource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtStudentT(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtVonMises(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ColtZeta(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
ViterbiDecoder.attributeChanged(Attribute attribute)
If the attribute being changed is softDecoding or
trellisDecoding, set input port and constellation
type to be complex if trellisDecoding is true; else
if softDecoding is true, set them to double type;
otherwise set the input port to type boolean.
|
void |
ConvolutionalCoder.attributeChanged(Attribute attribute)
If the attribute being changed is uncodedRate,
then verify that it is a positive integer; if it is
polynomialArray, then verify that each of its elements is
a positive integer and find the maximum value among them, which
is used to compute the highest order among all polynomials.
|
void |
HammingCoder.attributeChanged(Attribute attribute)
If the attribute being changed is uncodedRate or
uncodedRate, then verify that it is a positive integer.
|
void |
DeScrambler.attributeChanged(Attribute attribute)
If the attribute being changed is polynomial, then
verify that is a positive integer and the lower-order bit is 1.
|
void |
Scrambler.attributeChanged(Attribute attribute)
If the attribute being changed is polynomial, then
verify that is a positive integer and the lower-order bit is 1.
|
void |
HadamardCode.attributeChanged(Attribute attribute)
If the attribute being changed is log2Length, then
calculate the new Hadamard sequence; if it is index,
then verify that is non-negative and check if it is different
from the previous value.
|
void |
HammingDecoder.attributeChanged(Attribute attribute)
If the attribute being changed is uncodedRate or
uncodedRate, then verify that it is a positive integer.
|
void |
HuffmanBasic.attributeChanged(Attribute attribute)
If the attribute being changed is pmf, then verify
all the elements are positive and their sum is 1.0.
|
void |
ViterbiDecoder.fire()
Read n inputs and produce k outputs, where n
is the number of integers in polynomialArray and k
is the value of the uncodedRate parameter.
|
void |
ConvolutionalCoder.fire()
Read uncodedRate bits from the input port and shift
them into the shift register.
|
void |
HammingCoder.fire()
If the attributes has changed, check the validity of
uncodedRate and codedRate.
|
void |
HuffmanCoder.fire()
Generate the Huffman codebook for the given pmf, and
encode the input into booleans and send them to the output port.
|
void |
DeScrambler.fire()
Read bit from the input port and fill it into the shift register
to descramble.
|
void |
Scrambler.fire()
Read a bit from the input port and shift it into the shift register
to scramble.
|
void |
LempelZivCoder.fire()
Encode the input into Lempel-Ziv code while generating the
code book.
|
void |
Slicer.fire()
Consume the inputs and produce the corresponding symbol.
|
void |
HuffmanDecoder.fire()
Generate the Huffman codebook for the given pmf, and
encode the input into booleans and send them to the output port.
|
void |
LempelZivDecoder.fire()
Decode the Lempel-Ziv code while generating the decode book.
|
void |
HadamardCode.fire()
Read from the associated index port if there is any input.
|
void |
HammingDecoder.fire()
If the attributes has changed, check the validity of
uncodedRate and codedRate.
|
void |
HuffmanBasic.fire()
Generate the Huffman codebook for the given pmf, and
encode the input into booleans and send them to the output port.
|
void |
ViterbiDecoder.initialize()
Initialize the actor.
|
void |
ConvolutionalCoder.initialize()
Initialize the actor by resetting the shift register state
equal to the value of initialState.
|
void |
DeScrambler.initialize()
Initialize the actor by resetting the shift register state
equal to the value of initialState.
|
void |
Scrambler.initialize()
Initialize the actor by resetting the shift register state
equal to the value of initialState.
|
void |
LempelZivCoder.initialize()
Initialize the actor by creating the code book containing
only one empty string "".
|
void |
HuffmanDecoder.initialize()
Initialize the actor. set the current input string to be empty.
|
void |
LempelZivDecoder.initialize()
initialize the actor by creating a decode book that only
contains one empty string "".
|
void |
HadamardCode.initialize()
Initialize the actor by resetting the index counter to begin
at the beginning of the Hadamard sequence.
|
void |
HuffmanBasic.initialize()
Initialize the actor by resetting the _parametersInvalid to true.
|
boolean |
ViterbiDecoder.postfire()
Record the datum in buffers into their temporary versions.
|
boolean |
ConvolutionalCoder.postfire()
Record the most recent shift register state as the new
state for the next iteration.
|
boolean |
DeScrambler.postfire()
Record the most recent shift register state as the new
initial state for the next iteration.
|
boolean |
Scrambler.postfire()
Record the most recent shift register state as the new
initial state for the next iteration.
|
boolean |
HadamardCode.postfire() |
void |
Slicer.preinitialize()
Set up the production constant.
|
Constructor and Description |
---|
ConvolutionalCoder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DeScrambler(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
HadamardCode(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
HammingCoder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
HammingDecoder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
HuffmanBasic(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
HuffmanCoder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
HuffmanDecoder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LempelZivCoder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LempelZivDecoder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Scrambler(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Slicer(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TrellisDecoder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ViterbiDecoder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
FixToFix.attributeChanged(Attribute attribute)
Override the base class to set locally cached variables.
|
void |
DoubleToFix.attributeChanged(Attribute attribute)
Override the base class to set locally cached variables.
|
void |
Round.attributeChanged(Attribute attribute)
Override the base class to determine which function is being
specified.
|
void |
BooleanToAnything.fire()
Read exactly one token from the input and output the token
given by either the falseValue or trueValue
parameter.
|
void |
ComplexToCartesian.fire()
Consume a complex token from the input port and output a new double
token on each of the two output ports (the real and imaginary parts
of the input complex token).
|
void |
LongToDate.fire()
Consume one StringToken on the input port and output a new
DoubleToken.
|
void |
ComplexToPolar.fire()
Consume one complex token on the input port and output a new double
token on each of the two output ports (magnitude and angle).
|
void |
FixToFix.fire()
Read at most one token from the input and convert it to a fixed-point
value with the precision given by the precision parameter,
overflow strategy given by the overflow parameter,
and rounding strategy given by the rounding parameter.
|
void |
PolarToComplex.fire()
Consume a double token from each input port (magnitude and angle)
and output a new complex token on the output port.
|
void |
StringToInt.fire()
Consume one StringToken and generate an IntToken.
|
void |
DoubleToFix.fire()
Read at most one token from the input and output the converted
fixed-point value with the precision given by the
precision parameter, overflow strategy given by the
overflow parameter, and rounding strategy given by the
rounding parameter.
|
void |
StringToBoolean.fire()
Consume one token, get the string value and convert it to a
BooleanToken.
|
void |
CartesianToComplex.fire()
Consume exactly one token from each input port and output the
converted complex token on the output port.
|
void |
StringToDouble.fire()
Consume one StringToken on the input port and output a new
DoubleToken.
|
void |
ExpressionToToken.fire()
Output a token that results from evaluating the expression given
by the input string token.
|
void |
CartesianToPolar.fire()
Consume one double token from each of the two input ports (x and y),
and output one new double token on each of the two output ports
(magnitude and angle).
|
void |
PolarToCartesian.fire()
Consume a double token from each of the two input ports (magnitude
and angle) and output a double token on each of the two output ports
(x and y).
|
void |
UnsignedByteArrayToString.fire()
Consume one array token of integer tokens on the input port
and output a new string token on the output port.
|
void |
Round.fire()
This computes the specified rounded value of the input.
|
void |
IntArrayToString.fire()
Consume one array token of integer tokens on the input port
and output a new string token on the output port.
|
void |
DateToString.fire()
Consume one StringToken on the input port and output a new
Datetoken.
|
void |
StringToXML.fire()
Output the XMLToken constructed from the input string.
|
void |
StringToDate.fire()
Consume one StringToken on the input port and output a new
Datetoken.
|
void |
InUnitsOf.fire()
Convert the input to the units specified by the units
parameter.
|
void |
StringToUnsignedByteArray.fire()
Consume one string token on the input port and output a new array
token of integer tokens on the output port.
|
void |
FixToDouble.fire()
Read one FixToken from the input and output the converted
DoubleToken to the output port.
|
void |
TokenToExpression.fire()
Output a string token whose value is an expression representing
the value of the input token.
|
void |
StringToIntArray.fire()
Consume one string token on the input port and output a new array
token of integer tokens on the output port.
|
void |
AnythingToDouble.fire()
Deprecated.
Read exactly one token from the input and output the token
if it is double or a NaN token.
|
void |
LongToDouble.fire()
Read exactly one token from the input and output the converted
value.
|
void |
SmoothToDouble.fire()
Read exactly one token from the input and output the token
the double value of the token if the token is a SmoothToken.
|
void |
ImageToString.fire() |
int |
Round.iterate(int count)
Invoke a specified number of iterations of this actor.
|
boolean |
BooleanToAnything.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
ComplexToCartesian.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
LongToDate.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
ComplexToPolar.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
FixToFix.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
PolarToComplex.prefire()
Return false if either of the input ports has no token, otherwise
return what the superclass returns (presumably true).
|
boolean |
StringToInt.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
DoubleToFix.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
StringToBoolean.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
CartesianToComplex.prefire()
Return false if either of the input ports has no token, otherwise
return what the superclass returns (presumably true).
|
boolean |
StringToDouble.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
ExpressionToToken.prefire()
Return true if and only if an input is present.
|
boolean |
CartesianToPolar.prefire()
Return false if either of the input ports has no token, otherwise
return what the superclass returns (presumably true).
|
boolean |
PolarToCartesian.prefire()
Return false if either of the input ports has no token, otherwise
return what the superclass returns (presumably true).
|
boolean |
UnsignedByteArrayToString.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
Round.prefire()
Return false if there is no available input token, and otherwise
return whatever the superclass returns (presumably true).
|
boolean |
IntArrayToString.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
DateToString.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
StringToXML.prefire()
Return true if there is token at the input input.
|
boolean |
StringToDate.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
InUnitsOf.prefire()
Return false if the input port has no token, otherwise
return what the superclass returns (presumably true).
|
boolean |
StringToUnsignedByteArray.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
FixToDouble.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
StringToIntArray.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
AnythingToDouble.prefire()
Deprecated.
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
LongToDouble.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
SmoothToDouble.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
ImageToString.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
Constructor and Description |
---|
AnythingToDouble(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
BooleanToAnything(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
CartesianToComplex(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
CartesianToPolar(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ComplexToCartesian(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ComplexToPolar(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Converter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DateToString(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DoubleToFix(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ExpressionToToken(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FixToDouble(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FixToFix(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ImageToString(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
IntArrayToString(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
InUnitsOf(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LongToDate(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LongToDouble(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
PolarToCartesian(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
PolarToComplex(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Round(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SmoothToDouble(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringToBoolean(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringToDate(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringToDouble(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringToInt(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringToIntArray(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringToUnsignedByteArray(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringToXML(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TokenToExpression(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
UnsignedByteArrayToString(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
TokenToJSON.constructJSON(Token input)
Construct a string that represents the argument in JSON format.
|
void |
JSONToToken.fire()
Read a JSON-formatted String of name/value pairs from the input
and produce a corresponding array or record on the output.
|
void |
TokenToJSON.fire()
Read a Token from the input and produce a corresponding JSON-formatted
string on the output.
|
static Token |
JSONToToken.parseJSON(java.lang.String input)
Parse the input string and return a token representation of the data.
|
boolean |
JSONToToken.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
TokenToJSON.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
Constructor and Description |
---|
JSONToToken(CompositeEntity container,
java.lang.String name)
Construct a JSONToToken actor with the given container and name.
|
TokenToJSON(CompositeEntity container,
java.lang.String name)
Construct a TokenToJSON actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
Gem5Wrapper.attributeChanged(Attribute attribute)
If the argument is the init parameter, then reset the
state to the specified value.
|
void |
Gem5Wrapper.fire()
Send the current value of the state of this actor to the output.
|
void |
Gem5Wrapper.initialize()
Set the state to equal the value of the init parameter.
|
boolean |
Gem5Wrapper.postfire()
Update the state of the actor by adding the value of the
step parameter to the state.
|
Constructor and Description |
---|
Gem5Wrapper(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
Display._getInputString(int i)
Return a string describing the input on channel i.
|
protected java.lang.String |
TimedDisplay._getInputString(int i)
Return a string describing the model time of the containing director
a colon and the input on channel i.
|
protected Token |
TimedMonitorValue._getInputToken(int i)
Return a token from the named input channel.
|
protected Token |
MonitorValue._getInputToken(int i)
Return a token from the named input channel.
|
protected void |
Display._openWindow()
Open the display window if it has not been opened.
|
protected void |
PlotterBase._propagateValue(NamedObj destination)
Propagate the value of this object to the
specified object.
|
void |
PlotterBase.attributeChanged(Attribute attribute)
If the attribute is legend, then parse the string
and set the legend.
|
void |
ArrayPlotter.attributeChanged(Attribute attribute)
Notification that an attribute has changed.
|
void |
Plotter.attributeChanged(Attribute attribute)
If the attribute is startingDataset, then check its validity.
|
void |
SequencePlotter.attributeChanged(Attribute attribute)
Notification that an attribute has changed.
|
void |
SequenceScope.attributeChanged(Attribute attribute)
Notify this that an attribute has changed.
|
void |
XYScope.attributeChanged(Attribute attribute)
Notify this that an attribute has changed.
|
void |
SketchedSource.attributeChanged(Attribute attribute)
If the specified attribute is length,
then set the trace to its initial value.
|
void |
SliderSource.attributeChanged(Attribute attribute)
If the specified attribute is minimum or maximum,
then set the range of the slider.
|
void |
Display.attributeChanged(Attribute attribute)
If the specified attribute is rowsDisplayed, then set
the desired number of rows of the textArea, if there is one.
|
void |
TimedScope.attributeChanged(Attribute attribute)
Notify this that an attribute has changed.
|
void |
MatrixViewer.attributeChanged(Attribute attribute)
Notification that an attribute has changed.
|
void |
HistogramPlotter.attributeChanged(Attribute attribute)
If the parameter is binWidth or binOffset, then
configure the histogram with the specified bin width or offset.
|
void |
ArrowKeySensor.fire()
Broadcast the integer value 1 for each key pressed and 0 for
each released.
|
void |
SketchedSource.fire()
Produce one data sample from the sketched signal on the output
port.
|
void |
SliderSource.fire()
Output the value of the slider recorded when prefire() is last called.
|
void |
InteractiveDialog.fire()
Read and display any input, then if a new command is available,
display it and produce it on the output.
|
void |
ArrowKeyProbe.fire()
Broadcast the integer value 1 for each key pressed and 0 for
each released.
|
void |
InteractiveShell.fire()
Read and display the input, then
wait for user input and produce the user data on the output.
|
void |
ConstPlaceable.fire()
Send the token in the value parameter to the output.
|
void |
EventButton.fire()
Fire the actor.
|
void |
DisplayInterface.init(Display display)
Set the number of rows for the text area.
|
void |
DisplayJavaSE.init(Display displayActor)
Set the number of rows for the text area.
|
void |
TextFieldContainerInterface.init(Sink sink)
Initiate .
|
void |
TextFieldContainerJavaSE.init(Sink sink)
Initiate.
|
void |
ArrayPlotter.initialize()
If the plot has not already been created, create it.
|
void |
RealTimePlotter.initialize()
Record the start time.
|
void |
Plotter.initialize()
If the plot has not already been created, create it.
|
void |
TimedPlotter.initialize()
Initialize this actor.
|
void |
ArrowKeySensor.initialize()
Create the JFrame window capable of detecting the key-presses.
|
void |
SequencePlotter.initialize()
Reset the x axis counter, and call the base class.
|
void |
ArrayPlotterXY.initialize()
If the plot has not already been created, create it.
|
void |
SequenceScope.initialize()
Initialize this actor.
|
void |
BarGraph.initialize()
If the plot has not already been created, create it.
|
void |
XYScope.initialize()
Configure the plotter using the current parameter values.
|
void |
SketchedSource.initialize()
Override the base class to read data from the plot and to
produce all the data on the output.
|
void |
SliderSource.initialize()
Create a slider on the screen, if necessary.
|
void |
MonitorValue.initialize()
Initialize the actor by clearing the display.
|
void |
Display.initialize()
Initialize this display.
|
void |
InteractiveDialog.initialize()
If the shell has not already been created, create it.
|
void |
TimedScope.initialize()
Initialize this actor.
|
void |
InteractiveShell.initialize()
If the shell has not already been created, create it.
|
void |
MatrixViewer.initialize()
Initialize this matrix viewer.
|
void |
HistogramPlotter.initialize()
If the histogram has not already been created, create it using
place().
|
void |
EventButton.initialize()
Mark that the model is now executing.
|
void |
PlotterBaseJavaSE.initializeEffigy()
Initialize the effigy of the plotter.
|
void |
PlotterBaseInterface.initializeEffigy()
Initialize the effigy of the plotter.
|
void |
PlotterBaseJavaSE.initWindowAndSizeProperties()
Initialize the effigy of the plotter.
|
void |
PlotterBaseInterface.initWindowAndSizeProperties()
Initialize window and size attributes.
|
void |
DisplayInterface.openWindow()
Open the display window if it has not been opened.
|
void |
DisplayJavaSE.openWindow()
Open the display window if it has not been opened.
|
boolean |
ArrayPlotter.postfire()
Read at most one token from each input channel and plot it as
a function of the iteration number, scaled by xUnit.
|
boolean |
RealTimePlotter.postfire()
Read at most one input from each channel and plot it as a
function of time.
|
boolean |
TimedPlotter.postfire()
Read at most one input from each channel and plot it as a
function of time.
|
boolean |
SequencePlotter.postfire()
Read at most one token from each input channel and plot it as
a function of the iteration number, scaled by xUnit.
|
boolean |
ArrayPlotterXY.postfire()
Read at most one token from each input channel on x and
y inputs, and if there is a token on both, plot the data
as an XY plot.
|
boolean |
SequenceScope.postfire()
Call the base class postfire() method, then yield this
thread so that the event thread gets a chance.
|
boolean |
XYScope.postfire()
Call the base class postfire() method, then yield this
thread so that the event thread gets a chance.
|
boolean |
MonitorValue.postfire()
Read at most one token from the input and record its value.
|
boolean |
Display.postfire()
Read at most one token from each input channel and display its
string value on the screen.
|
boolean |
TimedScope.postfire()
Call the base class postfire() method, then yield this
thread so that the event thread gets a chance.
|
boolean |
XYPlotter.postfire()
Read at most one token from each channel of each input port
and plot it.
|
boolean |
InteractiveShell.postfire()
Override the base class to return false if the user has typed
"quit" or "exit".
|
boolean |
MatrixViewer.postfire()
Consume a matrix token from the input port
and display the token in a table.
|
boolean |
HistogramPlotter.postfire()
Read at most one input token from each input channel
and update the histogram.
|
boolean |
TimedPlotter.prefire()
Pre-fire this actor.
|
boolean |
SliderSource.prefire()
Record the current value of the slider.
|
void |
PlotterBase.preinitialize()
Clear the plot, if there is one.
|
void |
SketchedSource.preinitialize()
Override the base class to not clear the plot.
|
void |
DisplayInterface.setColumns(int numberOfColumns)
Set the desired number of columns of the textArea, if there is one.
|
void |
DisplayJavaSE.setColumns(int numberOfColumns)
Set the desired number of columns of the textArea, if there is one.
|
void |
PlotterBase.setContainer(CompositeEntity container)
Override the base class to remove the plot from its graphical
container if the argument is null.
|
void |
SliderSource.setContainer(CompositeEntity container)
Override the base class to remove the display from its graphical
container if the argument is null.
|
void |
Display.setContainer(CompositeEntity container)
Override the base class to remove the display from its graphical
container if the argument is null.
|
void |
InteractiveDialog.setContainer(CompositeEntity container)
Override the base class to remove the shell from its graphical
container if the argument is null.
|
void |
InteractiveShell.setContainer(CompositeEntity container)
Override the base class to remove the shell from its graphical
container if the argument is null.
|
void |
MatrixViewer.setContainer(CompositeEntity container)
Override the base class to remove the display from its graphical
container if the argument is null.
|
void |
PlotterBase.setName(java.lang.String name)
Set or change the name.
|
void |
Display.setName(java.lang.String name)
Set or change the name.
|
void |
InteractiveDialog.setName(java.lang.String name)
Set or change the name.
|
void |
InteractiveShell.setName(java.lang.String name)
Set or change the name.
|
void |
MatrixViewer.setName(java.lang.String name)
Set or change the name.
|
void |
DisplayInterface.setRows(int numberOfRows)
Set the desired number of rows of the textArea, if there is one.
|
void |
DisplayJavaSE.setRows(int numberOfRows)
Set the desired number of rows of the textArea, if there is one.
|
void |
DisplayInterface.setTitle(java.lang.String stringValue)
Set the title of the window.
|
void |
DisplayJavaSE.setTitle(java.lang.String stringValue)
Set the title of the window.
|
void |
PlotterBase.wrapup()
If the fillOnWrapup parameter is true, rescale the
plot so that all the data is visible.
|
void |
ArrayPlotter.wrapup()
Update the plot with the most recently read data.
|
void |
ArrowKeySensor.wrapup()
Dispose of the JFrame, causing the window to vanish.
|
void |
ArrayPlotterXY.wrapup()
Update the plot with the most recently read data.
|
void |
InteractiveShell.wrapup()
Override the base class to make the shell uneditable.
|
void |
EventButton.wrapup()
Mark that the model is no longer executing.
|
Constructor and Description |
---|
ArrayPlotter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrayPlotterXY(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ArrowKeyProbe(CompositeEntity container,
java.lang.String name)
Create an actor that detects user presses on the arrow key.
|
ArrowKeySensor(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
BarGraph(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ConstPlaceable(CompositeEntity container,
java.lang.String name)
Construct a constant source with the given container and name.
|
DialogFrame(InteractiveDialog.DialogTableau tableau)
Construct a frame to display the ExpressionShell window.
|
DialogTableau(ExpressionShellEffigy container,
java.lang.String name)
Construct a new tableau for the model represented by the
given effigy.
|
Display(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport of type GENERAL.
|
EventButton(CompositeEntity container,
java.lang.String name)
Construct an actor.
|
ExceptionManagerGUIFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
HistogramPlotter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
InteractiveDialog(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
InteractiveShell(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MatrixViewer(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MonitorValue(CompositeEntity container,
java.lang.String name)
Construct an actor.
|
Plotter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
PlotterBase(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
PlotWindowTableau(PlotEffigy container,
java.lang.String name)
Construct a new tableau for the model represented by the
given effigy.
|
RealTimePlotter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SequencePlotter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SequenceScope(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ShellFrame(ExpressionShellTableau tableau)
Construct a frame to display the ExpressionShell window.
|
ShellTableau(ExpressionShellEffigy container,
java.lang.String name)
Construct a new tableau for the model represented by the
given effigy.
|
SketchedSource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SliderSource(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport of type GENERAL.
|
TimedDisplay(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport of type GENERAL that
displays the model time and the value of the input.
|
TimedMonitorValue(CompositeEntity container,
java.lang.String name)
Construct an actor.
|
TimedPlotter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TimedScope(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
XYPlotter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
XYScope(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ReflectComposite._addEntity(ComponentEntity entity)
Override the base class to queue a change request to remove
any previously contained entity and its mirrored ports, and
to mirror the ports of the added entity.
|
protected void |
Case._addEntity(ComponentEntity entity)
Override the base class to ensure that the default refinement remains
last.
|
protected void |
ReflectComposite._addPort(Port port)
Add a port to this actor.
|
protected void |
ReflectComposite.ReflectCompositeContents._addPort(Port port)
Add a port to this actor.
|
protected void |
MirrorComposite._addPort(Port port)
Add a port to this actor.
|
protected void |
MirrorComposite.MirrorCompositeContents._addPort(Port port)
Add a port to this actor.
|
protected void |
Refinement._checkContainer(Entity container)
Override the base class to ensure that the proposed container
is a MultiCompositeActor or null.
|
protected void |
MultiCompositePort._checkContainer(Entity container)
Override the base class to ensure that the proposed container
is a MultiCompositeActor or null.
|
protected CaseDirector |
Case._createDirector()
Create a director.
|
protected int |
LifeCycleManager._executeInsideModel()
Run a complete execution of the contained model.
|
protected int |
ExecuteActor._executeInsideModel()
Run a complete execution of the model provided on the actor port.
|
protected void |
LifeCycleManager._fireInsideModel()
Invoke the fire() method of its local director.
|
protected void |
RunCompositeActor._init()
Set the class name and create the parameters.
|
protected void |
LifeCycleManager._readInputs()
Iterate over input ports and read any available values into
the referenced model parameters.
|
protected void |
ModelReference._readInputsAndValidateSettables()
Iterate over input ports and read any available values into
the referenced model parameters and validate settable
attributes.
|
protected void |
LifeCycleManager._writeOutputs()
Iterate over output ports and read any available values from
the referenced model parameters and produce them on the outputs.
|
void |
RealTimeComposite.attributeChanged(Attribute attribute)
Deprecated.
React to a change in an attribute.
|
void |
ThreadedComposite.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
ApplyFilterOverArray.attributeChanged(Attribute attribute)
Override the base class to open the model specified if the
attribute is modelFileOrURL, or for other parameters, to cache
their values.
|
void |
ModelReference.attributeChanged(Attribute attribute)
Override the base class to open the model specified if the
attribute is modelFileOrURL, or for other parameters, to cache
their values.
|
Token |
IterateOverArray.IteratePort.convert(Token token)
Override the base class to convert the token to the element
type rather than to the type of the port, unless the port
is of type GENERAL, in which case, no conversion is necessary.
|
static RecordToken |
ModelUtilities.executeModel(CompositeActor model,
RecordToken args,
java.lang.String[] resultLabels)
This method takes model argument which is type of CompositeActor.
|
static RecordToken |
ModelUtilities.executeModel(java.net.URL url,
RecordToken args,
java.lang.String[] resultLabels)
This method takes a url specifying the model to be execute.
|
void |
ApplyFilterOverArray.fire()
Execute the filter model on each input array element until it gets
as many elements as specified by the maxOutputLength parameter.
|
void |
CatchUpComposite.fire()
Fire any piggybacked actors and then delegate the firing to the director.
|
void |
Case.fire()
Override the base class to not read inputs, since this has been
done in prefire().
|
void |
RunCompositeActor.fire()
Run a complete execution of the contained model.
|
void |
ApplyFunctionOverSequence.fire()
Deprecated.
Consume the inputs, apply the function, and produce the result.
|
void |
CaseDirector.fire()
Fire the current refinement.
|
void |
MobileFunction.fire()
Deprecated.
If the function is not specified, then perform identity function;
otherwise, apply the specified function to its input and output
the result.
|
void |
ModelReference.fire()
Run a complete execution of the referenced model.
|
void |
MobileModel.fire()
Save the model here if there is a new model to apply. and then call
super.fire().
|
void |
ExecuteCompositeActor.fire()
Run a complete execution of the contained model.
|
void |
ApplyFunction.fire()
If the function is not specified, then perform identity function;
otherwise, apply the specified function to its input and output
the result.
|
Time |
CaseDirector.fireAt(Actor actor,
Time time,
int microstep)
Schedule a firing of the given actor at the given time.
|
boolean |
RealTimeComposite.fireContainedActors()
Deprecated.
Invoke iterations on the contained actor of the
container of this director repeatedly until either it runs out
of input data or prefire() returns false.
|
void |
RunCompositeActor.initialize()
Initialize this actor, which in this case, does nothing.
|
void |
MobileFunction.initialize()
Deprecated.
Initialize this actor.
|
void |
ModelReference.initialize()
Reset the state.
|
void |
ExecuteCompositeActor.initialize()
Initialize this actor, which in this case, does nothing.
|
boolean |
ThreadedComposite.iterateContainedActors()
Iterate the contained actors of the
container of this director.
|
void |
RefinementPort.link(Relation relation)
Set the connected relation to a bus if this port is a multiport.
|
static void |
MultiCompositeActor.mirrorContainerPortsInRefinement(Refinement refinement,
java.util.Set<Port> portsToMirror)
Mirror a set of container ports in the refinement.
|
int |
MultiCompositePort.moveDown()
Move this object down by one in the list of attributes of
its container.
|
int |
RefinementPort.moveDown()
Move this object down by one in the list of attributes of
its container.
|
int |
MultiCompositePort.moveToFirst()
Move this object to the first position in the list
of attributes of the container.
|
int |
RefinementPort.moveToFirst()
Move this object to the first position in the list
of attributes of the container.
|
int |
MultiCompositePort.moveToIndex(int index)
Move this object to the specified position in the list
of attributes of the container.
|
int |
RefinementPort.moveToIndex(int index)
Move this object to the specified position in the list
of attributes of the container.
|
int |
MultiCompositePort.moveToLast()
Move this object to the last position in the list
of attributes of the container.
|
int |
RefinementPort.moveToLast()
Move this object to the last position in the list
of attributes of the container.
|
int |
MultiCompositePort.moveUp()
Move this object up by one in the list of
attributes of the container.
|
int |
RefinementPort.moveUp()
Move this object up by one in the list of
attributes of the container.
|
Refinement |
Case.newRefinement(java.lang.String name)
Create a new refinement with the specified name.
|
boolean |
ApplyFilterOverArray.postfire()
Remove this class from the manager's list of execution listeners.
|
boolean |
RunCompositeActor.postfire()
Return true, indicating that execution can continue.
|
boolean |
CaseDirector.postfire()
Invoke the postfire() method of the current local director.
|
boolean |
ModelReference.postfire()
Override the base class to perform requested postfire actions.
|
boolean |
MobileModel.postfire()
Update the model here to achieve consistency.
|
boolean |
ExecuteCompositeActor.postfire()
Return true, indicating that execution can continue.
|
boolean |
RunCompositeActor.prefire()
Return true, indicating that this actor is always ready to fire.
|
boolean |
ApplyFunctionOverSequence.prefire()
Deprecated.
Return true if the input ports have enough tokens.
|
boolean |
CaseDirector.prefire()
Read the control token input, transfer input tokens,
and invoke prefire() of the selected refinement.
|
boolean |
MobileFunction.prefire()
Deprecated.
Return true if the actor either of its input port has token.
|
boolean |
MobileModel.prefire()
Return true if the actor either of its input port has token.
|
boolean |
ApplyFunction.prefire()
Return true if the actor either of its input port has token.
|
void |
RunCompositeActor.preinitialize()
Override the base class to set type constraints between the
output ports and parameters of this actor whose name matches
the output port.
|
void |
MultiInstanceComposite.preinitialize()
Call the base class to perform standard preinitialize(), and, if
this is the master copy, proceed to create
MultiInstanceComposite.nInstances -1
additional copies, and link them to the same input/output ports
this master is connected to. |
void |
ApplyFunctionOverSequence.preinitialize()
Deprecated.
Preinitialize the actor.
|
void |
ExecuteActor.preinitialize()
Override the base class to not set type constraints between the
output ports and parameters of the actor.
|
void |
MobileModel.preinitialize()
preinitialize this actor. create the director as specified
by the director parameter.
|
void |
ExecuteCompositeActor.preinitialize()
Override the base class to set type constraints between the
output ports and parameters of this actor whose name matches
the output port.
|
void |
IterateOverArray.IteratePort.sendInside(int channelIndex,
Token token)
Override the base class to convert the token to the element
type rather than to the type of the port.
|
void |
MultiCompositePort.setContainer(Entity container)
Override the base class so that if the port is being removed
from the current container, then it is also removed from the
controller and from each of the refinements.
|
void |
MirrorPort.setContainer(Entity container)
Override the base class so that if the container is being
set to null, then the associated port is also deleted
(via a change request).
|
void |
RefinementPort.setContainer(Entity container)
Override the base class so that if the port is being removed
from the current container, then it is also removed from the
controller and from each of the refinements.
|
void |
MultiCompositePort.setInput(boolean isInput)
If the argument is true, make the port an input port.
|
void |
MirrorPort.setInput(boolean isInput)
Override the base class to also set the associated port,
if there is one.
|
void |
RefinementPort.setInput(boolean isInput)
If the argument is true, make the port an input port.
|
void |
MultiCompositePort.setMultiport(boolean isMultiport)
If the argument is true, make the port a multiport.
|
void |
MirrorPort.setMultiport(boolean isMultiport)
Override the base class to also set the associated port,
if there is one.
|
void |
RefinementPort.setMultiport(boolean isMultiport)
If the argument is true, make the port a multiport.
|
void |
MultiCompositePort.setName(java.lang.String name)
Set the name of the port, and mirror the change in all the
mirror ports.
|
void |
MirrorPort.setName(java.lang.String name)
Override the base class to also set the associated port,
if there is one.
|
void |
RefinementPort.setName(java.lang.String name)
Set the name of the port, and mirror the change in all the
mirror ports.
|
void |
MultiCompositePort.setOutput(boolean isOutput)
If the argument is true, make the port an output port.
|
void |
MirrorPort.setOutput(boolean isOutput)
Override the base class to also set the associated port,
if there is one.
|
void |
RefinementPort.setOutput(boolean isOutput)
If the argument is true, make the port an output port.
|
java.util.Set<Inequality> |
IterateOverArray.typeConstraints()
Override the base class to ensure that the input ports of this
actor all have array types.
|
void |
ApplyFilterOverArray.wrapup()
Report an exception if it occurred in a background run.
|
void |
RunCompositeActor.wrapup()
Override the base class to do nothing.
|
void |
ModelReference.wrapup()
Report an exception if it occurred in a background run.
|
void |
MobileModel.wrapup()
Clean up tha changes that have been made.
|
void |
ExecuteCompositeActor.wrapup()
Override the base class to do nothing.
|
Constructor and Description |
---|
ApplyFilterOverArray(CompositeEntity container,
java.lang.String name)
Construct a ApplyFilterOverArray with a name and a container.
|
ApplyFunction(CompositeEntity container,
java.lang.String name)
Construct a ApplyFunction with a name and a container.
|
ApplyFunction(Workspace workspace)
Construct a ApplyFunction in the specified workspace with
no container and an empty string as a name.
|
ApplyFunctionOverSequence(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
Case(CompositeEntity container,
java.lang.String name)
Construct
a modal model with a name and a container.
|
Case(Workspace workspace)
Construct a Case in the specified workspace with no container and
an empty string as a name.
|
CaseDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
CatchUpComposite(CompositeEntity container,
java.lang.String name)
Create an actor with a name and a container.
|
CatchUpComposite(Workspace workspace)
Construct a CatchUpComposite in the specified workspace with
no container and an empty string as a name.
|
Contents(CompositeEntity container,
java.lang.String name) |
ExecuteActor(CompositeEntity container,
java.lang.String name)
Construct a RunCompositeActor with a name and a container.
|
ExecuteCompositeActor()
Construct an actor in the default workspace with no
container and an empty string as its name.
|
ExecuteCompositeActor(CompositeEntity container,
java.lang.String name)
Construct a ExecuteCompositeActor with a name and a container.
|
ExecuteCompositeActor(Workspace workspace)
Construct a ExecuteCompositeActor in the specified workspace with
no container and an empty string as a name.
|
IterateComposite(CompositeEntity container,
java.lang.String name)
Construct an actor with a name and a container.
|
IterateOverArray(CompositeEntity container,
java.lang.String name)
Create an actor with a name and a container.
|
IterateOverArray(Workspace workspace)
Construct an IterateOverArray in the specified workspace with
no container and an empty string as a name.
|
IteratePort(TypedCompositeActor container,
java.lang.String name)
Create a new instance of a port for IterateOverArray.
|
IteratePort(Workspace workspace)
Construct a port in the specified workspace with an empty
string as a name.
|
LifeCycleManager(CompositeEntity container,
java.lang.String name)
Construct a LifeCycleManager with a name and a container.
|
MirrorComposite(CompositeEntity container,
java.lang.String name)
Create an actor with a name and a container.
|
MirrorComposite(CompositeEntity container,
java.lang.String name,
boolean mirrorParameterPorts)
Create an actor with a name and a container that optionally
mirrors the ports that are instances of ParameterPort.
|
MirrorCompositeContents(CompositeEntity container,
java.lang.String name)
Construct an actor with a name and a container.
|
MirrorPort(ComponentEntity container,
java.lang.String name)
Create a new instance of a port.
|
MirrorPort(Workspace workspace)
Construct a port in the specified workspace with an empty
string as a name.
|
MobileFunction(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct a MobileFunction with a name and a container.
|
MobileFunction(Workspace workspace)
Deprecated.
Construct a MobileFunction in the specified workspace with
no container and an empty string as a name.
|
MobileModel(CompositeEntity container,
java.lang.String name)
Construct an actor with a name and a container.
|
MobileModel(Workspace workspace)
Construct an actor in the specified workspace with
no container and an empty string as a name.
|
ModelReference(CompositeEntity container,
java.lang.String name)
Construct a ModelReference with a name and a container.
|
MultiCompositeActor(CompositeEntity container,
java.lang.String name)
Construct a composite actor with a name and a container.
|
MultiCompositeActor(Workspace workspace)
Construct a composite actor in the specified workspace with
no container and an empty string as a name.
|
MultiCompositePort(ComponentEntity container,
java.lang.String name)
Construct a port with a containing actor and a name
that is neither an input nor an output.
|
MultiCompositePort(Workspace workspace)
Construct a port in the given workspace.
|
MultiInstanceComposite(CompositeEntity container,
java.lang.String name)
Construct a MultiInstanceComposite actor with the given container
and name.
|
RealTimeComposite(CompositeEntity container,
java.lang.String name)
Deprecated.
Create an actor with a name and a container.
|
Refinement(CompositeEntity container,
java.lang.String name)
Construct a modal controller with a name and a container.
|
RefinementPort(ComponentEntity container,
java.lang.String name)
Construct a port with a containing actor and a name
that is neither an input nor an output.
|
RefinementPort(Workspace workspace)
Construct a port in the given workspace.
|
ReflectComposite(CompositeEntity container,
java.lang.String name)
Create an actor with a name and a container.
|
ReflectComposite(CompositeEntity container,
java.lang.String name,
boolean mirrorParameterPorts)
Create an actor with a name and a container that optionally
mirrors the ports that are instances of ParameterPort.
|
ReflectCompositeContents(CompositeEntity container,
java.lang.String name)
Construct an actor with a name and a container.
|
RunCompositeActor()
Construct an actor in the default workspace with no
container and an empty string as its name.
|
RunCompositeActor(CompositeEntity container,
java.lang.String name)
Construct a RunCompositeActor with a name and a container.
|
RunCompositeActor(Workspace workspace)
Construct a RunCompositeActor in the specified workspace with
no container and an empty string as a name.
|
ThreadedComposite(CompositeEntity container,
java.lang.String name)
Create an actor with a name and a container.
|
Modifier and Type | Method and Description |
---|---|
void |
PreinitializeMustBeInvoked.fire() |
void |
PreinitializeMustBeInvoked.initialize() |
boolean |
PreinitializeMustBeInvoked.prefire() |
void |
PreinitializeMustBeInvoked.preinitialize() |
void |
PreinitializeMustBeInvoked.wrapup() |
Constructor and Description |
---|
PreinitializeMustBeInvoked(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
ImageTableau.append(java.util.List list)
Display the specified tokens.
|
void |
ImageTableau.append(Token token)
Display the specified token.
|
void |
PGMReader.attributeChanged(Attribute attribute) |
void |
ImageReader.attributeChanged(Attribute attribute)
If the specified attribute is URL, then close
the current file (if there is one) and open the new one.
|
void |
ImageTableau.createFrame(TableauFrame frame)
Create an image display to view the picture.
|
void |
ImageTableau.display(ImageToken token)
Display the specified token.
|
void |
ImageDisplayInterface.display(Token in)
Display the specified token.
|
void |
ImageDisplayJavaSE.display(Token in)
Display the specified token.
|
void |
ImageRotate.fire()
Read one java.awt.Image from each channel and rotate each Image
the number of degrees indicated by the rotationInDegrees parameter.
|
void |
URLToImage.fire()
Read on StringToken from the input, and output an ObjectToken
that contains a java.awt.Image object to the output port.
|
void |
PGMReader.fire()
Output the data read in the prefire.
|
void |
ImageReader.fire()
Output the data read in the prefire.
|
void |
ImageToString.fire()
Read one java.awt.Image from each channel and write
information about each image to the output port as a
StringToken.
|
void |
ImageDisplayInterface.init(ImageDisplay imageDisplay)
Initialize an object.
|
void |
ImageDisplayJavaSE.init(ImageDisplay imageDisplayActor)
Initialize an object.
|
void |
ImageDisplay.initialize()
Initialize this actor.
|
void |
ImageReader.initialize()
Open the file at the URL, and set the width of the output.
|
void |
ImageDisplayInterface.initializeEffigy()
Initialize the effigy of the image.
|
void |
ImageDisplayJavaSE.initializeEffigy()
Initialize the effigy of the image.
|
void |
ImageDisplayInterface.initWindowAndSizeProperties()
Initialize window and size attributes.
|
void |
ImageDisplayJavaSE.initWindowAndSizeProperties()
Initialize the effigy of the plotter.
|
boolean |
ImageDisplay.postfire()
Consume a token from the input port
and display the token as an image.
|
boolean |
URLToImage.prefire()
Return false if the input port has no token, otherwise return
what the superclass returns (presumably true).
|
boolean |
PGMReader.prefire() |
boolean |
ImageReader.prefire()
Read in an image.
|
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
ImageDisplay(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ImageReader(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ImageRotate(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ImageTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
ImageTableau(Effigy container,
java.lang.String name,
TableauFrame frame)
Construct a new tableau for the model represented by the given effigy,
using the specified frame.
|
ImageTableau(Effigy container,
java.lang.String name,
TableauFrame frame,
int width,
int height)
Construct a new tableau for the model represented by the given effigy,
using the specified frame.
|
ImageToString(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
PGMReader(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
URLToImage(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FileReader._handleFileData(java.lang.String fileContents)
Send the specified string to the output.
|
protected void |
TokenReader._handleFileData(java.lang.String fileContents)
Deprecated.
FIXME: Send the specified string to the output.
|
protected void |
LineReader._openAndReadFirstTwoLines()
Open the file and read the first line, putting its value into
the _currentLine variable.
|
protected void |
LineWriter._writeToken(Token token)
Write the specified token to the current writer.
|
protected void |
CSVWriter._writeToken(Token token)
Write the specified token to the current writer.
|
void |
CSVReader.attributeChanged(Attribute attribute)
If the specified attribute is separator then set a local
variable with the value of the separator.
|
void |
DirectoryListing.attributeChanged(Attribute attribute)
Override the base class to locally cache parameter values.
|
void |
LineReader.attributeChanged(Attribute attribute)
If the specified attribute is fileOrURL and there is an
open file being read, then close that file and open the new one;
if the attribute is numberOfLinesToSkip and its value is
negative, then throw an exception.
|
void |
LineWriter.attributeChanged(Attribute attribute)
If the specified attribute is fileName and there is an
open file being written, then close that file.
|
void |
CSVWriter.attributeChanged(Attribute attribute)
If the specified attribute is separator then set a local
variable with the value of the separator.
|
void |
CSVReader.fire()
Output the data read in the preinitialize() or in the previous
invocation of postfire(), if there is any.
|
void |
FileReader.fire()
Output the data read from the file or URL as a string.
|
void |
DirectoryListing.fire()
Output an array containing file and/or directory names.
|
void |
TokenReader.fire()
Deprecated.
Not implemented entirely yet.
|
void |
LineReader.fire()
Output the data read in the preinitialize() or in the previous
invocation of postfire(), if there is any.
|
void |
ExpressionReader.fire()
Deprecated.
Output the data read in the preinitialize() or postfire() if
there is any.
|
void |
LineReader.initialize()
If this is called after prefire() has been called but before
wrapup() has been called, then close any
open file re-open it, skip the number of lines given by the
numberOfLinesToSkip parameter, and read the first line to
be produced in the next invocation of prefire().
|
void |
CSVWriter.initialize()
Initialize this actor.
|
boolean |
LineReader.postfire()
Read the next line from the file.
|
boolean |
LineWriter.postfire()
Read an input string token from each input
channel and write it to the file, one line per token.
|
void |
ExpressionReader.preinitialize()
Deprecated.
Open the file or URL and read the first line, and use the
first line to set the type of the output.
|
void |
LineWriter.preinitialize()
Read the value of alwaysFlush parameter.
|
void |
LineReader.wrapup()
Close the reader if there is one.
|
void |
ExpressionReader.wrapup()
Deprecated.
Override the base class to clear memory of any
possibly erroneous expression.
|
void |
LineWriter.wrapup()
Close the writer if there is one.
|
Constructor and Description |
---|
CSVReader(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
CSVWriter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DirectoryListing(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ExpressionReader(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
ExpressionWriter(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
FileReader(CompositeEntity container,
java.lang.String name)
Construct an actor with a name and a container.
|
LineReader(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LineWriter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TokenReader(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with a name and a container.
|
Modifier and Type | Method and Description |
---|---|
protected BooleanToken |
LogicGate._updateFunction(BooleanToken in,
BooleanToken old)
Calculate the function on the given arguments.
|
protected BooleanToken |
LogicFunction._updateFunction(BooleanToken in,
BooleanToken old)
Deprecated.
Calculate the function on the given arguments.
|
void |
Comparator.attributeChanged(Attribute attribute)
Override the base class to determine which comparison is being
specified.
|
void |
LogicGate.attributeChanged(Attribute attribute)
Override the base class to determine which function is being
specified.
|
void |
LogicFunction.attributeChanged(Attribute attribute)
Deprecated.
Override the base class to determine which function is being
specified.
|
void |
Comparator.fire()
Consume exactly one input token from each input port,
and compute the specified comparison.
|
void |
Equals.fire()
Consume at most one token from each input channel, and output
the result of comparing these tokens using the isEqualTo() method
of the Token class.
|
void |
TrueGate.fire()
Consume at most one token from each input channel, and output
a boolean on the corresponding output channel (if there is one).
|
void |
IsPresent.fire()
Consume at most one token from each input channel, and output
a boolean on the corresponding output channel (if there is one).
|
void |
LogicalNot.fire()
Consume exactly one token from the input, negate it, and send
it to the output.
|
void |
LogicGate.fire()
Consume at most one input token from each input channel,
and produce a token on the output port.
|
void |
LogicFunction.fire()
Deprecated.
Consume at most one input token from each input channel,
and produce a token on the output port.
|
boolean |
Comparator.prefire()
Check that each input port has at least one token, and if
so, return the result of the superclass prefire() method.
|
Constructor and Description |
---|
Comparator(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Equals(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
IsPresent(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
LogicalNot(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
LogicFunction(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
LogicGate(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TrueGate(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
void |
PythonScript.attributeChanged(Attribute attribute)
If script is changed, invoke the python interpreter to
evaluate the script.
|
void |
PythonScript.fire()
Invoke the fire() method if defined in the script.
|
void |
PythonScript.initialize()
Invoke the initialize() method if defined in the script.
|
boolean |
PythonScript.postfire()
Invoke the postfire() method if defined in the script.
|
boolean |
PythonScript.prefire()
Invoke the prefire() method if defined in the script.
|
void |
PythonScript.preinitialize()
Create an instance of the parameter named by the
jythonClassName parameter that is defined in the script.
|
void |
PythonScript.wrapup()
Invoke the wrapup() method if defined in the script.
|
Constructor and Description |
---|
PythonScript(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
RExpression2.fire() |
void |
RExpression.fire() |
void |
RExpression2.initialize() |
void |
RExpression.initialize() |
boolean |
RExpression.postfire() |
void |
RExpression2.preinitialize()
Iterate through the ports.
|
void |
RExpression.preinitialize() |
Constructor and Description |
---|
RExpression(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
RExpression2(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
StringSimpleReplace.attributeChanged(Attribute attribute)
Deprecated.
Override the base class to compile a regular expression when
it is changed.
|
void |
StringMatches.attributeChanged(Attribute attribute)
Override the base class to compile the regular expression if
it has changed.
|
void |
StringCompare.attributeChanged(Attribute attribute)
Override the base class to determine which function is being
specified.
|
void |
StringReplace.attributeChanged(Attribute attribute)
Override the base class to compile a regular expression when
it is changed.
|
void |
StringFunction.attributeChanged(Attribute attribute)
Determine the string function to be performed on the input, and
set up the necessary fields for the function to be performed.
|
void |
StringSimpleReplace.fire()
Deprecated.
Perform pattern matching and substring replacement, and output
the modified string.
|
void |
StringSplit.fire()
Split the input string and send to the output.
|
void |
StringSubstring.fire()
If there is an input string, find a substring according to the indices
given by the port parameters start and stop
and produce the substring at the output.
|
void |
StringMatches.fire()
Pattern match a regular expression against a supplied
matchString and output a true if they match and a false
otherwise.
|
void |
StringCompare.fire()
Consume exactly one input token from each input port, and compute the
specified string function of the input taking into account the
ignoreCase parameter.
|
void |
StringLength.fire()
If there is an input string, find its length and produce the
length at the output.
|
void |
StringReplace.fire()
Perform pattern matching and substring replacement, and output
the modified string.
|
void |
StringIndexOf.fire()
Perform the specified search and output either -1 (the string is not
found) or the index of the string that is found.
|
void |
StringFunction.fire()
Perform the desired function on the input string, and send the
the resulting string to the output port.
|
Constructor and Description |
---|
StringCompare(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringFunction(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringIndexOf(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringLength(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringMatches(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringReplace(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringSimpleReplace(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
StringSplit(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
StringSubstring(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Constructor and Description |
---|
SDFTestScheduler(Director container,
java.lang.String name)
Construct a scheduler in the given container with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchTest.fire()
Read the search parameter, if it matches "Search 50" then
we've "got" data.
|
void |
SleepFireTwice.fire()
Call super.fire() twice.
|
void |
LoopTest2.fire() |
boolean |
SearchTest.postfire()
Post fire the actor.
|
boolean |
LoopTest2.postfire()
Post fire the actor.
|
boolean |
SearchTest.prefire() |
boolean |
LoopTest2.prefire() |
Constructor and Description |
---|
LoopTest2(CompositeEntity container,
java.lang.String name) |
RampNecessaryFiles(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
RecorderGeneral(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport that can accept any
Token.
|
SearchTest(CompositeEntity container,
java.lang.String name) |
SleepFireTwice(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TestOrderedMerge(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleALU.fire()
If there is at least one token on each of the input ports, the
first token from each port is consumed.
|
void |
StaticALU.fire()
If there is at least one token on each of the input ports, the
first token from each port is consumed.
|
Constructor and Description |
---|
SimpleALU(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
StaticALU(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
void |
XSLTransformer.fire()
Consume an XMLToken from the input and apply the XSL transform
specified by the styleSheetFile parameter.
|
void |
XMLInclusion.fire()
Read multiple arrays of XMLTokens from the input and combine
them according to the specified template.
|
void |
XSLTransformer.initialize()
Open the XSL file named by the styleSheetFile parameter and
set up the transformer.
|
Constructor and Description |
---|
XMLInclusion(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
XSLTransformer(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected NamedObj |
PortParameter._propagateExistence(NamedObj container)
Override the base class to also propagate the associated port.
|
protected void |
SharedParameter._propagateValue(NamedObj destination)
Override the base class to do the propagation only if
the specified destination is not shared, because if
it is shared, then the value will be propagated
in through the sharing mechanism.
|
protected void |
IntRangeParameter._setTokenAndNotify(Token newToken) |
protected void |
DoubleRangeParameter._setTokenAndNotify(Token newToken) |
java.io.File |
FilePortParameter.asFile()
Return the file as a File object.
|
java.net.URL |
FilePortParameter.asURL()
Return the file as a URL.
|
void |
IntRangeParameter.attributeChanged(Attribute attribute)
React to a change in an attribute by ensuring that the current
value remains within the range given by min and max.
|
void |
DoubleRangeParameter.attributeChanged(Attribute attribute)
React to a change in an attribute by ensuring that the current
value remains within the range given by min and max.
|
void |
ParameterSet.attributeChanged(Attribute attribute)
If the parameter is fileOrURL, and the specified file
name is not null, then open and read the file.
|
void |
PortParameter.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
FilePortParameter.close()
Close the file.
|
void |
ParameterSet.expand()
Expand the scope of the container by creating any required attributes.
|
void |
ParameterSet.fire()
Do nothing.
|
int |
IntRangeParameter.getCurrentValue()
Return the current value of this parameter as an integer.
|
int |
IntRangeParameter.getMaxValue()
Return the maximum value of this parameter as an integer.
|
int |
IntRangeParameter.getMinValue()
Return the minimum value of this parameter.
|
Token |
SharedParameter.getToken()
Get the token contained by this variable.
|
void |
ParameterSet.initialize()
Do nothing except invoke the initialize methods
of objects that have been added using addInitializable().
|
void |
PortParameter.initialize()
Reset the current value to match the persistent value.
|
void |
SharedParameter.initialize()
Do nothing except invoke the initialize methods
of objects that have been added using addInitializable().
|
int |
ParameterSet.iterate(int count)
Check to see whether the specified file has changed, and if so,
re-read it.
|
java.io.BufferedReader |
FilePortParameter.openForReading()
Open the file or URL for reading.
|
java.io.Writer |
FilePortParameter.openForWriting()
Open the file for writing.
|
java.io.Writer |
FilePortParameter.openForWriting(boolean append)
Open the file for writing or appending.
|
boolean |
ParameterSet.prefire()
Check to see whether the specified file has changed, and if so,
re-read it.
|
void |
ParameterSet.preinitialize()
Check to see whether the specified file has changed, and if so,
re-read it, and invoke the preinitialize() methods
of objects that have been added using addInitializable().
|
void |
PortParameter.preinitialize()
Reset the current value to match the persistent value.
|
void |
SharedParameter.preinitialize()
Traverse the model and update values.
|
void |
ParameterSet.read()
Read the contents of the file named by this parameter and create
attributes in the current scope.
|
void |
ParameterMirrorPort.setContainer(Entity container)
Override the base class so that if the container is being
set to null, then the associated port is also deleted
(via a change request).
|
void |
ParameterPort.setContainer(Entity entity)
Set the container of this port.
|
void |
ParameterSet.setContainer(NamedObj container)
Override the base class to register as a piggyback with the nearest opaque
composite actor above in the hierarchy.
|
void |
PortParameter.setContainer(NamedObj entity)
Set the container of this parameter.
|
void |
SharedParameter.setContainer(NamedObj container)
Override the base class to register as an initializable slave with the
new container.
|
void |
PortParameter.setCurrentValue(Token token)
Set the current value of this parameter and notify the container
and value listeners.
|
void |
ParameterMirrorPort.setInput(boolean isInput)
Override the base class to also set the associated port,
if there is one.
|
void |
LocationParameter.setLocation(double[] location)
Set the center location in some Cartesian coordinate system,
and notify the container and any value listeners of the new
location.
|
void |
ParameterMirrorPort.setName(java.lang.String name)
Override the base class to also set the associated port,
if there is one.
|
void |
ParameterPort.setName(java.lang.String name)
Set the name, and propagate the name change to the
associated parameter.
|
void |
PortParameter.setName(java.lang.String name)
Set or change the name, and propagate the name change to the
associated port.
|
void |
SharedParameter.setName(java.lang.String name)
Override the base class to register as a shared parameter in the workspace.
|
void |
PortParameter.setToken(Token newValue)
Override the base class to record the persistent expression
to be the string representation of the specified token.
|
void |
SharedParameter.setToken(Token token)
Override the base class to also set the token of shared
parameters.
|
java.lang.String |
FilePortParameter.stringValue()
Return the string value of this parameter.
|
boolean |
PortParameter.update()
Check to see whether a token has arrived at the
associated port, and if so, update the current value of
parameter with that token.
|
java.util.Collection |
SharedParameter.validate()
Override the base class to also validate the shared instances.
|
void |
ParameterSet.wrapup()
Check to see whether the specified file has changed, and if so,
re-read it, and invoke the wrapup() methods
of objects that have been added using addInitializable().
|
void |
SharedParameter.wrapup()
Supress propagation.
|
Constructor and Description |
---|
DoubleRangeParameter(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
FilePortParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
FilePortParameter(NamedObj container,
java.lang.String name,
Token token)
Construct a Parameter with the given container, name, and Token.
|
IntRangeParameter(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
LocationParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
MirrorPortParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
MirrorPortParameter(NamedObj container,
java.lang.String name,
Token token)
Construct a Parameter with the given container, name, and Token.
|
ParameterMirrorPort(ComponentEntity container,
java.lang.String name)
Construct a new input port in the specified container with the
specified name.
|
ParameterPort(ComponentEntity container,
java.lang.String name)
Construct a new input port in the specified container with the
specified name.
|
ParameterPort(ComponentEntity container,
java.lang.String name,
PortParameter parameter)
Construct a new input port in the specified container with the
specified name.
|
ParameterSet(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
PortParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
PortParameter(NamedObj container,
java.lang.String name,
boolean initializeParameterPort)
Construct a parameter with the given name contained by the specified
entity.
|
PortParameter(NamedObj container,
java.lang.String name,
ParameterPort port)
Construct a parameter with the given name contained by the specified
entity.
|
PortParameter(NamedObj container,
java.lang.String name,
Token token)
Construct a Parameter with the given container, name, and Token.
|
Priority(NamedObj container,
java.lang.String name)
Construct a priority parameter with the given name contained by the
specified entity.
|
SharedParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given container and name.
|
SharedParameter(NamedObj container,
java.lang.String name,
java.lang.Class<?> containerClass)
Construct a parameter with the given container, name, and
container class.
|
SharedParameter(NamedObj container,
java.lang.String name,
java.lang.Class<?> containerClass,
java.lang.String defaultValue)
Construct a parameter with the given container, name,
container class, and default value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TestSharedParameter._propagateValue(NamedObj destination)
Override the base class to do the propagation only if
the specified destination is not shared.
|
java.util.Collection |
TestSharedParameter.validate()
Override the base class to also validate the shared instances.
|
Constructor and Description |
---|
TestSharedParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given container and name.
|
TestSharedParameter(NamedObj container,
java.lang.String name,
java.lang.Class containerClass)
Construct a parameter with the given container, name, and
container class.
|
TestSharedParameter(NamedObj container,
java.lang.String name,
java.lang.Class containerClass,
java.lang.String defaultValue)
Construct a parameter with the given container, name,
container class, and default value.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
CompositeProcessDirector._areActorsExternallyBlocked()
Return true if one or more contained actor is externally
blocked; return false otherwise.
|
protected boolean |
ProcessThread._iterateActor()
Iterate the actor associate with this thread.
|
protected ProcessThread |
ProcessDirector._newProcessThread(Actor actor,
ProcessDirector director)
Create a new ProcessThread for controlling the actor that
is passed as a parameter of this method.
|
protected boolean |
ProcessDirector._resolveDeadlock()
Return false indicating that deadlock has not been resolved
and that execution will be discontinued.
|
protected boolean |
CompositeProcessDirector._resolveDeadlock()
Attempt to resolve a deadlock and return true if the deadlock
no longer exists and successive iterations are allowed; if
the deadlock still exists then return false indicating that
future iterations are not allowed.
|
protected boolean |
CompositeProcessDirector._resolveInternalDeadlock()
Return false indicating that resolution of an internal
deadlock was unsuccessful and execution should discontinue.
|
void |
BranchController.addBranches(IOPort port)
Add branches corresponding to the channels of the port
argument.
|
void |
CompositeProcessDirector.createBranchController(java.util.Iterator ports)
Create a input and/or output branch controllers according to
whether the ports passed in as arguments are input or output
ports.
|
void |
ProcessDirector.fire()
Wait until a deadlock is detected.
|
void |
CompositeProcessDirector.initialize()
Invoke the initialize() methods of all the deeply contained
actors in the container (a composite actor) of this director.
|
void |
ProcessDirector.initialize(Actor actor)
Initialize the given actor.
|
boolean |
MailboxBoundaryReceiver.isConnectedToBoundary()
Return true if this receiver is connected to a boundary port.
|
boolean |
ProcessReceiver.isConnectedToBoundary()
Return true if this receiver is connected to the inside of a
boundary port.
|
boolean |
BoundaryDetector.isConnectedToBoundary()
Return true if the receiver containing this boundary detector
is connected to a boundary port.
|
boolean |
MailboxBoundaryReceiver.isConnectedToBoundaryInside()
Return true if this receiver is connected to the inside of an
input boundary port; return false otherwise.
|
boolean |
ProcessReceiver.isConnectedToBoundaryInside()
Return true if this receiver is connected to the inside of a
boundary port.
|
boolean |
BoundaryDetector.isConnectedToBoundaryInside()
Return true if the receiver containing this boundary detector
is connected to the inside of an input boundary port; return
false otherwise.
|
boolean |
MailboxBoundaryReceiver.isConnectedToBoundaryOutside()
Return true if this receiver is connected to the outside of an
output boundary port; return false otherwise.
|
boolean |
ProcessReceiver.isConnectedToBoundaryOutside()
Return true if this receiver is connected to the outside of a
boundary port.
|
boolean |
BoundaryDetector.isConnectedToBoundaryOutside()
Return true if the receiver containing this boundary detector
is connected to the outside of an output boundary port; return
false otherwise.
|
boolean |
MailboxBoundaryReceiver.isConsumerReceiver()
Return true if this is a consumer receiver; return false otherwise.
|
boolean |
ProcessReceiver.isConsumerReceiver()
Return true if this receiver is a consumer receiver.
|
boolean |
ProcessDirector.postfire()
Return false if a stop has been requested or if
the model has reached deadlock.
|
boolean |
ProcessDirector.prefire()
Start threads for all actors that have not had threads started
already (this might include actors initialized since the last
invocation of prefire).
|
boolean |
CompositeProcessDirector.prefire()
If there are input or output ports, and this is the first iteration,
then start threads to handle the inputs and outputs.
|
void |
ProcessDirector.preinitialize()
Preinitialize the model controlled by this director.
|
void |
MailboxBoundaryReceiver.setContainer(IOPort port)
Set the container.
|
boolean |
ProcessDirector.transferInputs(IOPort port)
Do nothing.
|
boolean |
ProcessDirector.transferOutputs(IOPort port)
Do nothing.
|
void |
Branch.transferToken()
Transfer a single token from the producer receiver to the
consumer receiver.
|
void |
ProcessThread.wrapup()
End the execution of the actor under the control of this
thread.
|
void |
ProcessDirector.wrapup()
End the execution of the model under the control of this
director.
|
void |
CompositeProcessDirector.wrapup()
End the execution of the model under the control of this
director.
|
Constructor and Description |
---|
Branch(BranchController controller)
Deprecated.
Use this constructor for testing purposes only.
|
Branch(ProcessReceiver producerReceiver,
ProcessReceiver consumerReceiver,
BranchController controller)
Construct a branch object with a producer receiver, a consumer
receiver and a branch controller.
|
CompositeProcessDirector()
Construct a director in the default workspace with an empty
string as its name.
|
CompositeProcessDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
CompositeProcessDirector(Workspace workspace)
Construct a director in the workspace with an empty name.
|
MailboxBoundaryReceiver(IOPort container)
Construct an empty MailboxBoundaryReceiver with the specified
container.
|
ProcessDirector()
Construct a director in the default workspace with an empty string
as its name.
|
ProcessDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
ProcessDirector(Workspace workspace)
Construct a director in the workspace with an empty name.
|
Modifier and Type | Method and Description |
---|---|
void |
TypedTestProcessActor.fire()
Record the firing and force postfire to return false.
|
void |
ProcessSink.fire() |
void |
TestProcessActor.fire()
Record the firing and force postfire to return false.
|
Constructor and Description |
---|
ProcessSink(TypedCompositeActor container,
java.lang.String name)
Construct an actor with an input multiport.
|
TestProcessActor(CompositeActor container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
TypedTestProcessActor(TypedCompositeActor container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
FixedPointDirector._areAllInputsKnown(Actor actor)
Return true if all the inputs of the specified actor are known.
|
protected void |
FixedPointDirector._fireActor(Actor actor)
Fire an actor.
|
protected Schedule |
Scheduler._getSchedule()
Reschedule the model.
|
protected boolean |
FixedPointDirector._hasIterationConverged()
Return true if this iteration has converged.
|
protected boolean |
FixedPointDirector._isReadyToFire(Actor actor)
Return true if the specified actor is ready to fire.
|
protected void |
FixedPointDirector._sendAbsentToAllUnknownOutputsOf(Actor actor)
Call the send(index, null) method of each output port with
unknown status of the specified actor.
|
protected void |
FixedPointDirector._synchronizeToRealTime()
Synchronize to real time, if appropriate.
|
void |
FixedPointReceiver.clear()
Set the status of this receiver to be known and absent.
|
void |
StaticSchedulingDirector.fire()
Calculate the current schedule, if necessary, and iterate the
contained actors in the order given by the schedule.
|
void |
FixedPointDirector.fire()
Prefire and fire actors in the order given by the scheduler
until the iteration converges.
|
Time |
FixedPointDirector.getModelNextIterationTime()
Return the next time of interest in the model being executed by
this director or the director of any enclosing model up the
hierarchy.
|
Schedule |
Scheduler.getSchedule()
Return the scheduling sequence as an instance of the Schedule class.
|
void |
StaticSchedulingDirector.initialize()
Initialize local variables.
|
void |
FixedPointDirector.initialize()
Initialize the director and all deeply contained actors by calling
the super.initialize() method.
|
boolean |
StaticSchedulingDirector.isScheduleValid()
Return true if the current (cached) schedule is valid.
|
boolean |
StaticSchedulingDirector.postfire()
Return true if the director wishes to be scheduled for another
iteration.
|
boolean |
FixedPointDirector.postfire()
Call postfire() on all contained actors that were fired in the current
iteration.
|
boolean |
StaticSchedulingDirector.prefire()
Return true if the director is ready to fire.
|
boolean |
FixedPointDirector.prefire()
Return true if the director is ready to fire.
|
void |
FixedPointReceiver.put(Token token)
If the specified token is non-null, then
set the status of this receiver to known and present, and to contain the
specified token.
|
void |
StaticSchedulingDirector.resumeActor(NamedObj actor)
Resume the execution of an actor that was previously blocked because
it didn't have all the resources it needed for execution.
|
void |
FixedPointReceiver.setContainer(IOPort port)
Set the container.
|
void |
Scheduler.setContainer(NamedObj container)
Specify the container.
|
void |
FixedPointDirector.setIndex(int index)
Set the superdense time index.
|
void |
StaticSchedulingDirector.setScheduler(Scheduler scheduler)
Set the scheduler for this StaticSchedulingDirector.
|
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.
|
Constructor and Description |
---|
FixedPointDirector()
Construct a director in the default workspace with an empty string
as its name.
|
FixedPointDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
FixedPointDirector(Workspace workspace)
Construct a director in the given workspace with an empty name.
|
FixedPointScheduler(StaticSchedulingDirector container,
java.lang.String name)
Construct a scheduler in the given container with the given name.
|
Scheduler(Director container,
java.lang.String name)
Construct a scheduler in the given container with the given name.
|
StaticSchedulingDirector()
Construct a director in the default workspace with an empty string
as its name.
|
StaticSchedulingDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
StaticSchedulingDirector(Workspace workspace)
Construct a director in the workspace with an empty name.
|
Modifier and Type | Method and Description |
---|---|
void |
TestTypedIORelation.checkPort(Port port)
Throw an exception if the specified port cannot be linked to this
relation (is not of class TypedIOPort).
|
void |
TestActor.fire()
Record the firing.
|
void |
TypedTestActor.fire()
Record the firing.
|
void |
IdentityActor.fire()
Fire the actor; transfer the input to the output.
|
void |
TestActor.initialize()
Record the initialization.
|
void |
TypedTestActor.initialize()
Record the initialization.
|
void |
RemoveIOPortEventListener.portEvent(IOPortEvent event)
Remove this IOPortListener from the parent.
|
void |
TestAbstractReceiver.put(Token token)
Put the specified token into this receiver.
|
Constructor and Description |
---|
IdentityActor(CompositeActor container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
TestAbstractReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
TestActor(CompositeActor container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
TypedTestActor(TypedCompositeActor container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CausalityInterfaceForComposites._computeActorDepth()
Compute the depth of ports and actors.
|
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.
|
static InequalityTerm |
ActorTypeUtil.arrayOf(Typeable typeable,
Variable length)
Return a type constraint that can be used to constrain
another typeable object to have a type related to an
array whose element type is the type of the specified
typeable.
|
void |
CausalityInterfaceForComposites.checkForCycles()
Check the associated composite actor for causality cycles.
|
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> |
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.lang.String |
CausalityInterfaceForComposites.describeDepths()
Return a string that describes the depths of actors and their ports.
|
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.
|
Time |
PeriodicDirectorHelper.fireAt(Actor actor,
Time time)
Request a firing of the given actor at the given absolute
time, and return the time at which the specified will be
fired.
|
static ConstVariableModelAnalysis |
ConstVariableModelAnalysis.getAnalysis(NamedObj object)
Return the analysis that is active for the given object.
|
Token |
ConstVariableModelAnalysis.getConstantValue(Variable variable)
Return the constant value of the given parameter, if the
parameter is actually constant.
|
Entity |
ExplicitChangeContext.getContext()
Return the change context being made explicit.
|
Dependency |
CausalityInterface.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.getDepthOfActor(Actor actor)
Return the depth of an actor contained (deeply) by the
associated composite actor.
|
int |
CausalityInterfaceForComposites.getDepthOfPort(IOPort ioPort)
Return the depth of a port of the associated actor
or an actor contained by it.
|
java.util.List |
ExplicitChangeContext.getModifiedVariables()
Return a list of variables that this entity modifies.
|
static int |
DFUtilities.getRate(IOPort port)
Return the number of tokens that will be produced or consumed on the
given port.
|
static int |
DFUtilities.getRateVariableValue(Port port,
java.lang.String name,
int defaultValue)
Get the integer value stored in the Variable with the
specified name.
|
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.
|
java.lang.Object |
ArrayOfTypesFunction.getValue()
Return the current value of this monotonic function.
|
java.lang.Object |
ExtractFieldType.getValue()
Return the current value of this monotonic function.
|
java.lang.Object |
GLBFunction.getValue()
Return the current value of this monotonic function.
|
java.lang.Object |
ConstructAssociativeType.getValue()
Return a RecordType with field names equal to the given port names,
and field types equal to the current inferred or declared type of the
corresponding ports.
|
java.lang.Object |
ArrayElementTypeFunction.getValue()
Return the current value of this monotonic function.
|
void |
PeriodicDirectorHelper.initialize()
If the period parameter is greater than zero, then
request a first firing of the executive director, if there
is one.
|
double |
PeriodicDirector.periodValue()
Return the value of the period as a double.
|
void |
PeriodicDirectorHelper.postfire()
If the period parameter is greater than 0.0, then
if the associated director is at the top level, then increment
its time by the specified period, and otherwise request a refiring
at the current time plus the period.
|
boolean |
PeriodicDirectorHelper.prefire()
If the period value is greater than zero, then return
true if the current time is a multiple of the value and the
current microstep is 1.
|
void |
FIFOQueue.setCapacity(int capacity)
Set queue capacity.
|
static void |
DFUtilities.setExpressionIfNotDefined(Port port,
java.lang.String name,
java.lang.String value)
If a variable with the given name does not exist, then create
a variable with the given name and set the value of that
variable to the specified value.
|
void |
FIFOQueue.setHistoryCapacity(int capacity)
Set the capacity of the history queue.
|
static void |
DFUtilities.setIfNotDefined(Port port,
java.lang.String name,
int value)
If a variable with the given name does not exist, then create
a variable with the given name and set the value of that
variable to the specified value.
|
static void |
DFUtilities.setOrCreate(NamedObj container,
java.lang.String name,
int value)
If the specified container does not contain a variable with
the specified name, then create such a variable and set its
value to the specified integer.
|
static void |
DFUtilities.setOrCreate(NamedObj container,
java.lang.String name,
java.lang.String expression)
If the specified container does not contain a variable with
the specified name, then create such a variable and set its
expression to the specified string.
|
static Variable |
DFUtilities.setRate(Port port,
java.lang.String name,
int rate)
Set the rate variable with the specified name to the specified
value.
|
static void |
DFUtilities.setRateVariable(Port port,
java.lang.String name,
int value)
If a variable with the given name does not exist, then create
a variable with the given name.
|
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.
|
static void |
DFUtilities.showRate(Port port,
boolean flag)
Depending on the given flag, add an invisible, persistent
variable named "_showRate" with value true to the given port
that indicates to the user interface that rate parameters on
the given port should be displayed in the user interface.
|
java.util.List<Actor> |
CausalityInterfaceForComposites.topologicalSort()
Return a list of the actors deeply contained within
the associated composite actor sorted by actor depth.
|
Constructor and Description |
---|
ConstVariableModelAnalysis(Entity model)
Analyze the given model to determine which variables must be
constants and which variables may change dynamically during
execution.
|
ConstVariableModelAnalysis(Entity model,
java.util.Set variableSet)
Analyze the given model to determine which variables must be
constants and which variables may change dynamically during
execution, given that all variables in the given set may
change dynamically.
|
DependencyDeclaration(Variable container,
java.lang.String name)
Construct an DependencyDeclaration attribute in the given
container with the given name.
|
FreeVariableModelAnalysis(Entity model)
Analyze the given model to return a set of names which must
be defined externally for the model to be completely specified.
|
PeriodicDirectorHelper(PeriodicDirector director)
Construct a new helper.
|
Time(Director director,
double timeValue)
Construct a Time object with the specified double value as its
time value.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ChicInvoker._checkInterfaceCompatibility(CompositeActor model,
int compiler,
boolean silent,
java.lang.String name)
Check the interface compatibility of all entities that are directly
or indirectly contained by the model.
|
boolean |
ChicInvoker.checkInterfaceCompatibility(int compiler,
boolean silent)
Check the interface compatibility of all entities that are directly
or indirectly contained by the container of this attribute.
|
void |
ChicAttribute.setContainer(NamedObj container)
Remove any previous ChicAttribute in the container that has the
same name as this attribute, and then call the base class method
to set the container.
|
Constructor and Description |
---|
ChicAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
container and annotate it with a TextStyle attribute.
|
ChicControllerFactory(NamedObj container,
java.lang.String name)
Construct a new attribute with the given container and name.
|
ChicInvoker(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AtomicComponent._addPort(Port port)
Add a port to this entity.
|
protected void |
ComponentActor._addRelation(ComponentRelation relation) |
TupleToken |
Method.call(TupleToken arguments)
Call the method associated with this port with the specified
arguments.
|
void |
ComponentActor.fire()
If this actor is opaque, transfer any data from the input ports
of this composite to the ports connected on the inside, and then
invoke the fire() method of its local director.
|
void |
Component.initialize()
Initialize the component.
|
void |
AtomicComponent.initialize()
Initialize the component, which in this base class means
doing nothing and returning immediately.
|
void |
ComponentActor.initialize() |
void |
ComponentDirector.initialize()
Initialize the component.
|
Port |
AtomicComponent.newPort(java.lang.String name)
Create a new port with the specified name.
|
void |
Component.preinitialize()
Preinitialize the component.
|
void |
AtomicComponent.preinitialize()
Preinitialize the component, which in this base class means doing
nothing and returning immediately.
|
void |
ComponentActor.preinitialize()
Load the generated class and search for its fire method.
|
void |
ComponentDirector.preinitialize()
Preinitialize the component.
|
void |
Component.run()
Execute the component.
|
void |
AtomicComponent.run()
Execute the component, which in this base class means doing
nothing and returning immediately.
|
void |
ComponentActor.run()
Execute the component, which in this base class means doing
nothing and returning immediately.
|
void |
ComponentDirector.run()
Execute the component.
|
void |
Component.wrapup()
Wrap up an execution.
|
void |
AtomicComponent.wrapup()
Wrap up an execution, which in this base class means doing
nothing and returning immediately.
|
void |
ComponentActor.wrapup() |
void |
ComponentDirector.wrapup()
Wrap up an execution.
|
Constructor and Description |
---|
AtomicComponent(CompositeEntity container,
java.lang.String name)
Construct an entity with the given name contained by the specified
entity.
|
ComponentActor(CompositeEntity container,
java.lang.String name)
Construct an entity with the given name contained by the specified
entity.
|
MethodCallPort(ComponentEntity container,
java.lang.String name)
Construct a port with the given name contained by the specified
entity.
|
MethodCallPort(ComponentEntity container,
java.lang.String name,
boolean isProvidedPort)
Construct an IOPort with a container and a name that is
either an input, an output, or both, depending on the third
and fourth arguments.
|
Modifier and Type | Method and Description |
---|---|
void |
PtinyOSDirector.initialize()
Initialize the component.
|
void |
PtinyOSDirector.preinitialize()
Preinitialize the component.
|
void |
PtinyOSDirector.run()
Execute the component.
|
void |
PtinyOSDirector.wrapup()
Wrap up an execution.
|
Modifier and Type | Method and Description |
---|---|
void |
Counter.initialize()
Reset the count of inputs to zero.
|
Constructor and Description |
---|
Counter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Leds(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected MatrixToken |
DoubleMatrixToken._add(MatrixToken rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of this Token.
|
protected MatrixToken |
FixMatrixToken._add(MatrixToken rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of this Token.
|
protected MatrixToken |
MatrixToken._add(MatrixToken rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of this Token.
|
protected MatrixToken |
ComplexMatrixToken._add(MatrixToken rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of this Token.
|
protected MatrixToken |
LongMatrixToken._add(MatrixToken rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of this Token.
|
protected MatrixToken |
IntMatrixToken._add(MatrixToken rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of this Token.
|
protected abstract ScalarToken |
ScalarToken._add(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
token added to the value of this token.
|
protected abstract Token |
AbstractConvertibleToken._add(Token rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected Token |
StringToken._add(Token rightArgument)
Return a new token whose value is the value of the
argument Token added to the value of this Token.
|
protected Token |
RecordToken._add(Token rightArgument)
Return a new token whose value is the field-wise addition of
this token and the argument.
|
protected Token |
UnionToken._add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
protected Token |
ArrayToken._add(Token rightArgument)
Return a new token whose value is the value of the argument
token added to the value of this token.
|
protected abstract Token |
AbstractNotConvertibleToken._add(Token rightArgument)
Return a new token whose value is the value of the argument
token added to the value of this token.
|
protected Token |
DateToken._add(Token rightArgument)
Subtract is not supported for Dates.
|
protected MatrixToken |
DoubleMatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of each element of this Token.
|
protected MatrixToken |
FixMatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added from the value of each element of this Token.
|
protected MatrixToken |
MatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of each element of this Token.
|
protected MatrixToken |
ComplexMatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of each element of this Token.
|
protected MatrixToken |
LongMatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of each element of this Token.
|
protected MatrixToken |
IntMatrixToken._addElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token added to the value of each element of this Token.
|
protected ScalarToken |
DoubleToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
FixToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
ComplexToken._bitwiseAnd(ScalarToken rightArgument)
Throw an exception because bitwise AND is not supported.
|
protected ScalarToken |
FloatToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
PetiteToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
BooleanToken._bitwiseAnd(ScalarToken rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
protected ScalarToken |
DoubleToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
FixToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
ComplexToken._bitwiseNot()
Throw an exception because bitwise NOT is not supported.
|
protected ScalarToken |
FloatToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
PetiteToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
BooleanToken._bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
protected ScalarToken |
DoubleToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
FixToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
ComplexToken._bitwiseOr(ScalarToken rightArgument)
Throw an exception because bitwise OR is not supported.
|
protected ScalarToken |
FloatToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
PetiteToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
BooleanToken._bitwiseOr(ScalarToken rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
protected ScalarToken |
DoubleToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
FixToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
ComplexToken._bitwiseXor(ScalarToken rightArgument)
Throw an exception because bitwise XOR is not supported.
|
protected ScalarToken |
FloatToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
PetiteToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected abstract ScalarToken |
ScalarToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected ScalarToken |
BooleanToken._bitwiseXor(ScalarToken rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
protected RecordToken |
OrderedRecordToken._createRecordToken(java.lang.String[] labels,
Token[] values) |
protected RecordToken |
RecordToken._createRecordToken(java.lang.String[] labels,
Token[] values)
Create a new RecordToken.
|
protected ScalarToken |
ComplexToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected abstract ScalarToken |
ScalarToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected ScalarToken |
BooleanToken._divide(ScalarToken rightArgument)
Return a new token whose value is the value of this token
divided by the value of this Token.
|
protected abstract Token |
AbstractConvertibleToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected Token |
StringToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected Token |
RecordToken._divide(Token rightArgument)
Return a new token whose value is the field-wise division of
this token and the argument.
|
protected Token |
UnionToken._divide(Token rightArgument)
Return a new token whose value is the division of
this token and the argument.
|
protected Token |
ArrayToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected abstract Token |
AbstractNotConvertibleToken._divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
protected Token |
DateToken._divide(Token rightArgument)
Subtract is not supported for Dates.
|
protected MatrixToken |
DoubleMatrixToken._divideElement(Token rightArgument)
Return a new token whose elements are the result of dividing
the elements of this token by the argument.
|
protected MatrixToken |
MatrixToken._divideElement(Token rightArgument)
Return a new token whose elements are the result of dividing
the elements of this token by the argument.
|
protected MatrixToken |
ComplexMatrixToken._divideElement(Token rightArgument)
Return a new token whose elements are the result of dividing
the elements of this token by the argument.
|
protected MatrixToken |
LongMatrixToken._divideElement(Token rightArgument)
Return a new token whose elements are the result of dividing
the elements of this token by the argument.
|
protected MatrixToken |
IntMatrixToken._divideElement(Token rightArgument)
Return a new token whose elements are the result of dividing
the elements of this token by the argument.
|
protected Token |
ArrayToken._divideReverse(Token rightArgument)
Return a new token whose value is the value of this token
divided into the value of the argument token.
|
protected BooleanToken |
MatrixToken._isCloseTo(MatrixToken token,
double distance)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between their
elements is less than or equal to the second argument.
|
protected abstract BooleanToken |
ScalarToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Test whether the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected BooleanToken |
ObjectToken._isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
protected BooleanToken |
OrderedRecordToken._isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between them
is less than or equal to the second argument.
|
protected abstract BooleanToken |
AbstractConvertibleToken._isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected BooleanToken |
StringToken._isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
protected BooleanToken |
XMLToken._isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
protected BooleanToken |
RecordToken._isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between them
is less than or equal to the second argument.
|
protected BooleanToken |
UnionToken._isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this token is close to the first
argument, where "close" means that the distance between them
is less than or equal to the second argument.
|
protected BooleanToken |
ArrayToken._isCloseTo(Token token,
double epsilon)
Test whether the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected abstract BooleanToken |
AbstractNotConvertibleToken._isCloseTo(Token rightArgument,
double epsilon)
Test that the value of this Token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
protected BooleanToken |
DateToken._isCloseTo(Token token,
double epsilon)
The isCloseTo() method brings both tokens to the same precision.
|
protected BooleanToken |
MatrixToken._isEqualTo(MatrixToken rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
protected BooleanToken |
ScalarToken._isEqualTo(ScalarToken token)
Test for equality of the values of this token and the argument.
|
protected BooleanToken |
ObjectToken._isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
protected BooleanToken |
OrderedRecordToken._isEqualTo(Token rightArgument)
Return true if the specified token is equal to this one.
|
protected abstract BooleanToken |
AbstractConvertibleToken._isEqualTo(Token token)
Test for equality of the values of this token and the argument.
|
protected BooleanToken |
StringToken._isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
protected BooleanToken |
XMLToken._isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
protected BooleanToken |
RecordToken._isEqualTo(Token rightArgument)
Return true if the specified token is equal to this one.
|
protected BooleanToken |
UnionToken._isEqualTo(Token rightArgument)
Return true if the specified token is equal to this one.
|
protected BooleanToken |
ArrayToken._isEqualTo(Token token)
Return a true-valued token if the argument is equal to this one.
|
protected BooleanToken |
AbstractNotConvertibleToken._isEqualTo(Token token)
Test for equality of the values of this token and the argument.
|
protected BooleanToken |
DateToken._isEqualTo(Token rightArgument)
Return true of the the value of this token is equal
to the value of the argument according to java.util.Date.
|
protected BooleanToken |
DateToken._isLessThan(DateToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
DoubleToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
FixToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
ShortToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
ComplexToken._isLessThan(ScalarToken rightArgument)
Throw an exception because complex values cannot be compared.
|
protected BooleanToken |
FloatToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
IntToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
SmoothToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
LongToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
PetiteToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected abstract BooleanToken |
ScalarToken._isLessThan(ScalarToken rightArgument)
Test for ordering of the values of this Token and the argument
Token.
|
protected BooleanToken |
BooleanToken._isLessThan(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
FixToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
ComplexToken._modulo(ScalarToken rightArgument)
Throw an exception because the modulo operation does not
make sense for complex values.
|
protected abstract ScalarToken |
ScalarToken._modulo(ScalarToken rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected ScalarToken |
BooleanToken._modulo(ScalarToken rightArgument)
Throw an exception.
|
protected abstract Token |
AbstractConvertibleToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected Token |
StringToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected Token |
RecordToken._modulo(Token rightArgument)
Return a new token whose value is the field-wise modulo of
this token and the argument.
|
protected Token |
UnionToken._modulo(Token rightArgument)
Return a new token whose value is the modulo of this token and
the argument.
|
protected Token |
ArrayToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected abstract Token |
AbstractNotConvertibleToken._modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected Token |
DateToken._modulo(Token rightArgument)
Modulo is not supported for Dates.
|
protected MatrixToken |
DoubleMatrixToken._moduloElement(Token rightArgument)
Return a new token whose elements are the remainders of
the elements of this token when divided by the argument.
|
protected MatrixToken |
MatrixToken._moduloElement(Token rightArgument)
Return a new token whose elements are the modulo of
the elements of this token by the argument.
|
protected MatrixToken |
LongMatrixToken._moduloElement(Token rightArgument)
Return a new token whose elements are the remainders of
the elements of this token when divided by the argument.
|
protected MatrixToken |
IntMatrixToken._moduloElement(Token rightArgument)
Return a new token whose elements are the remainders of
the elements of this token when divided by the argument.
|
protected Token |
ArrayToken._moduloReverse(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
protected MatrixToken |
DoubleMatrixToken._multiply(MatrixToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected MatrixToken |
FixMatrixToken._multiply(MatrixToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected MatrixToken |
MatrixToken._multiply(MatrixToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected MatrixToken |
ComplexMatrixToken._multiply(MatrixToken rightArgument)
Return a new token whose value is the value of the argument
Token multiplied to the value of this Token.
|
protected MatrixToken |
LongMatrixToken._multiply(MatrixToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected MatrixToken |
IntMatrixToken._multiply(MatrixToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected abstract ScalarToken |
ScalarToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected ScalarToken |
BooleanToken._multiply(ScalarToken rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected abstract Token |
AbstractConvertibleToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected Token |
StringToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected Token |
RecordToken._multiply(Token rightArgument)
Return a new token whose value is the field-wise
multiplication of this token and the argument.
|
protected Token |
UnionToken._multiply(Token rightArgument)
Return a new token whose value is the multiplication of this token
and the argument.
|
protected Token |
ArrayToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected abstract Token |
AbstractNotConvertibleToken._multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected Token |
DateToken._multiply(Token rightArgument)
Multiply is not supported for Dates.
|
protected MatrixToken |
DoubleMatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected MatrixToken |
FixMatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token multiplyed from the value of each element of this Token.
|
protected MatrixToken |
MatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument scalar token.
|
protected MatrixToken |
ComplexMatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
protected MatrixToken |
LongMatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument scalar token.
|
protected MatrixToken |
IntMatrixToken._multiplyElement(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument scalar token.
|
protected MatrixToken |
DoubleMatrixToken._subtract(MatrixToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected MatrixToken |
FixMatrixToken._subtract(MatrixToken rightArgument)
Return a new token whose value is the value of the argument
Token subtracted to the value of this Token.
|
protected MatrixToken |
MatrixToken._subtract(MatrixToken rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected MatrixToken |
ComplexMatrixToken._subtract(MatrixToken rightArgument)
Return a new token whose value is the value of the argument
Token subtracted to the value of this Token.
|
protected MatrixToken |
LongMatrixToken._subtract(MatrixToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected MatrixToken |
IntMatrixToken._subtract(MatrixToken rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected abstract ScalarToken |
ScalarToken._subtract(ScalarToken rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected ScalarToken |
BooleanToken._subtract(ScalarToken rightArgument)
Subtraction is not supported in Boolean algebras.
|
protected abstract Token |
AbstractConvertibleToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected Token |
StringToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
protected Token |
RecordToken._subtract(Token rightArgument)
Return a new token whose value is the field-wise subtraction
of this token and the argument.
|
protected Token |
UnionToken._subtract(Token rightArgument)
Return a new token whose value is the subtraction of this token
and the argument.
|
protected Token |
ArrayToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected abstract Token |
AbstractNotConvertibleToken._subtract(Token rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
protected Token |
DateToken._subtract(Token rightArgument)
Subtract is not supported for Dates.
|
protected MatrixToken |
DoubleMatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
FixMatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
MatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this
Token.
|
protected MatrixToken |
ComplexMatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
LongMatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
IntMatrixToken._subtractElement(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
DoubleMatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
FixMatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
MatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of each element of
this Token subtracted from the value the argument Token.
|
protected MatrixToken |
ComplexMatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
LongMatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected MatrixToken |
IntMatrixToken._subtractElementReverse(Token rightArgument)
Return a new token whose value is the value of the argument
Token subtracted from the value of each element of this Token.
|
protected Token |
ArrayToken._subtractReverse(Token rightArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
Token.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
AbstractConvertibleToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
MatrixToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
ScalarToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
ArrayToken.add(Token rightArgument)
Addition can occur between arrays, or between an array and a token
of some base type (i.e., anything less than or equal to String).
|
Token |
AbstractNotConvertibleToken.add(Token rightArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
Token.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token
and the argument.
|
Token |
AbstractConvertibleToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token
and the argument.
|
Token |
MatrixToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token
and the argument.
|
Token |
ScalarToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token and
the argument.
|
Token |
ArrayToken.addReverse(Token leftArgument)
If the left-hand argument is a base type token, then convert it
to an array of size one.
|
Token |
AbstractNotConvertibleToken.addReverse(Token leftArgument)
Return a new token whose value is the sum of this token and
the argument.
|
ArrayToken |
ArrayToken.append(ArrayToken token)
Append the given array to the end of this array, and return the
resulting array.
|
static ArrayToken |
ArrayToken.append(ArrayToken[] tokens)
Append the given arrays.
|
Token |
FunctionToken.apply(Token[] args)
Apply this function to the given list of arguments.
|
Token |
Function.apply(Token[] arguments)
Apply the function to the list of arguments, which are tokens.
|
static MatrixToken |
MatrixToken.arrayToMatrix(Token[] tokens,
int rows,
int columns)
Create a new instance of a MatrixToken subclass with the
given number of rows and columns.
|
static MatrixToken |
MatrixToken.arrayToMatrix(Type type,
Token[] tokens,
int rows,
int columns)
Create a new instance of a MatrixToken subclass with the given
element type and number of rows and columns.
|
static Type |
MatrixToken.arrayToMatrixReturnType(Type type1,
Type type2,
Type type3)
Return the (exact) return type of the arrayToMatrix function
above.
|
BitwiseOperationToken |
BitwiseOperationToken.bitwiseAnd(Token rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
BitwiseOperationToken |
ScalarToken.bitwiseAnd(Token rightArgument)
Returns a token representing the bitwise AND of this token and
the given token.
|
BitwiseOperationToken |
BitwiseOperationToken.bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
BitwiseOperationToken |
ScalarToken.bitwiseNot()
Returns a token representing the bitwise NOT of this token.
|
BitwiseOperationToken |
BitwiseOperationToken.bitwiseOr(Token rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
BitwiseOperationToken |
ScalarToken.bitwiseOr(Token rightArgument)
Returns a token representing the bitwise OR of this token and
the given token.
|
BitwiseOperationToken |
BitwiseOperationToken.bitwiseXor(Token rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
BitwiseOperationToken |
ScalarToken.bitwiseXor(Token rightArgument)
Returns a token representing the bitwise XOR of this token and
the given token.
|
boolean[][] |
MatrixToken.booleanMatrix()
Return the content of this token as a 2-D boolean matrix.
|
byte |
ScalarToken.byteValue()
Return the value in the token as a byte.
|
Complex[][] |
MatrixToken.complexMatrix()
Return a copy of the content of this token as a 2-D Complex matrix.
|
Complex |
ScalarToken.complexValue()
Return the value of this token as a Complex.
|
static Token |
LongMatrixToken.convert(ScalarToken token,
int size)
Convert the specified scalar token into an instance of
LongMatrixToken.
|
static Token |
IntMatrixToken.convert(ScalarToken token,
int size)
Convert the specified scalar token into an instance of
IntMatrixToken.
|
static ObjectToken |
ObjectToken.convert(Token token)
Convert the specified token into an instance of ObjectToken.
|
static DoubleMatrixToken |
DoubleMatrixToken.convert(Token token)
Convert the specified token into an instance of DoubleMatrixToken.
|
static DoubleToken |
DoubleToken.convert(Token token)
Convert the specified token into an instance of DoubleToken.
|
static FixToken |
FixToken.convert(Token token)
Convert the specified token into an instance of FixToken.
|
static UnsignedByteToken |
UnsignedByteToken.convert(Token token)
Convert the specified token into an instance of
UnsignedByteToken.
|
static FixMatrixToken |
FixMatrixToken.convert(Token token)
Convert the specified token into an instance of FixMatrixToken.
|
static ShortToken |
ShortToken.convert(Token token)
Convert the specified token into an instance of ShortToken.
|
static ComplexToken |
ComplexToken.convert(Token token)
Convert the specified token into an instance of ComplexToken.
|
static StringToken |
StringToken.convert(Token token)
Convert the specified token into an instance of StringToken.
|
static ComplexMatrixToken |
ComplexMatrixToken.convert(Token token)
Convert the specified token into an instance of ComplexMatrixToken.
|
static FloatToken |
FloatToken.convert(Token token)
Convert the specified token into an instance of FloatToken.
|
static LongMatrixToken |
LongMatrixToken.convert(Token token)
Convert the specified token into an instance of LongMatrixToken.
|
static XMLToken |
XMLToken.convert(Token token)
Convert the specified token into an instance of XMLToken.
|
static IntToken |
IntToken.convert(Token token)
Convert the specified token into an instance of IntToken.
|
static LongToken |
LongToken.convert(Token token)
Convert the specified token into an instance of LongToken.
|
static PetiteToken |
PetiteToken.convert(Token token)
Convert the specified token into an instance of PetiteToken.
|
static IntMatrixToken |
IntMatrixToken.convert(Token token)
Convert the specified token into an instance of IntMatrixToken.
|
static DateToken |
DateToken.convert(Token token)
Convert the specified token into an instance of DateToken.
|
static BooleanToken |
BooleanToken.convert(Token token)
Convert the specified token into an instance of BooleanToken.
|
static BooleanMatrixToken |
BooleanMatrixToken.convert(Token token)
Convert the specified token into an instance of BooleanMatrixToken.
|
static MatrixToken |
MatrixToken.create(Token[] tokens,
int rows,
int columns)
Deprecated.
Use arrayToMatrix() instead.
|
static Token[] |
MatrixToken.createSequence(Token start,
Token increment,
int length)
Create an array of tokens of the given length.
|
static Type |
MatrixToken.createSequenceReturnType(Type type1,
Type type2,
Type type3)
Return the (exact) return type of the createSequence function
above.
|
static Token[] |
MatrixToken.createTokenSequence(Token start,
Token increment,
int length)
Deprecated.
Use createSequence() instead.
|
MatrixToken |
DoubleMatrixToken.crop(int rowStart,
int colStart,
int rowSpan,
int colSpan)
Return a new matrix that is a sub-matrix of this matrix.
|
MatrixToken |
FixMatrixToken.crop(int rowStart,
int colStart,
int rowSpan,
int colSpan)
Return a new matrix that is a sub-matrix of this matrix.
|
MatrixToken |
MatrixToken.crop(int rowStart,
int colStart,
int rowSpan,
int colSpan)
Return a new matrix that is a sub-matrix of this matrix.
|
MatrixToken |
ComplexMatrixToken.crop(int rowStart,
int colStart,
int rowSpan,
int colSpan)
Return a new matrix that is a sub-matrix of this matrix.
|
MatrixToken |
LongMatrixToken.crop(int rowStart,
int colStart,
int rowSpan,
int colSpan)
Return a new matrix that is a sub-matrix of this matrix.
|
MatrixToken |
IntMatrixToken.crop(int rowStart,
int colStart,
int rowSpan,
int colSpan)
Return a new matrix that is a sub-matrix of this matrix.
|
MatrixToken |
BooleanMatrixToken.crop(int rowStart,
int colStart,
int rowSpan,
int colSpan)
Return a new matrix that is a sub-matrix of this matrix.
|
static DateToken |
DateToken.date(java.lang.String value)
Create a DateToken with a value.
|
static int |
MatrixToken.determineSequenceLength(ScalarToken start,
ScalarToken increment,
ScalarToken end)
Count the number of tokens differing by the given increment
that fit in a range between the given start token and the
given end token.
|
Token |
Token.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
AbstractConvertibleToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
MatrixToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
ScalarToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
ArrayToken.divide(Token rightArgument)
Divide this array token by the specified argument.
|
Token |
AbstractNotConvertibleToken.divide(Token rightArgument)
Return a new token whose value is the value of this token
divided by the value of the argument token.
|
Token |
Token.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token divided by the value of this token.
|
Token |
AbstractConvertibleToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
divided by the value of this token.
|
Token |
MatrixToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token divided by the value of this token.
|
Token |
ScalarToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of this token
divided into the value of the argument token.
|
Token |
ArrayToken.divideReverse(Token rightArgument)
Divide this array token into the specified argument.
|
Token |
AbstractNotConvertibleToken.divideReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token divided by the value of this token.
|
double[][] |
MatrixToken.doubleMatrix()
Return the content of this token as a 2-D double matrix.
|
double |
ScalarToken.doubleValue()
Return the value of this token as a double.
|
ArrayToken |
ArrayToken.elementAdd(Token token)
Add the given token to each element of this array.
|
ArrayToken |
ArrayToken.elementDivide(Token token)
Divide each element of this array by the given token.
|
ArrayToken |
ArrayToken.elementModulo(Token token)
Modulo each element of this array by the given token.
|
ArrayToken |
ArrayToken.elementMultiply(Token token)
Multiply each element of this array by the given token.
|
static Type |
ArrayToken.elementMultiplyReturnType(Type type1,
Type type2)
Return the (exact) return type of the elementMultiply function
above.
|
ArrayToken |
ArrayToken.elementSubtract(Token token)
Subtract the given token from each element of this array.
|
ArrayToken |
ArrayToken.extract(ArrayToken selection)
Extract a non-contiguous subarray either by giving a boolean array
of the same length of this array describing which elements to
include and which to include, or by giving an an array of an
arbitrary length giving the indices of elements from this array
to include in the subarray.
|
FixPoint[][] |
MatrixToken.fixMatrix()
Return the content of this token as a 2-D fixed point matrix.
|
FixPoint |
ScalarToken.fixValue()
Return the value of this token as a FixPoint.
|
float |
ScalarToken.floatValue()
Return the value of this token as a float
In this base class, we just throw an exception.
|
int[][] |
MatrixToken.intMatrix()
Return the content of this token as a 2-D integer matrix.
|
int |
ScalarToken.intValue()
Return the value of this token as an int.
|
ScalarToken |
ScalarToken.inUnitsOf(ScalarToken units)
Return a scalar token that contains the value of this token in the
units of the argument token.
|
BooleanToken |
Token.isCloseTo(Token token)
Test that the value of this Token is close to the argument
Token.
|
BooleanToken |
ObjectToken.isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
Token.isCloseTo(Token token,
double epsilon)
Test that the value of this Token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
ActorToken.isCloseTo(Token rightArgument,
double epsilon)
Test for closeness of the values of this Token and the argument
Token.
|
BooleanToken |
AbstractConvertibleToken.isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
MatrixToken.isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this Token is close to the argument
Token.
|
BooleanToken |
XMLToken.isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
ScalarToken.isCloseTo(Token rightArgument,
double epsilon)
Test whether the value of this Token is close to the argument
Token.
|
BooleanToken |
ArrayToken.isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
AbstractNotConvertibleToken.isCloseTo(Token token,
double epsilon)
Test that the value of this token is close to the first argument,
where "close" means that the distance between them is less than
or equal to the second argument.
|
BooleanToken |
Token.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
TupleToken.isEqualTo(Token token)
Return a true-valued token if the argument is equal to this one.
|
BooleanToken |
ActorToken.isEqualTo(Token token)
Model for equality of the values of this Token and the argument Token.
|
BooleanToken |
AbstractConvertibleToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
MatrixToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
ScalarToken.isEqualTo(Token rightArgument)
Test for equality of the values of this Token and the argument
Token.
|
BooleanToken |
AbstractNotConvertibleToken.isEqualTo(Token rightArgument)
Test for equality of the values of this token and the argument
token.
|
BooleanToken |
DateToken.isGreaterThan(PartiallyOrderedToken rightArgument)
Check whether the value of this token is strictly greater than
that of the argument token.
|
BooleanToken |
ScalarToken.isGreaterThan(ScalarToken rightArgument)
Check whether the value of this token is strictly greater than
that of the argument token.
|
BooleanToken |
DateToken.isLessThan(DateToken rightArgument)
Check whether the value of this token is strictly less than that of the
argument token.
|
BooleanToken |
PartiallyOrderedToken.isLessThan(PartiallyOrderedToken rightArgument)
Check whether the value of this token is strictly less than that of the
argument token.
|
BooleanToken |
ScalarToken.isLessThan(PartiallyOrderedToken rightArgument)
Check whether the value of this token is strictly less than that of the
argument token.
|
BooleanToken |
DateToken.isLessThan(PartiallyOrderedToken rightArgument)
Check whether the value of this token is strictly less than that of the
argument token.
|
BooleanToken |
ScalarToken.isLessThan(ScalarToken rightArgument)
Check whether the value of this token is strictly less than that of the
argument token.
|
MatrixToken |
DoubleMatrixToken.join(MatrixToken[][] matrices)
Join a matrix of matrices into a single matrix by tiling.
|
MatrixToken |
FixMatrixToken.join(MatrixToken[][] matrices)
Join a matrix of matrices into a single matrix by tiling.
|
MatrixToken |
MatrixToken.join(MatrixToken[][] matrices)
Join a matrix of matrices into a single matrix by tiling.
|
MatrixToken |
ComplexMatrixToken.join(MatrixToken[][] matrices)
Join a matrix of matrices into a single matrix by tiling.
|
MatrixToken |
LongMatrixToken.join(MatrixToken[][] matrices)
Join a matrix of matrices into a single matrix by tiling.
|
MatrixToken |
IntMatrixToken.join(MatrixToken[][] matrices)
Join a matrix of matrices into a single matrix by tiling.
|
MatrixToken |
BooleanMatrixToken.join(MatrixToken[][] matrices)
Join a matrix of matrices into a single matrix by tiling.
|
ScalarToken |
ScalarToken.leftShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the most significant bit, filling the
least significant bits with zeros.
|
ScalarToken |
ScalarToken.logicalRightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with zeros.
|
long[][] |
MatrixToken.longMatrix()
Return the content of this matrix as a 2-D long matrix.
|
long |
ScalarToken.longValue()
Return the value of this token as a long integer.
|
Token |
Token.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
AbstractConvertibleToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
MatrixToken.modulo(Token rightArgument)
Return a new token whose value is this token
modulo the value of the argument token.
|
Token |
ScalarToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
ArrayToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
AbstractNotConvertibleToken.modulo(Token rightArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
Token.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
AbstractConvertibleToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
MatrixToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
ScalarToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of this token
modulo the value of the argument token.
|
Token |
ArrayToken.moduloReverse(Token rightArgument)
Return a new token whose value is the value of the argument
modulo the value of this token.
|
Token |
AbstractNotConvertibleToken.moduloReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
modulo the value of this token.
|
Token |
Token.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
AbstractConvertibleToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
MatrixToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
ScalarToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
ArrayToken.multiply(Token rightArgument)
Multiply this array token by the specified argument.
|
Token |
AbstractNotConvertibleToken.multiply(Token rightArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
Token.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token multiplied by the value of this token.
|
Token |
AbstractConvertibleToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
multiplied by the value of this token.
|
Token |
MatrixToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
multiplied by the value of this token.
|
Token |
ScalarToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of this token
multiplied by the value of the argument token.
|
Token |
ArrayToken.multiplyReverse(Token leftArgument)
Multiply this array token by the specified argument.
|
Token |
AbstractNotConvertibleToken.multiplyReverse(Token leftArgument)
Return a new token whose value is the value of the argument token
multiplied by the value of this token.
|
static ObjectToken |
ObjectToken.object(java.lang.String className)
Return an ObjectToken with value null and class specified by the
className argument.
|
Token |
Token.one()
Returns a new Token representing the multiplicative identity.
|
Token |
TupleToken.one()
Return a new TupleToken representing the multiplicative
identity.
|
Token |
RecordToken.one()
Returns a new RecordToken representing the multiplicative identity.
|
Token |
UnionToken.one()
Returns a new UnionToken representing the multiplicative identity.
|
Token |
ArrayToken.one()
Return a new ArrayToken representing the multiplicative
identity.
|
Token |
MatrixToken.oneRight()
Return a new Token representing the right multiplicative
identity.
|
Token |
Token.pow(int times)
Return a new token computed as follows:
For positive times arguments, the result represents the product of this token multiplied by itself the number of times given by the argument. |
ArrayToken |
ArrayToken.reverse()
Return a new ArrayToken whose elements are in reverse order of this
ArrayToken.
|
ScalarToken |
ScalarToken.rightShift(int bits)
Returns a token representing the result of shifting the bits
of this token towards the least significant bit, filling the
most significant bits with the sign of the value.
|
short |
ScalarToken.shortValue()
Return the value of this token as a short.
|
MatrixToken[][] |
MatrixToken.split(int[] rows,
int[] columns)
Split this matrix into multiple matrices.
|
ArrayToken |
ArrayToken.subarray(int index)
Return the contiguous subarray starting at the specified index to the
end of this array.
|
ArrayToken |
ArrayToken.subarray(int index,
int count)
Return the contiguous subarray starting at the specified index and
of the specified length.
|
Token |
Token.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
AbstractConvertibleToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
MatrixToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
ScalarToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
Token |
ArrayToken.subtract(Token rightArgument)
Subtract from this array token the specified argument.
|
Token |
AbstractNotConvertibleToken.subtract(Token rightArgument)
Return a new token whose value is the value of the argument token
subtracted from the value of this token.
|
Token |
Token.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
AbstractConvertibleToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
MatrixToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
Token |
ScalarToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of the argument
token subtracted from the value of this token.
|
Token |
ArrayToken.subtractReverse(Token rightArgument)
Subtract this array token from the specified argument.
|
Token |
AbstractNotConvertibleToken.subtractReverse(Token leftArgument)
Return a new token whose value is the value of this token
subtracted from the value of the argument token.
|
UnsignedByteToken |
LongToken.truncatedUnsignedByteValue()
Return the value in the token truncated to an unsignedByte.
|
static ArrayToken |
ArrayToken.unsignedByteArrayToArrayToken(byte[] dataBytes)
Take an array of unsigned bytes and convert it to an ArrayToken.
|
ArrayToken |
ArrayToken.update(int index,
Token value)
Return a new array with all elements equal to those of this
array except the one at position index, which has value
given by value.
|
Token |
Token.zero()
Returns a new token representing the additive identity.
|
Token |
TupleToken.zero()
Returns a new TupleToken representing the additive identity.
|
Token |
RecordToken.zero()
Returns a new RecordToken representing the additive identity.
|
Token |
UnionToken.zero()
Returns a new UnionToken representing the additive identity.
|
Token |
ArrayToken.zero()
Returns a new ArrayToken representing the additive identity.
|
Constructor and Description |
---|
ActorToken(Entity entity)
Construct an ActorToken.
|
ArrayToken(java.lang.String init)
Construct an ArrayToken from the specified string.
|
ArrayToken(Token[] value)
Construct an ArrayToken with the specified token array.
|
ArrayToken(Token[] value,
int length)
Construct an ArrayToken with the first length
elements of the specified token array.
|
ArrayToken(Type elementType,
Token[] value)
Construct an ArrayToken with the specified element type and
token array.
|
BooleanMatrixToken(boolean[][] value)
Construct a BooleanMatrixToken with the specified 2-D matrix.
|
BooleanMatrixToken(java.lang.String init)
Construct a BooleanMatrixToken from the specified string.
|
BooleanMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an BooleanMatrixToken from the specified array of
tokens.
|
BooleanToken(java.lang.String init)
Construct a token with the specified string.
|
ComplexMatrixToken(Complex[][] value)
Construct a ComplexMatrixToken with the specified 2-D matrix.
|
ComplexMatrixToken(Complex[][] value,
int copy)
Construct a ComplexMatrixToken with the specified 2-D matrix.
|
ComplexMatrixToken(java.lang.String init)
Construct an ComplexMatrixToken from the specified string.
|
ComplexMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an ComplexMatrixToken from the specified array of
tokens.
|
ComplexToken(java.lang.String init)
Construct a ComplexToken from the specified string.
|
DateToken(java.lang.String value)
Construct a DateToken that represents the time specified as a
string.
|
DoubleMatrixToken(double[][] value)
Construct a DoubleMatrixToken with the specified 2-D matrix.
|
DoubleMatrixToken(double[][] value,
int copy)
Construct a DoubleMatrixToken with the specified 2-D matrix.
|
DoubleMatrixToken(double[] value,
int rows,
int columns)
Construct a DoubleMatrixToken with the specified 1-D matrix.
|
DoubleMatrixToken(double[] value,
int rows,
int columns,
int copy)
Construct a DoubleMatrixToken with the specified 1-D matrix.
|
DoubleMatrixToken(java.lang.String init)
Construct a DoubleMatrixToken from the specified string.
|
DoubleMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an DoubleMatrixToken from the specified array of
tokens.
|
DoubleToken(java.lang.String init)
Construct a DoubleToken from the specified string.
|
FixMatrixToken(FixPoint[][] value)
Construct a FixMatrixToken with the specified 2-D matrix.
|
FixMatrixToken(FixPoint[][] value,
Precision precision)
Construct a FixMatrixToken with the specified 2-D matrix.
|
FixMatrixToken(java.lang.String init)
Construct a FixMatrixToken from the specified string.
|
FixMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an FixMatrixToken from the specified array of
tokens.
|
FixToken(java.lang.String init)
Construct a FixToken from the specified string.
|
FloatToken(java.lang.String init)
Construct a FloatToken from the specified string.
|
FunctionToken(java.lang.String init)
Create a new FunctionToken from the given string.
|
IntMatrixToken(int[][] value)
Construct a IntMatrixToken with the specified 2-D matrix.
|
IntMatrixToken(int[][] value,
int copy)
Construct a IntMatrixToken with the specified 2-D matrix.
|
IntMatrixToken(int[] value,
int rows,
int columns)
Construct a IntMatrixToken with the specified 1-D matrix.
|
IntMatrixToken(int[] value,
int rows,
int columns,
int copy)
Construct a IntMatrixToken with the specified 1-D matrix.
|
IntMatrixToken(java.lang.String init)
Construct an IntMatrixToken from the specified string.
|
IntMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an IntMatrixToken from the specified array of
tokens.
|
IntToken(java.lang.String init)
Construct an IntToken from the specified string.
|
LongMatrixToken(long[][] value)
Construct a LongMatrixToken with the specified 2-D matrix.
|
LongMatrixToken(long[][] value,
int copy)
Construct a LongMatrixToken with the specified 2-D matrix.
|
LongMatrixToken(long[] value,
int rows,
int columns)
Construct a LongMatrixToken with the specified 1-D matrix.
|
LongMatrixToken(long[] value,
int rows,
int columns,
int copy)
Construct a LongMatrixToken with the specified 1-D matrix.
|
LongMatrixToken(java.lang.String init)
Construct a LongMatrixToken from the specified string.
|
LongMatrixToken(Token[] tokens,
int rows,
int columns)
Construct an LongMatrixToken from the specified array of
tokens.
|
LongToken(java.lang.String init)
Construct a token from the given String.
|
ObjectToken(java.lang.Object value)
Construct a token with a reference to the specified object.
|
ObjectToken(java.lang.Object value,
java.lang.Class<?> valueClass)
Construct a token with the given value and the given class as the
value's type.
|
OrderedRecordToken(java.util.Map<java.lang.String,Token> fieldMap)
Construct an OrderedRecordToken with the labels and values specified
by a given Map object.
|
OrderedRecordToken(java.lang.String init)
Construct a RecordToken from the specified string.
|
OrderedRecordToken(java.lang.String[] labels,
Token[] values)
Construct an OrderedRecordToken with the specified labels and values.
|
PetiteToken(java.lang.String init)
Construct a PetiteToken from the specified string.Ensure
the value is adjusted within the range of a PetiteToken.
|
RecordToken(java.util.Map<java.lang.String,Token> fieldMap)
Construct a RecordToken with the labels and values specified
by a given Map object.
|
RecordToken(java.lang.String init)
Construct a RecordToken from the specified string.
|
RecordToken(java.lang.String[] labels,
Token[] values)
Construct a RecordToken with the specified labels and values.
|
ShortToken(java.lang.String init)
Construct an ShortToken from the specified string.
|
SmoothToken(java.lang.String init)
Construct a SmoothToken from the specified string, which specifies only
a value.
|
UnionToken(java.lang.String init)
Construct a UnionToken from the specified string.
|
UnionToken(java.lang.String label,
Token value)
Construct a UnionToken with the specified label and value.
|
UnsignedByteToken(java.lang.String init)
Construct a UnsignedByteToken from the specified string.
|
UpdatedArrayToken(ArrayToken baseToken,
int index,
Token newValue)
Construct an UpdatedArrayToken that is equal to the specified
baseToken, except at index, where its value is
newValue.
|
Modifier and Type | Class and Description |
---|---|
class |
UndefinedConstantOrIdentifierException
Thrown on an attempt to evaluate an expression that contains an
unknown constant or identifier.
|
static class |
Variable.CircularDependencyError
Subclass of IllegalActionException for use in reporting
circular dependency errors.
|
Modifier and Type | Method and Description |
---|---|
protected IllegalActionException |
AbstractParseTreeVisitor._unsupportedVisitException(java.lang.String name)
Return an exception that describes an unsupported node type.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<IllegalActionException> |
Variable._propagate()
Force evaluation of this variable, unless it is lazy,
and call _propagate() on its value dependents.
|
protected java.util.List<IllegalActionException> |
Variable._propagateToValueListeners()
Call propagate() on all value listeners.
|
Modifier and Type | Method and Description |
---|---|
protected ScalarToken |
ConcreteScalarToken._add(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseAnd(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseNot()
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseOr(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._bitwiseXor(ScalarToken rightArgument)
Throw an exception.
|
protected void |
ParseTreeSpecializer._defaultVisit(ASTPtRootNode node) |
protected void |
ParseTreeDumper._displayNode(ASTPtRootNode node)
Display the given node with the current prefix, recursing into
the children of the node.
|
protected ScalarToken |
ConcreteScalarToken._divide(ScalarToken rightArgument)
Throw an exception.
|
protected void |
ConstraintMonitor._evaluate()
Evaluate the current expression to a token, which in this case means
to sum the values of all the decorated objects.
|
protected void |
Variable._evaluate()
Evaluate the current expression to a token.
|
protected Token[] |
ParseTreeEvaluator._evaluateAllChildren(ASTPtRootNode node)
Loop through all of the children of this node,
visiting each one of them; this will cause their token
value to be determined.
|
protected Token |
ParseTreeEvaluator._evaluateArrayIndex(ASTPtRootNode node,
Token value,
Token index)
Evaluate the array index operation represented by the given node.
|
protected Token |
ParseTreeEvaluator._evaluateChild(ASTPtRootNode node,
int i)
Evaluate the child with the given index of the given node.
|
protected Token |
ParseTreeEvaluator._evaluateMatrixIndex(ASTPtRootNode node,
Token value,
Token rowIndex,
Token columnIndex)
Evaluate the Matrix index operation represented by the given node.
|
protected Token |
ParseTreeEvaluator._functionCall(java.lang.String functionName,
Type[] argTypes,
java.lang.Object[] argValues)
Evaluate the specified function.
|
protected void |
CParseTreeCodeGenerator._generateAllChildren(ASTPtRootNode node)
Loop through all of the children of this node,
visiting each one of them, which will cause their token
value to be determined.
|
protected void |
CParseTreeCodeGenerator._generateChild(ASTPtRootNode node,
int i)
Visit the child with the given index of the given node.
|
protected java.lang.String |
CParseTreeCodeGenerator._getLocalNameForName(java.lang.String name)
Get the local name for this this name.
|
protected Type |
ParseTreeTypeInference._getMethodReturnType(java.lang.Class<?> clazz,
java.lang.String methodName,
Type[] argTypes)
Get the return type of a method belonging to the specified class, or the
type of a field belonging to it.
|
protected Type |
ParseTreeTypeInference._getTypeForName(java.lang.String name)
Return the type of the identifier with the given name.
|
protected Type[] |
ParseTreeTypeInference._inferAllChildren(ASTPtRootNode node)
Loop through all of the children of this node,
visiting each one of them, which will cause their token
value to be determined.
|
protected Type |
ParseTreeTypeInference._inferChild(ASTPtRootNode node,
int i)
Visit the child with the given index of the given node.
|
protected BooleanToken |
ConcreteScalarToken._isCloseTo(ScalarToken rightArgument,
double epsilon)
Throw an exception.
|
protected BooleanToken |
ConcreteScalarToken._isLessThan(ScalarToken rightArgument)
Throw an exception.
|
protected boolean |
CParseTreeCodeGenerator._isValidName(java.lang.String name)
Return true if the name is a valid name.
|
protected boolean |
ParseTreeTypeInference._isValidName(java.lang.String name)
Test if the given identifier is valid.
|
protected boolean |
ParseTreeFreeVariableCollector._isValidName(java.lang.String name)
Return true if the given identifier is valid.
|
protected Type |
ParseTreeTypeInference._methodCall(java.lang.String methodName,
Type[] argTypes)
Infer the type of the specified method.
|
protected Token |
ParseTreeEvaluator._methodCall(java.lang.String methodName,
Type[] argTypes,
java.lang.Object[] argValues)
Evaluate the specified method.
|
protected ScalarToken |
ConcreteScalarToken._modulo(ScalarToken rightArgument)
Throw an exception.
|
protected ScalarToken |
ConcreteScalarToken._multiply(ScalarToken rightArgument)
Throw an exception.
|
protected void |
Variable._parseIfNecessary()
Parse the expression, if the current parse tree is not valid.
|
protected void |
Variable._propagateValue(NamedObj destination)
Propagate the value of this object to the
specified object.
|
protected void |
ParseTreeSpecializer._replaceConstantNode(ASTPtRootNode node) |
protected void |
Variable._setToken(Token newToken)
Set the token value and type of the variable.
|
protected void |
Variable._setTokenAndNotify(Token newToken)
Set the token value and type of the variable, and notify the
container that the value (and type, if appropriate) has changed.
|
protected ScalarToken |
ConcreteScalarToken._subtract(ScalarToken rightArgument)
Throw an exception.
|
protected void |
ParseTreeFreeVariableRenamer._visitAllChildren(ASTPtRootNode node)
Loop through all of the children of this node,
visiting each one of them, which will cause their token
value to be determined.
|
protected void |
ParseTreeFreeVariableCollector._visitAllChildren(ASTPtRootNode node)
Loop through all of the children of this node,
visiting each one of them, which will cause their token
value to be determined.
|
protected void |
AbstractParseTreeVisitor._visitAllChildren(ASTPtRootNode node)
Loop through all of the children of this node,
visiting each one of them, which will cause their token
value to be determined.
|
protected void |
ParseTreeFreeVariableRenamer._visitChild(ASTPtRootNode node,
int i)
Visit the child with the given index of the given node.
|
protected void |
ParseTreeFreeVariableCollector._visitChild(ASTPtRootNode node,
int i)
Visit the child with the given index of the given node.
|
protected void |
AbstractParseTreeVisitor._visitChild(ASTPtRootNode node,
int i)
Visit the child with the given index of the given node.
|
Token |
ExpressionFunction.apply(Token[] arguments)
Apply the function to the list of arguments, which are tokens.
|
java.io.File |
FileParameter.asFile()
Return the file as a File object.
|
java.net.URL |
FileParameter.asURL()
Return the file as a URL.
|
void |
ChoiceStringParameter.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
ConstraintMonitor.attributeChanged(Attribute attribute)
Override the base class to invalidate if parameters have changed.
|
void |
ConstraintMonitor.ConstraintMonitorAttributes.attributeChanged(Attribute attribute)
Override the base class so that if the decorator already exists in
scope, the decorator becomes a value listener to the value attribute.
|
void |
Variable.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
static Token |
UtilityFunctions.cast(Token token1,
Token token2)
Convert the second token to the type of the first.
|
static Type |
UtilityFunctions.castReturnType(Type type1,
Type type2)
Return the type of the first argument.
|
static double[][] |
UtilityFunctions.choleskyDecomposition(double[][] A)
Returns the lower triangular matrix L that satisfies LL*=A
|
void |
FileParameter.close()
Close the file.
|
java.util.Set |
ParseTreeFreeVariableCollector.collectFreeVariables(ASTPtRootNode node)
Return the set of names of free variables in the given parse
tree.
|
java.util.Set |
ParseTreeFreeVariableCollector.collectFreeVariables(ASTPtRootNode node,
ParserScope scope) |
static ArrayToken |
UtilityFunctions.concatenate(ArrayToken token)
Concatenate an array of arrays into a single array.
|
static ArrayToken |
UtilityFunctions.concatenate(ArrayToken token1,
ArrayToken token2)
Concatenate two arrays.
|
static Type |
UtilityFunctions.concatenateReturnType(Type firstArrayType)
Return the return type of the one argument concatenate method, given the type
of the argument.
|
static Type |
UtilityFunctions.concatenateReturnType(Type firstArrayType,
Type secondArrayType)
Return the return type of the two argument concatenate method,
given the types of the arguments.
|
java.lang.Object |
CachedMethod.ArgumentConversion.convert(Token input)
Convert the given token into an object that can be used to
invoke a method through the reflection mechanism.
|
java.lang.Object |
CachedMethod.TypeArgumentConversion.convert(Token input)
Convert the given token into an object that can be used to
invoke a method through the reflection mechanism.
|
static Token |
ConversionUtilities.convertJavaTypeToToken(java.lang.Object object)
Convert a java object to a corresponding Token.
|
static Type |
ConversionUtilities.convertJavaTypeToTokenType(java.lang.Class tokenClass)
Convert a java class, representing a Java type, to a
corresponding instance of a ptolemy type object, as consistent
with the convertJavaTypeToToken method.
|
static java.lang.Object |
ConversionUtilities.convertTokenToJavaType(Token token)
Convert a Token to a corresponding Java object.
|
static java.lang.Class |
ConversionUtilities.convertTokenTypeToJavaType(Type type)
Convert the given ptolemy type object to a java class
representing a java type.
|
DecoratorAttributes |
ConstraintMonitor.createDecoratorAttributes(NamedObj target)
Return the decorated attributes for the target NamedObj, or null
if the target is not decorated by this decorator.
|
java.util.List<NamedObj> |
ConstraintMonitor.decoratedObjects()
Return a list of the entities deeply contained by the container
of this resource scheduler.
|
static RecordToken |
UtilityFunctions.emptyRecord()
Return an empty record.
|
static Token |
MatlabUtilities.evaluate(java.lang.String expression,
java.util.Set variableNames,
ParserScope scope)
Evaluate a Matlab expression within a scope.
|
Token |
ASTPtRootNode.evaluateParseTree()
Deprecated.
Use a ParseTreeEvaluator instead.
|
Token |
ParseTreeEvaluator.evaluateParseTree(ASTPtRootNode node)
Evaluate the parse tree with the specified root node.
|
Token |
ParseTreeEvaluator.evaluateParseTree(ASTPtRootNode node,
ParserScope scope)
Evaluate the parse tree with the specified root node using
the specified scope to resolve the values of variables.
|
void |
ScopeExtendingAttribute.expand()
Expand the scope of the container by creating any required attributes.
|
static ArrayToken |
UtilityFunctions.filter(FunctionToken predicate,
ArrayToken array)
Extract a sub-array consisting of all of the elements of an
array for which the given predicate function returns true.
|
static ArrayToken |
UtilityFunctions.filter(FunctionToken predicate,
ArrayToken array,
IntToken sizeLimit)
Extract a sub-array consisting of all of the elements of an
array for which the given predicate function returns true.
|
static Type |
UtilityFunctions.filterReturnType(Type predicateType,
Type arrayTokenType)
Return the return type of the filter method, given the types
of the argument.
|
static Type |
UtilityFunctions.filterReturnType(Type predicateType,
Type arrayTokenType,
Type sizeLimitType)
Return the return type of the filter method, given the types
of the argument.
|
static ArrayToken |
UtilityFunctions.find(ArrayToken array)
Find all true-valued elements in an array of boolean values,
returning an array containing the indices (in ascending order)
of all occurrences of the value 'true'.
|
static CachedMethod |
CachedMethod.findMethod(java.lang.String methodName,
Type[] argumentTypes,
int type)
Find a method or function with the specified name and argument types.
|
java.util.Map |
PtParser.generateAssignmentMap(java.lang.String stringIn)
Generates a parse tree from the given String.
|
void |
CParseTreeCodeGenerator.generateCode(ASTPtRootNode node)
Generate code for a node.
|
ASTPtRootNode |
PtParser.generateParseTree(java.lang.String stringIn)
Generates a parse tree from the given String.
|
ASTPtRootNode |
PtParser.generateSimpleAssignmentParseTree(java.lang.String stringIn)
Generates a parse tree from the given String, which may optionally
contain an assignment.
|
ASTPtRootNode |
PtParser.generateStringParseTree(java.lang.String stringIn)
Generates a parse tree from the given String, which is interpreted
in "String Mode" instead of as an operator expression.
|
Token |
ParserScope.get(java.lang.String name)
Look up and return the value with the specified name in the
scope.
|
Token |
ExplicitScope.get(java.lang.String name)
Look up and return the value with the specified name in the
scope.
|
Token |
NestedScope.get(java.lang.String name)
Look up and return the value with the specified name in the
scope.
|
Token |
Variable.VariableScope.get(java.lang.String name)
Look up and return the attribute with the specified name in the
scope.
|
NamedObj |
ContainmentExtender.getContainedObject(java.lang.String name)
Get an object with the given name within the container.
|
static RecordToken |
UtilityFunctions.getenv()
Get a variable from the environment.
|
NamedObj |
ContainmentExtender.getExtendedContainer()
Get the extended container.
|
java.util.Set |
Variable.getFreeIdentifiers()
Return the list of identifiers referenced by the current expression.
|
java.lang.reflect.Method |
CachedMethod.getMethod()
Return the method giving the operation associated with this
object, or null if none was found.
|
Type |
CachedMethod.getReturnType()
Return the type of the token that results from an invocation
of this method.
|
Type |
CachedMethod.ArrayMapCachedMethod.getReturnType()
Override the base class to return an array type with the
element type being the return type of the underlying scalar
method.
|
Type |
CachedMethod.MatrixMapCachedMethod.getReturnType() |
Token |
ConstraintMonitor.getToken()
Override the base class to check whether the threshold constraint
is satisfied.
|
Token |
Variable.getToken()
Get the token contained by this variable.
|
Type |
ParserScope.getType(java.lang.String name)
Look up and return the type of the value with the specified
name in the scope.
|
Type |
ExplicitScope.getType(java.lang.String name)
Look up and return the type of the value with the specified
name in the scope.
|
Type |
NestedScope.getType(java.lang.String name)
Look up and return the type of the value with the specified
name in the scope.
|
Type |
Variable.VariableScope.getType(java.lang.String name)
Look up and return the type of the attribute with the
specified name in the scope.
|
InequalityTerm |
ParserScope.getTypeTerm(java.lang.String name)
Look up and return the type term for the specified name
in the scope.
|
InequalityTerm |
ExplicitScope.getTypeTerm(java.lang.String name)
Look up and return the type term for the specified name
in the scope.
|
InequalityTerm |
NestedScope.getTypeTerm(java.lang.String name)
Look up and return the type term for the specified name
in the scope.
|
InequalityTerm |
Variable.VariableScope.getTypeTerm(java.lang.String name)
Look up and return the type term for the specified name
in the scope.
|
java.util.LinkedList |
PtParser.getUndefinedList(java.lang.String stringIn)
Deprecated.
Use a visitor with a ParseTreeFreeVariableCollector
instead.
|
Variable |
Variable.getVariable(java.lang.String name)
Look up and return the attribute with the specified name in the
scope.
|
Variable |
Variable.VariableScope.getVariable(java.lang.String name)
Look up and return the attribute with the specified name in the
scope.
|
void |
AbstractInitializableParameter.hierarchyChanged()
Notify this object that the containment hierarchy above it has
changed.
|
void |
ConstraintMonitor.ConstraintMonitorAttributes.hierarchyChanged()
Notify this object that the containment hierarchy above it has changed.
|
void |
AbstractInitializableParameter.hierarchyWillChange()
Notify this object that the containment hierarchy above it will be
changed, which results in
|
void |
ConstraintMonitor.ConstraintMonitorAttributes.hierarchyWillChange()
Record the current decorator.
|
java.util.Set |
ParserScope.identifierSet()
Return a list of names corresponding to the identifiers
defined by this scope.
|
java.util.Set |
NestedScope.identifierSet()
Return the list of identifiers within the scope.
|
static java.lang.String |
UtilityFunctions.inferType(java.lang.String string)
Infer the type of the given string as an expression in the
expression language.
|
Type |
ParseTreeTypeInference.inferTypes(ASTPtRootNode node)
Infer the type of the parse tree with the specified root node.
|
Type |
ParseTreeTypeInference.inferTypes(ASTPtRootNode node,
ParserScope scope)
Infer the type of the parse tree with the specified root node using
the specified scope to resolve the values of variables.
|
void |
AbstractInitializableParameter.initialize()
Invoke initialize() on registered initializables.
|
static Token |
UtilityFunctions.intersect(RecordToken record1,
RecordToken record2)
Find the intersection of two records.
|
Token |
CachedMethod.invoke(java.lang.Object[] argValues)
Apply the operation represented by this object to
the specified arguments.
|
Token |
CachedMethod.BaseConvertCachedMethod.invoke(java.lang.Object[] argValues) |
Token |
CachedMethod.ArrayMapCachedMethod.invoke(java.lang.Object[] argValues)
Invoke the method represented by this CachedMethod.
|
Token |
CachedMethod.MatrixMapCachedMethod.invoke(java.lang.Object[] argValues)
Run method represented by this cachedMethod.
|
boolean |
ConstraintMonitor.isGlobalDecorator()
Return the value of
ConstraintMonitor.includeOpaqueContents . |
boolean |
Variable.isKnown()
Return true if the value of this variable is known, and
false otherwise.
|
static ArrayToken |
UtilityFunctions.iterate(FunctionToken function,
int length,
Token initial)
Iterate the specified function to produce an array of the specified
length.
|
static Type |
UtilityFunctions.iterateReturnType(Type functionType,
Type lengthType,
Type initialType)
Return the return type of the iterate method, given the types
of the argument.
|
static ArrayToken |
UtilityFunctions.map(FunctionToken function,
ArrayToken array)
Apply the specified function to the specified array and return
an array with the results.
|
static Type |
UtilityFunctions.mapReturnType(Type functionType,
Type arrayTokenType)
Return the return type of the map method, given the types
of the argument.
|
static ScalarToken |
UtilityFunctions.max(ArrayToken array)
Return the maximum of the contents of the array.
|
static ScalarToken |
UtilityFunctions.min(ArrayToken array)
Return the minimum of the contents of the array.
|
static ObjectToken |
UtilityFunctions.model(java.lang.String classname)
FIXME.
|
static ArrayToken |
UtilityFunctions.multivariateGaussian(ArrayToken mean,
DoubleMatrixToken covariance)
Generate a sample from a multivariate Gaussian distribution.
|
static ArrayToken |
UtilityFunctions.multivariateGaussian(double[] mean,
double[][] S)
Generate a sample from a multivariate Gaussian distribution.
|
java.io.BufferedReader |
FileParameter.openForReading()
Open the file or URL for reading.
|
java.io.Writer |
FileParameter.openForWriting()
Open the file for writing.
|
java.io.Writer |
FileParameter.openForWriting(boolean append)
Open the file for writing or appending.
|
java.lang.String |
ParseTreeWriter.parseTreeToExpression(ASTPtRootNode root)
Produce an expression for this parse tree.
|
void |
AbstractInitializableParameter.preinitialize()
Invoke preinitialize() on registered initializables.
|
static StringToken |
UtilityFunctions.readFile(java.lang.String filename)
Get the string text contained in the specified file.
|
java.util.Vector |
MatrixParser.readMatrix()
Read a Matrix from File.
|
static DoubleMatrixToken |
UtilityFunctions.readMatrix(java.lang.String filename)
Deprecated.
Use eval(readFile()) instead.
|
static StringToken |
UtilityFunctions.readResource(java.lang.String name)
Get the string text contained in the specified resource, which
is a file that is specified relative to the Java classpath.
|
void |
ParseTreeFreeVariableRenamer.renameVariables(ASTPtRootNode node,
Variable dependentVariable,
Variable variableToRename,
java.lang.String name)
Rename the variables, if any, in the dependentVariable
that refer to the specified variableToRename.
|
void |
SingletonParameter.setContainer(NamedObj container)
Remove any previous attribute in the container that has the same
name as this attribute, and then call the base class method to set
the container.
|
void |
AbstractInitializableParameter.setContainer(NamedObj container)
Override the base class to register as an
Initializable
so that preinitialize() is invoked, and as a
HierarchyListener , so that we are notified of
changes in the hiearchy above. |
void |
ScopeExtendingAttribute.setContainer(NamedObj container)
Specify the container NamedObj, adding this attribute to the
list of attributes in the container.
|
void |
Variable.setContainer(NamedObj container)
Specify the container, and add this variable to the list
of attributes in the container.
|
void |
Variable.setName(java.lang.String name)
Override the base class to throw an exception if renaming this
variable results in an error evaluating some variable that depends
on it.
|
void |
Variable.setStringMode(boolean stringMode)
Specify whether this parameter should be in string mode.
|
void |
Variable.setToken(java.lang.String expression)
Set the expression for this variable by calling
setExpression(), and then evaluate it by calling
validate().
|
void |
Variable.setToken(Token token)
Put a new token in this variable and notify the container and
and value listeners.
|
void |
Variable.setTypeAtMost(Type type)
Set a type constraint that the type of this object be less than
or equal to the specified class in the type lattice.
|
void |
Variable.setTypeEquals(Type type)
Set a type constraint that the type of this object equal
the specified value.
|
static ArrayToken |
UtilityFunctions.sort(ArrayToken array)
Return a new array that is the sorted contents of a specified
array, in ascending order.
|
static ArrayToken |
UtilityFunctions.sortAscending(ArrayToken array)
Return a new array that is the sorted contents of a specified
array, in ascending order.
|
static ArrayToken |
UtilityFunctions.sortDescending(ArrayToken array)
Return a new array that is the sorted contents of a specified
array, in descending order.
|
ASTPtRootNode |
ParseTreeSpecializer.specialize(ASTPtRootNode node,
java.util.List excludedNames,
ParserScope scope)
Return a new parse tree resulting from the specialization of
the given parse tree.
|
java.lang.String |
StringParameter.stringValue()
Return the string value of this parameter.
|
static ArrayToken |
UtilityFunctions.subarray(ArrayToken array,
IntToken index,
IntToken count)
Return the contiguous subarray of the specified array
starting at the specified index and of the specified length.
|
static Token |
UtilityFunctions.sum(ArrayToken array)
Return the sum of the elements in the specified array.
|
static java.lang.String |
UtilityFunctions.traceEvaluation(java.lang.String string)
Evaluate the given string as an expression in the expression
language.
|
java.lang.String |
ParseTreeEvaluator.traceParseTreeEvaluation(ASTPtRootNode node,
ParserScope scope)
Trace the evaluation of the parse tree with the specified root
node using the specified scope to resolve the values of
variables.
|
java.util.Collection |
NameParameter.validate()
If this variable is not lazy (the default) then evaluate
the expression contained in this variable, and notify any
value dependents.
|
java.util.Collection |
ConstraintMonitor.validate()
Override the base class to establish a connection with any
decorated objects it finds in scope in the container.
|
void |
ScopeExtendingAttribute.validate()
Validate contained settables.
|
java.util.Collection |
Variable.validate()
If this variable is not lazy (the default) then evaluate
the expression contained in this variable, and notify any
value dependents.
|
void |
ASTPtRootNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtRelationalNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtArrayConstructNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtLogicalNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtAssignmentNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtPowerNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtFunctionalIfNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtSumNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtBitwiseNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtRecordConstructNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtShiftNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtOrderedRecordConstructNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtMethodCallNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtFunctionDefinitionNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtUnionConstructNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtMatrixConstructNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtLeafNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtUnaryNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtFunctionApplicationNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
ASTPtProductNode.visit(ParseTreeVisitor visitor)
Traverse this node with the given visitor.
|
void |
CParseTreeCodeGenerator.visitArrayConstructNode(ASTPtArrayConstructNode node) |
void |
ParseTreeTypeInference.visitArrayConstructNode(ASTPtArrayConstructNode node)
Set the type of the given node to be an ArrayType that is the
least upper bound of the types of the node's children.
|
void |
ParseTreeVisitor.visitArrayConstructNode(ASTPtArrayConstructNode node) |
void |
ParseTreeWriter.visitArrayConstructNode(ASTPtArrayConstructNode node) |
void |
ParseTreeDumper.visitArrayConstructNode(ASTPtArrayConstructNode node) |
void |
ParseTreeFreeVariableRenamer.visitArrayConstructNode(ASTPtArrayConstructNode node) |
void |
ParseTreeFreeVariableCollector.visitArrayConstructNode(ASTPtArrayConstructNode node) |
void |
ParseTreeEvaluator.visitArrayConstructNode(ASTPtArrayConstructNode node)
Construct an ArrayToken that contains the tokens from the
children of the specified node.
|
void |
AbstractParseTreeVisitor.visitArrayConstructNode(ASTPtArrayConstructNode node) |
void |
ParseTreeSpecializer.visitArrayConstructNode(ASTPtArrayConstructNode node) |
void |
ParseTreeVisitor.visitAssignmentNode(ASTPtAssignmentNode node) |
void |
AbstractParseTreeVisitor.visitAssignmentNode(ASTPtAssignmentNode node) |
void |
CParseTreeCodeGenerator.visitBitwiseNode(ASTPtBitwiseNode node) |
void |
ParseTreeTypeInference.visitBitwiseNode(ASTPtBitwiseNode node)
Set the type of the given node to be the type that is the
least upper bound of the types of the node's children.
|
void |
ParseTreeVisitor.visitBitwiseNode(ASTPtBitwiseNode node) |
void |
ParseTreeWriter.visitBitwiseNode(ASTPtBitwiseNode node) |
void |
ParseTreeDumper.visitBitwiseNode(ASTPtBitwiseNode node) |
void |
ParseTreeFreeVariableRenamer.visitBitwiseNode(ASTPtBitwiseNode node) |
void |
ParseTreeFreeVariableCollector.visitBitwiseNode(ASTPtBitwiseNode node) |
void |
ParseTreeEvaluator.visitBitwiseNode(ASTPtBitwiseNode node)
Evaluate a bitwise operator on the children of the specified
node, where the particular operator is property of the node.
|
void |
AbstractParseTreeVisitor.visitBitwiseNode(ASTPtBitwiseNode node) |
void |
ParseTreeSpecializer.visitBitwiseNode(ASTPtBitwiseNode node) |
void |
CParseTreeCodeGenerator.visitFunctionalIfNode(ASTPtFunctionalIfNode node) |
void |
ParseTreeTypeInference.visitFunctionalIfNode(ASTPtFunctionalIfNode node)
Set the type of the given node to be the least upper bound of
the types of the two branches of the if.
|
void |
ParseTreeVisitor.visitFunctionalIfNode(ASTPtFunctionalIfNode node) |
void |
ParseTreeWriter.visitFunctionalIfNode(ASTPtFunctionalIfNode node) |
void |
ParseTreeDumper.visitFunctionalIfNode(ASTPtFunctionalIfNode node) |
void |
ParseTreeFreeVariableRenamer.visitFunctionalIfNode(ASTPtFunctionalIfNode node) |
void |
ParseTreeFreeVariableCollector.visitFunctionalIfNode(ASTPtFunctionalIfNode node) |
void |
ParseTreeEvaluator.visitFunctionalIfNode(ASTPtFunctionalIfNode node)
Evaluate the first child, and depending on its (boolean) result,
evaluate either the second or the third child.
|
void |
AbstractParseTreeVisitor.visitFunctionalIfNode(ASTPtFunctionalIfNode node) |
void |
ParseTreeSpecializer.visitFunctionalIfNode(ASTPtFunctionalIfNode node) |
void |
CParseTreeCodeGenerator.visitFunctionApplicationNode(ASTPtFunctionApplicationNode node) |
void |
ParseTreeTypeInference.visitFunctionApplicationNode(ASTPtFunctionApplicationNode node)
Set the type of the given node to be the return type of the
function determined for the given node.
|
void |
ParseTreeVisitor.visitFunctionApplicationNode(ASTPtFunctionApplicationNode node) |
void |
ParseTreeWriter.visitFunctionApplicationNode(ASTPtFunctionApplicationNode node) |
void |
ParseTreeDumper.visitFunctionApplicationNode(ASTPtFunctionApplicationNode node) |
void |
ParseTreeFreeVariableRenamer.visitFunctionApplicationNode(ASTPtFunctionApplicationNode node) |
void |
ParseTreeFreeVariableCollector.visitFunctionApplicationNode(ASTPtFunctionApplicationNode node) |
void |
ParseTreeEvaluator.visitFunctionApplicationNode(ASTPtFunctionApplicationNode node)
Apply a function to the children of the specified node.
|
void |
AbstractParseTreeVisitor.visitFunctionApplicationNode(ASTPtFunctionApplicationNode node) |
void |
ParseTreeSpecializer.visitFunctionApplicationNode(ASTPtFunctionApplicationNode node) |
void |
CParseTreeCodeGenerator.visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node) |
void |
ParseTreeTypeInference.visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node)
Set the type of the given node to be a function type whose
argument types are determined by the children of the node.
|
void |
ParseTreeVisitor.visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node) |
void |
ParseTreeWriter.visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node) |
void |
ParseTreeDumper.visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node) |
void |
ParseTreeFreeVariableRenamer.visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node) |
void |
ParseTreeFreeVariableCollector.visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node) |
void |
ParseTreeEvaluator.visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node)
Define a function, where the children specify the argument types
and the expression.
|
void |
AbstractParseTreeVisitor.visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node) |
void |
ParseTreeSpecializer.visitFunctionDefinitionNode(ASTPtFunctionDefinitionNode node) |
void |
CParseTreeCodeGenerator.visitLeafNode(ASTPtLeafNode node) |
void |
ParseTreeTypeInference.visitLeafNode(ASTPtLeafNode node)
Set the type of the given node to be the type of constant the
variable refers to, if the node represents a constant, or the
type of the identifier the node refers to in the current
scope.
|
void |
ParseTreeVisitor.visitLeafNode(ASTPtLeafNode node) |
void |
ParseTreeWriter.visitLeafNode(ASTPtLeafNode node) |
void |
ParseTreeDumper.visitLeafNode(ASTPtLeafNode node) |
void |
ParseTreeFreeVariableRenamer.visitLeafNode(ASTPtLeafNode node) |
void |
ParseTreeFreeVariableCollector.visitLeafNode(ASTPtLeafNode node) |
void |
ParseTreeEvaluator.visitLeafNode(ASTPtLeafNode node)
Evaluate a numeric constant or an identifier.
|
void |
AbstractParseTreeVisitor.visitLeafNode(ASTPtLeafNode node) |
void |
ParseTreeSpecializer.visitLeafNode(ASTPtLeafNode node) |
void |
CParseTreeCodeGenerator.visitLogicalNode(ASTPtLogicalNode node) |
void |
ParseTreeTypeInference.visitLogicalNode(ASTPtLogicalNode node)
Set the type of the given node to be boolean.
|
void |
ParseTreeVisitor.visitLogicalNode(ASTPtLogicalNode node) |
void |
ParseTreeWriter.visitLogicalNode(ASTPtLogicalNode node) |
void |
ParseTreeDumper.visitLogicalNode(ASTPtLogicalNode node) |
void |
ParseTreeFreeVariableRenamer.visitLogicalNode(ASTPtLogicalNode node) |
void |
ParseTreeFreeVariableCollector.visitLogicalNode(ASTPtLogicalNode node) |
void |
ParseTreeEvaluator.visitLogicalNode(ASTPtLogicalNode node)
Evaluate a logical AND or OR on the children of the specified node.
|
void |
AbstractParseTreeVisitor.visitLogicalNode(ASTPtLogicalNode node) |
void |
ParseTreeSpecializer.visitLogicalNode(ASTPtLogicalNode node) |
void |
CParseTreeCodeGenerator.visitMatrixConstructNode(ASTPtMatrixConstructNode node) |
void |
ParseTreeTypeInference.visitMatrixConstructNode(ASTPtMatrixConstructNode node)
Set the type of the given node to be an MatrixType based on the
least upper bound of the types of the node's children.
|
void |
ParseTreeVisitor.visitMatrixConstructNode(ASTPtMatrixConstructNode node) |
void |
ParseTreeWriter.visitMatrixConstructNode(ASTPtMatrixConstructNode node) |
void |
ParseTreeDumper.visitMatrixConstructNode(ASTPtMatrixConstructNode node) |
void |
ParseTreeFreeVariableRenamer.visitMatrixConstructNode(ASTPtMatrixConstructNode node) |
void |
ParseTreeFreeVariableCollector.visitMatrixConstructNode(ASTPtMatrixConstructNode node) |
void |
ParseTreeEvaluator.visitMatrixConstructNode(ASTPtMatrixConstructNode node)
Construct a matrix containing the children nodes.
|
void |
AbstractParseTreeVisitor.visitMatrixConstructNode(ASTPtMatrixConstructNode node) |
void |
ParseTreeSpecializer.visitMatrixConstructNode(ASTPtMatrixConstructNode node) |
void |
CParseTreeCodeGenerator.visitMethodCallNode(ASTPtMethodCallNode node) |
void |
ParseTreeTypeInference.visitMethodCallNode(ASTPtMethodCallNode node)
Set the type of the given node to be the return type of the
method determined for the given node.
|
void |
ParseTreeVisitor.visitMethodCallNode(ASTPtMethodCallNode node) |
void |
ParseTreeWriter.visitMethodCallNode(ASTPtMethodCallNode node) |
void |
ParseTreeDumper.visitMethodCallNode(ASTPtMethodCallNode node) |
void |
ParseTreeFreeVariableRenamer.visitMethodCallNode(ASTPtMethodCallNode node) |
void |
ParseTreeFreeVariableCollector.visitMethodCallNode(ASTPtMethodCallNode node) |
void |
ParseTreeEvaluator.visitMethodCallNode(ASTPtMethodCallNode node)
Apply a method to the children of the specified node, where the
first child is the object on which the method is defined and the
rest of the children are arguments.
|
void |
AbstractParseTreeVisitor.visitMethodCallNode(ASTPtMethodCallNode node) |
void |
ParseTreeSpecializer.visitMethodCallNode(ASTPtMethodCallNode node) |
void |
CParseTreeCodeGenerator.visitPowerNode(ASTPtPowerNode node) |
void |
ParseTreeTypeInference.visitPowerNode(ASTPtPowerNode node)
Set the type of the given node to be the type of the first
child of the given node.
|
void |
ParseTreeVisitor.visitPowerNode(ASTPtPowerNode node) |
void |
ParseTreeWriter.visitPowerNode(ASTPtPowerNode node) |
void |
ParseTreeDumper.visitPowerNode(ASTPtPowerNode node) |
void |
ParseTreeFreeVariableRenamer.visitPowerNode(ASTPtPowerNode node) |
void |
ParseTreeFreeVariableCollector.visitPowerNode(ASTPtPowerNode node) |
void |
ParseTreeEvaluator.visitPowerNode(ASTPtPowerNode node)
Evaluate the power operator on the children of the specified node.
|
void |
AbstractParseTreeVisitor.visitPowerNode(ASTPtPowerNode node) |
void |
ParseTreeSpecializer.visitPowerNode(ASTPtPowerNode node) |
void |
CParseTreeCodeGenerator.visitProductNode(ASTPtProductNode node) |
void |
ParseTreeTypeInference.visitProductNode(ASTPtProductNode node)
Set the type of the given node to be the least upper bound
type of the types of the node's children.
|
void |
ParseTreeVisitor.visitProductNode(ASTPtProductNode node) |
void |
ParseTreeWriter.visitProductNode(ASTPtProductNode node) |
void |
ParseTreeDumper.visitProductNode(ASTPtProductNode node) |
void |
ParseTreeFreeVariableRenamer.visitProductNode(ASTPtProductNode node) |
void |
ParseTreeFreeVariableCollector.visitProductNode(ASTPtProductNode node) |
void |
ParseTreeEvaluator.visitProductNode(ASTPtProductNode node)
Multiply the children of the specified node.
|
void |
AbstractParseTreeVisitor.visitProductNode(ASTPtProductNode node) |
void |
ParseTreeSpecializer.visitProductNode(ASTPtProductNode node) |
void |
CParseTreeCodeGenerator.visitRecordConstructNode(ASTPtRecordConstructNode node) |
void |
ParseTreeTypeInference.visitRecordConstructNode(ASTPtRecordConstructNode node)
Set the type of the given node to be a record token that
contains fields for each name in the record construction,
where the type of each field in the record is determined by
the corresponding type of the child nodes.
|
void |
ParseTreeVisitor.visitRecordConstructNode(ASTPtRecordConstructNode node) |
void |
ParseTreeWriter.visitRecordConstructNode(ASTPtRecordConstructNode node) |
void |
ParseTreeDumper.visitRecordConstructNode(ASTPtRecordConstructNode node) |
void |
ParseTreeFreeVariableRenamer.visitRecordConstructNode(ASTPtRecordConstructNode node) |
void |
ParseTreeFreeVariableCollector.visitRecordConstructNode(ASTPtRecordConstructNode node) |
void |
ParseTreeEvaluator.visitRecordConstructNode(ASTPtRecordConstructNode node)
Construct a record by assigning the fields values given by
the children nodes.
|
void |
AbstractParseTreeVisitor.visitRecordConstructNode(ASTPtRecordConstructNode node) |
void |
ParseTreeSpecializer.visitRecordConstructNode(ASTPtRecordConstructNode node) |
void |
CParseTreeCodeGenerator.visitRelationalNode(ASTPtRelationalNode node) |
void |
ParseTreeTypeInference.visitRelationalNode(ASTPtRelationalNode node)
Set the type of the given node to be boolean.
|
void |
ParseTreeVisitor.visitRelationalNode(ASTPtRelationalNode node) |
void |
ParseTreeWriter.visitRelationalNode(ASTPtRelationalNode node) |
void |
ParseTreeDumper.visitRelationalNode(ASTPtRelationalNode node) |
void |
ParseTreeFreeVariableRenamer.visitRelationalNode(ASTPtRelationalNode node) |
void |
ParseTreeFreeVariableCollector.visitRelationalNode(ASTPtRelationalNode node) |
void |
ParseTreeEvaluator.visitRelationalNode(ASTPtRelationalNode node) |
void |
AbstractParseTreeVisitor.visitRelationalNode(ASTPtRelationalNode node) |
void |
ParseTreeSpecializer.visitRelationalNode(ASTPtRelationalNode node) |
void |
CParseTreeCodeGenerator.visitShiftNode(ASTPtShiftNode node) |
void |
ParseTreeTypeInference.visitShiftNode(ASTPtShiftNode node)
Set the type of the given node to be the type of the first
child of the given node.
|
void |
ParseTreeVisitor.visitShiftNode(ASTPtShiftNode node) |
void |
ParseTreeWriter.visitShiftNode(ASTPtShiftNode node) |
void |
ParseTreeDumper.visitShiftNode(ASTPtShiftNode node) |
void |
ParseTreeFreeVariableRenamer.visitShiftNode(ASTPtShiftNode node) |
void |
ParseTreeFreeVariableCollector.visitShiftNode(ASTPtShiftNode node) |
void |
ParseTreeEvaluator.visitShiftNode(ASTPtShiftNode node)
Apply a shift operator to the children of the specified node.
|
void |
AbstractParseTreeVisitor.visitShiftNode(ASTPtShiftNode node) |
void |
ParseTreeSpecializer.visitShiftNode(ASTPtShiftNode node) |
void |
CParseTreeCodeGenerator.visitSumNode(ASTPtSumNode node) |
void |
ParseTreeTypeInference.visitSumNode(ASTPtSumNode node)
Set the type of the given node to be the least upper bound
type of the types of the node's children.
|
void |
ParseTreeVisitor.visitSumNode(ASTPtSumNode node) |
void |
ParseTreeWriter.visitSumNode(ASTPtSumNode node) |
void |
ParseTreeDumper.visitSumNode(ASTPtSumNode node) |
void |
ParseTreeFreeVariableRenamer.visitSumNode(ASTPtSumNode node) |
void |
ParseTreeFreeVariableCollector.visitSumNode(ASTPtSumNode node) |
void |
ParseTreeEvaluator.visitSumNode(ASTPtSumNode node)
Apply a sum operator to the children of the specified node.
|
void |
AbstractParseTreeVisitor.visitSumNode(ASTPtSumNode node) |
void |
ParseTreeSpecializer.visitSumNode(ASTPtSumNode node) |
void |
CParseTreeCodeGenerator.visitUnaryNode(ASTPtUnaryNode node) |
void |
ParseTreeTypeInference.visitUnaryNode(ASTPtUnaryNode node)
Set the type of the given node to be the type of the
child of the given node.
|
void |
ParseTreeVisitor.visitUnaryNode(ASTPtUnaryNode node) |
void |
ParseTreeWriter.visitUnaryNode(ASTPtUnaryNode node) |
void |
ParseTreeDumper.visitUnaryNode(ASTPtUnaryNode node) |
void |
ParseTreeFreeVariableRenamer.visitUnaryNode(ASTPtUnaryNode node) |
void |
ParseTreeFreeVariableCollector.visitUnaryNode(ASTPtUnaryNode node) |
void |
ParseTreeEvaluator.visitUnaryNode(ASTPtUnaryNode node)
Apply a unary operator to the single child of the specified node.
|
void |
AbstractParseTreeVisitor.visitUnaryNode(ASTPtUnaryNode node) |
void |
ParseTreeSpecializer.visitUnaryNode(ASTPtUnaryNode node) |
void |
ParseTreeVisitor.visitUnionConstructNode(ASTPtUnionConstructNode node) |
void |
ParseTreeEvaluator.visitUnionConstructNode(ASTPtUnionConstructNode node)
Construct a union by assigning the label value given by
the children nodes.
|
void |
AbstractParseTreeVisitor.visitUnionConstructNode(ASTPtUnionConstructNode node) |
static BooleanToken |
UtilityFunctions.within(Token token1,
Token token2,
double distance)
Return true if the first argument is close in value to the second,
where "close" means that it is within the distance given by the
third argument.
|
void |
AbstractInitializableParameter.wrapup()
Invoke wrapup() on registered initializables.
|
Constructor and Description |
---|
AbstractInitializableParameter(NamedObj container,
java.lang.String name)
Construct an instance of the attribute.
|
ArrayMapCachedMethod(java.lang.String methodName,
Type[] argumentTypes,
int type,
CachedMethod cachedMethod,
boolean[] reducedArgs)
Constructs a CachedMethod$ArrayMapCachedMethod object.
|
CachedMethod(java.lang.String methodName,
Type[] argumentTypes,
java.lang.reflect.Method method,
CachedMethod.ArgumentConversion[] conversions,
int type)
Construct a new CachedMethod.
|
ChoiceParameter(NamedObj container,
java.lang.String name,
java.lang.Class<?> enumClass)
Construct a parameter with the given name contained by the specified
entity.
|
ChoiceStringParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
ConstraintMonitor(CompositeEntity container,
java.lang.String name)
Construct an instance in the given container with the given name.
|
ConstraintMonitorAttributes(NamedObj container,
ConstraintMonitor decorator) |
ConstraintMonitorAttributes(NamedObj container,
java.lang.String name) |
ExpertParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
FileParameter(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
FileParameter(NamedObj container,
java.lang.String name,
boolean isOutput)
Construct an attribute with the given name contained by the
specified container.
|
MatrixMapCachedMethod(java.lang.String methodName,
Type[] argumentTypes,
int type,
CachedMethod cachedMethod,
boolean[] reducedArgs)
Constructs a CachedMethod$MatrixMapCachedMethod object.
|
NameParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
Parameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
Parameter(NamedObj container,
java.lang.String name,
Token token)
Construct a Parameter with the given container, name, and Token.
|
ScopeExtendingAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
SingletonParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
SingletonParameter(NamedObj container,
java.lang.String name,
Token token)
Construct a Parameter with the given container, name, and Token.
|
StringConstantParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
StringParameter(NamedObj container,
java.lang.String name)
Construct a parameter with the given name contained by the specified
entity.
|
TemporaryVariable(NamedObj container,
java.lang.String name)
Construct a variable with the given name as an attribute of the
given container.
|
Variable(NamedObj container,
java.lang.String name)
Construct a variable with the given name as an attribute of the
given container.
|
Variable(NamedObj container,
java.lang.String name,
Token token)
Construct a variable with the given container, name, and token.
|
Variable(NamedObj container,
java.lang.String name,
Token token,
boolean incrementWorkspaceVersion)
Construct a variable with the given container, name, and token.
|
Modifier and Type | Method and Description |
---|---|
void |
AttributeChanged.attributeChanged(Attribute attribute)
Update the cached value of the parameter.
|
Constructor and Description |
---|
AttributeChanged(java.lang.String name)
Construct a test class for the attributeChanged() method.
|
Modifier and Type | Method and Description |
---|---|
static InequalityTerm |
ArrayType.arrayOf(Typeable typeable)
Return a type constraint that can be used to constrain
another typeable object to have a type related to an
array whose element type is the type of the specified
typeable.
|
static InequalityTerm |
ArrayType.arrayOf(Typeable typeable,
int length)
Return a type constraint that can be used to constrain
another typeable object to have a type related to an
array whose element type is the type of the specified
typeable.
|
Token |
ObjectType.convert(Token token)
Convert the specified token into a token having the type
represented by this object.
|
Token |
FunctionType.convert(Token token)
Convert the argument token into a FunctionToken having this type,
if lossless conversion can be done.
|
Token |
UnionType.convert(Token token)
Convert the argument token into a UnionToken having this
type, if lossless conversion can be done.
|
abstract Token |
BaseType.convert(Token t)
Convert the specified token to a token having the type
represented by this object.
|
Token |
BaseType.UnknownType.convert(Token t) |
Token |
BaseType.ArrayBottomType.convert(Token t) |
Token |
BaseType.BooleanType.convert(Token t) |
Token |
BaseType.UnsignedByteType.convert(Token t) |
Token |
BaseType.ComplexType.convert(Token t) |
Token |
BaseType.FloatType.convert(Token t) |
Token |
BaseType.DoubleType.convert(Token t) |
Token |
BaseType.UnsizedFixType.convert(Token t) |
Token |
BaseType.ShortType.convert(Token t) |
Token |
BaseType.IntType.convert(Token t) |
Token |
BaseType.LongType.convert(Token t) |
Token |
BaseType.XmlTokenType.convert(Token t) |
Token |
BaseType.ScalarType.convert(Token t) |
Token |
BaseType.StringType.convert(Token t) |
Token |
BaseType.GeneralType.convert(Token t) |
Token |
BaseType.EventType.convert(Token t) |
Token |
BaseType.PetiteType.convert(Token t) |
Token |
BaseType.NilType.convert(Token t) |
Token |
BaseType.DateType.convert(Token t) |
Token |
TupleType.convert(Token token)
Convert the argument token into an ArrayToken having this
type, if losslessly conversion can be done.
|
Token |
MatrixType.convert(Token token)
If the argument is an instance of this class or a subclass,
then return the token.
|
Token |
MatrixType.BooleanMatrixType.convert(Token token) |
Token |
MatrixType.ComplexMatrixType.convert(Token token) |
Token |
MatrixType.DoubleMatrixType.convert(Token token) |
Token |
MatrixType.IntMatrixType.convert(Token token) |
Token |
MatrixType.FixMatrixType.convert(Token token) |
Token |
MatrixType.LongMatrixType.convert(Token token) |
Token |
RecordType.convert(Token token)
Convert the argument token into a RecordToken having this
type, if compatible.
|
Token |
FixType.convert(Token token)
Convert the specified token to a token having the type
represented by this object.
|
Token |
Type.convert(Token token)
Convert the specified token into a token having the type
represented by this object.
|
Token |
ActorType.convert(Token token)
Convert the specified token to a token having the type
represented by this object.
|
Token |
ArrayType.convert(Token token)
Convert the argument token into an ArrayToken having this
type, if lossless conversion can be done.
|
static InequalityTerm |
ArrayType.elementType(Typeable typeable)
Return a type constraint that can be used to constrain
another typeable object to have a type related to the
element type of the specified typeable.
|
static MatrixType |
MatrixType.getMatrixTypeForElementType(Type elementType)
Return a matrix type whose element type is the given element
type.
|
Type |
Typeable.getType()
Return the type of this object.
|
abstract java.lang.Object |
MonotonicFunction.getValue()
Return the current value of this monotonic function given the
current value of the variables returned by getVariables().
|
void |
TypeConstant.initialize(java.lang.Object e)
Throw an Exception since type constant cannot be initialized.
|
void |
MonotonicFunction.initialize(java.lang.Object e)
Throw an Exception.
|
void |
ArrayType.setType(Type type)
Set the type to the specified type, which is required to be
an array type.
|
void |
Typeable.setTypeAtMost(Type type)
Constrain the type of this object to be equal to or less
than the argument.
|
void |
Typeable.setTypeEquals(Type type)
Set a type constraint that the type of this object equal
the specified value.
|
void |
TypeConstant.setValue(java.lang.Object e)
Throw IllegalActionException since the value of this term
cannot be changed.
|
void |
MonotonicFunction.setValue(java.lang.Object e)
Throw an Exception.
|
void |
FunctionType.updateType(StructuredType newType)
Update this type to the specified FunctionType.
|
void |
UnionType.updateType(StructuredType newType)
Update this Type to the specified UnionType.
|
void |
TupleType.updateType(StructuredType newType)
Update this type to the specified TupleType.
|
void |
MatrixType.updateType(StructuredType newType)
Update this StructuredType to the specified Structured Type.
|
void |
RecordType.updateType(StructuredType newType)
Update this Type to the specified RecordType.
|
void |
StructuredType.updateType(StructuredType newType)
Update this StructuredType to the specified Structured Type.
|
void |
FixType.updateType(StructuredType newType)
Update this StructuredType to the specified Structured Type.
|
void |
ArrayType.updateType(StructuredType newType)
Update this Type to the specified ArrayType.
|
Constructor and Description |
---|
ObjectType(java.lang.Object value,
java.lang.Class<?> valueClass)
Construct an ObjectType with the given Java class as the class
specified in it.
|
RecordType(java.util.Map<java.lang.String,ptolemy.data.type.RecordType.FieldType> fieldMap)
Construct a RecordType with the labels and values specified by
a given Map object.
|
Modifier and Type | Method and Description |
---|---|
Token |
TestToken.TestType.convert(Token token)
Convert the specified token to a token having the type
represented by this object.
|
BooleanToken |
TestToken.isEqualTo(Token token)
Test for equality of the values of this Token and the argument Token.
|
Modifier and Type | Method and Description |
---|---|
Token |
BaseUnit.getToken()
Get the token contained by this base unit.
|
void |
UnitCategory.setContainer(NamedObj container)
Set the container and register this object in to the system wide
unit system by calling
UnitUtilities.registerUnitCategory(String) . |
Constructor and Description |
---|
BaseUnit(NamedObj container,
java.lang.String name)
Construct a base unit with the given name contained by
the specified entity.
|
UnitCategory(NamedObj container,
java.lang.String name)
Construct a unit category property with the given name contained by
the specified
entity.
|
UnitSystem(NamedObj container,
java.lang.String name)
Construct a unit system with the given name contained by the specified
entity.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Noise._generateRandomNumber()
Generate a new random number.
|
protected ContinuousODESolver |
ContinuousDirector._instantiateODESolver(java.lang.String className)
Instantiate an ODESolver from its classname.
|
protected boolean |
ContinuousDirector._isIntermediateStep()
Return true if the solver is at the first or intermediate steps
of a multi-step solver.
|
void |
ContinuousIntegrator.attributeChanged(Attribute attribute)
If the specified attribute is initialState, then reset
the state of the integrator to its value.
|
void |
ContinuousDirector.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
ContinuousIntegrator.fire()
If the value at the derivative port is known, and the
current step size is bigger than 0, perform an integration.
|
void |
HybridModalDirector.fire()
Fire the model model for one iteration.
|
void |
Noise.fire()
Produce a number that is linearly interpolated within the
current integration step, if linearlyInterpolate is true, or
the random number for the beginning of the integration
step otherwise.
|
void |
ContinuousDirector.fire()
Perform an integration step.
|
Time |
ContinuousDirector.fireAt(Actor actor,
Time time,
int index)
Handle firing requests from the contained actors by registering
breakpoints.
|
double |
ContinuousIntegrator.getDerivative()
Get the current value of the derivative input port.
|
void |
ContinuousIntegrator.initialize()
Initialize the integrator.
|
void |
Noise.initialize()
Initialize the random number generator with the seed, if it
has been given.
|
void |
ContinuousDirector.initialize()
Initialize model after type resolution.
|
abstract void |
ContinuousODESolver.integratorIntegrate(ContinuousIntegrator integrator)
Perform one integration step.
|
boolean |
ContinuousIntegrator.postfire()
Update the state.
|
boolean |
HybridModalDirector.postfire()
Override the base class so that if there is no enabled transition
then we record for each comparison operation in each
guard expression the distance between the current value of the
variable being compared and the threshold.
|
boolean |
Noise.postfire()
Set a flag to cause a new random number to be generated the next
time fire() is called.
|
boolean |
ContinuousDirector.postfire()
If this director is not at the top level and the breakpoint table
is not empty, request a refiring at the first breakpoint or at
the local current time (iteration start time plus the step size),
whichever is less.
|
boolean |
ContinuousIntegrator.prefire()
If either the impulse or initialState input is unknown,
then return false.
|
boolean |
HybridModalDirector.prefire()
Override the base class to set current time to match that of
the enclosing executive director, if there is one, regardless
of whether that time is in the future or past.
|
boolean |
ContinuousDirector.prefire()
Initialize the fixed-point iteration by setting all receivers to
unknown, and return true if we have not passed the stop time.
|
void |
ContinuousDirector.preinitialize()
Preinitialize the model for an execution.
|
double |
HybridModalDirector.refinedStepSize()
Return the minimum of the step sizes suggested by any
actors that were fired in the current iteration.
|
double |
ContinuousDirector.refinedStepSize()
Return the refined step size, which is the minimum of the
current step size and the suggested step size of all actors that
implement ContinuousStepSizeController and that also ensures
that we do not pass a breakpoint.
|
void |
ContinuousDirector.resume()
Resume the actor at the specified time.
|
void |
HybridModalDirector.rollBackToCommittedState()
Roll back to committed state.
|
void |
ContinuousDirector.rollBackToCommittedState()
Roll back all actors that implement ContinuousStatefulComponent
to committed state, and set local model time to the start
of the integration period.
|
void |
ContinuousDirector.setModelTime(Time newTime)
Set a new value to the current time of the model.
|
double |
HybridModalDirector.suggestedStepSize()
Return the minimum of the step sizes suggested by any
actors that were fired in current iteration.
|
double |
ContinuousDirector.suggestedStepSize()
Return the suggested step size for next integration.
|
boolean |
ContinuousDirector.transferInputs(IOPort port)
Override the base class to do nothing.
|
boolean |
ContinuousDirector.transferOutputs(IOPort port)
Override the base class to do nothing.
|
Constructor and Description |
---|
ContinuousDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
ContinuousIntegrator(CompositeEntity container,
java.lang.String name)
Construct an integrator with the specified name and a container.
|
ContinuousScheduler(ContinuousDirector container,
java.lang.String name)
Construct a scheduler in the given container with the given name.
|
HybridModalDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
Noise(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
ExplicitRK45Solver.integratorIntegrate(ContinuousIntegrator integrator)
Fire the given integrator.
|
void |
ExplicitRK23Solver.integratorIntegrate(ContinuousIntegrator integrator)
Fire the given integrator.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DifferentialSystem._addPort(Port port)
Add a port to this actor.
|
protected double |
BandlimitedNoise._generateGaussian()
Generate a new random number.
|
protected void |
BandlimitedNoise._generateRandomNumber()
Generate a new random number.
|
protected void |
Waveform._produceIntermediateOutput()
Produce the output required at times between the specified times
using the specified interpolation method.
|
protected void |
Waveform._skipToNextPhase()
Skip the current firing phase and request a refiring at the
time of the next one.
|
void |
DifferentialSystem.attributeChanged(Attribute attribute)
If the argument is any parameter other than stateVariableNames
t, or any parameter matching an input port,
then request reinitialization.
|
void |
LinearStateSpace.attributeChanged(Attribute attribute)
If the argument is A, B, C, D or initialState
parameters, check that they are indeed matrices and vectors,
and request for initialization from the director if there is one.
|
void |
LevelCrossingDetector.attributeChanged(Attribute attribute)
Update the attribute if it has been changed.
|
void |
EventSource.attributeChanged(Attribute attribute)
Deprecated.
If the argument is the offsets parameter, check that the
array is nondecreasing and has the right dimension; if the
argument is period, check that it is positive.
|
void |
ContinuousTimeDelay.attributeChanged(Attribute attribute)
If the attribute is delay, then ensure that the value
is non-negative.
|
void |
PeriodicSampler.attributeChanged(Attribute attribute)
If the attribute is microstep, adjust the causality interface.
|
void |
ContinuousTransferFunction.attributeChanged(Attribute attribute)
If the argument is the numerator or the denominator
parameters, request for initialization from the director if
there is one.
|
void |
Waveform.attributeChanged(Attribute attribute)
Check the validity of the parameter.
|
void |
LevelCrossingDetector.declareDelayDependency()
Declare that the output does not depend on the input in a firing.
|
void |
ContinuousTimeDelay.declareDelayDependency()
Declare that the output
does not depend on the input in a firing.
|
void |
DifferentialSystem.fire()
Override the base class to first set the value of the
parameter t to match current time, then to set
the local parameters that mirror input values,
and then to fire the contained actors.
|
void |
ContinuousMerge.fire()
Read the input channels in order until either a present input
is found or we run out of channels.
|
void |
Derivative.fire()
Produce outputs as specified in the class comment.
|
void |
LevelCrossingDetector.fire()
Detect whether the current input compared to the input
on the last iteration indicates that a level crossing in the
appropriate direction has occurred, if the time is within
errorTolerance of the time at which the crossing occurs.
|
void |
BandlimitedNoise.fire()
Produce a number that is linearly interpolated within the
current integration step, if linearlyInterpolate is true, or
the random number for the beginning of the integration
step otherwise.
|
void |
EventSource.fire()
Deprecated.
Emit the discrete event that happens at the current time.
|
void |
ContinuousTimeDelay.fire() |
void |
PeriodicSampler.fire()
Generate an output if the current time is one of the sampling
times and the microstep matches.
|
void |
ZeroOrderHold.fire()
Output the latest token consumed from the consumeCurrentEvents()
call.
|
void |
ContinuousMerge.initialize()
Initialize this actor by clearing memory of any pending outputs.
|
void |
Derivative.initialize()
Ensure that the next invocation of the fire() method is treated
as a first firing.
|
void |
LevelCrossingDetector.initialize()
Initialize the execution.
|
void |
BandlimitedNoise.initialize()
Initialize the random number generator with the seed, if it
has been given.
|
void |
EventSource.initialize()
Deprecated.
Schedule the first firing and initialize local variables.
|
void |
ContinuousTimeDelay.initialize()
Initialize the states of this actor.
|
void |
PeriodicSampler.initialize()
Set the next sampling time for each
input as the start time (i.e. the current time).
|
void |
Waveform.initialize()
Override the base class to set the output microstep to zero.
|
void |
ZeroOrderHold.initialize()
Initialize token.
|
protected Token |
ContinuousTimeDelay.linearInterpolate(TimedEvent leftEvent,
TimedEvent rightEvent)
Linear interpolate between previous and current input.
|
boolean |
ContinuousMerge.postfire()
If there are any pending outputs, then request a refiring at the
current time.
|
boolean |
Derivative.postfire()
Record the current input and time.
|
boolean |
LinearStateSpace.postfire()
Request the reinitialization.
|
boolean |
LevelCrossingDetector.postfire()
Prepare for the next iteration, by making the current trigger
token to be the history trigger token.
|
boolean |
BandlimitedNoise.postfire()
If we are at the end of the current interval, then generate
a new random number for the new interval, and request a
refiring at the end of that interval.
|
boolean |
EventSource.postfire()
Deprecated.
Update the state of the actor and schedule the next firing,
if the director is in the discrete phase.
|
boolean |
ContinuousTimeDelay.postfire()
Schedule the next output event.
|
boolean |
PeriodicSampler.postfire()
If the current microstep is zero, sample the inputs and request
a refiring at the current time.
|
boolean |
ZeroOrderHold.postfire()
Override the base class to record that the first firing
has completed.
|
boolean |
EventSource.prefire()
Deprecated.
Return true if this actor is scheduled to fire at the current time.
|
void |
DifferentialSystem.preinitialize()
Create the model inside from the parameter values.
|
void |
LinearStateSpace.preinitialize()
Sanity check the parameters; if the parameters are legal
create a continuous-time subsystem that implement the model,
preinitialize all the actors in the subsystem,
and set the opaqueness of this actor to true.
|
void |
LevelCrossingDetector.preinitialize()
Make sure the actor runs with a ContinuousDirector.
|
void |
PeriodicSampler.preinitialize()
Make sure the actor runs inside a domain that understands
superdense time.
|
void |
ContinuousTransferFunction.preinitialize()
Sanity check the parameters; if the parameters are legal
create a continuous-time subsystem that implement the transfer
function, preinitialize all the actors in the subsystem,
and set the opaqueness of this actor to true.
|
void |
LinearStateSpace.wrapup()
Set the opaqueness back to true and call the wrapup() method
of the super class.
|
void |
ContinuousTransferFunction.wrapup()
Set the opaqueness to true and wrapup.
|
Constructor and Description |
---|
BandlimitedNoise(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ContinuousMerge(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
ContinuousTimeDelay(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
ContinuousTransferFunction(CompositeEntity container,
java.lang.String name)
Construct the composite actor with a name and a container.
|
ContinuousTransferFunction(Workspace workspace)
Construct a ContinuousTransferFunction in the specified
workspace with no container and an empty string as a name.
|
Derivative(CompositeEntity container,
java.lang.String name)
Construct a derivative actor.
|
DifferentialSystem(CompositeEntity container,
java.lang.String name)
Construct the composite actor with a name and a container.
|
DifferentialSystem(Workspace workspace)
Construct a DifferentialSystem in the specified
workspace with no container and an empty string as a name.
|
DiscreteClock(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor in the specified container with the specified
name.
|
EventSource(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor in the specified container with the specified
name.
|
Integrator(CompositeEntity container,
java.lang.String name)
Construct an integrator.
|
LevelCrossingDetector(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
LinearStateSpace(CompositeEntity container,
java.lang.String name)
Construct the composite actor with a name and a container.
|
LinearStateSpace(Workspace workspace)
Construct a LinearStateSpace in the specified
workspace with no container and an empty string as a name.
|
Noise(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
PeriodicSampler(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Waveform(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
ZeroOrderHold(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
DDFDirector._fireActor(Actor actor)
Iterate the actor once.
|
protected ActorEnablingStatus |
DDFDirector._getActorStatus(Actor actor)
Determine actor enabling status.
|
protected boolean |
DDFDirector._isDeferrable(Actor actor)
Check each remote receiver to see whether the number of tokens
in the receiver is greater than or equal to the
tokenConsumptionRate of the containing port.
|
protected boolean |
DDFDirector._isEnabled(Actor actor)
Check to see whether the actor is enabled.
|
protected void |
DDFDirector._updateConnectedActorsStatus(Actor actor)
Update the enabling status of the given actor and all actors
connected to this actor.
|
void |
DDFDirector.attributeChanged(Attribute attribute)
If the attribute being changed is runUntilDeadlockInOneIteration
and it is set to be true, then verify this director is not at the
top level.
|
void |
DDFDirector.fire()
Execute the model for one iteration.
|
void |
DDFDirector.initialize()
Initialize the model controlled by this director.
|
void |
DDFDirector.initialize(Actor actor)
Initialize the given actor.
|
boolean |
DDFDirector.postfire()
Increment the number of iterations.
|
boolean |
DDFDirector.prefire()
Check the input ports of the container composite actor (if there
are any) to see whether they have enough tokens, and return true
if they do.
|
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.
|
Constructor and Description |
---|
DDFDirector()
Construct a director in the default workspace with an empty string
as its name.
|
DDFDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
DDFDirector(Workspace workspace)
Construct a director in the workspace with an empty name.
|
Modifier and Type | Method and Description |
---|---|
void |
DDFBooleanSelect.fire()
Fire the actor once.
|
void |
ActorRecursion.fire()
Clone the composite actor referred to by the StringParameter
recursionActor into itself.
|
void |
DDFSelect.fire()
Fire the actor once.
|
void |
DDFBooleanSelect.initialize()
Initialize this actor and the rate parameters so that it will read
from the control port in the first iteration.
|
void |
DDFSingleTokenCommutator.initialize()
Begin execution by setting rate parameter indicating it will
read the zeroth input channel.
|
void |
ActorRecursion.initialize()
Initialize this actor.
|
void |
DDFSelect.initialize()
Initialize this actor and rate parameters so that it will read
from the control port in the first iteration.
|
boolean |
DDFBooleanSelect.postfire()
Update rate parameters for the next iteration.
|
boolean |
DDFSingleTokenCommutator.postfire()
Update rate parameter indicating the next input channel.
|
boolean |
ActorRecursion.postfire()
Override the base class to return false.
|
boolean |
DDFSelect.postfire()
Update rate parameters for the next iteration.
|
boolean |
DDFBooleanSelect.prefire()
Return false if the port to read from in the current
iteration does not have a token.
|
boolean |
DDFSelect.prefire()
Return false if the port or channel it needs to read from in the
following firing does not have a token.
|
Constructor and Description |
---|
ActorRecursion(CompositeEntity container,
java.lang.String name)
Create an ActorRecursion with a name and a container.
|
DDFBooleanSelect(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
DDFOrderedMerge(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
DDFSelect(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
DDFSingleTokenCommutator(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
SmartSender.fire()
If the output port is connected, then send a count of the firing
to the output; otherwise, issue a change request that will search
for an input port to connect to.
|
void |
SmartSender.initialize()
Initialize this actor, which in this case requests a firing at
the current time.
|
Constructor and Description |
---|
SmartSender(CompositeEntity container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DEDirector._actorFired()
Perform book keeping procedures after an actor firing.
|
protected boolean |
DEDirector._checkForNextEvent()
Enforces a firing of a DE director only handles events with the
same tag.
|
protected void |
DEDirector._enqueueEvent(Actor actor,
Time time,
int defaultMicrostep)
Put a pure event into the event queue to schedule the given actor to
fire at the specified timestamp.
|
protected void |
DEDirector._enqueueTriggerEvent(IOPort ioPort)
Put a trigger event into the event queue.
|
protected int |
DEDirector._fire()
Advance the current model tag to that of the earliest event in
the event queue, and fire all actors that have requested or
are triggered to be fired at the current tag.
|
protected int |
DEDirector._getDepthOfActor(Actor actor)
Return the depth of an actor.
|
protected int |
DEDirector._getDepthOfIOPort(IOPort ioPort)
Return the depth of an ioPort.
|
protected Actor |
DEDirector._getNextActorToFire()
Dequeue the events that have the smallest tag from the event queue.
|
protected void |
DEDirector._issueExecutionAspectWarning()
In DE, a warning is issued when execution aspects are used because
these might change the DE semantics of the execution.
|
protected void |
DEDirector._noActorToFire()
There are no actor to fire.
|
protected void |
DEDirector._requestFiring()
Request that the container of this director be refired in some
future time specified by the first event of the local event queue.
|
protected boolean |
DEDirector._schedule(NamedObj actor,
Time timestamp)
Schedule an actor for execution on a ExecutionAspect.
|
void |
DEDirector.attributeChanged(Attribute attribute)
Update the director parameters when attributes are changed.
|
void |
DEDirector.cancelFireAt(Actor actor,
Time time)
Cancel a requested firing of the given actor at the given model
time microstep 1.
|
void |
DEDirector.cancelFireAt(Actor actor,
Time time,
int index)
Cancel a requested firing of the given actor at the given model
time with the given microstep.
|
java.lang.String |
DEDirector.describePriorities()
Return a string that describes the depths of actors and their ports.
|
void |
DEDirector.fire()
Fire actors according to events in the event queue.
|
Time |
DEDirector.fireAt(Actor actor,
Time time)
Schedule an actor to be fired at the specified time by posting
a pure event to the director, and return the time at which
the specified actor will be fired.
|
Time |
DEDirector.fireAt(Actor actor,
Time time,
int index)
Request a firing of the given actor at the given model
time with the given microstep.
|
Time |
DEDirector.fireAtCurrentTime(Actor actor)
Fire the actor actor at the current model time or, if synchronizeToRealTime
is enabled and we are past the initialization phase of execution,
then fire the actor at the model time that corresponds to the current
real time.
|
void |
DEDirector.fireAtRelativeTime(Actor actor,
Time time)
Schedule an actor to be fired in the specified time relative to
the current model time.
|
Time |
DEDirector.getModelNextIterationTime()
Return the timestamp of the next event in the queue.
|
double |
DEDirector.getStartTime()
Deprecated.
As Ptolemy II 4.1, use
Director.getModelStartTime()
instead. |
double |
DEDirector.getStopTime()
Deprecated.
As Ptolemy II 4.1, use
Director.getModelStopTime()
instead. |
void |
DEDirector.initialize()
Initialize all the contained actors by invoke the initialize() method
of the super class.
|
boolean |
DEDirector.postfire()
Return false if there are no more actors to be fired or the stop()
method has been called.
|
boolean |
DEDirector.prefire()
Set the model time to the outside time if this director is
not at the top level.
|
void |
DEDirector.preinitialize()
Set the current timestamp to the model start time, invoke the
preinitialize() methods of all actors deeply contained by the
container.
|
void |
DEEventQueue.put(DEEvent event)
Enqueue a DE event into the event queue.
|
void |
DEReceiver.put(Token token)
Put a token into this receiver and post a trigger event to the director.
|
boolean |
DEEventQueue.remove(DEEvent event)
Remove an event from the event queue and return true if
it was removed, and false if it was not in the queue.
|
void |
DEDirector.resumeActor(NamedObj actor)
Resume the execution of an actor that was previously blocked because
it didn't have all the resources it needed for execution.
|
void |
DEDirector.setIndex(int index)
Set the superdense time index.
|
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.
|
void |
DEDirector.wrapup()
Invoke the wrapup method of the super class.
|
Constructor and Description |
---|
DEActor(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
DEDirector()
Construct a director in the default workspace with an empty string
as its name.
|
DEDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
DEDirector(Workspace workspace)
Construct a director in the workspace with an empty name.
|
DEEvent(Actor actor,
Time timeStamp,
int microstep,
int depth)
Construct a pure event with the specified destination actor,
timestamp, microstep, and depth.
|
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.
|
DEThreadActor(TypedCompositeActor container,
java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TimedDelay._fireAt(Time time)
Deprecated.
Request a firing of this actor at the specified time
and throw an exception if the director does not agree to
do it at the requested time.
|
protected void |
TimedDelay._init()
Deprecated.
Initialize the delay parameter.
|
void |
Queue.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
TimedDelay.attributeChanged(Attribute attribute)
Deprecated.
If the attribute is delay, then ensure that the value
is non-negative.
|
void |
MostRecent.attributeChanged(Attribute attribute)
If the initialValue parameter is the argument, then
reset the current output to match the new value.
|
void |
PID.attributeChanged(Attribute attribute)
If the attribute is Kp, Ki, or Kd then ensure
that the value is numeric.
|
void |
Server.attributeChanged(Attribute attribute)
If the attribute is serviceTime, then ensure that the value
is non-negative, and if the attribute is
capacity, then change the capacity of the queue.
|
void |
VariableDelay.attributeChanged(Attribute attribute)
Deprecated.
If the attribute is delay, then ensure that the value
is non-negative.
|
void |
QuantizedSampler.attributeChanged(Attribute attribute)
If the argument is the quantum parameter, then cache
the value.
|
void |
Queue.declareDelayDependency()
Declare that the output
does not depend on the input in a firing.
|
void |
TimedDelay.declareDelayDependency()
Deprecated.
Declare that the output
does not depend on the input in a firing.
|
void |
Server.declareDelayDependency()
Declare that the output does not depend on
the input, serviceTime, and priority, in a firing.
|
void |
VariableDelay.declareDelayDependency()
Deprecated.
Declare that the output
does not depend on the input and delay in a firing.
|
void |
Register.declareDelayDependency()
Declare that the output
does not depend on the input in a firing.
|
void |
Timer.declareDelayDependency()
Deprecated.
Declare that the output
does not depend on the input in a firing.
|
void |
AverageOverTime.fire()
Fire this actor.
|
void |
Derivative.fire()
Consume at most one token from the input port and output
its value minus the value of the input read in the previous
iteration, divided by the time gap between the two events.
|
void |
Wire.fire()
Deprecated.
If there is a token in on any channel of the input port,
output the most recent value on all the output port
channels.
|
void |
DateToEvent.fire()
Read date tokens from the input and store them until the real
time equals the date in the token.
|
void |
Queue.fire()
Put a new input token on the queue and/or produce output
data from the queue.
|
void |
TimedDelay.fire()
Deprecated.
Read one token from the input.
|
void |
NonInterruptibleTimer.fire()
Deprecated.
Read one token from the input.
|
void |
MostRecent.fire()
Consume all the tokens in the input ports and record them.
|
void |
SharedQueue.fire()
If there is an input at the input port, consume it.
|
void |
EventToDate.fire()
Output a DateToken with a date that corresponds to the current model
time.
|
void |
PID.fire()
Consume at most one token from the input port and output
the PID control.
|
void |
GetCurrentMicrostep.fire()
Deprecated.
Send the simulated physical time to the output, which is the
currentTime of the enclosing DE director.
|
void |
Integrator.fire()
Consume at most one token from the input port and output
the average of it and the previous input (linear interpolation),
multiplied by the time gap between the two events.
|
void |
Inhibit.fire()
Consume at most one token from each channel of the
input port.
|
void |
TimeGap.fire()
Beginning with the second input, produce an output that is
the elapsed time since the previous input is received.
|
void |
Server.fire()
If there is input, read it and put it in the queue.
|
void |
Previous.fire()
If there is a previous token, then produce it on the output,
and then read the input and record it for the next firing.
|
void |
VariableDelay.fire()
Deprecated.
Update the delay parameter from the delay port and ensure the delay
is not negative.
|
void |
Merge.fire()
Read the first available tokens from an input channel and
send them to the output port.
|
void |
TestActorPortDepth.fire()
Query the director for a description of the depths of its
actors and their ports, and produce that description on the
output.
|
void |
DateToModelTime.fire()
Read DateToken on input and output corresponding model time value.
|
void |
WaitingTime.fire()
If this firing is triggered by an event at waitee, then output
the waiting time for each prior event arrival at waiter
since the last arrival of waitee.
|
void |
SuppressSimultaneousEvents.fire()
Consume one token from the input port, and output if it is the first
token seen at this point in physical time.
|
void |
EventFilter.fire()
Consume at most one token from each channel of the
input port.
|
void |
QuantizedSampler.fire()
Produce an output equal to the input if the input has crossed
the quantum; otherwise, produce no output.
|
void |
Register.fire()
If there is a token in the trigger port, emit the previously
seen inputs from the input port.
|
void |
TimeCompare.fire()
Fire this actor once.
|
void |
EventButton.fire()
Deprecated.
Fire the actor.
|
void |
Timer.fire()
Deprecated.
Read one token from the input.
|
void |
AverageOverTime.initialize()
Initialize this actor.
|
void |
Derivative.initialize()
Reset to indicate that no input has yet been seen.
|
void |
Wire.initialize()
Deprecated.
Initialize the actor.
|
void |
DateToEvent.initialize()
Check weather enclosing director is a DEDirector with
synchronizeToRealTime is enabled.
|
void |
Queue.initialize()
Clear the cached input tokens.
|
void |
TimedDelay.initialize()
Deprecated.
Initialize the states of this actor.
|
void |
NonInterruptibleTimer.initialize()
Deprecated.
Reset the states of the server to indicate that the timer is not
processing any inputs.
|
void |
MostRecent.initialize()
Clear the cached input tokens.
|
void |
SharedQueue.initialize()
Make all output channels ready.
|
void |
EventToDate.initialize()
Check weather enclosing director is a DEDirector with
synchronizeToRealTime is enabled.
|
void |
PID.initialize()
Reset to indicate that no input has yet been seen.
|
void |
Integrator.initialize()
Reset to indicate that no input has yet been seen.
|
void |
TimeGap.initialize()
Set the previous event time to negative infinity.
|
void |
Server.initialize()
Reset the states of the server to indicate that the server is ready
to serve.
|
void |
Previous.initialize()
Initialize so that the initial token will be produced.
|
void |
VariableDelay.initialize()
Deprecated.
Initialize the states of this actor.
|
void |
Merge.initialize()
Initialize this actor by creating a new queue for pending outputs.
|
void |
DateToModelTime.initialize()
Check weather enclosing director is a DEDirector with
synchronizeToRealTime is enabled.
|
void |
WaitingTime.initialize()
Clear the list of waiters.
|
void |
SuppressSimultaneousEvents.initialize()
Reset to indicate that no input has yet been seen.
|
void |
QuantizedSampler.initialize()
Initialize this actor.
|
void |
TimeCompare.initialize()
Initialize this actor.
|
void |
EventButton.initialize()
Deprecated.
Create a button on the screen, if necessary.
|
void |
Timer.initialize()
Deprecated.
Initialize the internal states of this actor.
|
boolean |
AverageOverTime.postfire() |
boolean |
Derivative.postfire()
Record the most recent input as the latest input.
|
boolean |
Queue.postfire()
Commit additions or removals from the queue.
|
boolean |
TimedDelay.postfire()
Deprecated.
Process the current input if it has not been processed.
|
boolean |
NonInterruptibleTimer.postfire()
Deprecated.
If there are delayed inputs that are not processed and the timer
is not busy, begin processing the earliest input and schedule
a future firing to produce it.
|
boolean |
PID.postfire()
Record the most recent input as the latest input.
|
boolean |
Integrator.postfire()
Record the most recent input as the latest input.
|
boolean |
TimeGap.postfire()
Record the time when the current input arrives.
|
boolean |
Server.postfire()
If the server is free and there is at least one token in the queue,
request a firing at the current time plus the service time.
|
boolean |
Previous.postfire()
Update the state of the actor.
|
boolean |
VariableDelay.postfire()
Deprecated.
Process the current input if it has not been processed.
|
boolean |
Register.postfire()
Read and record the inputs.
|
boolean |
EventButton.postfire()
Deprecated.
Reset the state of the actor and return whatever the superclass
returns.
|
boolean |
Timer.postfire()
Deprecated.
Update the internal states of this actor.
|
boolean |
AverageOverTime.prefire()
Determine whether this actor can fire in the current iteration.
|
boolean |
Wire.prefire()
Deprecated.
Return true if there is any token on an input port.
|
boolean |
Queue.prefire()
If there is no input on the trigger port, return
false, indicating that this actor does not want to fire.
|
boolean |
MostRecent.prefire()
If there is no input on the trigger port, return
false, indicating that this actor does not want to fire.
|
boolean |
SharedQueue.prefire()
Return true if either there is input at the input port, or there are
triggering signals at the trigger port.
|
boolean |
Register.prefire()
Return true if there is any token in the input or the trigger
port.
|
boolean |
TimeCompare.prefire()
Return ture if this actor can fire.
|
protected void |
MostRecent.readInputs(int commonWidth,
int inputWidth)
Consume inputs and save them.
|
protected void |
Integrator.resetAccumulation()
Reset value of the accumulator to either an initial value or null.
|
protected void |
MostRecent.sendOutputIfTriggered(int commonWidth)
Send output tokens if any input on the trigger port has a token.
|
void |
EventButton.setContainer(CompositeEntity container)
Deprecated.
Override the base class to remove the display from its graphical
container if the argument is null.
|
void |
Queue.wrapup()
Clear the queue tokens.
|
void |
MostRecent.wrapup()
Wrapup and reset variables.
|
void |
SharedQueue.wrapup()
Clear the buffer.
|
void |
Server.wrapup()
Clear the queue so that the capacity can be changed.
|
void |
Previous.wrapup()
Reset the state variables.
|
Constructor and Description |
---|
AverageOverTime(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DateToEvent(CompositeEntity container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
DateToModelTime(CompositeEntity container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
Derivative(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DETransformer(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
EventButton(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with an input multiport of type GENERAL.
|
EventFilter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
EventToDate(CompositeEntity container,
java.lang.String name)
Create a new actor in the specified container with the specified
name.
|
GetCurrentMicrostep(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
Inhibit(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Integrator(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Merge(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
MostRecent(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
NonInterruptibleTimer(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the specified container and name.
|
PID(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Previous(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
QuantizedSampler(CompositeEntity container,
java.lang.String name)
Construct a new instance of the quantizer.
|
Queue(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Register(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Server(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
SharedQueue(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SuppressSimultaneousEvents(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
TestActorPortDepth(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
TimeCompare(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
TimedDelay(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the specified container and name.
|
TimeGap(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
Timer(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the specified container and name.
|
VariableDelay(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the specified container and name.
|
WaitingTime(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
Wire(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
TestSource.fire() |
void |
TestSource.initialize() |
static void |
Time.main(java.lang.String[] arg) |
Constructor and Description |
---|
Mutate() |
SimpleDelay(TypedCompositeActor container,
java.lang.String name)
Deprecated.
|
TestSource(CompositeEntity container,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
CancelFireAtTest.fire()
Send true to the output and cancel the firing at times 1.0 and 3.0.
|
void |
SuperdenseTimeTest.fire()
Respond to an HTTP request.
|
void |
CancelFireAtTest.initialize()
Schedule firings at times 0, 1, 2, 3, 4.
|
void |
SuperdenseTimeTest.initialize()
Set the output value to 0.0.
|
boolean |
SuperdenseTimeTest.postfire()
Read the inputs and sum them.
|
Constructor and Description |
---|
CancelFireAtTest(CompositeEntity container,
java.lang.String name)
Create an instance of the actor.
|
SuperdenseTimeTest(CompositeEntity container,
java.lang.String name)
Create an instance of the actor.
|
Modifier and Type | Class and Description |
---|---|
class |
MultipleEnabledTransitionsException
Thrown when multiple outgoing transitions from one state are enabled at the
same time.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FSMDirector.handleModelError(NamedObj context,
IllegalActionException exception)
Return true if the model errors are handled.
|
boolean |
FSMActor.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FSMActor._addEntity(ComponentEntity entity)
Add a state to this FSMActor.
|
protected void |
FSMActor._addRelation(ComponentRelation relation)
Add a transition to this FSMActor.
|
protected boolean |
FSMActor._areAllImmediateTransitionsDisabled(State state)
Return true if all immediate transitions from
the specified state have guards that can be evaluated
and that evaluate to false.
|
protected void |
FSMDirector._buildLocalReceiverMaps()
Build for each state of the mode controller the map from input ports of the modal model to
the local receivers when the mode controller is in that state.
|
protected void |
Transition._checkPort(Port port)
Throw an IllegalActionException if the port cannot be linked
to this transition.
|
protected void |
FSMActor._chooseTransitions(java.util.List<Transition> transitionList,
boolean preemptive,
boolean immediateOnly,
boolean inInitialize,
boolean inPreinitialize)
Choose zero or more transitions enabled in the current
state from the list of specified transitions.
|
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 State |
FSMActor._destinationState()
Return the chosen destination state.
|
protected boolean |
MultirateFSMDirector._doPostfire()
Postfire the modal model and commit the transition.
|
protected int |
FSMActor._getChannelForIdentifier(java.lang.String identifier)
Given an identifier, return a channel number i if the identifier is of
the form portName_i, portName_i_isPresent, portName_iArray.
|
protected NamedObj |
OutputActionsAttribute._getDestination(java.lang.String name)
Given a destination name, return a NamedObj that matches that
destination.
|
protected abstract NamedObj |
AbstractActionsAttribute._getDestination(java.lang.String name)
Given a destination name, return a NamedObj that matches that
destination.
|
protected NamedObj |
CommitActionsAttribute._getDestination(java.lang.String name)
Given a destination name, return a NamedObj that matches that
destination.
|
protected CompositeActor |
MultirateFSMDirector._getEnclosingDomainActor()
If the container of this director does not have an MultirateFSMDirector
as its executive director, then return the container.
|
protected java.util.Map<State,Transition> |
FSMDirector._getLastChosenTransition()
Return the last chosen transitions.
|
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.
|
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 java.util.List<Actor> |
FSMDirector._getStateRefinementsToPostfire()
Return the list used to keep track of refinements that have been
fired.
|
protected java.util.List<Actor> |
FSMDirector._getTransitionRefinementsToPostfire()
Return the list used to keep track of refinements that have been
fired.
|
protected void |
FSMActor._initializeRefinements(State state)
Initialize the refinements of the specified state.
|
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 |
FSMDirector._readInputs()
Set the value of the shadow variables for input ports of the controller actor.
|
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 void |
FSMDirector._readOutputsFromRefinement()
Set the value of the shadow variables for input ports of the
controller actor that are defined by output ports of the
refinement.
|
protected boolean |
FSMActor._schedule(NamedObj actor,
Time timestamp)
Schedule an actor for execution on a ExecutionAspect.
|
protected void |
FSMDirector._setCurrentConnectionMap()
Set the map from input ports to boolean flags indicating
whether a channel is connected to an output port of the
refinement of the current state.
|
protected void |
FSMActor._setCurrentConnectionMap()
Set the map from input ports to boolean flags indicating whether a
channel is connected to an output port of the refinement of the
current state.
|
protected void |
FSMDirector._setCurrentState(State state)
Set the current state of this actor.
|
protected void |
MultirateFSMDirector._setProductionConsumptionRates()
Set the production and consumption rates based on the
refinement of the current state, after descending through a hierarchy of
state machines.
|
protected void |
FSMActor._setTimeForRefinement(Actor refinement)
Set the refinements current time equal to the matching environment,
or if there is no environment, do nothing.
|
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.
|
protected boolean |
MultirateFSMDirector._updateInputTokenConsumptionRates(TypedCompositeActor actor)
Extract the token consumption rates from the input ports of the current
refinement and update the rates of the input ports of the modal model
containing the refinement.
|
protected boolean |
MultirateFSMDirector._updateOutputTokenProductionRates(TypedCompositeActor actor)
Extract the token production rates from the output ports of the current
refinement and update the production and initial production rates of the
output ports of the modal model containing the refinement.
|
void |
FSMActor.addChosenTransition(State state,
Transition transition)
Add a chosen transition to the set of chosen transitions.
|
void |
RefinementActor.addRefinement(State state,
java.lang.String name,
Entity template,
java.lang.String className,
InstanceOpener instanceOpener)
Create a refinement for the given state.
|
void |
FSMDirector.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
State.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
FSMActor.attributeChanged(Attribute attribute)
If the attribute is seed
then create the base random number generator.
|
void |
Transition.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
FSMActor.createReceivers()
Create receivers for each input port.
|
void |
State.dropObject(NamedObj target,
java.util.List dropObjects,
java.lang.String moml)
React to a list of objects being dropped onto a target.
|
java.util.List<Token> |
FSMReceiver.elementList()
Return a list with the token currently in the receiver, or
an empty list if there is no such token.
|
java.util.List |
FSMActor.enabledTransitions(java.util.List transitionList,
boolean preemptive,
boolean immediateOnly)
Return a list of enabled transitions among the given list of
transitions.
|
java.util.List |
State.errorTransitionList()
Return the list of outgoing error transitions from
this state.
|
Token |
ParseTreeEvaluatorForGuardExpression.evaluateParseTree(ASTPtRootNode node,
ParserScope scope)
Evaluate the parse tree with the specified root node using
the specified scope to resolve the values of variables.
|
void |
OutputActionsAttribute.execute()
Send tokens to the designated outputs.
|
void |
AbstractActionsAttribute.execute()
Execute this action.
|
void |
CommitActionsAttribute.execute()
Send tokens to the designated outputs.
|
abstract void |
Action.execute()
Execute the action.
|
void |
NonStrictFSMDirector.fire()
Fire the modal model.
|
void |
FSMDirector.fire()
Fire the modal model for one iteration.
|
void |
MultirateFSMDirector.fire()
Fire the modal model.
|
void |
FSMActor.fire()
Set the values of input variables.
|
Time |
MultirateFSMDirector.fireAt(Actor actor,
Time time)
Override the base class to ignore the fireAt() call if the specified
actor is the controller and the time is the current time.
|
Time |
FSMDirector.fireAt(Actor actor,
Time time,
int microstep)
Schedule a firing of the given actor at the given time
and microstep.
|
Time |
MultirateFSMDirector.fireAtCurrentTime(Actor actor)
Override the base class to ignore the fireAt() call if the specified
actor is the controller.
|
Token |
FSMActor.PortScope.get(java.lang.String name)
Look up and return the attribute with the specified name in the
scope.
|
java.util.List |
AbstractActionsAttribute.getChannelNumberList()
Return the list of channel numbers given in expression set
for this attribute.
|
NamedObj |
ContainmentExtender.getContainedObject(java.lang.String name)
Get an object with the given name within the container.
|
NamedObj |
Configurer.ContainmentExtender.getContainedObject(java.lang.String name)
Get an object with the given name within the container.
|
FSMActor |
FSMDirector.getController()
Return the mode controller of this director.
|
Dependency |
FSMCausalityInterface.getDependency(IOPort input,
IOPort output)
Return the dependency between the specified input port
and the specified output port.
|
NamedObj |
AbstractActionsAttribute.getDestination(java.lang.String name)
Return the destination object referred to by the given name.
|
java.util.List |
AbstractActionsAttribute.getDestinations()
Return the list of destinations of assignments in this action.
|
abstract java.util.List |
Action.getDestinations()
Return the list of destinations of assignments in this action.
|
NamedObj |
ContainmentExtender.getExtendedContainer()
Get the extended container.
|
NamedObj |
Configurer.ContainmentExtender.getExtendedContainer()
Get the extended container.
|
State |
FSMActor.getInitialState()
Return the initial state of this actor.
|
java.util.List |
FSMDirector.getModifiedVariables()
Return a list of variables that are modified in a modal
model.
|
java.util.List |
FSMActor.getModifiedVariables()
Return a list of variables that this entity modifies.
|
void |
NonStrictFSMDirector.getNonpreemptiveTransitionsReferredInputPorts(State state)
Given a state, get a set of input ports referred in the guards of
the preemptive transitions leaving that state.
|
NamedObj |
State.getObjectInRefinement(java.lang.String name)
Get a NamedObj with the given name in the refinement of this state, if
any.
|
void |
NonStrictFSMDirector.getOutputActionsReferredInputPorts(Transition transition)
Given a transition, get a set of input ports referred in the
outputActions of that transition.
|
void |
NonStrictFSMDirector.getPreemptiveTransitionsReferredInputPorts(State state)
Given a state, get a set of input ports referred in the guards of
the preemptive transitions leaving that state.
|
State |
RefinementActor.getRefinedState()
Return the state (or event, which subclasses state) that this actor
refines.
|
TypedActor[] |
State.getRefinement()
Return the refinements of this state.
|
TypedActor[] |
Transition.getRefinement()
Return the refinements of this transition.
|
void |
NonStrictFSMDirector.getRefinementReferredInputPorts(State state)
Given a state, get a set of input ports referred by the refinements
of that state.
|
void |
NonStrictFSMDirector.getSetActionsReferredInputPorts(Transition transition)
Given a transition, get a set of input ports referred in the set
actions of that transition.
|
java.util.Set |
NonStrictFSMDirector.getTransitionReferredInputPorts(java.util.List transitionList)
Given a list of transitions, get a set of referred input ports
in the guard expressions of all the transitions leaving this state.
|
Type |
FSMActor.PortScope.getType(java.lang.String name)
Look up and return the type of the attribute with the
specified name in the scope.
|
InequalityTerm |
FSMActor.PortScope.getTypeTerm(java.lang.String name)
Look up and return the type term for the specified name
in the scope.
|
boolean |
FSMDirector.handleModelError(NamedObj context,
IllegalActionException exception)
Return true if the model errors are handled.
|
boolean |
FSMActor.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error.
|
void |
FSMTransitionParameter.hide(boolean hide)
If hide is true, hide the parameter and display transition parameters next
to the transition.
|
java.util.Set |
FSMActor.PortScope.identifierSet()
Return the list of identifiers within the scope.
|
void |
NonStrictFSMDirector.initialize()
Initialize the director.
|
void |
FSMDirector.initialize()
Initialize the mode controller and all the refinements by
calling the initialize() method in the super class.
|
void |
MultirateFSMDirector.initialize()
Initialize the mode controller and all the refinements.
|
void |
FSMActor.initialize()
Initialize this actor by setting the current state to the
initial state.
|
boolean |
Transition.isDefault()
Return true if this transition is a default transition.
|
boolean |
Transition.isEnabled()
Return true if the transition is enabled, that is the guard is true,
and false if the guard evaluates to false.
|
boolean |
Transition.isEnabled(ParserScope scope)
Return true if the transition is enabled, that is the guard is true,
and false if the guard evaluates to false.
|
boolean |
Transition.isErrorTransition()
Return true if this transition is an error transition.
|
boolean |
Transition.isHistory()
Return true if this transition is a history transition.
|
boolean |
Transition.isPreemptive()
Return true if this transition is preemptive.
|
boolean |
FSMDirector.isStrict()
Return false.
|
boolean |
FSMActor.isStrict()
Return false.
|
boolean |
Transition.isTermination()
Return true if this transition is a termination transition.
|
int |
FSMActor.iterate(int count)
Invoke a specified number of iterations of the actor.
|
Receiver |
FSMActor.newReceiver()
Return a new receiver obtained from the director.
|
ComponentRelation |
FSMActor.newRelation(java.lang.String name)
Create a new instance of Transition with the specified name in
this actor, and return it.
|
java.util.List |
State.nonErrorNonTerminationTransitionList()
Return the list of outgoing transitions from
this state that are neither error nor termination transitions.
|
java.util.List |
State.nonpreemptiveTransitionList()
Return the list of non-preemptive outgoing transitions from
this state.
|
boolean |
NonStrictFSMDirector.postfire()
Call the postfire() method of the super class.
|
boolean |
FSMDirector.postfire()
Invoke postfire() on any state refinements that were fired,
then execute the commit actions contained by the last chosen
transition, if any, and finally set the current state
to the destination state of the transition.
|
boolean |
MultirateFSMDirector.postfire()
Postfire the modal model and commit the transition.
|
boolean |
FSMActor.postfire()
Execute actions on the last chosen transition.
|
java.util.List |
State.preemptiveTransitionList()
Return the list of preemptive outgoing transitions from
this state.
|
boolean |
FSMDirector.prefire()
Return true if the mode controller is ready to fire.
|
boolean |
FSMActor.prefire()
Return true.
|
void |
FSMDirector.preinitialize()
Check whether contained refinements have a director.
|
void |
MultirateFSMDirector.preinitialize()
Preinitialize all actors deeply contained by the container
of this director.
|
void |
FSMActor.preinitialize()
Create receivers and input variables for the input ports of
this actor, and validate attributes of this actor, and
attributes of the ports of this actor.
|
void |
FSMReceiver.putArray(Token[] tokenArray,
int numberOfTokens)
If the argument has one token, then put that token in
the receiver.
|
void |
FSMActor.readInputs()
Set the value of the shadow variables for input ports of this actor.
|
void |
FSMActor.readOutputsFromRefinement()
Set the input variables for channels that are connected to an
output port of the refinement of current state.
|
void |
FSMReceiver.reset()
Set the receiver to unknown.
|
void |
FSMActor.reset()
Reset current state to the initial state.
|
void |
FSMDirector.resetOutputReceivers()
Rebuild the output receivers map and reset the output receivers.
|
void |
Transition.setContainer(CompositeEntity container)
Override the base class to ensure that the proposed container
is an instance of FSMActor or null; if it is null, then
remove it from the container, and also remove any refinement(s)
that it references that are not referenced by some other
transition or state.
|
void |
FSMTransitionParameter.setContainer(NamedObj container) |
void |
FSMDirector.setContainer(NamedObj container)
If the container is not null, register this director as the model error handler.
|
void |
Action.setContainer(NamedObj container)
Set the container of this action.
|
void |
AbstractActionsAttribute.setExpression(java.lang.String expression)
Set the action and notify the container
that the action has changed by calling attributeChanged(),
and notify any listeners that have
been registered using addValueListener().
|
void |
FSMDirector.setIndex(int index)
Set the superdense time index by delegating to the directors of
the refinements of the current state, if any.
|
void |
FSMTransitionParameter.setName(java.lang.String name)
Upon setting the name of this parameter change the corresponding
attribute in the transition.
|
void |
FSMTransitionParameter.setTransition(Transition transition)
Set the transition that corresponds to the parameters.
|
java.util.List |
State.terminationTransitionList()
Return the list of termination transitions from
this state.
|
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.
|
java.util.Collection |
FSMTransitionParameter.validate()
Validate.
|
void |
ParseTreeEvaluatorForGuardExpression.visitLeafNode(ASTPtLeafNode node)
Visit the leaf node.
|
void |
ParseTreeEvaluatorForGuardExpression.visitLogicalNode(ASTPtLogicalNode node)
Visit the logical node.
|
void |
ParseTreeEvaluatorForGuardExpression.visitRelationalNode(ASTPtRelationalNode node)
Visit the relation node.
|
void |
FSMActor.wrapup()
Do nothing except invoke the wrapup method of any objects
that have been added using addInitializable().
|
Constructor and Description |
---|
AbstractActionsAttribute(NamedObj container,
java.lang.String name)
Construct an action with the given name contained
by the specified container (which should be a Transition when used in
the FSM domain, and an Event in the Ptera domain).
|
Action(NamedObj container,
java.lang.String name)
Construct an action with the given name contained by the
specified container.
|
CommitActionsAttribute(Transition transition,
java.lang.String name)
Construct an action with the given name contained
by the specified transition.
|
ContainmentExtender(Configurer container,
java.lang.String name)
Construct a containment extender.
|
ContainmentExtender(RefinementActor container,
java.lang.String name)
Construct a ContainmentExtender attribute with the given name contained
by the specified Refinement.
|
ContainmentExtender(State container,
java.lang.String name)
Construct a ContainmentExtender attribute with the given name contained
by the specified State.
|
FSMActor(CompositeEntity container,
java.lang.String name)
Create an FSMActor in the specified container with the specified
name.
|
FSMDirector()
Construct a director in the default workspace with an empty
string as its name.
|
FSMDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given
name.
|
FSMDirector(Workspace workspace)
Construct a director in the workspace with an empty name.
|
FSMReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
FSMTransitionParameter(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
ModalDirector(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct a director in the given container with the given name.
|
MultirateFSMDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
NonStrictFSMDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
OutputActionsAttribute(Transition transition,
java.lang.String name)
Construct an action with the given name contained
by the specified transition.
|
State(CompositeEntity container,
java.lang.String name)
Construct a state with the given name contained by the specified
composite entity.
|
TransientState(CompositeEntity container,
java.lang.String name)
Construct a transient state.
|
Transition(FSMActor container,
java.lang.String name)
Construct a transition with the given name contained by the specified
entity.
|
Transition(Workspace workspace)
Construct a transition in the given workspace with an empty string
as a name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
InterfaceAutomaton._addRelation(ComponentRelation relation)
Add an InterfaceAutomatonTransition to this InterfaceAutomaton.
|
void |
InterfaceAutomatonTransition.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
InterfaceAutomaton |
InterfaceAutomaton.compose(InterfaceAutomaton automaton)
Return a new InterfaceAutomaton that is the composition of the
specified InterfaceAutomaton and this one.
|
InterfaceAutomaton |
InterfaceAutomaton.compose(InterfaceAutomaton automaton,
boolean considerTransient)
Return a new InterfaceAutomaton that is the composition of the
specified InterfaceAutomaton and this one.
|
java.util.Set |
InterfaceAutomaton.computeAlternatingSimulation(InterfaceAutomaton subAutomaton)
Return the unique maximal alternating simulation from the specified
automaton to this automaton.
|
java.util.Set |
InterfaceAutomaton.deadlockStates()
Return the deadlock states in a Set.
|
void |
InterfaceAutomaton.fire()
Choose the enabled transition among the outgoing transitions of
the current state.
|
ComponentRelation |
InterfaceAutomaton.newRelation(java.lang.String name)
Create a new instance of InterfaceAutomatonTransition with the
specified name in this actor, and return it.
|
void |
InterfaceAutomaton.project(InterfaceAutomaton automaton)
Project this automaton into the specified one.
|
static java.util.Set |
InterfaceAutomaton.reacheableAlternatingSimulation(java.util.Set alternatingSimulation,
InterfaceAutomaton superAutomaton,
InterfaceAutomaton subAutomaton)
Return the reacheable state pairs in the specified alternating
simulation.
|
void |
InterfaceAutomaton.renameTransitionLabels(java.util.Map nameMap)
Rename the labels on some transitions.
|
void |
InterfaceAutomatonTransition.setContainer(CompositeEntity container)
Override the base class to ensure that the proposed container
is an instance of InterfaceAutomaton or null.
|
Constructor and Description |
---|
InterfaceAutomaton(CompositeEntity container,
java.lang.String name)
Create an InterfaceAutomaton in the specified container with the
specified name.
|
InterfaceAutomatonTransition(InterfaceAutomaton container,
java.lang.String name)
Construct a transition with the specified container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
ZeroOneSource.initialize()
Initialize the iteration counter.
|
boolean |
ZeroOneSource.postfire()
Increment the iteration counter, and if it equals the
value of the firingCountLimit parameter, return false.
|
Constructor and Description |
---|
ZeroOneSource(TypedCompositeActor container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ModalModel.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Case._addEntity(ComponentEntity entity)
Deprecated.
Override the base class to create the transition associated
with this refinement if the argument is an instance of Refinement.
|
protected void |
Refinement._addPort(Port port)
Override the base class to check that the container contains
a mirror port.
|
protected void |
ModalController._addPort(Port port)
Override the base class to check that the container contains
a mirror port.
|
protected void |
ModalBasePort._checkContainer(Entity container)
Override the base class to ensure that the proposed container
is a CompositeEntity or null.
|
protected void |
ModalRefinement._checkContainer(Entity container)
Override the base class to ensure that the proposed container
is a ModalModel or null.
|
protected void |
Refinement._checkContainer(Entity container)
Override the base class to ensure that the proposed container
is a ModalModel or null.
|
protected void |
ModalController._checkContainer(Entity container)
Override the base class to ensure that the proposed container
is a ModalModel or null.
|
protected void |
RefinementPort._checkContainer(Entity container)
Override the base class to ensure that the proposed container
implements the TypedActor interface (the base class ensures that
the container implements the Actor interface), is null, or is
an EntityLibrary.
|
protected int |
ModalBasePort._moveDown()
Move this object down by one in the list of attributes of
its container.
|
protected int |
ModalBasePort._moveToFirst()
Move this object to the first position in the list
of attributes of the container.
|
protected int |
ModalBasePort._moveToIndex(int index)
Move this object to the specified position in the list
of attributes of the container.
|
protected int |
ModalBasePort._moveToLast()
Move this object to the last position in the list
of attributes of the container.
|
protected int |
ModalBasePort._moveUp()
Move this object up by one in the list of
attributes of the container.
|
protected void |
ModalBasePort._removePort(CompositeEntity oldContainer)
Remove a port from the current container.
|
protected void |
ModalBasePort._setInput(boolean isInput)
If the argument is true, make the port an input port.
|
protected void |
ModalBasePort._setMultiport(boolean isMultiport)
If the argument is true, make the port a multiport.
|
protected void |
ModalBasePort._setName(java.lang.String name)
Set the name of the port, and mirror the change in all the
mirror ports.
|
protected void |
ModalBasePort._setOutput(boolean isOutput)
If the argument is true, make the port an output port.
|
void |
ModalRefinement.addRefinement(State state,
java.lang.String name,
Entity template,
java.lang.String className,
InstanceOpener instanceOpener)
Create a refinement for the given state.
|
void |
Refinement.addRefinement(State state,
java.lang.String name,
Entity template,
java.lang.String className,
InstanceOpener instanceOpener)
Perform no action but throw an IllegalActionException because a
refinement cannot be created in an arbitrary actor-oriented refinement.
|
void |
ModalController.addRefinement(State state,
java.lang.String name,
Entity template,
java.lang.String className,
InstanceOpener instanceOpener)
Create a refinement for the given state.
|
static void |
ModalRefinement.addRefinement(State state,
java.lang.String name,
Entity template,
java.lang.String className,
InstanceOpener instanceOpener,
CompositeEntity container)
Create a refinement for the given state.
|
void |
ModalModel.attributeChanged(Attribute attribute)
React to a change of the director or other property.
|
void |
ModalPort.attributeChanged(Attribute attribute)
React to attribute changes.
|
void |
RefinementPort.attributeChanged(Attribute attribute)
React to attribute changes.
|
void |
ModalRefinement.dropObject(NamedObj target,
java.util.List dropObjects,
java.lang.String moml)
React to a list of objects being dropped onto a target.
|
void |
ModalController.dropObject(NamedObj target,
java.util.List dropObjects,
java.lang.String moml)
React to a list of objects being dropped onto a target.
|
Dependency |
MirrorCausalityInterface.getDependency(IOPort input,
IOPort output)
Return the dependency between the specified input port
and the specified output port.
|
State |
ModalRefinement.getRefinedState()
Get the state in any ModalRefinement within this ModalModel that has
this ModalRefinement as its refinement, if any.
|
State |
Refinement.getRefinedState()
Get the state in any ModalController within this ModalModel that has
this refinement as its refinement, if any.
|
State |
ModalController.getRefinedState()
Get the state in any ModalController within this ModalModel that has
this ModalController as its refinement, if any.
|
boolean |
ModalModel.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error.
|
void |
ModalModel.initialize()
Initialize the mode controller and all the refinements by
calling the initialize() method in the super class.
|
void |
TransitionRefinementPort.link(Relation relation)
Override the base class to avoid linking a sibling input port to
the same relation as the sibling output port multiple times.
|
void |
RefinementPort.link(Relation relation)
Set the connected relation to a bus if this port is a multiport.
|
int |
ModalPort.moveDown()
Move this object down by one in the list of attributes of its container.
|
int |
ModalRefinementPort.moveDown()
Move this object down by one in the list of attributes of
its container.
|
int |
RefinementPort.moveDown()
Move this object down by one in the list of attributes of
its container.
|
int |
ModalPort.moveToFirst()
Move this object to the first position in the list of attributes of the
container.
|
int |
ModalRefinementPort.moveToFirst()
Move this object to the first position in the list
of attributes of the container.
|
int |
RefinementPort.moveToFirst()
Move this object to the first position in the list
of attributes of the container.
|
int |
ModalPort.moveToIndex(int index)
Move this object to the specified position in the list of attributes of
the container.
|
int |
ModalRefinementPort.moveToIndex(int index)
Move this object to the specified position in the list
of attributes of the container.
|
int |
RefinementPort.moveToIndex(int index)
Move this object to the specified position in the list
of attributes of the container.
|
int |
ModalPort.moveToLast()
Move this object to the last position in the list of attributes of the
container.
|
int |
ModalRefinementPort.moveToLast()
Move this object to the last position in the list
of attributes of the container.
|
int |
RefinementPort.moveToLast()
Move this object to the last position in the list
of attributes of the container.
|
int |
ModalPort.moveUp()
Move this object up by one in the list of attributes of the container.
|
int |
ModalRefinementPort.moveUp()
Move this object up by one in the list of
attributes of the container.
|
int |
RefinementPort.moveUp()
Move this object up by one in the list of
attributes of the container.
|
void |
TransitionRefinementPort.setContainer(Entity container)
Override the base class so that if the port is being removed
from the current container, then it is also removed from the
controller and from each of the refinements.
|
void |
ModalPort.setContainer(Entity container)
Override the base class so that if the port is being removed from the
current container, then it is also removed from the controller and from
each of the refinements.
|
void |
ModalRefinementPort.setContainer(Entity container)
Override the base class so that if the port is being removed
from the current container, then it is also removed from the
controller and from each of the refinements.
|
void |
RefinementPort.setContainer(Entity container)
Override the base class so that if the port is being removed
from the current container, then it is also removed from the
controller and from each of the refinements.
|
void |
TransitionRefinementPort.setInput(boolean isInput)
If the argument is true, make the port an input port.
|
void |
ModalPort.setInput(boolean isInput)
If the argument is true, make the port an input port.
|
void |
ModalRefinementPort.setInput(boolean isInput)
If the argument is true, make the port an input port.
|
void |
RefinementPort.setInput(boolean isInput)
If the argument is true, make the port an input port.
|
void |
TransitionRefinementPort.setMultiport(boolean isMultiport)
If the argument is true, make the port a multiport.
|
void |
ModalPort.setMultiport(boolean isMultiport)
If the argument is true, make the port a multiport.
|
void |
ModalRefinementPort.setMultiport(boolean isMultiport)
If the argument is true, make the port a multiport.
|
void |
RefinementPort.setMultiport(boolean isMultiport)
If the argument is true, make the port a multiport.
|
void |
TransitionRefinementPort.setName(java.lang.String name)
Set the name of the port, and mirror the change in all the
mirror ports.
|
void |
ModalPort.setName(java.lang.String name)
Set the name of the port, and mirror the change in all the mirror ports.
|
void |
ModalRefinementPort.setName(java.lang.String name)
Set the name of the port, and mirror the change in all the
mirror ports.
|
void |
RefinementPort.setName(java.lang.String name)
Set the name of the port, and mirror the change in all the
mirror ports.
|
void |
TransitionRefinementPort.setOutput(boolean isOutput)
If the argument is true, make the port an output port.
|
void |
ModalPort.setOutput(boolean isOutput)
If the argument is true, make the port an output port.
|
void |
ModalRefinementPort.setOutput(boolean isOutput)
If the argument is true, make the port an output port.
|
void |
RefinementPort.setOutput(boolean isOutput)
If the argument is true, make the port an output port.
|
Constructor and Description |
---|
Case(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct
a modal model with a name and a container.
|
ModalBasePort(ComponentEntity container,
java.lang.String name)
Construct a port with a containing actor and a name
that is neither an input nor an output.
|
ModalBasePort(Workspace workspace)
Construct a port in the given workspace.
|
ModalController(CompositeEntity container,
java.lang.String name)
Construct a modal controller with a name and a container.
|
ModalModel(CompositeEntity container,
java.lang.String name)
Construct a modal model with a name and a container.
|
ModalModel(Workspace workspace)
Construct a modal model in the specified workspace with
no container and an empty string as a name.
|
ModalPort(ComponentEntity container,
java.lang.String name)
Construct a port with a containing actor and a name that is neither an
input nor an output.
|
ModalPort(Workspace workspace)
Construct a port in the given workspace.
|
ModalRefinement(CompositeEntity container,
java.lang.String name)
Construct a modal controller with a name and a container.
|
ModalRefinementPort(ComponentEntity container,
java.lang.String name)
Construct a port with a containing actor and a name
that is neither an input nor an output.
|
Refinement(CompositeEntity container,
java.lang.String name)
Construct a modal controller with a name and a container.
|
RefinementExtender(NamedObj container,
java.lang.String name)
Construct a refinement extender attribute with the given name contained
by the specified entity.
|
RefinementPort(ComponentEntity container,
java.lang.String name)
Construct a port with a containing actor and a name
that is neither an input nor an output.
|
RefinementPort(Workspace workspace)
Construct a port in the given workspace.
|
RefinementSuggestion(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
TransitionRefinement(CompositeEntity container,
java.lang.String name)
Construct a modal controller with a name and a container.
|
TransitionRefinementPort(ComponentEntity container,
java.lang.String name)
Construct a port with a containing actor and a name
that is neither an input nor an output.
|
TransitionRefinementPort(Workspace workspace)
Construct a port in the given workspace.
|
Modifier and Type | Method and Description |
---|---|
void |
StreamToMatrix.attributeChanged(Attribute attribute)
If the argument is the dimension parameter, update the
the row and column values.
|
void |
ND_2.fire()
Fire the actor.
|
void |
ND_4.fire()
Fire the actor.
|
void |
ND_1.fire()
Fire the actor.
|
void |
ND_3.fire()
Fire the actor.
|
void |
ND_5.fire()
Fire the actor.
|
void |
StreamToMatrix.fire()
Reads a stream of DoubleTokens and places these tokens in a
Matrix.
|
void |
ND_2.initialize()
Initialize the PN actor.
|
void |
ND_4.initialize()
Initialize the PN actor.
|
void |
ND_1.initialize()
Initialize the PN actor.
|
void |
ND_3.initialize()
Initialize the PN actor.
|
void |
ND_5.initialize()
Initialize the PN actor.
|
void |
StreamToMatrix.initialize()
Initialize the row and column number.
|
boolean |
ND_2.postfire()
Post fire the actor.
|
boolean |
ND_1.postfire()
Post fire the actor.
|
boolean |
ND_5.postfire()
Post fire the actor.
|
Constructor and Description |
---|
ND_1(CompositeEntity container,
java.lang.String name)
Construct an actor that is an SBF object with the given container
and name.
|
ND_2(CompositeEntity container,
java.lang.String name)
Construct an actor that is an SBF object with the given container
and name.
|
ND_3(CompositeEntity container,
java.lang.String name)
Construct an actor that is an SBF object with the given container
and name.
|
ND_4(CompositeEntity container,
java.lang.String name)
Construct an actor that is an SBF object with the given container
and name.
|
ND_5(CompositeEntity container,
java.lang.String name)
Construct an actor that is an SBF object with the given container
and name.
|
StreamToMatrix(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PNDirector._incrementLowestWriteCapacityPort()
Double the capacity of one of the queues with the smallest
capacity belonging to a receiver on which a process is blocked
while attempting to write.
|
protected boolean |
TimedPNDirector._resolveDeadlock()
Return false on detection of a real deadlock.
|
protected boolean |
PNDirector._resolveInternalDeadlock()
Resolve an artificial deadlock and return true.
|
Time |
TimedPNDirector.fireAt(Actor actor,
Time newFiringTime,
int microstep)
Suspend the calling process until the time has advanced to at least the
time specified by the method argument.
|
void |
NondeterministicMerge.initialize()
Initialize this actor.
|
void |
PNDirector.initialize()
Invoke the initialize() method of ProcessDirector.
|
boolean |
PNQueueReceiver.isConnectedToBoundary()
Return true if this receiver is connected to the inside of a
boundary port.
|
boolean |
PNQueueReceiver.isConnectedToBoundaryInside()
Return true if this receiver is connected to the inside of a
boundary port.
|
boolean |
PNQueueReceiver.isConnectedToBoundaryOutside()
Return true if this receiver is connected to the outside of a
boundary port.
|
boolean |
PNQueueReceiver.isConsumerReceiver()
Return true if this receiver is connected to the boundary.
|
boolean |
PNDirector.postfire()
Return true if the containing composite actor contains active
processes and the composite actor has input ports and if stop()
has not been called.
|
void |
PNDirector.preinitialize()
Override the base class to reset the capacities of all the receivers.
|
void |
PNQueueReceiver.setContainer(IOPort port)
Set the container.
|
void |
TimedPNDirector.setModelTime(Time newTime)
Set a new value to the current time of the model, where
the new time must be no earlier than the current time.
|
void |
TimedPNDirector.wrapup()
Reset private variables.
|
Constructor and Description |
---|
NondeterministicMerge(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
NondeterministicMerge(Workspace workspace)
Construct a TypedCompositeActor in the specified workspace with
no container and an empty string as a name.
|
PNDirector()
Construct a director in the default workspace with an empty string
as its name.
|
PNDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
PNDirector(Workspace workspace)
Construct a director in the workspace with an empty name.
|
PNQueueReceiver(IOPort container)
Construct an empty receiver with the specified container.
|
TimedPNDirector()
Construct a director in the default workspace with an empty string
as its name.
|
TimedPNDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
TimedPNDirector(Workspace workspace)
Construct a director in the workspace with an empty name.
|
Modifier and Type | Method and Description |
---|---|
void |
TestSink.fire()
Writes successive integers to the output
|
void |
TestDirector.fire()
Start a thread for an instance of the inner class "Notification",
obtain read access on the workspace 3 times, call wait(obj) on the
workspace, ask the inner class to get a write access on the workspace
and return after relinquishing the read accesses on the workspace.
|
Constructor and Description |
---|
TestDirector(CompositeActor container,
java.lang.String name) |
TestSink(CompositeActor container,
java.lang.String name)
Constructor Adds ports to the star
|
Modifier and Type | Method and Description |
---|---|
void |
Starver.fire()
Read at most one input token, and if the number of outputs
has not yet exceeded the value given by limit, then
produce that token on the output.
|
void |
Starver.initialize()
Initialize this actor by setting the count of outputs to zero.
|
Constructor and Description |
---|
Starver(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Constructor and Description |
---|
Butterfly(Workspace workspace)
Construct a Butterfly with a name and a container.
|
Constructor and Description |
---|
OrthogonalCom(Workspace w)
Construct the orthogonal communication system.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SDFScheduler._checkDynamicRateVariables(CompositeActor model,
java.util.List rateVariables)
Populate the given set with the dynamic rate variables in the model.
|
protected int |
SDFScheduler._computeMaximumFirings(Actor currentActor)
Determine the number of times the given actor can fire, based on
the number of tokens that are present on its inputs.
|
protected int |
SDFScheduler._countUnfulfilledInputs(Actor actor,
java.util.List actorList,
boolean resetCapacity)
Count the number of input ports in the given actor that must be
fulfilled before the actor can fire.
|
protected void |
BaseSDFScheduler._declareDependency(ConstVariableModelAnalysis analysis,
Port port,
java.lang.String name,
java.util.List dependents)
Add a DependencyDeclaration (with the name
"_SDFRateDependencyDeclaration") to the variable with the given
name in the given port that declares the variable is dependent
on the given list of variables.
|
protected Schedule |
CachedSDFScheduler._getSchedule()
Return the scheduling sequence.
|
protected Schedule |
SDFScheduler._getSchedule()
Return the scheduling sequence.
|
protected void |
BaseSDFScheduler._saveContainerRates(java.util.Map externalRates)
Push the rates calculated for this system up to the contained Actor,
but only if the ports do not have a set rates.
|
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.
|
protected boolean |
SDFScheduler._simulateInputConsumption(Actor currentActor,
int firingCount)
Simulate the consumption of tokens by the actor during execution of
the given number of firings.
|
protected java.util.Map |
SDFScheduler._solveBalanceEquations(CompositeActor container,
java.util.List actorList,
java.util.Map externalRates)
Solve the balance equations for the list of connected Actors.
|
void |
SDFDirector.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
SDFDirector.createSchedule()
Create the SDF schedule for this director.
|
abstract void |
BaseSDFScheduler.declareRateDependency()
Declare the rate dependency on any external ports of the model.
|
void |
SDFScheduler.declareRateDependency()
Declare the rate dependency on any external ports of the model.
|
void |
SDFDirector.fire()
Call super.fire() and reset the _prefire flag.
|
Time |
SDFDirector.fireAt(Actor actor,
Time time,
int microstep)
Request a firing of the given actor at the given absolute
time, and return the time at which the specified will be
fired.
|
int |
SDFScheduler.getFiringCount(Entity entity)
Create the schedule.
|
int |
SDFDirector.getIterations()
Return the number of iterations.
|
Time |
SDFDirector.getModelNextIterationTime()
Return the time value of the next iteration.
|
int |
SDFIOPort.getTokenConsumptionRate()
Deprecated.
Get the number of tokens that are consumed
on every channel of this port.
|
int |
SDFIOPort.getTokenInitProduction()
Deprecated.
Get the number of tokens that are produced
on this port during initialization.
|
int |
SDFIOPort.getTokenProductionRate()
Deprecated.
Get the number of tokens that are produced
on the designated port of this Actor during each firing.
|
void |
SDFDirector.initialize()
Initialize the actors associated with this director and then
set the iteration count to zero.
|
double |
SDFDirector.periodValue()
Return the value of the period as a double.
|
boolean |
SDFDirector.postfire()
Return false if the system has finished executing, either by
reaching the iteration limit, or having an actor in the system return
false in postfire.
|
boolean |
SDFDirector.prefire()
Check the input ports of the container composite actor (if there
are any) to see whether they have enough tokens, and return true
if they do.
|
void |
SDFDirector.preinitialize()
Preinitialize the actors associated with this director and
compute the schedule.
|
void |
SDFReceiver.setCapacity(int capacity)
Set receiver capacity.
|
void |
ArrayFIFOQueue.setCapacity(int capacity)
Set queue capacity.
|
void |
SDFReceiver.setHistoryCapacity(int capacity)
Set the capacity of the history queue.
|
void |
ArrayFIFOQueue.setHistoryCapacity(int capacity)
Set the capacity of the history queue.
|
void |
SDFIOPort.setInput(boolean isInput)
Deprecated.
Set whether or not this port is an input.
|
void |
SDFIOPort.setOutput(boolean isOutput)
Deprecated.
Set whether or not this port is an output.
|
void |
SDFIOPort.setTokenConsumptionRate(int rate)
Deprecated.
Set the number of tokens that are consumed
on the appropriate port of this Actor during each firing
by setting the value of the tokenConsumptionRate parameter.
|
void |
SDFIOPort.setTokenInitProduction(int count)
Deprecated.
Set the number of tokens that are produced
on the appropriate port of this Actor during initialize
by setting the value of the tokenInitProduction parameter.
|
void |
SDFIOPort.setTokenProductionRate(int rate)
Deprecated.
Set the number of tokens that are produced
on the appropriate port of this Actor during each firing
by setting the value of the tokenProductionRate parameter.
|
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 |
---|
BaseSDFScheduler(Director container,
java.lang.String name)
Construct a scheduler in the given container with the given name.
|
CachedSDFScheduler(Director container,
java.lang.String name,
int cacheSize)
Construct a scheduler in the given container with the given name
and given cache size.
|
SDFDirector()
Construct a director in the default workspace with an empty string
as its name.
|
SDFDirector(CompositeEntity container,
java.lang.String name)
Construct a director in the given container with the given name.
|
SDFDirector(Workspace workspace)
Construct a director in the workspace with an empty name.
|
SDFIOPort(ComponentEntity container,
java.lang.String name)
Deprecated.
Construct an SDFIOPort with a containing actor and a name
that is neither an input nor an output.
|
SDFIOPort(ComponentEntity container,
java.lang.String name,
boolean isInput,
boolean isOutput)
Deprecated.
Construct an SDFIOPort with a container and a name that is
either an input, an output, or both, depending on the third
and fourth arguments.
|
SDFIOPort(Workspace workspace)
Deprecated.
Construct a port in the specified workspace with an empty
string as a name.
|
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.
|
SDFScheduler(Director container,
java.lang.String name)
Construct a scheduler in the given container with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
SDFTestConsumer.fire()
Fire the Actor
Consume an input token, and append its value to the history.
|
void |
SDFTestJoin.fire()
Fire the actor.
|
void |
SDFTestRamp.fire()
Produce several integer tokens with values with incremental values.
|
void |
SDFTestSplit.fire()
Consume two tokens from the input.
|
void |
SDFTestDelay.fire()
This fires an actor and may be invoked several times between
invocations of prefire() and postfire().
|
void |
SDFTestZeroRate2.fire()
Discard tokens received.
|
void |
SDFTestZeroRate1.fire()
Discard tokens received.
|
void |
SDFTestRamp.initialize()
Initialize the sequence so the first token created has value zero.
|
void |
SDFTestZeroRate2.initialize()
for debugging only...
|
void |
SDFTestZeroRate1.initialize()
for debugging only...
|
boolean |
SDFTestDelay.postfire()
This method should be invoked once per iteration, after the last
invocation of fire() in that iteration.
|
boolean |
SDFTestDelay.prefire()
This method should be invoked once per iteration, before the first
invocation of fire() in that iteration.
|
void |
SDFTestDelay.wrapup()
This method should be invoked exactly once per execution
of an application.
|
Constructor and Description |
---|
SDFTestConsumer(CompositeEntity container,
java.lang.String name) |
SDFTestDelay(CompositeEntity container,
java.lang.String name)
Create an SDFTestDelay actor in the given container with the given name.
|
SDFTestJoin(CompositeEntity container,
java.lang.String name) |
SDFTestRamp(CompositeEntity container,
java.lang.String name) |
SDFTestSplit(CompositeEntity container,
java.lang.String name) |
SDFTestZeroRate1(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SDFTestZeroRate2(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FIR._initializeTaps()
Initialize the taps.
|
protected void |
FIR._reinitialize()
Reinitialize local variables in response to changes in attributes.
|
void |
MatrixToSequence.attributeChanged(Attribute attribute)
Ensure that the rows and columns parameters are both positive.
|
void |
SequenceToMatrix.attributeChanged(Attribute attribute)
Ensure that the rows and columns parameters are both positive.
|
void |
MatrixJoin.attributeChanged(Attribute attribute)
Ensure that the rows and columns parameters are both positive.
|
void |
DoubleToMatrix.attributeChanged(Attribute attribute)
Deprecated.
Ensure that the rows and columns parameters are both positive.
|
void |
UpSample.attributeChanged(Attribute attribute)
Ensure that the factor and phase parameters are both positive.
|
void |
VariableLattice.attributeChanged(Attribute attribute)
Ensure that the blockSize parameter is positive.
|
void |
LMSAdaptive.attributeChanged(Attribute attribute)
Override the base class to set the taps parameter if the
initialTaps parameter is changed.
|
void |
RaisedCosine.attributeChanged(Attribute attribute)
Reevaluate the filter taps if the attribute is any of the ones
defined locally, and otherwise call the superclass.
|
void |
VariableFIR.attributeChanged(Attribute attribute)
Set a flag that causes recalculation of various local variables
that are used in execution on the next invocation of fire().
|
void |
Chop.attributeChanged(Attribute attribute)
Check the validity of parameter values and using the new
values, recompute the size of the internal buffers.
|
void |
DownSample.attributeChanged(Attribute attribute)
Ensure that the factor and phase parameters are both positive.
|
void |
MatrixToDouble.attributeChanged(Attribute attribute)
Deprecated.
Ensure that the rows and columns parameters are both positive.
|
void |
ArrayToSequence.attributeChanged(Attribute attribute)
If the argument is the arrayLength parameter, then
check to make sure its value is not negative.
|
void |
IntToBits.attributeChanged(Attribute attribute)
If the argument is the numberOfBits parameter, then
set the production rate of the output port.
|
void |
Autocorrelation.attributeChanged(Attribute attribute)
Check to see that the numberOfInputs parameter is positive,
and that the numberOfLags parameter is positive.
|
void |
VariableRecursiveLattice.attributeChanged(Attribute attribute)
Ensure that the blockSize parameter is positive.
|
void |
FFT.attributeChanged(Attribute attribute)
Ensure that the order parameter is positive and recompute the
size of internal buffers.
|
void |
FIR.attributeChanged(Attribute attribute)
Set a flag that causes recalculation of various local variables
that are used in execution on the next invocation of fire().
|
void |
SequenceToArray.attributeChanged(Attribute attribute)
Ensure that the arrayLength parameter is not negative.
|
void |
IFFT.attributeChanged(Attribute attribute)
Ensure that the order parameter is positive and recompute the
size of internal buffers.
|
void |
Repeat.attributeChanged(Attribute attribute)
Ensure that the numberOfTimes parameter and the blockSize
parameter are both positive.
|
void |
BitsToInt.attributeChanged(Attribute attribute)
If the argument is the numberOfBits parameter, then
set the production rate of the output port.
|
void |
SampleDelay.attributeTypeChanged(Attribute attribute)
Override the base class to allow type changes on
initialOutputs.
|
void |
DelayLine.attributeTypeChanged(Attribute attribute)
Override the base class to allow type changes on
initialValues.
|
void |
LineCoder.fire()
Consume the inputs and produce the corresponding symbol.
|
void |
MatrixToSequence.fire()
Consume the input and produce the output sequence.
|
void |
SequenceToMatrix.fire()
Consume the inputs and produce the output matrix.
|
void |
MatrixJoin.fire()
Consume the inputs and produce the output matrix.
|
void |
DoubleToMatrix.fire()
Deprecated.
Consume consecutive input tokens and produce the output matrix.
|
void |
UpSample.fire()
Consume the input Token and produce the same token on the output.
|
void |
BootstrapSampleDelay.fire()
During the first iteration, read exactly one input token, update
the initialOutputs for a future run and send the token to the output.
|
void |
CountTrues.fire()
Read at most one token from each input channel and broadcast the one
with the largest value to the maximumValueoutput.
|
void |
DotProduct.fire()
Read a Token from each of the input ports, and output the
dot product.
|
void |
VariableLattice.fire()
Consume the inputs and produce the outputs of the filter.
|
void |
LMSAdaptive.fire()
Consume the inputs, update the taps, and produce the outputs.
|
void |
VariableFIR.fire()
Consume the inputs and produce the outputs of the FIR filter.
|
void |
Chop.fire()
Consume the specified number of input tokens, and produce
the specified number of output tokens.
|
void |
DownSample.fire()
Consume factor tokens from the input, and select one of
them to send to the output based on the phase.
|
void |
MatrixToDouble.fire()
Deprecated.
Consume a matrix input and produce consecutive output tokens.
|
void |
ArrayToSequence.fire()
Consume the input ArrayToken and produce the outputs.
|
void |
SampleDelay.fire()
Read exactly one input token and send it to the output.
|
void |
IntToBits.fire()
Consume a single IntToken on the input.
|
void |
Autocorrelation.fire()
Consume tokens from the input and produce a token on the output
that contains an array token that represents an autocorrelation
estimate of the consumed tokens.
|
void |
VariableRecursiveLattice.fire()
Consume the inputs and produce the outputs of the filter.
|
void |
FFT.fire()
Consume the inputs and produce the outputs of the FFT filter.
|
void |
FIR.fire()
Consume the inputs and produce the outputs of the FIR filter.
|
void |
SequenceToArray.fire()
Consume the inputs and produce the output ArrayToken.
|
void |
IFFT.fire()
Consume the inputs and produce the outputs of the IFFT filter.
|
void |
Repeat.fire()
Consume blockSize input tokens from the input port.
|
void |
BitsToInt.fire()
Consume numberOfBits BooleanTokens on the input.
|
void |
MatrixSplit.fire()
Consume the input matrix and produce the output matrices.
|
void |
DelayLine.fire()
Consume a token from the input, push it onto the delay line
and produce the output ArrayToken containing the current state of
the delay line.
|
Entity |
VariableLattice.getContext()
Return the change context being made explicit.
|
Entity |
VariableRecursiveLattice.getContext()
Return the change context being made explicit.
|
java.util.List |
VariableLattice.getModifiedVariables()
Return a list of variables that this entity modifies.
|
java.util.List |
VariableRecursiveLattice.getModifiedVariables()
Return a list of variables that this entity modifies.
|
void |
LMSAdaptive.initialize()
Override the base class to re-initialize the taps.
|
void |
Chop.initialize()
Override the base class to ensure that the past buffer
gets initialized.
|
void |
SampleDelay.initialize()
Produce on the output a sequence tokens, one for each element
of the initialOutputs parameter (which is an array).
|
void |
FIR.initialize()
Perform domain-specific initialization by calling the
initialize(Actor) method of the director.
|
void |
DelayLine.initialize()
Initialize this actor by reading the value of initialValues.
|
boolean |
SequenceToMatrix.prefire()
Return true if the input port has enough tokens for this actor to
fire.
|
boolean |
MatrixJoin.prefire()
Return true if each input channel has enough tokens for this actor to
fire.
|
boolean |
SDFTransformer.prefire()
Return true if the number of available tokens on the input
port is at least the declared consumption rate for the port.
|
boolean |
DotProduct.prefire()
If both of the input ports have at least one token, return
what the superclass returns (presumably true).
|
boolean |
VariableLattice.prefire()
Return false if the input does not have enough tokens to fire.
|
boolean |
LMSAdaptive.prefire()
Return false if the error input does not have enough tokens to fire.
|
boolean |
VariableFIR.prefire()
Return false if the input does not have enough tokens to fire.
|
boolean |
Autocorrelation.prefire()
If there are not sufficient inputs, then return false.
|
boolean |
VariableRecursiveLattice.prefire()
Return false if the input does not have enough tokens to fire.
|
boolean |
FIR.prefire()
Return false if the input does not have enough tokens to fire.
|
boolean |
SequenceToArray.prefire()
Return true if the input port has enough tokens for this actor to
fire.
|
void |
LineCoder.preinitialize()
Set up the consumption constant.
|
void |
SampleDelay.preinitialize()
Check that the initialOutputs parameter contains an
array token.
|
void |
BootstrapSampleDelay.wrapup()
Reset the state for the next run.
|
Constructor and Description |
---|
ArrayToSequence(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Autocorrelation(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
BitsToInt(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
BootstrapSampleDelay(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Chop(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
CountTrues(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DelayLine(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DotProduct(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
DoubleToMatrix(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
DownSample(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FFT(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
FIR(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
IFFT(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
IntToBits(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LineCoder(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LMSAdaptive(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MatrixJoin(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MatrixSplit(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
MatrixToDouble(CompositeEntity container,
java.lang.String name)
Deprecated.
Construct an actor with the given container and name.
|
MatrixToSequence(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
RaisedCosine(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Repeat(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
SampleDelay(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SDFConverter(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SDFTransformer(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SequenceToArray(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
SequenceToMatrix(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
UpSample(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
VariableFIR(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
VariableLattice(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
VariableRecursiveLattice(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
static void |
Time.main(java.lang.String[] arg) |
Modifier and Type | Method and Description |
---|---|
void |
VQDecode.fire()
Fire this actor.
|
void |
HTVQEncode.fire()
Fire this actor.
|
void |
ImagePartition.fire()
Fire this actor.
|
void |
ImageUnpartition.fire()
Fire this actor.
|
void |
PSNR.fire()
Fire the actor.
|
void |
ImageSequence.fire()
Fire this actor.
|
void |
ImageContrast.fire()
Fire the actor.
|
void |
VQDecode.initialize()
Initialize this actor.
|
void |
HTVQEncode.initialize()
Initialize this actor.
|
void |
ImagePartition.initialize()
Initialize this actor.
|
void |
ImageUnpartition.initialize()
Initialize this actor.
|
void |
ImageSequence.initialize()
Initialize this actor.
|
Constructor and Description |
---|
HTVQEncode(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
ImageContrast(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ImageDisplay(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ImagePartition(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
ImageSequence(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
ImageUnpartition(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
PSNR(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
VQDecode(CompositeEntity container,
java.lang.String name)
Construct an actor in the specified container with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
SharedBufferTransformer._fireCopying()
Fire the actor in shared firing mode.
|
protected abstract void |
SharedBufferTransformer._fireExclusive()
Fire the actor in exclusive firing mode.
|
protected Schedule |
OptimizingSDFScheduler._getSchedule()
Return the scheduling sequence.
|
protected void |
OptimalScheduleFinder._instantiateAnalysisModel(java.util.Map firingVector)
Instantiate the analysis model from the core model.
|
void |
OptimizingSDFDirector.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
SharedBufferTransformer.fire()
Fire according to the value _nextIterationExclusive in shared or exclusive
firing mode.
|
void |
OptimizingSDFDirector.fire()
Calculate the current schedule, if necessary, and iterate the
contained actors in the order given by the schedule.
|
void |
SharedBufferTransformer.initialize()
initialize.
|
int |
BufferingProfile.iterate(int iterationCount,
boolean fireExclusive)
Invoke a specified number of iterations of the actor in either shared or
exclusive mode as indicated by the fireExclusive argument.
|
int |
SharedBufferTransformer.iterate(int iterationCount,
boolean fireExclusive)
Invoke a specified number of iterations of the actor in either shared or
exclusive mode as indicated by the fireExclusive argument.
|
Constructor and Description |
---|
OptimizingSDFDirector(CompositeEntity container,
java.lang.String name)
Construct on OptimizingSDFDirector in the given container with the given name.
|
OptimizingSDFScheduler(OptimizingSDFDirector container,
java.lang.String name,
OptimizingSDFDirector.OptimizationCriteria crit)
Construct an instance of an OptimizingSDFScheduler.
|
SharedBufferTransformer(CompositeEntity container,
java.lang.String name)
Construct an instance of a SharedBufferTransformer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DummyTransformer._fireCopying()
Fire the actor in shared firing mode.
|
protected void |
DummyTransformer._fireExclusive()
Fire the actor in exclusive firing mode.
|
void |
DummySource.fire()
Fire the source actor and output a frame.
|
void |
DummySource.initialize()
Initialize the actor.
|
int |
DummySource.iterate(int iterationCount,
boolean fireExclusive)
Iterate the actor.
|
int |
DummyDisplay.iterate(int iterationCount,
boolean fireExclusive)
Iterates the dummy display actor.
|
boolean |
DummySource.postfire()
Post-fire the source actor and update the counter to give
next token a unique sequence number.
|
Constructor and Description |
---|
DummyDisplay(CompositeEntity container,
java.lang.String name)
Create an instance of a testing actor to mimic a display sink actor.
|
DummySource(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
DummyTransformer(CompositeEntity container,
java.lang.String name)
Constructs an instance of a dummy transformer actor for testing purposes.
|
Modifier and Type | Class and Description |
---|---|
class |
GraphActionException
Exception for graph action errors.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
InequalitySolver.bottomVariables()
Return an
Iterator of the variables whose current
values are the bottom of the underlying CPO. |
java.lang.Object |
InequalityTerm.getValue()
Return the value of this term.
|
void |
InequalityTerm.initialize(java.lang.Object e)
Initialize the value of this term to the specified CPO element.
|
boolean |
Inequality.isSatisfied(CPO cpo)
Test if this inequality is satisfied with the current value
of variables.
|
void |
InequalityTerm.setValue(java.lang.Object e)
Set the value of this term to the specified CPO element.
|
boolean |
InequalitySolver.solveGreatest()
Solve the set of inequalities for the greatest solution.
|
boolean |
InequalitySolver.solveLeast()
Solve the set of inequalities for the least solution.
|
java.util.Iterator |
InequalitySolver.topVariables()
Return an
Iterator of the variables whose current
values are the top of the underlying CPO. |
java.util.Iterator |
InequalitySolver.unsatisfiedInequalities()
Return an
Iterator of Inequalities
that are not satisfied with the current value of variables. |
Modifier and Type | Method and Description |
---|---|
protected void |
CompositeEntity._addEntity(ComponentEntity entity)
Add an entity or class definition to this container.
|
protected void |
Entity._addPort(T port)
Add a port to this entity.
|
protected void |
CompositeEntity._addRelation(ComponentRelation relation)
Add a relation to this container.
|
protected void |
ComponentEntity._adjustDeferrals()
Adjust the deferrals in this object.
|
protected void |
CompositeEntity._adjustDeferrals()
Adjust the deferrals in this object.
|
protected void |
ComponentRelation._checkContainer(CompositeEntity container)
Check that the specified container is of a suitable class for
this relation.
|
protected void |
Port._checkContainer(Entity container)
Check that the specified container is of a suitable class for
this port.
|
protected void |
ComponentPort._checkContainer(Entity container)
Override the base class to ensure that the proposed container is a
ComponentEntity.
|
protected void |
ComponentEntity._checkContainer(InstantiableNamedObj container)
Check the specified container.
|
protected void |
ComponentPort._checkLiberalLink(Relation relation)
Check the validity of a link.
|
protected void |
Port._checkLink(Relation relation)
Check that this port is compatible with the specified relation,
that it has a container.
|
protected void |
ComponentPort._checkLink(Relation relation)
Override the base class to throw an exception if the relation is
not a ComponentRelation, or if the container of the port or
relation is null, or if the container of this port is a class
definition and the link is not an inside link.
|
protected void |
Relation._checkPort(Port port)
Throw an exception if the specified port cannot be linked to this
relation.
|
protected void |
ComponentRelation._checkPort(Port port)
Throw an exception if the specified port cannot be linked to this
relation (is not of class ComponentPort).
|
protected void |
Relation._checkRelation(Relation relation,
boolean symmetric)
Check that this relation is compatible with the specified relation.
|
protected void |
ComponentRelation._checkRelation(Relation relation,
boolean symmetric)
Throw an exception if the specified relation is not an instance
of ComponentRelation.
|
protected java.lang.String |
Entity._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
protected java.lang.String |
Port._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
protected java.lang.String |
ComponentPort._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
protected java.lang.String |
Relation._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
protected java.lang.String |
CompositeEntity._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
protected NamedObj |
Port._getContainedObject(NamedObj container,
java.lang.String relativeName)
Get a port with the specified name in the specified container.
|
protected NamedObj |
ComponentEntity._getContainedObject(NamedObj container,
java.lang.String relativeName)
Get an entity with the specified name in the specified container.
|
protected NamedObj |
Relation._getContainedObject(NamedObj container,
java.lang.String relativeName)
Get a relation with the specified name in the specified container.
|
protected NamedObj |
Port._propagateExistence(NamedObj container)
Propagate existence of this object to the
specified object.
|
protected NamedObj |
ComponentEntity._propagateExistence(NamedObj container)
Propagate existence of this object to the
specified object.
|
protected NamedObj |
ComponentRelation._propagateExistence(NamedObj container)
Propagate existence of this object to the
specified object.
|
protected void |
InstantiableNamedObj._setParent(Instantiable parent)
Specify the parent for this object.
|
protected void |
Entity._validateSettables(java.util.Collection attributesValidated)
Validate attributes deeply contained by this object if they
implement the Settable interface by calling their validate() method.
|
protected void |
CompositeEntity._validateSettables(java.util.Collection attributesValidated)
Validate attributes deeply contained by this object if they
implement the Settable interface by calling their validate() method.
|
ComponentRelation |
CompositeEntity.connect(ComponentPort port1,
ComponentPort port2)
Create a new relation and use it to connect two ports.
|
ComponentRelation |
CompositeEntity.connect(ComponentPort port1,
ComponentPort port2,
java.lang.String relationName)
Create a new relation with the specified name and use it to
connect two ports.
|
java.util.List |
InstantiableNamedObj.getPrototypeList()
Return a list of prototypes for this object.
|
void |
ComponentPort.insertInsideLink(int index,
Relation relation)
Insert a link to the specified relation at the specified index,
and notify the container by calling its connectionsChanged() method.
|
void |
Port.insertLink(int index,
Relation relation)
Insert a link to the specified relation at the specified index,
and notify the container by calling its connectionsChanged() method.
|
void |
ComponentPort.insertLink(int index,
Relation relation)
Insert a link to the specified relation at the specified index,
and notify the container by calling its connectionsChanged() method.
|
Instantiable |
InstantiableNamedObj.instantiate(NamedObj container,
java.lang.String name)
Create an instance by (deeply) cloning this object and then adjusting
the parent-child relationships between the clone and its parent.
|
Instantiable |
ComponentEntity.instantiate(NamedObj container,
java.lang.String name)
Create an instance by cloning this object and then adjusting
the parent-child relationships between the clone and its parent.
|
void |
ComponentPort.liberalLink(ComponentRelation relation)
Link this port with the specified relation.
|
void |
Port.link(Relation relation)
Link this port with a relation, and notify the container by
calling its connectionsChanged() method.
|
void |
ComponentPort.link(Relation relation)
Link this port with the specified relation.
|
void |
Relation.link(Relation relation)
Link this relation with another relation.
|
int |
Port.moveDown()
Move this object down by one in the list of ports of
its container.
|
int |
ComponentEntity.moveDown()
Move this object down by one in the list of entities of
its container.
|
int |
ComponentRelation.moveDown()
Move this object down by one in the list of relations of
its container.
|
int |
Port.moveToFirst()
Move this object to the first position in the list
of ports of the container.
|
int |
ComponentEntity.moveToFirst()
Move this object to the first position in the list
of entities of the container.
|
int |
ComponentRelation.moveToFirst()
Move this object to the first position in the list
of relations of the container.
|
int |
Port.moveToIndex(int index)
Move this object to the specified position in the list
of ports of the container.
|
int |
ComponentEntity.moveToIndex(int index)
Move this object to the specified position in the list
of entities of the container.
|
int |
ComponentRelation.moveToIndex(int index)
Move this object to the specified position in the list
of relations of the container.
|
int |
Port.moveToLast()
Move this object to the last position in the list
of ports of the container.
|
int |
ComponentEntity.moveToLast()
Move this object to the last position in the list
of entities of the container.
|
int |
ComponentRelation.moveToLast()
Move this object to the last position in the list
of relations of the container.
|
int |
Port.moveUp()
Move this object up by one in the list of
ports of the container.
|
int |
ComponentEntity.moveUp()
Move this object up by one in the list of
entities of the container.
|
int |
ComponentRelation.moveUp()
Move this object up by one in the list of
relations of the container.
|
Port |
Entity.newPort(java.lang.String name)
Create a new port with the specified name.
|
Port |
ComponentEntity.newPort(java.lang.String name)
Create a new port with the specified name.
|
ComponentRelation |
CompositeEntity.newRelation(java.lang.String name)
Create a new relation with the specified name, add it to the
relation list, and return it.
|
java.util.List |
ComponentEntity.propagateExistence()
Propagate the existence of this object.
|
void |
Entity.setClassDefinition(boolean isClass)
Specify whether this object is a class definition.
|
void |
InstantiableNamedObj.setClassDefinition(boolean isClass)
Specify whether this object is a class definition.
|
void |
CompositeEntity.setClassDefinition(boolean isClass)
Specify whether this object is a class definition.
|
void |
ComponentEntity.setContainer(CompositeEntity container)
Specify the container, adding the entity to the list
of entities in the container.
|
void |
ComponentRelation.setContainer(CompositeEntity container)
Specify the container entity, adding the relation to the list
of relations in the container.
|
void |
CompositeEntity.setContainer(CompositeEntity container)
Override the base class so that if the argument is null, all
level-crossing links from inside this composite to outside this
composite are removed.
|
void |
Port.setContainer(Entity entity)
Specify the container entity, adding the port to the list of ports
in the container.
|
void |
ComponentPort.setContainer(Entity entity)
Specify the container entity, adding the port to the list of ports
in the container.
|
void |
Port.setName(java.lang.String name)
Set the name of the port.
|
void |
ComponentEntity.setName(java.lang.String name)
Set the name of the ComponentEntity.
|
void |
ComponentRelation.setName(java.lang.String name)
Set the name of the ComponentRelation.
|
java.lang.String |
CompositeEntity.statistics(java.lang.String className)
Return a string describing how many actors, parameters,
ports, and relations are in this CompositeEntity.
|
Constructor and Description |
---|
ComponentEntity(CompositeEntity container,
java.lang.String name)
Construct an entity with the given name contained by the specified
entity.
|
ComponentPort(ComponentEntity container,
java.lang.String name)
Construct a port with the given name contained by the specified
entity.
|
ComponentRelation(CompositeEntity container,
java.lang.String name)
Construct a relation with the given name contained by the specified
entity.
|
CompositeEntity(CompositeEntity container,
java.lang.String name)
Create an object with a name and a container.
|
Entity(java.lang.String name)
Construct an entity in the default workspace with the given name.
|
Entity(Workspace workspace,
java.lang.String name)
Construct an entity in the given workspace with the given name.
|
InstantiableNamedObj(java.lang.String name)
Construct an object in the default workspace with the given name.
|
InstantiableNamedObj(Workspace workspace,
java.lang.String name)
Construct an object in the given workspace with the given name.
|
Port(Entity container,
java.lang.String name)
Construct a port with the given name contained by the specified
entity.
|
Relation(java.lang.String name)
Construct a relation in the default workspace with the given name.
|
Relation(Workspace workspace,
java.lang.String name)
Construct a relation in the given workspace with the given name.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
FileOrURLAccessor.asFile()
Return the file as a File object.
|
java.io.File |
FileAttribute.asFile()
Deprecated.
Return the file as a File object.
|
java.net.URL |
FileOrURLAccessor.asURL()
Return the file as a URL.
|
java.net.URL |
FileAttribute.asURL()
Deprecated.
Return the file as a URL.
|
void |
FileOrURLAccessor.close()
Close the file.
|
void |
FileAttribute.close()
Deprecated.
Close the file.
|
java.io.BufferedReader |
FileOrURLAccessor.openForReading()
Open the file or URL for reading.
|
java.io.BufferedReader |
FileAttribute.openForReading()
Deprecated.
Open the file or URL for reading.
|
java.io.Writer |
FileOrURLAccessor.openForWriting()
Open the file for writing.
|
java.io.Writer |
FileAttribute.openForWriting()
Deprecated.
Open the file for writing.
|
java.io.Writer |
FileOrURLAccessor.openForWriting(boolean append)
Open the file for writing or appending.
|
java.io.Writer |
FileAttribute.openForWriting(boolean append)
Deprecated.
Open the file for writing or appending.
|
void |
VersionAttribute.setExpression(java.lang.String expression)
Set the value of the string attribute and notify the container
of the value of this attribute by calling attributeChanged().
|
void |
RequireVersion.setExpression(java.lang.String expression)
Set the required version, check it against the currently
executing version, and throw an exception if the executing
version is older.
|
void |
URIAttribute.setURI(java.net.URI uri)
Set the value of the URI, and call the attributeChanged() method
of the container.
|
void |
URIAttribute.setURL(java.net.URL url)
Set the value of the URI by specifying a URL,
and call the attributeChanged() method of the container.
|
Constructor and Description |
---|
FileAttribute(NamedObj container,
java.lang.String name)
Deprecated.
Construct an attribute with the given name contained by the
specified container.
|
RequireVersion(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
URIAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
container.
|
VersionAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
VersionAttribute(java.lang.String expression)
Construct an object in the default workspace with the empty string
as its name.
|
Modifier and Type | Method and Description |
---|---|
static void |
ExampleSystem.main(java.lang.String[] args)
Create an Example System, then print it out.
|
static void |
TestSerializable.main(java.lang.String[] args)
Create an Example System, then print it out.
|
NamedObj |
TestComponentRelation.testGetContainedObject(NamedObj container,
java.lang.String relativeName) |
NamedObj |
TestComponentRelation.testPropagateExistence(NamedObj container)
Test _propagateExistence()
|
Constructor and Description |
---|
ExampleSystem()
Construct the graph.
|
PortHasNoContainer(Workspace workspace,
java.lang.String name) |
PortNameProblem(Workspace workspace,
java.lang.String name) |
TestComponentPort(ComponentEntity container,
java.lang.String name)
Construct a TestComponentPort
|
TestComponentRelation(CompositeEntity container,
java.lang.String name)
Construct a TestComponentRelation
|
Modifier and Type | Method and Description |
---|---|
void |
ExampleSystemJUnitTest.run()
Create the example system and compare the value returned by the
toString() method to the known good results.
|
Constructor and Description |
---|
UndoStackAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BasicModelErrorHandler.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error by throwing the specified exception.
|
boolean |
ModelErrorHandler.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error.
|
boolean |
NamedObj.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error.
|
boolean |
Workspace.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error by throwing the specified exception.
|
Modifier and Type | Method and Description |
---|---|
protected void |
NamedObj._addAttribute(Attribute attribute)
Add an attribute.
|
protected void |
Attribute._checkContainer(NamedObj container)
Check that the specified container is of a suitable class for
this attribute.
|
protected java.lang.String |
NamedObj._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
protected java.lang.String |
Workspace._description(int detail,
int indent,
int bracket)
Return a description of the workspace.
|
protected NamedObj |
NamedObj._getContainedObject(NamedObj container,
java.lang.String relativeName)
Get an object with the specified name in the specified container.
|
protected NamedObj |
Attribute._getContainedObject(NamedObj container,
java.lang.String relativeName)
Get an attribute with the specified name in the specified container.
|
protected void |
NamedObj._notifyHierarchyListenersAfterChange()
If any hierarchy listeners are registered, notify them
that a change has occurred in the hierarchy.
|
protected void |
NamedObj._notifyHierarchyListenersBeforeChange()
If any hierarchy listeners are registered, notify them
that a change is about to occur in the hierarchy.
|
protected NamedObj |
NamedObj._propagateExistence(NamedObj container)
Propagate existence of this object to the
specified object.
|
protected NamedObj |
Attribute._propagateExistence(NamedObj container)
Propagate existence of this object to the
specified object.
|
protected void |
StringAttribute._propagateValue(NamedObj destination)
Propagate the value of this object to the
specified object.
|
protected void |
Location._propagateValue(NamedObj destination)
Propagate the value of this object to the
specified object.
|
protected void |
NamedObj._propagateValue(NamedObj destination)
Propagate the value of this object (if any) to the
specified object.
|
protected void |
ConfigurableAttribute._propagateValue(NamedObj destination)
Propagate the value of this object to the
specified object.
|
protected void |
NamedObj._validateSettables(java.util.Collection attributesValidated)
Validate attributes deeply contained by this object if they
implement the Settable interface by calling their validate() method.
|
void |
Workspace.add(NamedObj item)
Add an item to the directory.
|
void |
NamedList.append(Nameable element)
Add an element to the end of the list.
|
void |
DecoratorAttributes.attributeChanged(Attribute attribute)
Override the base class to establish a link to the decorator
if the argument is decoratorName.
|
void |
NamedObj.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
NamedObj.attributeDeleted(Attribute attribute)
React to the deletion of an attribute.
|
void |
NamedObj.attributeTypeChanged(Attribute attribute)
React to a change in the type of an attribute.
|
DecoratorAttributes |
Decorator.createDecoratorAttributes(NamedObj target)
Create and return the decorated attributes for the target NamedObj.
|
java.util.List<NamedObj> |
Decorator.decoratedObjects()
Return a list of the objects that this decorator decorates.
|
java.util.Set<Decorator> |
NamedObj.decorators()
Return the set of decorators that decorate this object.
|
java.lang.String |
NamedObj.description()
Return a full description of the object.
|
java.lang.String |
Workspace.description()
Return a full description of the workspace and everything in its
directory.
|
java.lang.String |
Nameable.description()
Return a description of the object.
|
java.lang.String |
NamedObj.description(int detail)
Return a description of the object.
|
java.lang.String |
Workspace.description(int detail)
Return a description of the workspace.
|
void |
DropTargetHandler.dropObject(NamedObj target,
java.util.List dropObjects,
java.lang.String moml)
React to a list of objects being dropped onto a target.
|
void |
ScopeExtender.expand()
Expand the scope of the container by creating any required parameters.
|
Attribute |
NamedObj.getAttribute(java.lang.String name,
java.lang.Class attributeClass)
Get the attribute with the given name and class.
|
Decorator |
DecoratorAttributes.getDecorator()
Return the decorator that is responsible for this DecoratorAttributes instance.
|
Attribute |
NamedObj.getDecoratorAttribute(Decorator decorator,
java.lang.String name)
Return the decorator attribute with the specified name for the
specified decorator, or null the specified decorator provides
no attribute with the specified name or the decorator does not
decorate this object.
|
DecoratorAttributes |
NamedObj.getDecoratorAttributes(Decorator decorator)
Return the decorated attributes of this NamedObj, as decorated by the
specified decorator.
|
java.util.List |
Derivable.getPrototypeList()
Return a list of prototypes for this object.
|
java.util.List |
NamedObj.getPrototypeList()
Return a list of prototypes for this object.
|
boolean |
ExceptionHandler.handleException(NamedObj context,
java.lang.Throwable exception)
Handle an exception.
|
boolean |
BasicModelErrorHandler.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error by throwing the specified exception.
|
boolean |
ModelErrorHandler.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error.
|
boolean |
NamedObj.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error.
|
boolean |
Workspace.handleModelError(NamedObj context,
IllegalActionException exception)
Handle a model error by throwing the specified exception.
|
void |
HierarchyListener.hierarchyChanged()
Notify this object that the containment hierarchy above it has
changed.
|
void |
HierarchyListener.hierarchyWillChange()
Notify this object that the containment hierarchy above it will be
changed.
|
void |
NamedList.insertAfter(java.lang.String name,
Nameable element)
Insert a new element after the specified element.
|
void |
NamedList.insertBefore(java.lang.String name,
Nameable element)
Insert a new element before the specified element.
|
void |
CrossRefList.insertLink(int index,
CrossRefList farList)
Insert a link to the specified CrossRefList (farList) at
the specified position (index).
|
Instantiable |
Instantiable.instantiate(NamedObj container,
java.lang.String name)
Create an instance by (deeply) cloning this object and then adjusting
the parent-child relationships between the clone and its parent.
|
boolean |
Decorator.isGlobalDecorator()
Return true if this decorator should decorate objects across
opaque hierarchy boundaries.
|
void |
CrossRefList.link(CrossRefList farList)
Link this list to a different CrossRefList (farList).
|
int |
Moveable.moveDown()
Move this object down by one in the list of
objects in its container.
|
int |
NamedObj.moveDown()
Move this object down by one in the list of objects in
its container.
|
int |
Attribute.moveDown()
Move this object down by one in the list of attributes of
its container.
|
int |
NamedList.moveDown(Nameable element)
Move the specified element down by one in the list.
|
int |
Moveable.moveToFirst()
Move this object to the first position in the list of
objects in its container.
|
int |
NamedObj.moveToFirst()
Move this object to the first position in the list
of attributes of the container.
|
int |
Attribute.moveToFirst()
Move this object to the first position in the list
of attributes of the container.
|
int |
NamedList.moveToFirst(Nameable element)
Move the specified element to the beginning of the list.
|
int |
Moveable.moveToIndex(int index)
Move this object to the specified position in the list of
objects in its container, where 0 is the first position.
|
int |
NamedObj.moveToIndex(int index)
Move this object to the specified position in the list of
attributes of the container.
|
int |
Attribute.moveToIndex(int index)
Move this object to the specified position in the list
of attributes of the container.
|
int |
NamedList.moveToIndex(Nameable element,
int index)
Move the specified element to the specified position in the list.
|
int |
Moveable.moveToLast()
Move this object to the last position in the list of
objects in its container.
|
int |
NamedObj.moveToLast()
Move this object to the last position in the list
of attributes of the container.
|
int |
Attribute.moveToLast()
Move this object to the last position in the list
of attributes of the container.
|
int |
NamedList.moveToLast(Nameable element)
Move the specified element to the end of the list.
|
int |
Moveable.moveUp()
Move this object up by one in the list of
objects in its container.
|
int |
NamedObj.moveUp()
Move this object up by one in the list of
attributes of the container.
|
int |
Attribute.moveUp()
Move this object up by one in the list of
attributes of the container.
|
int |
NamedList.moveUp(Nameable element)
Move the specified element up by one in the list.
|
void |
NamedList.prepend(Nameable element)
Add an element to the beginning of the list.
|
java.util.List |
Derivable.propagateExistence()
Propagate the existence of this object.
|
java.util.List |
NamedObj.propagateExistence()
Propagate the existence of this object.
|
java.util.List |
Derivable.propagateValue()
Propagate the value (if any) held by this
object to derived objects that have not been overridden.
|
java.util.List |
NamedObj.propagateValue()
Propagate the value (if any) held by this
object to derived objects that have not been overridden.
|
void |
NamedObj.propagateValues()
If this object has a value that has been set directly,
or if it has a value that has propagated in, then
propagate that value to all derived objects, and
then repeat this for all objects this object contains.
|
void |
TransientSingletonConfigurableAttribute.setContainer(NamedObj container)
Deprecated.
Remove any previous attribute in the container that has the same
name as this attribute, and then call the base class method to set
the container.
|
void |
SingletonConfigurableAttribute.setContainer(NamedObj container)
Remove any previous attribute in the container that has the same
name as this attribute, and then call the base class method to set
the container.
|
void |
Attribute.setContainer(NamedObj container)
Specify the container NamedObj, adding this attribute to the
list of attributes in the container.
|
void |
SingletonAttribute.setContainer(NamedObj container)
Remove any previous attribute in the container that has the same
name as this attribute, and then call the base class method to set
the container.
|
void |
Settable.setExpression(java.lang.String expression)
Set the value of the attribute by giving some expression.
|
void |
StringAttribute.setExpression(java.lang.String expression)
Set the value of the string attribute and notify the container
of the value of this attribute by calling attributeChanged().
|
void |
AbstractSettableAttribute.setExpression(java.lang.String expression)
Set the value of this attribute to the specified expression.
|
void |
ConfigurableAttribute.setExpression(java.lang.String expression)
Set the value of the string attribute and notify the container
of the value of this attribute by calling attributeChanged(),
and notify any listeners that have
been registered using addValueListener().
|
void |
Location.setLocation(double[] location)
Set the center location in some cartesian coordinate system,
and notify the container and any value listeners of the new
location.
|
void |
Locatable.setLocation(double[] location)
Set the location in some cartesian coordinate system, and notify
the container and any value listeners of the new location.
|
void |
NamedObj.setName(java.lang.String name)
Set or change the name.
|
void |
Attribute.setName(java.lang.String name)
Set the name of the attribute.
|
void |
Nameable.setName(java.lang.String name)
Set or change the name.
|
java.util.Collection |
Settable.validate()
Check the validity of the expression set in setExpression().
|
java.util.Collection |
StringAttribute.validate()
Do nothing.
|
java.util.Collection |
Location.validate()
Parse the location specification given by setExpression(), if there
has been one, and otherwise set the location to 0.0, 0.0.
|
void |
ScopeExtender.validate()
Evaluate the expressions of all the parameters of the scope extender.
|
java.util.Collection |
ConfigurableAttribute.validate()
Validate this attribute by calling
ConfigurableAttribute.value() . |
void |
NamedObj.validateSettables()
Validate attributes deeply contained by this object if they
implement the Settable interface by calling their validate() method.
|
Constructor and Description |
---|
AbstractSettableAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
AbstractSettableAttribute(NamedObj container,
java.lang.String name,
boolean incrementWorkspaceVersion)
Construct an attribute with the given name contained by the specified
entity.
|
Attribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
Attribute(NamedObj container,
java.lang.String name,
boolean incrementWorkspaceVersion)
Construct an attribute with the given name contained by the specified
entity.
|
ConfigurableAttribute(NamedObj container,
java.lang.String name)
Construct a new attribute with the given container and name.
|
DecoratorAttributes(NamedObj container,
Decorator decorator)
Construct a DecoratorAttributes instance to contain the
decorator parameter for the specified container provided
by the specified decorator.
|
DecoratorAttributes(NamedObj container,
java.lang.String name)
Construct a DecoratorAttributes instance with the given name
and container.
|
Location(NamedObj container,
java.lang.String name)
Construct an attribute with the given container and name.
|
LoggerListener(java.lang.String name)
Create a logger.
|
LoggerListener(java.lang.String name,
java.io.File directory)
Create a logger.
|
LoggerListener(java.lang.String name,
java.io.File directory,
java.util.logging.Level level)
Create a logger.
|
NamedObj(java.lang.String name)
Construct an object in the default workspace with the given name.
|
NamedObj(Workspace workspace,
java.lang.String name)
Construct an object in the given workspace with the given name.
|
NamedObj(Workspace workspace,
java.lang.String name,
boolean incrementWorkspaceVersion)
Construct an object in the given workspace with the given name.
|
SingletonAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given container and name.
|
SingletonConfigurableAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given container and name.
|
StringAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
container.
|
TransientSingletonConfigurableAttribute(NamedObj container,
java.lang.String name)
Deprecated.
Construct an attribute with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
NamedObj |
TestNullNamedObj.getContainedObject(NamedObj container,
java.lang.String relativeName)
Get an object with the specified name in the specified container.
|
Instantiable |
TestInstantiableAttribute.instantiate(NamedObj container,
java.lang.String name) |
Instantiable |
TestInstantiableNamedObj.instantiate(NamedObj container,
java.lang.String name) |
java.util.Collection |
InvalidStringAttribute.validate()
Throw either a KernelRuntimeException or an IllegalActionException.
|
Constructor and Description |
---|
InvalidStringAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
TestInstantiableAttribute(NamedObj container,
java.lang.String name) |
TestInstantiableNamedObj(java.lang.String name) |
TestInstantiableNamedObj(Workspace workspace,
java.lang.String name) |
TestNullNamedObj()
Construct an object in the default workspace with an empty string
as its name.
|
TestNullNamedObj(java.lang.String name)
Construct an object in the default workspace with an empty string
as its name.
|
Constructor and Description |
---|
ChangeRequestTest()
Constructor.
|
TestDE()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
Engine.evalString(long[] eng,
java.lang.String evalStr)
Send a string for evaluation to the matlab engine.
|
void |
Expression.fire()
Evaluate the expression and send its result to the output.
|
Token |
Engine.get(long[] eng,
java.lang.String name)
Return a Token from the matlab engine using default
Engine.ConversionParameters values. |
Token |
Engine.get(long[] eng,
java.lang.String name,
Engine.ConversionParameters par)
Return a Token from the matlab engine using specified
Engine.ConversionParameters values. |
void |
Expression.initialize()
Initialize the iteration count to 1.
|
long[] |
Engine.open()
Open a connection to the default matlab engine installed on
this host with its output buffered.
|
long[] |
Engine.open(boolean needOutput)
Open a connection to the default matlab engine installed on
this host with specified output buffering.
|
long[] |
Engine.open(java.lang.String startCmd,
boolean needOutput)
Open a connection to a matlab engine.
|
boolean |
Expression.postfire()
Increment the iteration count.
|
boolean |
Expression.prefire()
Return true if all input ports have at least one token.
|
void |
Expression.preinitialize()
Open a matlab engine.
|
int |
Engine.put(long[] eng,
java.lang.String name,
Token t)
Create a matlab variable using name and a Token.
|
void |
Expression.wrapup()
Close matlab engine if it was open.
|
Constructor and Description |
---|
Expression(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
static void |
TestEngine.main(java.lang.String[] args)
Invoke the Matlab engine and run a few tests.
|
Modifier and Type | Method and Description |
---|---|
void |
UndoContext.applyRename(java.lang.String newName)
Used to handle the "rename" element.
|
void |
MoMLModelAttribute.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
java.lang.String |
MoMLVariableChecker.checkCopy(java.lang.String momlToBeChecked,
NamedObj container)
Check for problems in the moml to be copied.
|
java.lang.String |
MoMLVariableChecker.checkCopy(java.lang.String momlToBeChecked,
NamedObj container,
boolean hideVariables)
Check for problems in the moml to be copied.
|
void |
Documentation.setExpression(java.lang.String expression)
Override the base class to remove this instance from
its container if the argument is an empty string.
|
Constructor and Description |
---|
Documentation(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
EntityLibrary(CompositeEntity container,
java.lang.String name)
Construct a library with the given container and name.
|
ImportAttribute(NamedObj container,
java.lang.String name)
Deprecated.
Construct an attribute with the specified container and name.
|
LibraryAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given container and name.
|
MoMLAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
MoMLModelAttribute(NamedObj container,
java.lang.String name)
Create a model attribute with the specified container and name.
|
ParserAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
Vertex(Relation container,
java.lang.String name)
Construct an attribute with the given name and position.
|
Constructor and Description |
---|
DiscardDoubles(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport with type double.
|
DiscardDoublesArray(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport with type double.
|
DiscardGenerals(CompositeEntity container,
java.lang.String name)
Construct an actor with an input multiport with type general.
|
Constructor and Description |
---|
TestRamp(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected void |
UnitAttribute._propagateValue(NamedObj destination)
Propagate the value of this object to the
specified object.
|
protected java.lang.Object |
EquationVisitor._visitUnitEquation(UnitEquation uEquation)
Visit a UnitEquation by visiting the left and right sides of the
equation.
|
protected java.lang.Object |
EquationVisitor._visitUnitExpr(UnitExpr unitExpr)
Visit a UnitExpr by visiting the UnitTerms.
|
protected java.lang.Object |
EquationVisitor._visitUnitTerm(UnitTerm uTerm)
Visit a UnitTerm by visiting the UnitExpr if there is one.
|
protected java.lang.Object |
ExpandPortNames._visitUnitTerm(UnitTerm uTerm)
The method that actually does the substitution of a variable with
the model name of the port.
|
Solution |
UnitConstraints.completeSolution()
Generate a complete solution.
|
void |
ExpandPortNames.expand(UnitEquation equation,
ComponentEntity actor)
The method is the entry point to the class.
|
java.util.Vector |
UnitConstraints.minimalSpanSolutions()
Generate the minimal span solutions of the collection.
|
void |
UnitAttribute.setExpression(java.lang.String expression)
Set the expression.
|
java.util.Collection |
UnitAttribute.validate() |
java.lang.Object |
UnitTerm.visit(EquationVisitor visitor)
Visit an instance of UnitTerm.
|
java.lang.Object |
UnitEquation.visit(EquationVisitor visitor)
Visit this Unit equation (on the way to visiting the leaves)
|
Constructor and Description |
---|
Solution(TypedCompositeActor model,
java.lang.String[] vLabels,
java.util.Vector constraints)
Construct a Solution from a set of variables, and a set of constraints.
|
UnitAttribute()
Construct a UnitsAttribute with no specific name, or container.
|
UnitAttribute(NamedObj container,
java.lang.String name)
Construct a UnitsAttribute with the specified name, and container.
|
UnitConstraints(TypedCompositeActor model,
java.util.Vector entities,
java.util.Vector relations)
Construct a collection of Unit constraints from the specified
componentEntities and relations of a model.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LayoutHint._propagateValue(NamedObj destination)
Propagate the value of this object to the specified object.
|
int |
DocBuilder.buildDocs()
Build the Java class and Actor documentation.
|
void |
ActorInteractionAddon.lookInsideAction(FigureAction figureAction,
NamedObj actor)
The action to be taken when looking inside an actor.
|
void |
ActorInteractionAddon.openInstanceAction(FigureAction figureAction,
NamedObj actor)
The action to be taken when looking inside an actor.
|
java.util.Collection |
LayoutHint.validate()
Parse the layout hint specification given by setExpression(), if there
has been one, and otherwise do nothing, i.e. keep the list of layout
hints empty.
|
Constructor and Description |
---|
ActorGraphTableau(PtolemyEffigy container,
java.lang.String name)
Create a tableau with the specified container and name, with
no specified default library.
|
ActorGraphTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a tableau with the specified container, name, and
default library.
|
ActorGraphTableau(Workspace workspace)
Create a tableau in the specified workspace.
|
DocBuilder(NamedObj container,
java.lang.String name)
Create a new instance of the DocBuilder.
|
DocBuilderEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
DocBuilderGUI(DocBuilder docBuilder,
Tableau tableau)
Construct a frame to build the Java and Actor documentation.
|
DocBuilderTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
DocEffigy(CompositeEntity container,
java.lang.String name)
Create a new effigy in the given directory with the given name.
|
DocTableau(Effigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|
Factory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(CompositeEntity container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
LayoutHint(NamedObj container,
java.lang.String name)
Construct an attribute with the given container and name.
|
TypeOpaqueCompositeActorTableauFactory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Modifier and Type | Method and Description |
---|---|
void |
ModelDisplay.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
void |
VisualModelReference.attributeChanged(Attribute attribute)
Override the base class to open the model specified if the
attribute is modelFileOrURL, or for other parameters, to cache
their values.
|
void |
LEDMatrix.fire()
Read a token from the row and column ports and illuminate that
led until the next fire.
|
void |
ModelDisplay.fire()
Read the input, if there is any, and issue a change
request to apply the MoML in the input to the displayed model.
|
void |
VisualModelReference.fire()
Run a complete execution of the referenced model.
|
void |
ModelDisplay.initialize()
If the model is not yet displayed, then display it in its
own window.
|
boolean |
MonitorImage.postfire()
Read at most one token from the input and record its value.
|
boolean |
VisualModelReference.postfire()
Override the base class to perform requested close on postfire actions.
|
void |
LEDMatrix.preinitialize() |
void |
ShowTypes.preinitialize()
Override the base class to also register as an execution
listener with the Manager.
|
void |
MonitorReceiverContents.setContainer(NamedObj container)
Specify the container.
|
void |
ShowTypes.setContainer(NamedObj container)
Specify the container.
|
void |
MonitorReceiverAttribute.setExpression(java.lang.String expression)
Set the value of the attribute by giving some expression.
|
java.util.Collection |
MonitorReceiverAttribute.validate()
Check the validity of the expression set in setExpression().
|
Constructor and Description |
---|
LEDMatrix(CompositeEntity container,
java.lang.String name)
Construct an actor with the given container and name.
|
LookInside(NamedObj container,
java.lang.String name)
Construct a VisualModelReference$LookInside object.
|
ModelDisplay(CompositeEntity container,
java.lang.String name)
Construct an actor with the specified container and name.
|
MonitorImage(CompositeEntity container,
java.lang.String name)
Construct an actor.
|
MonitorReceiverAttribute(NamedObj container,
java.lang.String name)
Construct an actor with the specified container and name.
|
MonitorReceiverContents(NamedObj container,
java.lang.String name)
Construct an actor with the specified container and name.
|
ShowTypes(NamedObj container,
java.lang.String name)
Construct an actor with the specified container and name.
|
VisualModelReference(CompositeEntity container,
java.lang.String name)
Construct a VisualModelReference with a name and a container.
|
Modifier and Type | Method and Description |
---|---|
protected SizeAttribute |
BasicGraphFrame._createSizeAttribute()
Create a SizeAttribute for the current model when it is being saved to
a file.
|
protected SizeAttribute |
BasicGraphFrame._createSizeAttribute(NamedObj model)
Create a SizeAttribute for a specific model when it is being saved to
a file.
|
protected Manager |
RunnableGraphController._getManager()
Get the manager for the top-level of the associated model,
if there is one, or create one if there is not.
|
protected void |
BasicGraphFrame._initBasicGraphFrameSetZoomAndPan()
Set the zoom factor and the pan.
|
protected void |
BasicGraphFrame._initBasicGraphFrameSetZoomAndPane(NamedObj model,
diva.graph.JGraph jgraph)
Set the zoom factor and the pan for a specific model and JGraph.
|
protected void |
BasicGraphFrame._updateWindowAttributes(java.awt.Frame parent,
NamedObj model,
diva.graph.JGraph graph)
Update the size, zoom and position of the window for a specific model
and JGraph.
|
static void |
BasicGraphFrameExtension.alternateDelete(java.lang.Object[] selection,
AbstractBasicGraphModel graphModel,
NamedObj container)
Delete the Ptolemy objects represented by the selection.
|
static void |
BasicGraphFrameExtension.alternatePaste(NamedObj container,
java.lang.StringBuffer moml)
Paste the Ptolemy objects represented by the value of the
moml argument into the container.
|
static void |
BasicGraphFrameExtension.alternatePasteMomlModification(NamedObj container,
java.lang.StringBuffer moml)
Paste the Ptolemy objects represented by the value of the
moml argument into the container.
|
java.lang.String |
KeplerDocumentationAttribute.removePort(java.lang.String name)
Remove a port from the port hashtable.
|
java.lang.String |
KeplerDocumentationAttribute.removeProperty(java.lang.String name)
Remove a property from the property hashtable.
|
void |
RelativeLocation.setLocation(double[] location)
Set the location in some cartesian coordinate system, and notify
the container and any value listeners of the new location.
|
void |
LocatableNodeController.setLocation(java.lang.Object node,
double[] location)
Set the desired location of this node.
|
void |
BasicGraphFrame.updateWindowAttributes()
Update the size, zoom and position of the window.
|
void |
BasicGraphFrame.writeHTML(ExportParameters parameters,
java.io.Writer writer)
Write an HTML page based on the current view of the model
to the specified destination directory.
|
void |
HTMLExportable.writeHTML(ExportParameters parameters,
java.io.Writer writer)
Export to HTML as given by the parameters.
|
Constructor and Description |
---|
ContextMenuFactoryCreator(NamedObj container,
java.lang.String name)
Create a context menu factory with the given name and container.
|
DependencyHighlighter(NamedObj container,
java.lang.String name)
Construct a new attribute with the given container and name.
|
DocAttribute(NamedObj container,
java.lang.String name)
Construct a documentation attribute with the given name contained
by the specified entity.
|
DocViewerFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
KeplerDocumentationAttribute(NamedObj container,
java.lang.String name)
Construct a Kepler documentation attribute.
|
NodeControllerFactory(NamedObj container,
java.lang.String name)
Construct a new attribute with the given container and name.
|
RelativeLocation(NamedObj container,
java.lang.String name)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
ExportHTMLAction._createImageMap(java.io.File directory)
Create the image map.
|
protected void |
ExportHTMLAction._provideDefaultContent()
Provide default HTML content by cloning any
default WebExportable attributes provided by
the configuration into the model.
|
protected void |
ExportHTMLAction._removeDefaultContent()
Remove default HTML content, which includes all instances of
WebExportable that are not persistent.
|
static void |
ExportHTMLAction.openRunAndWriteHTML(BasicGraphFrame graphFrame,
ExportParameters parameters,
java.io.File indexFile,
java.io.Writer writer,
boolean waitForCompletion)
Depending on the export parameters (see
ExportParameters ),
open submodels, run the model, and export HTML. |
void |
ExportHTMLAction.writeHTML(ExportParameters parameters,
java.io.Writer writer)
Write an HTML page based on the current view of the model
to the specified destination directory.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JSPlotterAttribute._provideAttributes(WebExporter exporter)
Provide content to the specified web exporter to be
included in a web page for the container of this object.
|
protected void |
WebContent._provideAttributes(WebExporter exporter)
Generate attribute web content.
|
protected void |
Title._provideAttributes(WebExporter exporter)
Provide a title for this object to the specified web exporter.
|
protected void |
IconLink._provideAttributes(WebExporter exporter)
Provide content to the specified web exporter to be
included in a web page for the container of this object.
|
protected void |
DefaultIconLink._provideAttributes(WebExporter exporter)
Override the base class to define an href attribute to associate with
the area of the image map corresponding to its container.
|
protected void |
IconScript._provideAttributes(WebExporter exporter)
Provide method call to invoke script that can be included as an
attribute of an HTML tag, e.g. onclick="runFunction()" in
<button onclick="runFunction()"/>
|
protected void |
DefaultIconScript._provideAttributes(WebExporter exporter)
Provide content to the specified web exporter to be
included in a web page for the container of this object.
|
protected void |
DygraphsJSPlotterAttribute._provideAttributes(WebExporter exporter)
Provide content to the specified web exporter to be
included in a web page for the container of this object.
|
protected void |
DefaultTitle._provideAttributes(WebExporter exporter)
Provide content to the specified web exporter to be
included in a web page.
|
protected void |
ParameterDisplayIconScript._provideDefaultAttributes(NamedObj object,
WebExporter exporter)
Override the base class to provide the parameter table
for the specified object.
|
protected void |
DefaultIconScript._provideDefaultAttributes(NamedObj object,
WebExporter exporter)
Return attributes for default events, e.g. onmouseover().
|
protected void |
DefaultIconLink._provideEachAttribute(WebExporter exporter,
NamedObj object)
Provide content to the specified web exporter to be
included in a web page for the container of this object.
|
protected void |
LinkToOpenTableaux._provideEachAttribute(WebExporter exporter,
NamedObj object)
Override the base class to generate a web page or an image
file for the specified object, if appropriate, and to provide
the href, target, and class attributes to the area attribute
associated with the object.
|
protected void |
ParameterDisplayIconScript._provideElements(WebExporter exporter)
Provide default content to the specified web exporter to be
included in a web page for the container of this object for
objects that do not override onmouseover.
|
protected void |
WebContent._provideElements(WebExporter exporter)
Generate element web content.
|
protected void |
IconScript._provideElements(WebExporter exporter)
Provide content to the specified web exporter to be
included in a web page.
|
void |
HTMLImage._provideElements(WebExporter exporter)
Generate the image file and a <table> element holding an
<img/> element and a caption for the image..
|
protected void |
HTMLText._provideElements(WebExporter exporter)
Generate a <div> element holding the text content.
|
static WebAttribute |
WebAttribute.appendToWebAttribute(NamedObj container,
java.lang.String id,
java.lang.String webName,
java.lang.String content)
Factory method for creating WebAttributes that appends to the
attribute if it already exists and does not have the specified
content.
|
void |
WebContent.attributeChanged(Attribute attribute)
Override the base class to update the icon.
|
void |
Title.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing the icon.
|
void |
WebExportParameters.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
static WebAttribute |
WebAttribute.createWebAttribute(NamedObj container,
java.lang.String id,
java.lang.String webName)
Factory method for creating WebAttributes.
|
static WebElement |
WebElement.createWebElement(NamedObj container,
java.lang.String id,
java.lang.String webName)
Factory method for creating WebElements.
|
java.util.HashMap<java.lang.String,java.lang.String> |
JSPlotterAttribute.getBasicConfig()
Get the parameter values from the GUI input.
|
int |
Title.moveToFirst()
Move this object to the first position in the list
of attributes of the container.
|
int |
Title.moveToLast()
Move this object to the last position in the list
of attributes of the container.
|
void |
WebContent.provideContent(WebExporter exporter)
Provide content to the specified web exporter.
|
void |
Title.provideContent(WebExporter exporter)
Return a title for the model.
|
void |
LinkToOpenTableaux.provideContent(WebExporter exporter)
Provide content to the specified web exporter to be
included in a web page for the container of this object.
|
void |
WebExportable.provideContent(WebExporter exporter)
Provide content to the specified web exporter.
|
java.util.Collection |
Title.validate()
Override the base class to set the text to be displayed
in the icon.
|
Constructor and Description |
---|
AreaEventType(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
DefaultIconLink(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
DefaultIconScript(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
DefaultTitle(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
DygraphsJSPlotterAttribute(NamedObj container,
java.lang.String name)
Construct an attribute that will generate HTML to plot using the Dygraphs
library.
|
HTMLImage(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
HTMLText(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
HTMLTextPosition(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
IconLink(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
IconScript(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
JSPlotterAttribute(NamedObj container,
java.lang.String name)
Create an instance for each parameter.
|
LinkTarget(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
LinkToOpenTableaux(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
ParameterDisplayIconScript(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
Script(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
Title(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
WebAttribute(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
WebContent(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
WebElement(NamedObj container,
java.lang.String name)
Create an instance of this parameter.
|
WebExportParameters(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the specified
entity.
|
Constructor and Description |
---|
AbstractLayoutConfiguration(NamedObj container,
java.lang.String name)
Create and initialize a layout configuration.
|
ActorLayoutConfiguration(NamedObj container,
java.lang.String name)
Creates an initializes a layout configuration specifically tailored
for
ActorGraphModel s. |
ModalLayoutConfiguration(NamedObj container,
java.lang.String name)
Creates an initializes a layout configuration specifically tailored
for
FSMGraphModel s. |
Modifier and Type | Method and Description |
---|---|
void |
Parameters.configureLayout(de.cau.cs.kieler.kiml.klayoutdata.KShapeLayout parentLayout,
diva.graph.GraphModel graphModel)
Configure the KIELER layout using a property holder.
|
Constructor and Description |
---|
DebugController(NamedObj container,
java.lang.String name)
Construct a debug listener with the given container and name.
|
Modifier and Type | Method and Description |
---|---|
protected Settable |
AttributeValueIcon._associatedAttribute()
Return the associated attribute.
|
protected java.lang.String |
XMLIcon._description(int detail,
int indent,
int bracket)
Return a description of the object.
|
void |
NameIcon.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing
the icon.
|
void |
UpdatedValueIcon.attributeChanged(Attribute attribute)
Override the base class to identify the named attribute in the
container and to attach a listener to it.
|
static XMLIcon |
XMLIcon.getXMLIcon(NamedObj container,
java.lang.String name)
Instantiate an XMLIcon in a NamedObj.
|
static XMLIcon |
XMLIcon.getXMLIcon(Workspace workspace,
java.lang.String name)
Instantiate an XMLIcon in a Workspace.
|
void |
ConstraintMonitorIcon.setContainer(NamedObj container)
Override the base class to throw an exception if the container is
not an instance of
ConstraintMonitor . |
void |
NameIcon.setContainer(NamedObj container)
Override the base class to add or set a _hideName parameter.
|
void |
SVGIcon.setContainer(NamedObj container)
Override the base class to establish this as a listener to
icon descriptions in the container.
|
Constructor and Description |
---|
ActorNameIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
AttributeValueIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
BoxedValueIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
BoxedValuesIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
ConstraintMonitorIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
CopyCatIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
DesignPatternIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
DynamicEditorIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
DynamicEditorIcon(Workspace workspace,
java.lang.String name)
Construct an icon in the specified workspace and name.
|
EditIconTableau(PtolemyEffigy container,
java.lang.String name)
Create a tableau with the specified container and name, with
no specified default library.
|
EditIconTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a tableau with the specified container, name, and
default library.
|
EditIconTableau(Workspace workspace)
Create a tableau in the specified workspace.
|
EditorIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
EditorIcon(Workspace workspace,
java.lang.String name)
Construct an icon in the specified workspace and name.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
ImageIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
NameIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
ResizableAttributeControllerFactory(NamedObj container,
java.lang.String name)
Construct a new attribute with the given container and name.
|
ShapeIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
ShapeIcon(NamedObj container,
java.lang.String name,
java.awt.Shape defaultShape)
Create a new icon with the given name in the given container
with the given default shape.
|
SVGIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
SVGIcon(Workspace workspace,
java.lang.String name)
Construct an icon in the specified workspace and name.
|
TableIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
TextIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
UpdatedValueIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
ValueIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
XMLIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
XMLIcon(Workspace workspace,
java.lang.String name)
Construct an icon in the specified workspace and name.
|
Modifier and Type | Method and Description |
---|---|
void |
TextAttribute.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing the icon.
|
void |
ShapeAttribute.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing
the icon.
|
void |
ArrowAttribute.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing the icon.
|
void |
RectangleAttribute.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing
the icon.
|
void |
FilledShapeAttribute.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing
the icon.
|
void |
ResizablePolygonAttribute.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing
the icon.
|
void |
AbstractTextAttribute.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing the icon.
|
void |
AttributeValueAttribute.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing the icon.
|
void |
ArcAttribute.attributeChanged(Attribute attribute)
React to changes in attribute values.
|
void |
ImageAttribute.attributeChanged(Attribute attribute)
React to a change in the source or scale attributes by changing
the icon.
|
void |
LineAttribute.attributeChanged(Attribute attribute)
React to a changes in the attributes by changing
the icon.
|
void |
IDAttribute.attributeChanged(Attribute attribute)
React to a change in an attribute.
|
int |
VisibleAttribute.moveToFirst()
Move this object to the first position in the list
of attributes of the container.
|
int |
VisibleAttribute.moveToLast()
Move this object to the last position in the list
of attributes of the container.
|
void |
AttributeValueAttribute.setExpression(java.lang.String expression)
Set the value of the attribute by giving some expression.
|
java.util.Collection |
AttributeValueAttribute.validate()
Set the attribute name to match the current expression.
|
Constructor and Description |
---|
AbstractTextAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
ArcAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
ArrowAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
AttributeExpressionAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
AttributeValueAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
DocumentationAttribute(NamedObj container,
java.lang.String name)
Deprecated.
Construct an icon with the attached this attached.
|
EllipseAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
FilledShapeAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
IDAttribute(Entity container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
ImageAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
LineAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
RectangleAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
ResizablePolygonAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
ShapeAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
TextAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
VisibleAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TransitionController._openInstanceOrModel(Configuration configuration,
NamedObj refinement)
Open the instance or the model.
|
Constructor and Description |
---|
CaseGraphTableau(PtolemyEffigy container,
java.lang.String name)
Create a new case editor tableau with the specified container
and name.
|
CaseGraphTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a new case editor tableau with the specified container,
name, and default library.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
FSMGraphTableau(PtolemyEffigy container,
java.lang.String name)
Create a new FSM editor tableau with the specified container
and name, with no default library.
|
FSMGraphTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a new FSM editor tableau with the specified container,
name, and default library.
|
StateIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
InterfaceAutomatonGraphTableau(PtolemyEffigy container,
java.lang.String name)
Create a new editor tableau with the specified container
and name, with no default library.
|
InterfaceAutomatonGraphTableau(PtolemyEffigy container,
java.lang.String name,
LibraryAttribute defaultLibrary)
Create a new editor tableau with the specified container,
name, and default library.
|
Constructor and Description |
---|
HierarchicalStateControllerFactory(NamedObj container,
java.lang.String name)
Construct a new attribute with the given container and name.
|
ModalTableauFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
Modifier and Type | Method and Description |
---|---|
void |
PDFAttribute.attributeChanged(Attribute attribute)
React to a change in the source or scale attributes by changing
the icon.
|
Constructor and Description |
---|
PDFAttribute(NamedObj container,
java.lang.String name)
Construct an attribute with the given name contained by the
specified container.
|
PDFIcon(NamedObj container,
java.lang.String name)
Create a new icon with the given name in the given container.
|
Constructor and Description |
---|
AnnotationEditorFactory(NamedObj container,
java.lang.String name)
Deprecated.
Construct a factory with the specified container and name.
|
ArrayOfRecordsConfigureFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
FileEditorTableauFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
MoMLModelAttributeControllerFactory(NamedObj container,
java.lang.String name)
Create a new factory with the specified name and container.
|
TextEditorConfigureFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
TextEditorTableauFactory(NamedObj container,
java.lang.String name)
Create a factory with the given name and container.
|
VisibleParameterEditorFactory(NamedObj container,
java.lang.String name)
Construct a factory with the specified container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeTableau.setFrame(javax.swing.JFrame frame)
Set the top-level window associated with this tableau.
|
Constructor and Description |
---|
Factory(NamedObj container,
java.lang.String name)
Create an factory with the given name and container.
|
TreeTableau(PtolemyEffigy container,
java.lang.String name)
Construct a new tableau for the model represented by the given effigy.
|