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="R_Matrix_Test" 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">
|
8
|
</property>
|
9
|
<property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:8029:13:39">
|
10
|
</property>
|
11
|
<property name="SDF Director" class="ptolemy.domains.sdf.kernel.SDFDirector">
|
12
|
<property name="iterations" class="ptolemy.data.expr.Parameter" value="1">
|
13
|
</property>
|
14
|
<property name="vectorizationFactor" class="ptolemy.data.expr.Parameter" value="1">
|
15
|
</property>
|
16
|
<property name="allowDisconnectedGraphs" class="ptolemy.data.expr.Parameter" value="false">
|
17
|
</property>
|
18
|
<property name="allowRateChanges" class="ptolemy.data.expr.Parameter" value="false">
|
19
|
</property>
|
20
|
<property name="constrainBufferSizes" class="ptolemy.data.expr.Parameter" value="true">
|
21
|
</property>
|
22
|
<property name="period" class="ptolemy.data.expr.Parameter" value="0.0">
|
23
|
</property>
|
24
|
<property name="synchronizeToRealTime" class="ptolemy.data.expr.Parameter" value="false">
|
25
|
</property>
|
26
|
<property name="timeResolution" class="ptolemy.actor.parameters.SharedParameter" value="1E-10">
|
27
|
</property>
|
28
|
<property name="Scheduler" class="ptolemy.domains.sdf.kernel.SDFScheduler">
|
29
|
<property name="constrainBufferSizes" class="ptolemy.data.expr.Parameter" value="constrainBufferSizes">
|
30
|
</property>
|
31
|
</property>
|
32
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
33
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
34
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Steve Neuendorffer</configure></property>
|
35
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
36
|
<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>
|
37
|
<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>
|
38
|
<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>
|
39
|
<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>
|
40
|
<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>
|
41
|
<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>
|
42
|
<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>
|
43
|
<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>
|
44
|
<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>
|
45
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:8029:18:1">
|
46
|
</property>
|
47
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.domains.sdf.kernel.SDFDirector">
|
48
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:directorclass:1:1">
|
49
|
</property>
|
50
|
</property>
|
51
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Director">
|
52
|
</property>
|
53
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Director">
|
54
|
</property>
|
55
|
<property name="_location" class="ptolemy.kernel.util.Location" value="{75, 50}">
|
56
|
</property>
|
57
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:director:1:1">
|
58
|
</property>
|
59
|
</property>
|
60
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={0, 0, 1296, 786}, maximized=false}">
|
61
|
</property>
|
62
|
<property name="_vergilSize" class="ptolemy.actor.gui.SizeAttribute" value="[975, 627]">
|
63
|
</property>
|
64
|
<property name="_vergilZoomFactor" class="ptolemy.data.expr.ExpertParameter" value="1.0">
|
65
|
</property>
|
66
|
<property name="_vergilCenter" class="ptolemy.data.expr.ExpertParameter" value="{487.5, 313.5}">
|
67
|
</property>
|
68
|
<entity name="matrix" class="ptolemy.actor.lib.Const">
|
69
|
<property name="firingCountLimit" class="ptolemy.data.expr.Parameter" value="NONE">
|
70
|
</property>
|
71
|
<property name="NONE" class="ptolemy.data.expr.Parameter" value="0">
|
72
|
</property>
|
73
|
<property name="value" class="ptolemy.data.expr.Parameter" value="[1, 2, 3, 4, 5; 101, 102, 103, 104, 105]">
|
74
|
</property>
|
75
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
76
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
77
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
78
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
79
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Constant actor outputs a constant, which is specified by the value parameter. By default, the actor outputs the integer 1.</p> <p>The actor can be used to output other types of values, e.g., a string (such as "Hello") or a double (such as 1.2). The actor' s output type matches the type of the specified value.</p> <p>NOTE: If using a PN Director, the 'firingCountLimit' parameter is often set to a finite integer (e.g. '1') so that the workflow will terminate. </p> </configure></property>
|
80
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the specified constant. By default, the output is 1.</configure></property>
|
81
|
<property name="port:trigger" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that has no declared type (in other words, the port can accept any data type: double, int, array, etc.) If the port is connected, the actor will not fire until the trigger port receives an input token. Connecting the port is optional, but useful when scheduling the actor to perform at a certain time.</configure></property>
|
82
|
<property name="prop:firingCountLimit" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The limit on the number of times the actor will fire. The default value is 'NONE', meaning there is no limit on the number of time the constant will be provided to the output port. Any integer can be provided as a value for this parameter.</configure></property>
|
83
|
<property name="prop:value" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The value produced by the Constant actor. By default, the value is the integer token 1. The value can be set to another type, e.g., a string (such as "Hello") or a double (such as 1.2). The output type matches the type of the value specified here.</configure></property>
|
84
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:8029:14:1">
|
85
|
</property>
|
86
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Const">
|
87
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:877:1">
|
88
|
</property>
|
89
|
</property>
|
90
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#ConstantActor">
|
91
|
</property>
|
92
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Constant">
|
93
|
</property>
|
94
|
<property name="kar" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:kar:57:1">
|
95
|
</property>
|
96
|
<property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
|
97
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="value">
|
98
|
</property>
|
99
|
<property name="displayWidth" class="ptolemy.data.expr.Parameter" value="40">
|
100
|
</property>
|
101
|
</property>
|
102
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[160.0, 195.0]">
|
103
|
</property>
|
104
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:1:1">
|
105
|
</property>
|
106
|
</entity>
|
107
|
<entity name="RExpression" class="org.ecoinformatics.seek.R.RExpression">
|
108
|
<property name="expression" class="ptolemy.kernel.util.StringAttribute" value="min mout <- min">
|
109
|
<display name="R function or script"/>
|
110
|
<property name="R Expression" class="ptolemy.actor.gui.style.TextStyle">
|
111
|
<property name="height" class="ptolemy.data.expr.Parameter" value="10">
|
112
|
</property>
|
113
|
<property name="width" class="ptolemy.data.expr.Parameter" value="30">
|
114
|
</property>
|
115
|
</property>
|
116
|
</property>
|
117
|
<property name="_editorFactory" class="ptolemy.vergil.toolbox.TextEditorTableauFactory">
|
118
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
|
119
|
</property>
|
120
|
<property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="80">
|
121
|
</property>
|
122
|
<property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
|
123
|
</property>
|
124
|
</property>
|
125
|
<property name="Rcwd" class="ptolemy.data.expr.StringParameter" value="C:\Users\parris\.kepler\cache-2.0.0\modules\r">
|
126
|
<display name="R working directory"/>
|
127
|
</property>
|
128
|
<property name="save_nosave" class="ptolemy.data.expr.StringParameter" value="--no-save">
|
129
|
<display name="Save or not"/>
|
130
|
</property>
|
131
|
<property name="graphicsFormat" class="ptolemy.data.expr.StringParameter" value="png">
|
132
|
<display name="Graphics Format"/>
|
133
|
</property>
|
134
|
<property name="graphicsOutput" class="ptolemy.data.expr.Parameter" value="true">
|
135
|
<display name="Graphics Output"/>
|
136
|
</property>
|
137
|
<property name="displayGraphicsOutput" class="ptolemy.data.expr.Parameter" value="false">
|
138
|
<display name="Automatically display graphics"/>
|
139
|
</property>
|
140
|
<property name="numXPixels" class="ptolemy.data.expr.StringParameter" value="480">
|
141
|
<display name="Number of X pixels in image"/>
|
142
|
</property>
|
143
|
<property name="numYPixels" class="ptolemy.data.expr.StringParameter" value="480">
|
144
|
<display name="Number of Y pixels in image"/>
|
145
|
</property>
|
146
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
147
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
148
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Dan Higgins</configure></property>
|
149
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
150
|
<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>
|
151
|
<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>
|
152
|
<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>
|
153
|
<property name="prop:Rcwd" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The 'R' working directory (the home directory by default). </configure></property>
|
154
|
<property name="prop:displayGraphicsOutput" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Select to display the plot once the actor has generated it.</configure></property>
|
155
|
<property name="prop:graphicsFormat" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The graphics output format. Currently the actor supports either *.pdf or *.png.</configure></property>
|
156
|
<property name="prop:numXPixels" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The width of the output graphic in pixels.</configure></property>
|
157
|
<property name="prop:numYPixels" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The height of the output graphic in pixels.</configure></property>
|
158
|
<property name="prop:expression" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The expression that is evaluated to produce the output.</configure></property>
|
159
|
<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>
|
160
|
<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>
|
161
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:8029:15:2">
|
162
|
</property>
|
163
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="org.ecoinformatics.seek.R.RExpression">
|
164
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1126:1">
|
165
|
</property>
|
166
|
</property>
|
167
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
|
168
|
</property>
|
169
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
|
170
|
</property>
|
171
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[415.0, 115.0]">
|
172
|
</property>
|
173
|
<property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:360:1">
|
174
|
</property>
|
175
|
<port name="graphicsFileName" class="ptolemy.actor.TypedIOPort">
|
176
|
<property name="output"/>
|
177
|
<property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
|
178
|
</property>
|
179
|
</port>
|
180
|
<port name="output" class="ptolemy.actor.TypedIOPort">
|
181
|
<property name="output"/>
|
182
|
<property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
|
183
|
</property>
|
184
|
</port>
|
185
|
<port name="min" class="ptolemy.actor.TypedIOPort">
|
186
|
<property name="input"/>
|
187
|
<property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
|
188
|
</property>
|
189
|
</port>
|
190
|
<port name="mout" class="ptolemy.actor.TypedIOPort">
|
191
|
<property name="output"/>
|
192
|
<property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
|
193
|
</property>
|
194
|
</port>
|
195
|
</entity>
|
196
|
<entity name="min" class="ptolemy.actor.lib.gui.MatrixViewer">
|
197
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={406, 170, 468, 107}, maximized=false}">
|
198
|
</property>
|
199
|
<property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[452, 50]">
|
200
|
</property>
|
201
|
<property name="width" class="ptolemy.data.expr.Parameter" value="500">
|
202
|
</property>
|
203
|
<property name="height" class="ptolemy.data.expr.Parameter" value="300">
|
204
|
</property>
|
205
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
206
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
207
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Bart Kienhuis and Edward A. Lee</configure></property>
|
208
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
209
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The MatrixViewer accepts matrix tokens and displays the received values in a scrollable table format. The actor opens a viewing window to display the matrix.</p></configure></property>
|
210
|
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An input port that accepts matrix tokens (e.g., [1, 2; 3, 4], which is a 2x2 matrix)</configure></property>
|
211
|
<property name="prop:height" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The height of the display table in pixels. The value must be an integer. If the table is larger than the specified width, then scrollbars will appear. The default value is 300.</configure></property>
|
212
|
<property name="prop:width" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The width of the display table in pixels. The value must be an integer. If the table is larger than the specified width, then scrollbars will appear, or the column width will be adjusted. The default value is 500.</configure></property>
|
213
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:86:1">
|
214
|
</property>
|
215
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.MatrixViewer">
|
216
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:960:1">
|
217
|
</property>
|
218
|
</property>
|
219
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#ArrayActor">
|
220
|
</property>
|
221
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
|
222
|
</property>
|
223
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[415.0, 195.0]">
|
224
|
</property>
|
225
|
</entity>
|
226
|
<entity name="R output" class="ptolemy.actor.lib.gui.Display">
|
227
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={31, 157, 342, 243}, maximized=false}">
|
228
|
</property>
|
229
|
<property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[326, 186]">
|
230
|
</property>
|
231
|
<property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
|
232
|
</property>
|
233
|
<property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
|
234
|
</property>
|
235
|
<property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
|
236
|
</property>
|
237
|
<property name="title" class="ptolemy.data.expr.StringParameter" value="">
|
238
|
</property>
|
239
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
240
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
241
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
|
242
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
243
|
<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>
|
244
|
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
|
245
|
<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>
|
246
|
<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>
|
247
|
<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>
|
248
|
<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>
|
249
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:7:1">
|
250
|
</property>
|
251
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
|
252
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
|
253
|
</property>
|
254
|
</property>
|
255
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
|
256
|
</property>
|
257
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
|
258
|
</property>
|
259
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[635.0, 65.0]">
|
260
|
</property>
|
261
|
</entity>
|
262
|
<entity name="mout" class="ptolemy.actor.lib.gui.MatrixViewer">
|
263
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={507, 312, 468, 120}, maximized=false}">
|
264
|
</property>
|
265
|
<property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[452, 63]">
|
266
|
</property>
|
267
|
<property name="width" class="ptolemy.data.expr.Parameter" value="500">
|
268
|
</property>
|
269
|
<property name="height" class="ptolemy.data.expr.Parameter" value="300">
|
270
|
</property>
|
271
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
272
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
273
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Bart Kienhuis and Edward A. Lee</configure></property>
|
274
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
275
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The MatrixViewer accepts matrix tokens and displays the received values in a scrollable table format. The actor opens a viewing window to display the matrix.</p></configure></property>
|
276
|
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An input port that accepts matrix tokens (e.g., [1, 2; 3, 4], which is a 2x2 matrix)</configure></property>
|
277
|
<property name="prop:height" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The height of the display table in pixels. The value must be an integer. If the table is larger than the specified width, then scrollbars will appear. The default value is 300.</configure></property>
|
278
|
<property name="prop:width" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The width of the display table in pixels. The value must be an integer. If the table is larger than the specified width, then scrollbars will appear, or the column width will be adjusted. The default value is 500.</configure></property>
|
279
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:86:1">
|
280
|
</property>
|
281
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.MatrixViewer">
|
282
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:960:1">
|
283
|
</property>
|
284
|
</property>
|
285
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#ArrayActor">
|
286
|
</property>
|
287
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
|
288
|
</property>
|
289
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[635.0, 155.0]">
|
290
|
</property>
|
291
|
</entity>
|
292
|
<relation name="relation" class="ptolemy.actor.TypedIORelation">
|
293
|
<vertex name="vertex1" value="[350.0, 170.0]">
|
294
|
</vertex>
|
295
|
</relation>
|
296
|
<relation name="relation2" class="ptolemy.actor.TypedIORelation">
|
297
|
</relation>
|
298
|
<relation name="relation3" class="ptolemy.actor.TypedIORelation">
|
299
|
</relation>
|
300
|
<link port="matrix.output" relation="relation"/>
|
301
|
<link port="RExpression.output" relation="relation2"/>
|
302
|
<link port="RExpression.min" relation="relation"/>
|
303
|
<link port="RExpression.mout" relation="relation3"/>
|
304
|
<link port="min.input" relation="relation"/>
|
305
|
<link port="R output.input" relation="relation2"/>
|
306
|
<link port="mout.input" relation="relation3"/>
|
307
|
</entity>
|