1
|
<?xml version="1.0" standalone="no"?>
|
2
|
<!DOCTYPE entity PUBLIC "-//UC Berkeley//DTD MoML 1//EN"
|
3
|
"http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd">
|
4
|
<entity name="NA-nil problem 2" class="ptolemy.actor.TypedCompositeActor">
|
5
|
<property name="_createdBy" class="ptolemy.kernel.attributes.VersionAttribute" value="8.1.devel">
|
6
|
</property>
|
7
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:631:201:19:urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:631:213:1:urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:334:203:21">
|
8
|
</property>
|
9
|
<property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:334:218:1">
|
10
|
</property>
|
11
|
<property name="TOP Provenance Recorder" class="org.kepler.provenance.ProvenanceRecorder">
|
12
|
<property name="Recording Type" class="ptolemy.data.expr.StringParameter" value="SQL-SPA-v8">
|
13
|
</property>
|
14
|
<property name="Record Token Values" class="ptolemy.data.expr.Parameter" value="true">
|
15
|
</property>
|
16
|
</property>
|
17
|
<property name="Reporting Listener" class="org.kepler.module.reporting.ReportingListener">
|
18
|
</property>
|
19
|
<property name="SDF Director" class="ptolemy.domains.sdf.kernel.SDFDirector">
|
20
|
<property name="iterations" class="ptolemy.data.expr.Parameter" value="1">
|
21
|
</property>
|
22
|
<property name="vectorizationFactor" class="ptolemy.data.expr.Parameter" value="1">
|
23
|
</property>
|
24
|
<property name="allowDisconnectedGraphs" class="ptolemy.data.expr.Parameter" value="true">
|
25
|
</property>
|
26
|
<property name="allowRateChanges" class="ptolemy.data.expr.Parameter" value="false">
|
27
|
</property>
|
28
|
<property name="constrainBufferSizes" class="ptolemy.data.expr.Parameter" value="true">
|
29
|
</property>
|
30
|
<property name="period" class="ptolemy.data.expr.Parameter" value="0.0">
|
31
|
</property>
|
32
|
<property name="synchronizeToRealTime" class="ptolemy.data.expr.Parameter" value="false">
|
33
|
</property>
|
34
|
<property name="timeResolution" class="ptolemy.actor.parameters.SharedParameter" value="1E-10">
|
35
|
</property>
|
36
|
<property name="Scheduler" class="ptolemy.domains.sdf.kernel.SDFScheduler">
|
37
|
<property name="constrainBufferSizes" class="ptolemy.data.expr.Parameter" value="constrainBufferSizes">
|
38
|
</property>
|
39
|
</property>
|
40
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
41
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
42
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Steve Neuendorffer</configure></property>
|
43
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
44
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure> <p>The SDF Director is often used to oversee fairly simple, sequential workflows in which the director can determine the order of actor invocation from the workflow. Types of workflows that would run well under an SDF Director include processing and reformatting tabular data, converting one data type to another, and reading and plotting a series of data points. A workflow in which an image is read, processed (rotated, scaled, clipped, filtered, etc.), and then displayed, is also an example of a sequential workflow that requires a director simply to ensure that each actor fires in the proper order (i.e., that each actor executes only after it receives its required inputs).</p> <p>The SDF Director is very efficient and will not tax system resources with overhead. However, this efficiency requires that certain conditions be met, namely that the data consumption and production rate of each actor in an SDF workflow be constant and declared. If an actor reads one piece of data and calculates and outputs a single result, it must always read and output a single token of data. This data rate cannot change during workflow execution and, in general, workflows that require dynamic scheduling and/or flow control cannot use this director. Additionally, the SDF Director has no understanding of passing time (at least by default), and actors that depend on a notion of time may not work as expected. For example, a TimedPlotter actor will plot all values at time zero when used in SDF. </p> <p>By default, the SDF Director requires that all actors in its workflow be connected. Otherwise, the director cannot account for concurrency between disconnected workflow parts. Usually, a PN Director should be used for workflows that contain disconnected actors; however, the SDF Director's allowDisconnectedGraphs parameter may also be set to true. The SDF Director will then schedule each disconnected "island" independently. The director cannot infer the sequential relationship between disconnected actors (i.e., nothing forces the director to finish executing all actors on one island before firing actors on another). However, the order of execution within each island should be correct. Usually, disconnected graphs in an SDF model indicate an error.</p> <p>Because SDF Directors schedule actors to fire only after they receive their inputs, workflows that require loops (feeding an actor's output back into its input port for further processing) can cause "deadlock" errors. The deadlock errors occur because the actor depends on its own output value as an initial input. To fix this problem, use a SampleDelay actor to generate and inject an initial input value into the workflow.</p> <p>The SDF Director determines the order in which actors execute and how many times each actor needs to be fired to complete a single iteration of the workflow. This schedule is calculated BEFORE the director begins to iterate the workflow. Because the SDF Director calculates a schedule in advance, it is quite efficient. However, SDF workflows must be static. In other words, the same number of tokens must be consumed/produced at every iteration of the workflow. Workflows that require dynamic control structures, such as a BooleanSwitch actor that sends output on one of two ports depending on the value of a 'control', cannot be used with an SDF Director because the number of tokens on each output can change for each execution.</p> <p>Unless otherwise specified, the SDF Director assumes that each actor consumes and produces exactly one token per channel on each firing. Actors that do not follow the one-token-per-channel firing convention (e.g., Repeat or Ramp) must declare the number of tokens they produce or consume via the appropriate parameters. </p> <p>The number of times a workflow is iterated is controlled by the director's iterations parameter. By default, this parameter is set to "0". Note that "0" does not mean "no iterations." Rather, "0" means that the workflow will iterate forever. Values greater than zero specify the actual number of times the director should execute the entire workflow. A value of 1, meaning that the director will run the workflow once, is often the best setting when building an SDF workflow. </p> <p>The amount of data processed by an SDF workflow is a function of both the number of times the workflow iterates and the value of the director's vectorizationFactor parameter. The vectorizationFactor is used to increase the efficiency of a workflow by increasing the number of times actors fire each time the workflow iterates. If the parameter is set to a positive integer (other than 1), the director will fire each actor the specified number of times more than normal. The default is 1, indicating that no vectorization should be performed. Keep in mind that changing the vectorizationFactor parameter changes the meaning of a nested SDF workflow and may cause deadlock in a workflow that uses it. </p> <p>The SDF Director has several advanced parameters that are generally only relevant when an SDF workflow contains composite components. In most cases the period, timeResolution, synchronizeToRealTime, allowRateChanges, timeResolution, and constrainBufferSizes parameters can be left at their default values.</p> <p>For more information about the SDF Director, see the Ptolemy documentation (http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign3-domains/ptIIdesign3-domains.pdf).</p> </configure></property>
|
45
|
<property name="prop:allowDisconnectedGraphs" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether to allow disconnected actors in the workflow (by default, all actors are required to be connected). If disconnected actors are permitted, the SDF Director will schedule each disconnected 'island' independently. Nothing "forces" the director to finish executing all actors on one island before firing actors on another. However, the order of execution within each island should be correct. Usually, disconnected graphs in an SDF workflow indicate an error.</configure></property>
|
46
|
<property name="prop:allowRateChanges" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether dynamic rate changes are permitted or not. By default, rate changes are not permitted, and the director will perform a check to disallow such workflows. If the parameter is selected, then workflows that require rate parameters to be modified during execution are valid, and the SDF Director will dynamically compute a new schedule at runtime. This is an advanced parameter that can usually be left at its default value.</configure></property>
|
47
|
<property name="prop:timeResolution" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The time precision used by this director. All time values are rounded to the nearest multiple of this number. The value is a double that defaults to "1E-10" (which is 10-10). This is an advanced parameter that can usually be left at its default value.</configure></property>
|
48
|
<property name="prop:constrainBufferSizes" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether buffer sizes are fixed. By default, buffers are fixed, and attempts to write to the buffer that cause the buffer to exceed its scheduled size result in an error. This is an advanced parameter that can usually be left at its default value.</configure></property>
|
49
|
<property name="prop:iterations" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify the number of times a workflow is iterated. By default, this parameter is set to "0". Note that "0" does not mean "no iterations." Rather, "0" means that the workflow will iterate forever. Values greater than zero specify the actual number of times the director should execute the entire workflow. A value of 1, meaning that the director will run the workflow once, is often the best setting when building an SDF workflow. </configure></property>
|
50
|
<property name="prop:vectorizationFactor" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The vectorizationFactor is used to increase the efficiency of a workflow by increasing the number of times actors fire each time the workflow iterates. If the parameter is set to a positive integer (other than 1), the director will fire each actor the specified number of times more than normal. The default is 1, indicating that no vectorization should be performed. Keep in mind that changing the vectorizationFactor parameter changes the meaning of a nested SDF workflow and may cause deadlock in a workflow that uses it. </configure></property>
|
51
|
<property name="prop:synchronizeToRealTime" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether the execution should synchronize to real time or not. By default, the director does not synchronize to real time. If synchronize is selected, the director will only process the workflow when elapsed real time matches the product of the period parameter and the iteration count. Note: if the period parameter has a value of 0.0 (the default), then selecting this parameter has no effect. This is an advanced parameter that can usually be left at its default value.</configure></property>
|
52
|
<property name="prop:period" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The time period of each iteration. The value is a double that defaults to 0.0, which means that the director does not increment workflow time. If the value greater than 0.0, the actor will increment workflow time each time it fires. This is an advanced parameter that can usually be left at its default value. </configure></property>
|
53
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:334:213:1">
|
54
|
</property>
|
55
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.domains.sdf.kernel.SDFDirector">
|
56
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:directorclass:1:1">
|
57
|
</property>
|
58
|
</property>
|
59
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Director">
|
60
|
</property>
|
61
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Director">
|
62
|
</property>
|
63
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[35.0, 55.0]">
|
64
|
</property>
|
65
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:director:1:1:urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:631:212:1">
|
66
|
</property>
|
67
|
</property>
|
68
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={189, 25, 1091, 999}, maximized=false}">
|
69
|
</property>
|
70
|
<property name="_vergilSize" class="ptolemy.actor.gui.SizeAttribute" value="[784, 626]">
|
71
|
</property>
|
72
|
<property name="_vergilZoomFactor" class="ptolemy.data.expr.ExpertParameter" value="1.0">
|
73
|
</property>
|
74
|
<property name="_vergilCenter" class="ptolemy.data.expr.ExpertParameter" value="{392.0, 313.0}">
|
75
|
</property>
|
76
|
<entity name="RExpression" class="org.ecoinformatics.seek.R.RExpression">
|
77
|
<property name="expression" class="ptolemy.kernel.util.StringAttribute" value="NAout <- NA">
|
78
|
<display name="R function or script"/>
|
79
|
<property name="R Expression" class="ptolemy.actor.gui.style.TextStyle">
|
80
|
<property name="height" class="ptolemy.data.expr.Parameter" value="10">
|
81
|
</property>
|
82
|
<property name="width" class="ptolemy.data.expr.Parameter" value="30">
|
83
|
</property>
|
84
|
</property>
|
85
|
</property>
|
86
|
<property name="_editorFactory" class="ptolemy.vergil.toolbox.TextEditorTableauFactory">
|
87
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
|
88
|
</property>
|
89
|
<property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="80">
|
90
|
</property>
|
91
|
<property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
|
92
|
</property>
|
93
|
</property>
|
94
|
<property name="Rcwd" class="ptolemy.data.expr.StringParameter" value="C:\Documents and Settings\soong\.kepler\">
|
95
|
<display name="R working directory"/>
|
96
|
</property>
|
97
|
<property name="save_nosave" class="ptolemy.data.expr.StringParameter" value="--no-save">
|
98
|
<display name="Save or not"/>
|
99
|
</property>
|
100
|
<property name="graphicsFormat" class="ptolemy.data.expr.StringParameter" value="png">
|
101
|
<display name="Graphics Format"/>
|
102
|
</property>
|
103
|
<property name="graphicsOutput" class="ptolemy.data.expr.Parameter" value="false">
|
104
|
<display name="Graphics Output"/>
|
105
|
</property>
|
106
|
<property name="displayGraphicsOutput" class="ptolemy.data.expr.Parameter" value="false">
|
107
|
<display name="Automatically display graphics"/>
|
108
|
</property>
|
109
|
<property name="numXPixels" class="ptolemy.data.expr.StringParameter" value="480">
|
110
|
<display name="Number of X pixels in image"/>
|
111
|
</property>
|
112
|
<property name="numYPixels" class="ptolemy.data.expr.StringParameter" value="480">
|
113
|
<display name="Number of Y pixels in image"/>
|
114
|
</property>
|
115
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
116
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
117
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Dan Higgins</configure></property>
|
118
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
119
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The RExpression actor runs an R script or function. Input and output port are created by the user and correspond to R variables used in the specified R script. The actor outputs the result of the evaluated script.</p> <p>The R application must be installed on the local system to use this actor. R is a language and environment for statistical computing and graphics. For more information about R, see http://www.r-project.org/.</p> <p>Kepler contains a number of preconfigured R-actors: Barplot, Boxplot, Scatterplot, Summary, RandomNormal, RandomUniform, Correlation, LinearModel, Regression, RMean, RMedian, RQuantile, and SummaryStatistics.</p></configure></property>
|
120
|
<property name="port:graphicsFileName" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the file name of the generated graph of the results.</configure></property>
|
121
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts a copy of the text output that R generates. As the actor communicates with R to run the R function or script, the output port sends back the response (i.e., the values and statistical outputs).</configure></property>
|
122
|
<property name="prop:Rcwd" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The 'R' working directory (the home directory by default). </configure></property>
|
123
|
<property name="prop:displayGraphicsOutput" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Select to display the plot once the actor has generated it.</configure></property>
|
124
|
<property name="prop:graphicsFormat" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The graphics output format. Currently the actor supports either *.pdf or *.png.</configure></property>
|
125
|
<property name="prop:numXPixels" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The width of the output graphic in pixels.</configure></property>
|
126
|
<property name="prop:numYPixels" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The height of the output graphic in pixels.</configure></property>
|
127
|
<property name="prop:expression" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The expression that is evaluated to produce the output.</configure></property>
|
128
|
<property name="prop:graphicsOutput" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether or not to create a graphics output port. By default, the actor will create a graphics output port.</configure></property>
|
129
|
<property name="prop:save_nosave" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether or not to save the R workspace when R is closed; set to '--save' to retrieve the workspace later in a workflow in another R-actor.</configure></property>
|
130
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:631:203:3">
|
131
|
</property>
|
132
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="org.ecoinformatics.seek.R.RExpression">
|
133
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1126:1">
|
134
|
</property>
|
135
|
</property>
|
136
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
|
137
|
</property>
|
138
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
|
139
|
</property>
|
140
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[50.0, 405.0]">
|
141
|
</property>
|
142
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:360:1">
|
143
|
</property>
|
144
|
<port name="NAout" class="ptolemy.actor.TypedIOPort">
|
145
|
<property name="output"/>
|
146
|
</port>
|
147
|
</entity>
|
148
|
<entity name="Display" class="ptolemy.actor.lib.gui.Display">
|
149
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={793, 423, 334, 241}, maximized=false}">
|
150
|
</property>
|
151
|
<property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[326, 186]">
|
152
|
</property>
|
153
|
<property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
|
154
|
</property>
|
155
|
<property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
|
156
|
</property>
|
157
|
<property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
|
158
|
</property>
|
159
|
<property name="title" class="ptolemy.data.expr.StringParameter" value="">
|
160
|
</property>
|
161
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
162
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
163
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
|
164
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
165
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Display actor reads tokens of any type via its input multiport, and displays each token on a separate line in a text display window.</p> <p>Specify the size of the text display window with the rowsDisplayed and columnsDisplayed parameters. Simply resizing the window onscreen does not persistently change the size when the workflow is saved, closed, and then re-opened. </p> <p>If the input is a string token, then the actor strips the surrounding quotation marks before displaying the value.</p> <p>Select the suppressBlankLines parameter to specify that the actor not add blank lines to the display. By default, the actor will add blank lines.</p> <p>Note: this actor can consume large amounts of memory. It is not advisable to use it to display large output streams.</p></configure></property>
|
166
|
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
|
167
|
<property name="prop:suppressBlankLines" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether the actor should display blank lines (the default) or suppress them.</configure></property>
|
168
|
<property name="prop:rowsDisplayed" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The vertical size of the display, in rows. The value is an integer that defaults to 10.</configure></property>
|
169
|
<property name="prop:columnsDisplayed" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The horizontal size of the display, in columns. The value is an integer that defaults to 40.</configure></property>
|
170
|
<property name="prop:title" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The title of the text display window. If specified, the value will appear in the title bar of the text display window.</configure></property>
|
171
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:7:1">
|
172
|
</property>
|
173
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
|
174
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
|
175
|
</property>
|
176
|
</property>
|
177
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
|
178
|
</property>
|
179
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
|
180
|
</property>
|
181
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[395.0, 385.0]">
|
182
|
</property>
|
183
|
</entity>
|
184
|
<entity name="Expression" class="ptolemy.actor.lib.Expression">
|
185
|
<property name="expression" class="ptolemy.kernel.util.StringAttribute" value=""Literal nil: " + (input == nil)">
|
186
|
<property name="_hide" class="ptolemy.data.expr.Parameter" value="true">
|
187
|
</property>
|
188
|
</property>
|
189
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
190
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
191
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Xiaojun Liu, Edward A. Lee, Steve Neuendorffer</configure></property>
|
192
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
193
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Expression actor evaluates a specified expression (e.g., an addition or multiplication operation), which may reference the values of user-specified input ports, the current time, or the actor's iteration count. The actor outputs the value of the evaluated expression. </p> <p>Expressions are specified in the Ptolemy expression language via the expression parameter. For more information about the expression language, see http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign1-intro/ptIIdesign1-intro.pdf. </p> <p>By default, the expression parameter is empty, and attempting to execute the actor without first specifying an expression generates an error. Expressions can refer to the values of inputs by the port name; to the current time by the identifier "time"; and to the current iteration count by the identifier "iteration." </p> <p>Input ports are created by the user and correspond to variables used in the specified expression. Currently, the Expression actor does not support input multiports. The actor requires all of its inputs to be present. If inputs are not all present, then the actor will generate an error. </p> <p>Note: the Expression actor can be used instead of many of the arithmetic actors, such as AddSubtract, MultiplyDivide, and TrigFunction. However, those actors will be usually be more efficient, and sometimes more convenient to use.</p></configure></property>
|
194
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the value of the evaluated expression. The actor automatically determines the type based on the type of the input.</configure></property>
|
195
|
<property name="prop:expression" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An expression to evaluate. Expressions are specified in the Ptolemy expression language. For more information about the expression language, see http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign1-intro/ptIIdesign1-intro.pdf. By default, the parameter is empty, and attempting to execute the actor without first specifying an expression generates an error. Expressions can refer to the values of inputs by the port name; to the current time by the identifier "time"; and to the current iteration count by the identifier "iteration."</configure></property>
|
196
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:631:204:3">
|
197
|
</property>
|
198
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Expression">
|
199
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:950:1">
|
200
|
</property>
|
201
|
</property>
|
202
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
|
203
|
</property>
|
204
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
|
205
|
</property>
|
206
|
<property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
|
207
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
|
208
|
</property>
|
209
|
<property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
|
210
|
</property>
|
211
|
</property>
|
212
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[270.0, 495.0]">
|
213
|
</property>
|
214
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:75:1">
|
215
|
</property>
|
216
|
<port name="input" class="ptolemy.actor.TypedIOPort">
|
217
|
<property name="input"/>
|
218
|
</port>
|
219
|
</entity>
|
220
|
<entity name="Expression2" class="ptolemy.actor.lib.Expression">
|
221
|
<property name="expression" class="ptolemy.kernel.util.StringAttribute" value=""String nil: " + (input == "nil")">
|
222
|
<property name="_hide" class="ptolemy.data.expr.Parameter" value="true">
|
223
|
</property>
|
224
|
</property>
|
225
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
226
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
227
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Xiaojun Liu, Edward A. Lee, Steve Neuendorffer</configure></property>
|
228
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
229
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Expression actor evaluates a specified expression (e.g., an addition or multiplication operation), which may reference the values of user-specified input ports, the current time, or the actor's iteration count. The actor outputs the value of the evaluated expression. </p> <p>Expressions are specified in the Ptolemy expression language via the expression parameter. For more information about the expression language, see http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign1-intro/ptIIdesign1-intro.pdf. </p> <p>By default, the expression parameter is empty, and attempting to execute the actor without first specifying an expression generates an error. Expressions can refer to the values of inputs by the port name; to the current time by the identifier "time"; and to the current iteration count by the identifier "iteration." </p> <p>Input ports are created by the user and correspond to variables used in the specified expression. Currently, the Expression actor does not support input multiports. The actor requires all of its inputs to be present. If inputs are not all present, then the actor will generate an error. </p> <p>Note: the Expression actor can be used instead of many of the arithmetic actors, such as AddSubtract, MultiplyDivide, and TrigFunction. However, those actors will be usually be more efficient, and sometimes more convenient to use.</p></configure></property>
|
230
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the value of the evaluated expression. The actor automatically determines the type based on the type of the input.</configure></property>
|
231
|
<property name="prop:expression" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An expression to evaluate. Expressions are specified in the Ptolemy expression language. For more information about the expression language, see http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign1-intro/ptIIdesign1-intro.pdf. By default, the parameter is empty, and attempting to execute the actor without first specifying an expression generates an error. Expressions can refer to the values of inputs by the port name; to the current time by the identifier "time"; and to the current iteration count by the identifier "iteration."</configure></property>
|
232
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:631:204:4">
|
233
|
</property>
|
234
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Expression">
|
235
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:950:1">
|
236
|
</property>
|
237
|
</property>
|
238
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
|
239
|
</property>
|
240
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
|
241
|
</property>
|
242
|
<property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
|
243
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
|
244
|
</property>
|
245
|
<property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
|
246
|
</property>
|
247
|
</property>
|
248
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[270.0, 540.0]">
|
249
|
</property>
|
250
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:75:1">
|
251
|
</property>
|
252
|
<port name="input" class="ptolemy.actor.TypedIOPort">
|
253
|
<property name="input"/>
|
254
|
</port>
|
255
|
</entity>
|
256
|
<entity name="RExpression2" class="org.ecoinformatics.seek.R.RExpression">
|
257
|
<property name="expression" class="ptolemy.kernel.util.StringAttribute" value="input">
|
258
|
<display name="R function or script"/>
|
259
|
<property name="R Expression" class="ptolemy.actor.gui.style.TextStyle">
|
260
|
<property name="height" class="ptolemy.data.expr.Parameter" value="10">
|
261
|
</property>
|
262
|
<property name="width" class="ptolemy.data.expr.Parameter" value="30">
|
263
|
</property>
|
264
|
</property>
|
265
|
</property>
|
266
|
<property name="_editorFactory" class="ptolemy.vergil.toolbox.TextEditorTableauFactory">
|
267
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
|
268
|
</property>
|
269
|
<property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="80">
|
270
|
</property>
|
271
|
<property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
|
272
|
</property>
|
273
|
</property>
|
274
|
<property name="Rcwd" class="ptolemy.data.expr.StringParameter" value="/home/soong/.kepler/">
|
275
|
<display name="R working directory"/>
|
276
|
</property>
|
277
|
<property name="save_nosave" class="ptolemy.data.expr.StringParameter" value="--no-save">
|
278
|
<display name="Save or not"/>
|
279
|
</property>
|
280
|
<property name="graphicsFormat" class="ptolemy.data.expr.StringParameter" value="png">
|
281
|
<display name="Graphics Format"/>
|
282
|
</property>
|
283
|
<property name="graphicsOutput" class="ptolemy.data.expr.Parameter" value="false">
|
284
|
<display name="Graphics Output"/>
|
285
|
</property>
|
286
|
<property name="displayGraphicsOutput" class="ptolemy.data.expr.Parameter" value="false">
|
287
|
<display name="Automatically display graphics"/>
|
288
|
</property>
|
289
|
<property name="numXPixels" class="ptolemy.data.expr.StringParameter" value="480">
|
290
|
<display name="Number of X pixels in image"/>
|
291
|
</property>
|
292
|
<property name="numYPixels" class="ptolemy.data.expr.StringParameter" value="480">
|
293
|
<display name="Number of Y pixels in image"/>
|
294
|
</property>
|
295
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
296
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
297
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Dan Higgins</configure></property>
|
298
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
299
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The RExpression actor runs an R script or function. Input and output port are created by the user and correspond to R variables used in the specified R script. The actor outputs the result of the evaluated script.</p> <p>The R application must be installed on the local system to use this actor. R is a language and environment for statistical computing and graphics. For more information about R, see http://www.r-project.org/.</p> <p>Kepler contains a number of preconfigured R-actors: Barplot, Boxplot, Scatterplot, Summary, RandomNormal, RandomUniform, Correlation, LinearModel, Regression, RMean, RMedian, RQuantile, and SummaryStatistics.</p></configure></property>
|
300
|
<property name="port:graphicsFileName" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the file name of the generated graph of the results.</configure></property>
|
301
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts a copy of the text output that R generates. As the actor communicates with R to run the R function or script, the output port sends back the response (i.e., the values and statistical outputs).</configure></property>
|
302
|
<property name="prop:Rcwd" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The 'R' working directory (the home directory by default). </configure></property>
|
303
|
<property name="prop:displayGraphicsOutput" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Select to display the plot once the actor has generated it.</configure></property>
|
304
|
<property name="prop:graphicsFormat" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The graphics output format. Currently the actor supports either *.pdf or *.png.</configure></property>
|
305
|
<property name="prop:numXPixels" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The width of the output graphic in pixels.</configure></property>
|
306
|
<property name="prop:numYPixels" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The height of the output graphic in pixels.</configure></property>
|
307
|
<property name="prop:expression" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The expression that is evaluated to produce the output.</configure></property>
|
308
|
<property name="prop:graphicsOutput" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether or not to create a graphics output port. By default, the actor will create a graphics output port.</configure></property>
|
309
|
<property name="prop:save_nosave" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether or not to save the R workspace when R is closed; set to '--save' to retrieve the workspace later in a workflow in another R-actor.</configure></property>
|
310
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:334:205:3">
|
311
|
</property>
|
312
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="org.ecoinformatics.seek.R.RExpression">
|
313
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1126:1">
|
314
|
</property>
|
315
|
</property>
|
316
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
|
317
|
</property>
|
318
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
|
319
|
</property>
|
320
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[180.0, 400.0]">
|
321
|
</property>
|
322
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:360:1">
|
323
|
</property>
|
324
|
<port name="input" class="ptolemy.actor.TypedIOPort">
|
325
|
<property name="input"/>
|
326
|
</port>
|
327
|
</entity>
|
328
|
<entity name="Expression3" class="ptolemy.actor.lib.Expression">
|
329
|
<property name="expression" class="ptolemy.kernel.util.StringAttribute" value="nil">
|
330
|
<property name="_hide" class="ptolemy.data.expr.Parameter" value="true">
|
331
|
</property>
|
332
|
</property>
|
333
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
334
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
335
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Xiaojun Liu, Edward A. Lee, Steve Neuendorffer</configure></property>
|
336
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
337
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Expression actor evaluates a specified expression (e.g., an addition or multiplication operation), which may reference the values of user-specified input ports, the current time, or the actor's iteration count. The actor outputs the value of the evaluated expression. </p> <p>Expressions are specified in the Ptolemy expression language via the expression parameter. For more information about the expression language, see http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign1-intro/ptIIdesign1-intro.pdf. </p> <p>By default, the expression parameter is empty, and attempting to execute the actor without first specifying an expression generates an error. Expressions can refer to the values of inputs by the port name; to the current time by the identifier "time"; and to the current iteration count by the identifier "iteration." </p> <p>Input ports are created by the user and correspond to variables used in the specified expression. Currently, the Expression actor does not support input multiports. The actor requires all of its inputs to be present. If inputs are not all present, then the actor will generate an error. </p> <p>Note: the Expression actor can be used instead of many of the arithmetic actors, such as AddSubtract, MultiplyDivide, and TrigFunction. However, those actors will be usually be more efficient, and sometimes more convenient to use.</p></configure></property>
|
338
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the value of the evaluated expression. The actor automatically determines the type based on the type of the input.</configure></property>
|
339
|
<property name="prop:expression" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An expression to evaluate. Expressions are specified in the Ptolemy expression language. For more information about the expression language, see http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign1-intro/ptIIdesign1-intro.pdf. By default, the parameter is empty, and attempting to execute the actor without first specifying an expression generates an error. Expressions can refer to the values of inputs by the port name; to the current time by the identifier "time"; and to the current iteration count by the identifier "iteration."</configure></property>
|
340
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:334:210:1">
|
341
|
</property>
|
342
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Expression">
|
343
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:950:1">
|
344
|
</property>
|
345
|
</property>
|
346
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
|
347
|
</property>
|
348
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
|
349
|
</property>
|
350
|
<property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
|
351
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
|
352
|
</property>
|
353
|
<property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
|
354
|
</property>
|
355
|
</property>
|
356
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[85.0, 180.0]">
|
357
|
</property>
|
358
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:75:1">
|
359
|
</property>
|
360
|
</entity>
|
361
|
<entity name="RExpression3" class="org.ecoinformatics.seek.R.RExpression">
|
362
|
<property name="expression" class="ptolemy.kernel.util.StringAttribute" value="input">
|
363
|
<display name="R function or script"/>
|
364
|
<property name="R Expression" class="ptolemy.actor.gui.style.TextStyle">
|
365
|
<property name="height" class="ptolemy.data.expr.Parameter" value="10">
|
366
|
</property>
|
367
|
<property name="width" class="ptolemy.data.expr.Parameter" value="30">
|
368
|
</property>
|
369
|
</property>
|
370
|
</property>
|
371
|
<property name="_editorFactory" class="ptolemy.vergil.toolbox.TextEditorTableauFactory">
|
372
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
|
373
|
</property>
|
374
|
<property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="80">
|
375
|
</property>
|
376
|
<property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
|
377
|
</property>
|
378
|
</property>
|
379
|
<property name="Rcwd" class="ptolemy.data.expr.StringParameter" value="/home/soong/.kepler/">
|
380
|
<display name="R working directory"/>
|
381
|
</property>
|
382
|
<property name="save_nosave" class="ptolemy.data.expr.StringParameter" value="--no-save">
|
383
|
<display name="Save or not"/>
|
384
|
</property>
|
385
|
<property name="graphicsFormat" class="ptolemy.data.expr.StringParameter" value="png">
|
386
|
<display name="Graphics Format"/>
|
387
|
</property>
|
388
|
<property name="graphicsOutput" class="ptolemy.data.expr.Parameter" value="false">
|
389
|
<display name="Graphics Output"/>
|
390
|
</property>
|
391
|
<property name="displayGraphicsOutput" class="ptolemy.data.expr.Parameter" value="false">
|
392
|
<display name="Automatically display graphics"/>
|
393
|
</property>
|
394
|
<property name="numXPixels" class="ptolemy.data.expr.StringParameter" value="480">
|
395
|
<display name="Number of X pixels in image"/>
|
396
|
</property>
|
397
|
<property name="numYPixels" class="ptolemy.data.expr.StringParameter" value="480">
|
398
|
<display name="Number of Y pixels in image"/>
|
399
|
</property>
|
400
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
401
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
402
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Dan Higgins</configure></property>
|
403
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
404
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The RExpression actor runs an R script or function. Input and output port are created by the user and correspond to R variables used in the specified R script. The actor outputs the result of the evaluated script.</p> <p>The R application must be installed on the local system to use this actor. R is a language and environment for statistical computing and graphics. For more information about R, see http://www.r-project.org/.</p> <p>Kepler contains a number of preconfigured R-actors: Barplot, Boxplot, Scatterplot, Summary, RandomNormal, RandomUniform, Correlation, LinearModel, Regression, RMean, RMedian, RQuantile, and SummaryStatistics.</p></configure></property>
|
405
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts a copy of the text output that R generates. As the actor communicates with R to run the R function or script, the output port sends back the response (i.e., the values and statistical outputs).</configure></property>
|
406
|
<property name="port:graphicsFileName" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the file name of the generated graph of the results.</configure></property>
|
407
|
<property name="prop:Rcwd" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The 'R' working directory (the home directory by default). </configure></property>
|
408
|
<property name="prop:displayGraphicsOutput" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Select to display the plot once the actor has generated it.</configure></property>
|
409
|
<property name="prop:graphicsFormat" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The graphics output format. Currently the actor supports either *.pdf or *.png.</configure></property>
|
410
|
<property name="prop:numXPixels" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The width of the output graphic in pixels.</configure></property>
|
411
|
<property name="prop:numYPixels" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The height of the output graphic in pixels.</configure></property>
|
412
|
<property name="prop:expression" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The expression that is evaluated to produce the output.</configure></property>
|
413
|
<property name="prop:save_nosave" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether or not to save the R workspace when R is closed; set to '--save' to retrieve the workspace later in a workflow in another R-actor.</configure></property>
|
414
|
<property name="prop:graphicsOutput" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether or not to create a graphics output port. By default, the actor will create a graphics output port.</configure></property>
|
415
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:334:205:3">
|
416
|
</property>
|
417
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="org.ecoinformatics.seek.R.RExpression">
|
418
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1126:1">
|
419
|
</property>
|
420
|
</property>
|
421
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
|
422
|
</property>
|
423
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
|
424
|
</property>
|
425
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[205.0, 120.0]">
|
426
|
</property>
|
427
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:360:1">
|
428
|
</property>
|
429
|
<port name="input" class="ptolemy.actor.TypedIOPort">
|
430
|
<property name="input"/>
|
431
|
</port>
|
432
|
</entity>
|
433
|
<entity name="Display2" class="ptolemy.actor.lib.gui.Display">
|
434
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={271, 522, 334, 241}, maximized=false}">
|
435
|
</property>
|
436
|
<property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[326, 186]">
|
437
|
</property>
|
438
|
<property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
|
439
|
</property>
|
440
|
<property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
|
441
|
</property>
|
442
|
<property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
|
443
|
</property>
|
444
|
<property name="title" class="ptolemy.data.expr.StringParameter" value="">
|
445
|
</property>
|
446
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
447
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
448
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
|
449
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
450
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Display actor reads tokens of any type via its input multiport, and displays each token on a separate line in a text display window.</p> <p>Specify the size of the text display window with the rowsDisplayed and columnsDisplayed parameters. Simply resizing the window onscreen does not persistently change the size when the workflow is saved, closed, and then re-opened. </p> <p>If the input is a string token, then the actor strips the surrounding quotation marks before displaying the value.</p> <p>Select the suppressBlankLines parameter to specify that the actor not add blank lines to the display. By default, the actor will add blank lines.</p> <p>Note: this actor can consume large amounts of memory. It is not advisable to use it to display large output streams.</p></configure></property>
|
451
|
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
|
452
|
<property name="prop:suppressBlankLines" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether the actor should display blank lines (the default) or suppress them.</configure></property>
|
453
|
<property name="prop:rowsDisplayed" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The vertical size of the display, in rows. The value is an integer that defaults to 10.</configure></property>
|
454
|
<property name="prop:columnsDisplayed" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The horizontal size of the display, in columns. The value is an integer that defaults to 40.</configure></property>
|
455
|
<property name="prop:title" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The title of the text display window. If specified, the value will appear in the title bar of the text display window.</configure></property>
|
456
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:7:1">
|
457
|
</property>
|
458
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
|
459
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
|
460
|
</property>
|
461
|
</property>
|
462
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
|
463
|
</property>
|
464
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
|
465
|
</property>
|
466
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[475.0, 85.0]">
|
467
|
</property>
|
468
|
</entity>
|
469
|
<entity name="Expression4" class="ptolemy.actor.lib.Expression">
|
470
|
<property name="expression" class="ptolemy.kernel.util.StringAttribute" value=""String nil: " + (input == "nil")">
|
471
|
<property name="_hide" class="ptolemy.data.expr.Parameter" value="true">
|
472
|
</property>
|
473
|
</property>
|
474
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
475
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
476
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Xiaojun Liu, Edward A. Lee, Steve Neuendorffer</configure></property>
|
477
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
478
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Expression actor evaluates a specified expression (e.g., an addition or multiplication operation), which may reference the values of user-specified input ports, the current time, or the actor's iteration count. The actor outputs the value of the evaluated expression. </p> <p>Expressions are specified in the Ptolemy expression language via the expression parameter. For more information about the expression language, see http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign1-intro/ptIIdesign1-intro.pdf. </p> <p>By default, the expression parameter is empty, and attempting to execute the actor without first specifying an expression generates an error. Expressions can refer to the values of inputs by the port name; to the current time by the identifier "time"; and to the current iteration count by the identifier "iteration." </p> <p>Input ports are created by the user and correspond to variables used in the specified expression. Currently, the Expression actor does not support input multiports. The actor requires all of its inputs to be present. If inputs are not all present, then the actor will generate an error. </p> <p>Note: the Expression actor can be used instead of many of the arithmetic actors, such as AddSubtract, MultiplyDivide, and TrigFunction. However, those actors will be usually be more efficient, and sometimes more convenient to use.</p></configure></property>
|
479
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the value of the evaluated expression. The actor automatically determines the type based on the type of the input.</configure></property>
|
480
|
<property name="prop:expression" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An expression to evaluate. Expressions are specified in the Ptolemy expression language. For more information about the expression language, see http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign1-intro/ptIIdesign1-intro.pdf. By default, the parameter is empty, and attempting to execute the actor without first specifying an expression generates an error. Expressions can refer to the values of inputs by the port name; to the current time by the identifier "time"; and to the current iteration count by the identifier "iteration."</configure></property>
|
481
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:631:204:4">
|
482
|
</property>
|
483
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Expression">
|
484
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:950:1">
|
485
|
</property>
|
486
|
</property>
|
487
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
|
488
|
</property>
|
489
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
|
490
|
</property>
|
491
|
<property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
|
492
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
|
493
|
</property>
|
494
|
<property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
|
495
|
</property>
|
496
|
</property>
|
497
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[275.0, 270.0]">
|
498
|
</property>
|
499
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:75:1">
|
500
|
</property>
|
501
|
<port name="input" class="ptolemy.actor.TypedIOPort">
|
502
|
<property name="input"/>
|
503
|
</port>
|
504
|
</entity>
|
505
|
<entity name="Expression5" class="ptolemy.actor.lib.Expression">
|
506
|
<property name="expression" class="ptolemy.kernel.util.StringAttribute" value=""Literal nil: " + (input == nil)">
|
507
|
<property name="_hide" class="ptolemy.data.expr.Parameter" value="true">
|
508
|
</property>
|
509
|
</property>
|
510
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
511
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
512
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Xiaojun Liu, Edward A. Lee, Steve Neuendorffer</configure></property>
|
513
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
514
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Expression actor evaluates a specified expression (e.g., an addition or multiplication operation), which may reference the values of user-specified input ports, the current time, or the actor's iteration count. The actor outputs the value of the evaluated expression. </p> <p>Expressions are specified in the Ptolemy expression language via the expression parameter. For more information about the expression language, see http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign1-intro/ptIIdesign1-intro.pdf. </p> <p>By default, the expression parameter is empty, and attempting to execute the actor without first specifying an expression generates an error. Expressions can refer to the values of inputs by the port name; to the current time by the identifier "time"; and to the current iteration count by the identifier "iteration." </p> <p>Input ports are created by the user and correspond to variables used in the specified expression. Currently, the Expression actor does not support input multiports. The actor requires all of its inputs to be present. If inputs are not all present, then the actor will generate an error. </p> <p>Note: the Expression actor can be used instead of many of the arithmetic actors, such as AddSubtract, MultiplyDivide, and TrigFunction. However, those actors will be usually be more efficient, and sometimes more convenient to use.</p></configure></property>
|
515
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the value of the evaluated expression. The actor automatically determines the type based on the type of the input.</configure></property>
|
516
|
<property name="prop:expression" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An expression to evaluate. Expressions are specified in the Ptolemy expression language. For more information about the expression language, see http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign1-intro/ptIIdesign1-intro.pdf. By default, the parameter is empty, and attempting to execute the actor without first specifying an expression generates an error. Expressions can refer to the values of inputs by the port name; to the current time by the identifier "time"; and to the current iteration count by the identifier "iteration."</configure></property>
|
517
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:631:204:3">
|
518
|
</property>
|
519
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Expression">
|
520
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:950:1">
|
521
|
</property>
|
522
|
</property>
|
523
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
|
524
|
</property>
|
525
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
|
526
|
</property>
|
527
|
<property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
|
528
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
|
529
|
</property>
|
530
|
<property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
|
531
|
</property>
|
532
|
</property>
|
533
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[270.0, 225.0]">
|
534
|
</property>
|
535
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:75:1">
|
536
|
</property>
|
537
|
<port name="input" class="ptolemy.actor.TypedIOPort">
|
538
|
<property name="input"/>
|
539
|
</port>
|
540
|
</entity>
|
541
|
<relation name="relation" class="ptolemy.actor.TypedIORelation">
|
542
|
<vertex name="vertex1" value="[160.0, 460.0]">
|
543
|
</vertex>
|
544
|
</relation>
|
545
|
<relation name="relation2" class="ptolemy.actor.TypedIORelation">
|
546
|
</relation>
|
547
|
<relation name="relation3" class="ptolemy.actor.TypedIORelation">
|
548
|
</relation>
|
549
|
<relation name="relation5" class="ptolemy.actor.TypedIORelation">
|
550
|
</relation>
|
551
|
<relation name="relation7" class="ptolemy.actor.TypedIORelation">
|
552
|
<vertex name="vertex1" value="[165.0, 190.0]">
|
553
|
</vertex>
|
554
|
</relation>
|
555
|
<relation name="relation4" class="ptolemy.actor.TypedIORelation">
|
556
|
</relation>
|
557
|
<relation name="relation6" class="ptolemy.actor.TypedIORelation">
|
558
|
</relation>
|
559
|
<relation name="relation8" class="ptolemy.actor.TypedIORelation">
|
560
|
</relation>
|
561
|
<link port="RExpression.NAout" relation="relation"/>
|
562
|
<link port="Display.input" relation="relation"/>
|
563
|
<link port="Display.input" relation="relation2"/>
|
564
|
<link port="Display.input" relation="relation3"/>
|
565
|
<link port="Display.input" relation="relation5"/>
|
566
|
<link port="Expression.output" relation="relation2"/>
|
567
|
<link port="Expression.input" relation="relation"/>
|
568
|
<link port="Expression2.output" relation="relation3"/>
|
569
|
<link port="Expression2.input" relation="relation"/>
|
570
|
<link port="RExpression2.output" relation="relation5"/>
|
571
|
<link port="RExpression2.input" relation="relation"/>
|
572
|
<link port="Expression3.output" relation="relation7"/>
|
573
|
<link port="RExpression3.output" relation="relation8"/>
|
574
|
<link port="RExpression3.input" relation="relation7"/>
|
575
|
<link port="Display2.input" relation="relation7"/>
|
576
|
<link port="Display2.input" relation="relation4"/>
|
577
|
<link port="Display2.input" relation="relation6"/>
|
578
|
<link port="Display2.input" relation="relation8"/>
|
579
|
<link port="Expression4.output" relation="relation6"/>
|
580
|
<link port="Expression4.input" relation="relation7"/>
|
581
|
<link port="Expression5.output" relation="relation4"/>
|
582
|
<link port="Expression5.input" relation="relation7"/>
|
583
|
</entity>
|