Project

General

Profile

Bug #6439 » simple_error.xml

Owsiak Michal, 03/04/2014 04:23 AM

 
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="simple_error" class="ptolemy.actor.TypedCompositeActor">
5
    <property name="_createdBy" class="ptolemy.kernel.attributes.VersionAttribute" value="8.1.devel">
6
    </property>
7
    <property name="p0" class="ptolemy.data.expr.Parameter" value="0.5">
8
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
9
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
10
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
11
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
12
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
13
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:46431:1256:1">
14
        </property>
15
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.data.expr.Parameter">
16
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1184:1">
17
            </property>
18
        </property>
19
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Parameter">
20
        </property>
21
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Parameter">
22
        </property>
23
        <property name="_hideName" class="ptolemy.kernel.util.SingletonAttribute">
24
        </property>
25
        <property name="_icon" class="ptolemy.vergil.icon.ValueIcon">
26
            <property name="_color" class="ptolemy.actor.gui.ColorAttribute" value="{0.0, 0.0, 1.0, 1.0}">
27
            </property>
28
        </property>
29
        <property name="_smallIconDescription" class="ptolemy.kernel.util.SingletonConfigurableAttribute">
30
            <configure>
31
      <svg>
32
        <text x="20" style="font-size:14; font-family:SansSerif; fill:blue" y="20">-P-</text>
33
      </svg>
34
    </configure>
35
        </property>
36
        <property name="_editorFactory" class="ptolemy.vergil.toolbox.VisibleParameterEditorFactory">
37
        </property>
38
        <property name="_location" class="ptolemy.kernel.util.Location" value="[-180.0, 0.0]">
39
        </property>
40
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:420:1:urn:lsid:kepler-project.org/ns/:35178:115:1">
41
        </property>
42
    </property>
43
    <property name="p1" class="ptolemy.data.expr.Parameter" value="1.5">
44
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
45
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
46
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
47
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
48
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
49
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:46431:1259:1">
50
        </property>
51
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.data.expr.Parameter">
52
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1184:1">
53
            </property>
54
        </property>
55
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Parameter">
56
        </property>
57
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Parameter">
58
        </property>
59
        <property name="_hideName" class="ptolemy.kernel.util.SingletonAttribute">
60
        </property>
61
        <property name="_icon" class="ptolemy.vergil.icon.ValueIcon">
62
            <property name="_color" class="ptolemy.actor.gui.ColorAttribute" value="{0.0, 0.0, 1.0, 1.0}">
63
            </property>
64
        </property>
65
        <property name="_smallIconDescription" class="ptolemy.kernel.util.SingletonConfigurableAttribute">
66
            <configure>
67
      <svg>
68
        <text x="20" style="font-size:14; font-family:SansSerif; fill:blue" y="20">-P-</text>
69
      </svg>
70
    </configure>
71
        </property>
72
        <property name="_editorFactory" class="ptolemy.vergil.toolbox.VisibleParameterEditorFactory">
73
        </property>
74
        <property name="_location" class="ptolemy.kernel.util.Location" value="[-180.0, 20.0]">
75
        </property>
76
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:420:1:urn:lsid:kepler-project.org/ns/:35178:116:1">
77
        </property>
78
    </property>
79
    <property name="DDF Director" class="ptolemy.domains.ddf.kernel.DDFDirector">
80
        <property name="timeResolution" class="ptolemy.actor.parameters.SharedParameter" value="1E-10">
81
        </property>
82
        <property name="iterations" class="ptolemy.data.expr.Parameter" value="0">
83
        </property>
84
        <property name="maximumReceiverCapacity" class="ptolemy.data.expr.Parameter" value="0">
85
        </property>
86
        <property name="runUntilDeadlockInOneIteration" class="ptolemy.data.expr.Parameter" value="false">
87
        </property>
88
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
89
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
90
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Gang Zhou</configure></property>
91
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
92
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&#10;            &lt;p&gt; The dynamic dataflow (DDF) domain is a superset of the synchronous&#10;            dataflow(SDF) and Boolean dataflow(BDF) domains. In the SDF domain,&#10;            an actor consumes and produces a fixed number of tokens per firing.&#10;            This static information makes possible compile-time scheduling. In the&#10;            DDF domain, there are few constraints on the production and consumption&#10;            behavior of actors, and the schedulers make no attempt to construct a&#10;            compile-time schedule. Instead, each actor has a set of firing rules&#10;            (patterns) and can be fired if one of them is satisfied, i.e., one&#10;            particular firing pattern forms a prefix of sequences of unconsumed&#10;            tokens at input ports. The canonical actors in the DDF domain include&#10;            Select and Switch, which consume or produce tokens on different channels&#10;            based on the token received from the control port. (In practice, use&#10;            DDFSelect and DDFBooleanSelect in the DDF-specific library instead of&#10;            Select and BooleanSelect in the regular FlowControl library; however,&#10;            Switch and BooleanSwitch in the regular FlowControl library can be&#10;            used in DDF domain.)&lt;/p&gt;&#10;           &#10;            &lt;p&gt; The dynamic scheduler implemented in this director fires all enabled&#10;            and non-deferrable actors once in a basic iteration. A deferrable&#10;            actor is one that will not help one of the downstream actors become&#10;            enabled because that downstream actor either already has enough tokens on&#10;            the channel connecting those two actors or is waiting for tokens on&#10;            another channel. If no actor fires so far, which means there is no&#10;            enabled and non-deferrable actor, then among all enabled and deferrable&#10;            actors, this director fires those which have the smallest maximum number&#10;            of tokens on their output channels which satisfy the demand of destination&#10;            actors. If still no actor fires, then there is no enabled actor. A user&#10;            can treat several such basic iterations as a single iteration by adding&#10;            a parameter with name &lt;i&gt;requiredFiringsPerIteration&lt;/i&gt; to an actor&#10;            (which is often a sink actor or an actor directly connected to output port&#10;            of the composite actor) and specifying the number of times this actor must&#10;            be fired in a single iteration. If the value of the parameter&#10;            &lt;i&gt;runUntilDeadlockInOneIteration&lt;/i&gt; is a BooleanToken with value true,&#10;            one single iteration consists of repeating the basic iteration until&#10;            deadlock is reached (thus overriding the previous definition of one&#10;            iteration), which is the status of the model where all active&#10;            actors under the control of this director are unable to fire because&#10;            their firing rules are not satisfied. However, they may be able to fire&#10;            again during next iteration when tokens are transferred in from an outside&#10;            domain. Note &lt;i&gt;runUntilDeadlockInOneIteration&lt;/i&gt; can be set to true&#10;            only when this director is not on the top level.&lt;/p&gt;&#10;           &#10;            &lt;p&gt; The algorithm implementing one basic iteration goes like this:&#10;            &lt;pre&gt;&#10;            E = set of enabled actors&#10;            D = set of deferrable enabled actors&#10;            &lt;/pre&gt;&#10;            One basic(default) iteration consists of:&#10;            &lt;pre&gt;&#10;            if (E\D != empty set) {&#10;            fire (E\D)&#10;            } else if (D != empty set) {&#10;            fire minimax(D)&#10;            } else {&#10;            declare deadlock&#10;            }&#10;            &lt;/pre&gt;&#10;            The function &quot;minimax(D)&quot; returns a subset of D with the smallest&#10;            maximum number of tokens on their output channels which satisfy the&#10;            demand of destination actors.&lt;/p&gt;&#10;           &#10;            &lt;p&gt; Note that any SDF model can be run with a DDF Director. However, the&#10;            notion of iteration is different. One could try to imitate the SDF&#10;            iteration in the DDF domain by controlling the number of firings in one&#10;            iteration for some actors, such as requiring a plotter to plot a fixed&#10;            number of points in each iteration.&lt;/p&gt;&#10;           &#10;            &lt;p&gt; In the DDF domain, the firing rule of any actor is specified by the token&#10;            consumption rates of its input ports. A general DDF actor could change&#10;            the consumption rates of its input ports after each firing of this actor.&#10;            For multiports, an array token could be used to specify different rates&#10;            for different channels connected to the same multiport. Note that in SDF,&#10;            all channels connected to the same multiport have the same rate.&lt;/p&gt;&#10;           &#10;            &lt;p&gt; Based on DDFSimpleSched in Ptolemy Classic, by Edward Lee.&#10;            See E. A. Lee et al., &quot;The Almagest,&quot; documentation for Ptolemy Classic,&#10;            Vol. 1, Chapter 7, 1997.&lt;/p&gt;&#10;           &#10;        </configure></property>
93
<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 &quot;0&quot;. Note that &quot;0&quot; does not mean &quot;no iterations.&quot; Rather, &quot;0&quot; means that the workflow will iterate forever. Values greater than zero specify the actual number of times the director should execute the entire workflow. </configure></property>
94
<property name="prop:maximumReceiverCapacity" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A Parameter representing the maximum capacity of each receiver controlled by this director. This is an integer that defaults to 0, which means the queue in each receiver is unbounded. To specify bounded queues, set this to a positive integer. </configure></property>
95
<property name="prop:runUntilDeadlockInOneIteration" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A parameter indicating whether one iteration consists of repeated basic iterations until deadlock. If this parameter is true, the model will be executed until deadlock in one iteration. The default value is a BooleanToken with the value false. It cannot be set to true if this director is at the top level.</configure></property>
96
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:director:5:1">
97
        </property>
98
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.domains.ddf.kernel.DDFDirector">
99
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:directorclass:5:1">
100
            </property>
101
        </property>
102
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Director">
103
        </property>
104
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Director">
105
        </property>
106
        <property name="_location" class="ptolemy.kernel.util.Location" value="[-205.0, -75.0]">
107
        </property>
108
    </property>
109
    <property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={-4, -4, 1381, 752}, maximized=true}">
110
    </property>
111
    <property name="_vergilSize" class="ptolemy.actor.gui.SizeAttribute" value="[1065, 590]">
112
    </property>
113
    <property name="_vergilZoomFactor" class="ptolemy.data.expr.ExpertParameter" value="0.9449866903283">
114
    </property>
115
    <property name="_vergilCenter" class="ptolemy.data.expr.ExpertParameter" value="{358.5, 228.1737089201879}">
116
    </property>
117
    <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org/ns/:35178:107:30:urn:lsid:kepler-project.org/ns/:35178:118:104:urn:lsid:kepler-project.org/ns/:35178:173:279:urn:lsid:kepler-project.org/ns/:35178:243:273:urn:lsid:kepler-project.org/ns/:35178:537:71:urn:lsid:kepler-project.org/ns/:46431:1242:477:urn:lsid:kepler-project.org/ns/:46431:1298:1:urn:lsid:kepler-project.org/ns/:49708:16:75">
118
    </property>
119
    <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:49724:4:58">
120
    </property>
121
    <property name="step" class="ptolemy.data.expr.Parameter" value="0.1">
122
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
123
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
124
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
125
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
126
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
127
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:46431:1256:4">
128
        </property>
129
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.data.expr.Parameter">
130
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1184:1">
131
            </property>
132
        </property>
133
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Parameter">
134
        </property>
135
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Parameter">
136
        </property>
137
        <property name="_hideName" class="ptolemy.kernel.util.SingletonAttribute">
138
        </property>
139
        <property name="_icon" class="ptolemy.vergil.icon.ValueIcon">
140
            <property name="_color" class="ptolemy.actor.gui.ColorAttribute" value="{0.0, 0.0, 1.0, 1.0}">
141
            </property>
142
        </property>
143
        <property name="_smallIconDescription" class="ptolemy.kernel.util.SingletonConfigurableAttribute">
144
            <configure>
145
      <svg>
146
        <text x="20" style="font-size:14; font-family:SansSerif; fill:blue" y="20">-P-</text>
147
      </svg>
148
    </configure>
149
        </property>
150
        <property name="_editorFactory" class="ptolemy.vergil.toolbox.VisibleParameterEditorFactory">
151
        </property>
152
        <property name="_location" class="ptolemy.kernel.util.Location" value="[-115.0, 0.0]">
153
        </property>
154
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:420:1:urn:lsid:kepler-project.org/ns/:35178:115:1">
155
        </property>
156
    </property>
157
    <property name="p" class="ptolemy.data.expr.Parameter" value="1.6">
158
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
159
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
160
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
161
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
162
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
163
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:49724:3:1">
164
        </property>
165
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.data.expr.Parameter">
166
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1184:1">
167
            </property>
168
        </property>
169
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Parameter">
170
        </property>
171
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Parameter">
172
        </property>
173
        <property name="_hideName" class="ptolemy.kernel.util.SingletonAttribute">
174
        </property>
175
        <property name="_icon" class="ptolemy.vergil.icon.ValueIcon">
176
            <property name="_color" class="ptolemy.actor.gui.ColorAttribute" value="{0.0, 0.0, 1.0, 1.0}">
177
            </property>
178
        </property>
179
        <property name="_smallIconDescription" class="ptolemy.kernel.util.SingletonConfigurableAttribute">
180
            <configure>
181
      <svg>
182
        <text x="20" style="font-size:14; font-family:SansSerif; fill:blue" y="20">-P-</text>
183
      </svg>
184
    </configure>
185
        </property>
186
        <property name="_editorFactory" class="ptolemy.vergil.toolbox.VisibleParameterEditorFactory">
187
        </property>
188
        <property name="_location" class="ptolemy.kernel.util.Location" value="{-180, 40}">
189
        </property>
190
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:420:1">
191
        </property>
192
    </property>
193
    <entity name="Setter" class="ptolemy.actor.lib.SetVariable">
194
        <display name="p=p0"/>
195
        <property name="variableName" class="ptolemy.kernel.util.StringAttribute" value="p">
196
        </property>
197
        <property name="delayed" class="ptolemy.data.expr.Parameter" value="false">
198
        </property>
199
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
200
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
201
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Edward Lee, Steve Neuendorffer, Jerome Blanc</configure></property>
202
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
203
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&#10;Set the value of a variable. The result may occur at two different times, depending on the value of the delayed parameter. &#10;If delayed is true, then the change to the value of the variable is implemented in a change request, and consequently will not take hold until the end of the current toplevel iteration. This helps ensure that users of value of the variable will see changes to the value deterministically (independent of the schedule of execution of the actors). &#10;If delayed is false, then the change to the value of the variable is performed immediately. This allows more frequent reconfiguration, and can mimic the operation of PGM's graph variables. &#10;Note that the variable name is observed during preinitialize(). If it is changed after that, the change will not take effect until the next time the model is executed. Moreover, the type of the variable is constrained in preinitialize() to be at least that of the input port for this actor. &#10;The variable can be either any attribute that implements the Settable interface. If it is in addition an instance of Variable, then the input token is used directly to set the value, and the type of the variable is constrained to be the same as the type of the input. Otherwise, then input token is converted to a string and the setExpression() method on the variable is used to set the value. &#10;The variable can occur anywhere in the hierarchy above the current level. If the variable is not found in the container, then the container of the container is checked until we reach the top level.</configure></property>
204
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:46431:1257:4">
205
        </property>
206
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.SetVariable">
207
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:886:1">
208
            </property>
209
        </property>
210
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Variable">
211
        </property>
212
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#LocalInput">
213
        </property>
214
        <property name="_location" class="ptolemy.kernel.util.Location" value="[-80.0, 300.0]">
215
        </property>
216
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:10:1">
217
        </property>
218
        <property name="" class="ptolemy.vergil.basic.DocAttribute">
219
            <property name="description" class="ptolemy.kernel.util.StringAttribute" value="&#10;Set the value of a variable. The result may occur at two different times, depending on the value of the delayed parameter. &#10;If delayed is true, then the change to the value of the variable is implemented in a change request, and consequently will not take hold until the end of the current toplevel iteration. This helps ensure that users of value of the variable will see changes to the value deterministically (independent of the schedule of execution of the actors). &#10;If delayed is false, then the change to the value of the variable is performed immediately. This allows more frequent reconfiguration, and can mimic the operation of PGM's graph variables. &#10;Note that the variable name is observed during preinitialize(). If it is changed after that, the change will not take effect until the next time the model is executed. Moreover, the type of the variable is constrained in preinitialize() to be at least that of the input port for this actor. &#10;The variable can be either any attribute that implements the Settable interface. If it is in addition an instance of Variable, then the input token is used directly to set the value, and the type of the variable is constrained to be the same as the type of the input. Otherwise, then input token is converted to a string and the setExpression() method on the variable is used to set the value. &#10;The variable can occur anywhere in the hierarchy above the current level. If the variable is not found in the container, then the container of the container is checked until we reach the top level.">
220
            </property>
221
            <property name="author" class="ptolemy.kernel.util.StringAttribute" value="Edward Lee, Steve Neuendorffer, Jerome Blanc">
222
            </property>
223
            <property name="version" class="ptolemy.kernel.util.StringAttribute" value="null">
224
            </property>
225
        </property>
226
        <port name="input" class="ptolemy.actor.TypedIOPort">
227
            <property name="input"/>
228
            <property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
229
            </property>
230
        </port>
231
        <port name="output" class="ptolemy.actor.TypedIOPort">
232
            <property name="output"/>
233
            <property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
234
            </property>
235
        </port>
236
    </entity>
237
    <entity name="Expression2" class="ptolemy.actor.lib.Expression">
238
        <property name="expression" class="ptolemy.kernel.util.StringAttribute" value="compare( in, p1 + step) &gt; 0">
239
            <property name="_hide" class="ptolemy.data.expr.Parameter" value="true">
240
            </property>
241
        </property>
242
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
243
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
244
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Xiaojun Liu, Edward A. Lee, Steve Neuendorffer</configure></property>
245
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
246
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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 &quot;time&quot;; and to the current iteration count by the identifier &quot;iteration.&quot; &lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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.&lt;/p&gt;</configure></property>
247
<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>
248
<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 &quot;time&quot;; and to the current iteration count by the identifier &quot;iteration.&quot;</configure></property>
249
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:49724:21:7">
250
        </property>
251
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Expression">
252
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:950:1">
253
            </property>
254
        </property>
255
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
256
        </property>
257
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
258
        </property>
259
        <property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
260
            <property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
261
            </property>
262
            <property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
263
            </property>
264
        </property>
265
        <property name="_location" class="ptolemy.kernel.util.Location" value="[475.0, 120.0]">
266
        </property>
267
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:75:1:urn:lsid:kepler-project.org/ns/:46431:1252:132:urn:lsid:kepler-project.org/ns/:49708:23:3">
268
        </property>
269
        <port name="output" class="ptolemy.actor.TypedIOPort">
270
            <property name="output"/>
271
            <property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
272
            </property>
273
        </port>
274
        <port name="in" class="ptolemy.actor.TypedIOPort">
275
            <property name="input"/>
276
            <property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
277
            </property>
278
        </port>
279
    </entity>
280
    <entity name="Display" class="ptolemy.actor.lib.gui.Display">
281
        <property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={256, 434, 451, 207}, maximized=false}">
282
        </property>
283
        <property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[443, 153]">
284
        </property>
285
        <property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
286
        </property>
287
        <property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
288
        </property>
289
        <property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
290
        </property>
291
        <property name="title" class="ptolemy.data.expr.StringParameter" value="">
292
        </property>
293
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
294
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
295
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
296
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
297
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;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.&lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;If the input is a string token, then the actor strips the surrounding quotation marks before displaying the value.&lt;/p&gt; &#10;&#10;&lt;p&gt;Select the suppressBlankLines parameter to specify that the actor not add blank lines to the display. By default, the actor will add blank lines.&lt;/p&gt;&#10;&#10;&lt;p&gt;Note: this actor can consume large amounts of memory. It is not advisable to use it to display large output streams.&lt;/p&gt;</configure></property>
298
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
299
<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>
300
<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>
301
<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>
302
<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>
303
</property>        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
304
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
305
            </property>
306
        </property>
307
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
308
        </property>
309
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
310
        </property>
311
        <property name="_location" class="ptolemy.kernel.util.Location" value="[860.0, 205.0]">
312
        </property>
313
    </entity>
314
    <entity name="scale_p" class="ptolemy.actor.lib.Const">
315
        <property name="firingCountLimit" class="ptolemy.data.expr.Parameter" value="1">
316
        </property>
317
        <property name="NONE" class="ptolemy.data.expr.Parameter" value="0">
318
        </property>
319
        <property name="value" class="ptolemy.data.expr.Parameter" value="p0">
320
        </property>
321
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
322
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
323
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
324
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
325
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;The Constant actor outputs a constant, which is specified by the value parameter. By default, the actor outputs the integer 1.&lt;/p&gt;&#10;&#10;&lt;p&gt;The actor can be used to output other types of values, e.g., a string (such as &quot;Hello&quot;) or a double (such as 1.2). The actor'&#10;s output type matches the type of the specified value.&lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;</configure></property>
326
<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>
327
<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>
328
<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>
329
<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 &quot;Hello&quot;) or a double (such as 1.2). The  output type matches the type of the value specified here.</configure></property>
330
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:46431:1248:155">
331
        </property>
332
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Const">
333
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:877:1">
334
            </property>
335
        </property>
336
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#ConstantActor">
337
        </property>
338
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Constant">
339
        </property>
340
        <property name="kar" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:kar:57:1">
341
        </property>
342
        <property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
343
            <property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="value">
344
            </property>
345
            <property name="displayWidth" class="ptolemy.data.expr.Parameter" value="40">
346
            </property>
347
        </property>
348
        <property name="_location" class="ptolemy.kernel.util.Location" value="[-135.0, 370.0]">
349
        </property>
350
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:1:1">
351
        </property>
352
    </entity>
353
    <entity name="Expression3" class="ptolemy.actor.lib.Expression">
354
        <property name="expression" class="ptolemy.kernel.util.StringAttribute" value="p+step">
355
            <property name="_hide" class="ptolemy.data.expr.Parameter" value="true">
356
            </property>
357
        </property>
358
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
359
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
360
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Xiaojun Liu, Edward A. Lee, Steve Neuendorffer</configure></property>
361
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
362
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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 &quot;time&quot;; and to the current iteration count by the identifier &quot;iteration.&quot; &lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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.&lt;/p&gt;</configure></property>
363
<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>
364
<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 &quot;time&quot;; and to the current iteration count by the identifier &quot;iteration.&quot;</configure></property>
365
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:46431:1252:31">
366
        </property>
367
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Expression">
368
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:950:1">
369
            </property>
370
        </property>
371
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
372
        </property>
373
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
374
        </property>
375
        <property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
376
            <property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
377
            </property>
378
            <property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
379
            </property>
380
        </property>
381
        <property name="_location" class="ptolemy.kernel.util.Location" value="[95.0, 160.0]">
382
        </property>
383
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:75:1">
384
        </property>
385
        <port name="output" class="ptolemy.actor.TypedIOPort">
386
            <property name="output"/>
387
            <property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
388
            </property>
389
        </port>
390
        <port name="in" class="ptolemy.actor.TypedIOPort">
391
            <property name="input"/>
392
            <property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
393
            </property>
394
        </port>
395
    </entity>
396
    <entity name="Setter2" class="ptolemy.actor.lib.SetVariable">
397
        <display name="p=p+step"/>
398
        <property name="variableName" class="ptolemy.kernel.util.StringAttribute" value="p">
399
        </property>
400
        <property name="delayed" class="ptolemy.data.expr.Parameter" value="false">
401
        </property>
402
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
403
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
404
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Edward Lee, Steve Neuendorffer, Jerome Blanc</configure></property>
405
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
406
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&#10;Set the value of a variable. The result may occur at two different times, depending on the value of the delayed parameter. &#10;If delayed is true, then the change to the value of the variable is implemented in a change request, and consequently will not take hold until the end of the current toplevel iteration. This helps ensure that users of value of the variable will see changes to the value deterministically (independent of the schedule of execution of the actors). &#10;If delayed is false, then the change to the value of the variable is performed immediately. This allows more frequent reconfiguration, and can mimic the operation of PGM's graph variables. &#10;Note that the variable name is observed during preinitialize(). If it is changed after that, the change will not take effect until the next time the model is executed. Moreover, the type of the variable is constrained in preinitialize() to be at least that of the input port for this actor. &#10;The variable can be either any attribute that implements the Settable interface. If it is in addition an instance of Variable, then the input token is used directly to set the value, and the type of the variable is constrained to be the same as the type of the input. Otherwise, then input token is converted to a string and the setExpression() method on the variable is used to set the value. &#10;The variable can occur anywhere in the hierarchy above the current level. If the variable is not found in the container, then the container of the container is checked until we reach the top level.</configure></property>
407
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:46431:1257:5">
408
        </property>
409
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.SetVariable">
410
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:886:1">
411
            </property>
412
        </property>
413
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Variable">
414
        </property>
415
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#LocalInput">
416
        </property>
417
        <property name="_location" class="ptolemy.kernel.util.Location" value="[180.0, 90.0]">
418
        </property>
419
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:10:1">
420
        </property>
421
        <property name="" class="ptolemy.vergil.basic.DocAttribute">
422
            <property name="description" class="ptolemy.kernel.util.StringAttribute" value="&#10;Set the value of a variable. The result may occur at two different times, depending on the value of the delayed parameter. &#10;If delayed is true, then the change to the value of the variable is implemented in a change request, and consequently will not take hold until the end of the current toplevel iteration. This helps ensure that users of value of the variable will see changes to the value deterministically (independent of the schedule of execution of the actors). &#10;If delayed is false, then the change to the value of the variable is performed immediately. This allows more frequent reconfiguration, and can mimic the operation of PGM's graph variables. &#10;Note that the variable name is observed during preinitialize(). If it is changed after that, the change will not take effect until the next time the model is executed. Moreover, the type of the variable is constrained in preinitialize() to be at least that of the input port for this actor. &#10;The variable can be either any attribute that implements the Settable interface. If it is in addition an instance of Variable, then the input token is used directly to set the value, and the type of the variable is constrained to be the same as the type of the input. Otherwise, then input token is converted to a string and the setExpression() method on the variable is used to set the value. &#10;The variable can occur anywhere in the hierarchy above the current level. If the variable is not found in the container, then the container of the container is checked until we reach the top level.">
423
            </property>
424
            <property name="author" class="ptolemy.kernel.util.StringAttribute" value="Edward Lee, Steve Neuendorffer, Jerome Blanc">
425
            </property>
426
            <property name="version" class="ptolemy.kernel.util.StringAttribute" value="null">
427
            </property>
428
        </property>
429
        <port name="input" class="ptolemy.actor.TypedIOPort">
430
            <property name="input"/>
431
            <property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
432
            </property>
433
        </port>
434
        <port name="output" class="ptolemy.actor.TypedIOPort">
435
            <property name="output"/>
436
            <property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
437
            </property>
438
        </port>
439
    </entity>
440
    <entity name="Boolean Switch" class="ptolemy.actor.lib.BooleanSwitch">
441
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
442
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
443
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Steve Neuendorffer</configure></property>
444
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
445
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;The BooleanSwitch actor reads a value of any type, as well as a Boolean token that is used as a control. If the Boolean token is true, the actor outputs the received value to the trueOutput port; if the Boolean token is false, the actor outputs the received value to the falseOutput port.&#10;If the actor has never received a value on the control port, then the actor will output to the falseOutput port.&lt;/p&gt;&#10;&#10;&lt;p&gt;The actor only works under certain directors. It will not work under an SDF Director, but it will under a PN Director, for example.&lt;/p&gt;</configure></property>
446
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An input port that accepts tokens of any type.</configure></property>
447
<property name="port:falseOutput" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the input token when the control is false.</configure></property>
448
<property name="port:trueOutput" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the input token when the control is true.</configure></property>
449
<property name="port:control" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An input port that accepts a Boolean token used to select which output port (trueOutput or falseOutput) to broadcast.</configure></property>
450
</property>        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.BooleanSwitch">
451
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:930:1">
452
            </property>
453
        </property>
454
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#BooleanControlActor">
455
        </property>
456
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#BooleanControl">
457
        </property>
458
        <property name="_location" class="ptolemy.kernel.util.Location" value="[755.0, 170.0]">
459
        </property>
460
        <port name="control" class="ptolemy.actor.TypedIOPort">
461
            <property name="input"/>
462
            <property name="_cardinal" class="ptolemy.kernel.util.StringAttribute" value="SOUTH">
463
            </property>
464
        </port>
465
    </entity>
466
    <entity name="Expression4" class="ptolemy.actor.lib.Expression">
467
        <property name="expression" class="ptolemy.kernel.util.StringAttribute" value="p">
468
            <property name="_hide" class="ptolemy.data.expr.Parameter" value="true">
469
            </property>
470
        </property>
471
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
472
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
473
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Xiaojun Liu, Edward A. Lee, Steve Neuendorffer</configure></property>
474
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
475
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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 &quot;time&quot;; and to the current iteration count by the identifier &quot;iteration.&quot; &lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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.&lt;/p&gt;</configure></property>
476
<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>
477
<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 &quot;time&quot;; and to the current iteration count by the identifier &quot;iteration.&quot;</configure></property>
478
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:46431:1252:79">
479
        </property>
480
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Expression">
481
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:950:1">
482
            </property>
483
        </property>
484
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
485
        </property>
486
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
487
        </property>
488
        <property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
489
            <property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
490
            </property>
491
            <property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
492
            </property>
493
        </property>
494
        <property name="_location" class="ptolemy.kernel.util.Location" value="[695.0, 135.0]">
495
        </property>
496
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:75:1">
497
        </property>
498
        <port name="output" class="ptolemy.actor.TypedIOPort">
499
            <property name="output"/>
500
            <property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
501
            </property>
502
        </port>
503
        <port name="in" class="ptolemy.actor.TypedIOPort">
504
            <property name="input"/>
505
            <property name="_showName" class="ptolemy.data.expr.SingletonParameter" value="true">
506
            </property>
507
        </port>
508
    </entity>
509
    <entity name="Display2" class="ptolemy.actor.lib.gui.Display">
510
        <property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={195, 0, 451, 207}, maximized=false}">
511
        </property>
512
        <property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[443, 153]">
513
        </property>
514
        <property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
515
        </property>
516
        <property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
517
        </property>
518
        <property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
519
        </property>
520
        <property name="title" class="ptolemy.data.expr.StringParameter" value="">
521
        </property>
522
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
523
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
524
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
525
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
526
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;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.&lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;If the input is a string token, then the actor strips the surrounding quotation marks before displaying the value.&lt;/p&gt; &#10;&#10;&lt;p&gt;Select the suppressBlankLines parameter to specify that the actor not add blank lines to the display. By default, the actor will add blank lines.&lt;/p&gt;&#10;&#10;&lt;p&gt;Note: this actor can consume large amounts of memory. It is not advisable to use it to display large output streams.&lt;/p&gt;</configure></property>
527
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
528
<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>
529
<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>
530
<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>
531
<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>
532
</property>        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
533
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
534
            </property>
535
        </property>
536
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
537
        </property>
538
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
539
        </property>
540
        <property name="_location" class="ptolemy.kernel.util.Location" value="[80.0, 205.0]">
541
        </property>
542
    </entity>
543
    <entity name="Display3" class="ptolemy.actor.lib.gui.Display">
544
        <property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={538, 96, 451, 207}, maximized=false}">
545
        </property>
546
        <property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[443, 153]">
547
        </property>
548
        <property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
549
        </property>
550
        <property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
551
        </property>
552
        <property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
553
        </property>
554
        <property name="title" class="ptolemy.data.expr.StringParameter" value="">
555
        </property>
556
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
557
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
558
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
559
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
560
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;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.&lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;If the input is a string token, then the actor strips the surrounding quotation marks before displaying the value.&lt;/p&gt; &#10;&#10;&lt;p&gt;Select the suppressBlankLines parameter to specify that the actor not add blank lines to the display. By default, the actor will add blank lines.&lt;/p&gt;&#10;&#10;&lt;p&gt;Note: this actor can consume large amounts of memory. It is not advisable to use it to display large output streams.&lt;/p&gt;</configure></property>
561
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
562
<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>
563
<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>
564
<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>
565
<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>
566
</property>        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
567
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
568
            </property>
569
        </property>
570
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
571
        </property>
572
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
573
        </property>
574
        <property name="_location" class="ptolemy.kernel.util.Location" value="[340.0, 235.0]">
575
        </property>
576
    </entity>
577
    <entity name="Display4" class="ptolemy.actor.lib.gui.Display">
578
        <property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={218, 236, 451, 207}, maximized=false}">
579
        </property>
580
        <property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[443, 153]">
581
        </property>
582
        <property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
583
        </property>
584
        <property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
585
        </property>
586
        <property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
587
        </property>
588
        <property name="title" class="ptolemy.data.expr.StringParameter" value="">
589
        </property>
590
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
591
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
592
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
593
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
594
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;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.&lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;If the input is a string token, then the actor strips the surrounding quotation marks before displaying the value.&lt;/p&gt; &#10;&#10;&lt;p&gt;Select the suppressBlankLines parameter to specify that the actor not add blank lines to the display. By default, the actor will add blank lines.&lt;/p&gt;&#10;&#10;&lt;p&gt;Note: this actor can consume large amounts of memory. It is not advisable to use it to display large output streams.&lt;/p&gt;</configure></property>
595
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
596
<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>
597
<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>
598
<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>
599
<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>
600
</property>        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
601
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
602
            </property>
603
        </property>
604
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
605
        </property>
606
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
607
        </property>
608
        <property name="_location" class="ptolemy.kernel.util.Location" value="[715.0, 255.0]">
609
        </property>
610
    </entity>
611
    <entity name="Expression" class="ptolemy.actor.lib.Expression">
612
        <property name="expression" class="ptolemy.kernel.util.StringAttribute" value="toString(in)">
613
            <property name="_hide" class="ptolemy.data.expr.Parameter" value="true">
614
            </property>
615
        </property>
616
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
617
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
618
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Xiaojun Liu, Edward A. Lee, Steve Neuendorffer</configure></property>
619
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
620
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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 &quot;time&quot;; and to the current iteration count by the identifier &quot;iteration.&quot; &lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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.&lt;/p&gt;</configure></property>
621
<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>
622
<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 &quot;time&quot;; and to the current iteration count by the identifier &quot;iteration.&quot;</configure></property>
623
</property>        <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org/ns/:49724:37:2">
624
        </property>
625
        <property name="" class="ptolemy.vergil.basic.DocAttribute">
626
            <property name="description" class="ptolemy.kernel.util.StringAttribute" value="&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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 &quot;time&quot;; and to the current iteration count by the identifier &quot;iteration.&quot; &lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;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.&lt;/p&gt;">
627
            </property>
628
            <property name="author" class="ptolemy.kernel.util.StringAttribute" value="Xiaojun Liu, Edward A. Lee, Steve Neuendorffer">
629
            </property>
630
            <property name="version" class="ptolemy.kernel.util.StringAttribute" value="null">
631
            </property>
632
            <property name="expression (parameter)" class="ptolemy.data.expr.StringParameter" value="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 &quot;time&quot;; and to the current iteration count by the identifier &quot;iteration.&quot;">
633
            </property>
634
            <property name="output (port)" class="ptolemy.kernel.util.StringAttribute" value="An output port that broadcasts the value of the evaluated expression. The actor automatically determines the type based on the type of the input.">
635
            </property>
636
        </property>
637
        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Expression">
638
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:950:1">
639
            </property>
640
        </property>
641
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#MathOperationActor">
642
        </property>
643
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GeneralPurpose">
644
        </property>
645
        <property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
646
            <property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="expression">
647
            </property>
648
            <property name="displayWidth" class="ptolemy.data.expr.Parameter" value="60">
649
            </property>
650
        </property>
651
        <property name="_location" class="ptolemy.kernel.util.Location" value="{390, 25}">
652
        </property>
653
        <property name="derivedFrom" class="org.kepler.moml.NamedObjIdReferralList" value="urn:lsid:kepler-project.org:actor:75:1">
654
        </property>
655
        <port name="in" class="ptolemy.actor.TypedIOPort">
656
            <property name="input"/>
657
        </port>
658
    </entity>
659
    <entity name="Display5" class="ptolemy.actor.lib.gui.Display">
660
        <property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={779, 423, 451, 207}, maximized=false}">
661
        </property>
662
        <property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[443, 153]">
663
        </property>
664
        <property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
665
        </property>
666
        <property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
667
        </property>
668
        <property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
669
        </property>
670
        <property name="title" class="ptolemy.data.expr.StringParameter" value="">
671
        </property>
672
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
673
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
674
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
675
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
676
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>&lt;p&gt;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.&lt;/p&gt;&#10;&#10;&lt;p&gt;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. &lt;/p&gt;&#10;&#10;&lt;p&gt;If the input is a string token, then the actor strips the surrounding quotation marks before displaying the value.&lt;/p&gt; &#10;&#10;&lt;p&gt;Select the suppressBlankLines parameter to specify that the actor not add blank lines to the display. By default, the actor will add blank lines.&lt;/p&gt;&#10;&#10;&lt;p&gt;Note: this actor can consume large amounts of memory. It is not advisable to use it to display large output streams.&lt;/p&gt;</configure></property>
677
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
678
<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>
679
<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>
680
<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>
681
<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>
682
</property>        <property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
683
            <property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
684
            </property>
685
        </property>
686
        <property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
687
        </property>
688
        <property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
689
        </property>
690
        <property name="_location" class="ptolemy.kernel.util.Location" value="{535, 20}">
691
        </property>
692
    </entity>
693
    <relation name="relation3" class="ptolemy.actor.TypedIORelation">
694
    </relation>
695
    <relation name="relation6" class="ptolemy.actor.TypedIORelation">
696
        <vertex name="vertex1" value="[25.0, 285.0]">
697
        </vertex>
698
    </relation>
699
    <relation name="relation10" class="ptolemy.actor.TypedIORelation">
700
        <vertex name="vertex1" value="[675.0, 230.0]">
701
        </vertex>
702
    </relation>
703
    <relation name="relation" class="ptolemy.actor.TypedIORelation">
704
        <vertex name="vertex1" value="[175.0, 170.0]">
705
        </vertex>
706
    </relation>
707
    <relation name="relation7" class="ptolemy.actor.TypedIORelation">
708
    </relation>
709
    <relation name="relation12" class="ptolemy.actor.TypedIORelation">
710
        <vertex name="vertex1" value="[295.0, 135.0]">
711
        </vertex>
712
    </relation>
713
    <relation name="relation2" class="ptolemy.actor.TypedIORelation">
714
        <vertex name="vertex1" value="[15.0, 210.0]">
715
        </vertex>
716
    </relation>
717
    <relation name="relation8" class="ptolemy.actor.TypedIORelation">
718
    </relation>
719
    <relation name="relation4" class="ptolemy.actor.TypedIORelation">
720
    </relation>
721
    <link port="Setter.input" relation="relation3"/>
722
    <link port="Setter.output" relation="relation6"/>
723
    <link port="Expression2.output" relation="relation10"/>
724
    <link port="Expression2.in" relation="relation12"/>
725
    <link port="Display.input" relation="relation8"/>
726
    <link port="scale_p.output" relation="relation3"/>
727
    <link port="Expression3.output" relation="relation"/>
728
    <link port="Expression3.in" relation="relation2"/>
729
    <link port="Setter2.input" relation="relation"/>
730
    <link port="Setter2.output" relation="relation12"/>
731
    <link port="Boolean Switch.input" relation="relation7"/>
732
    <link port="Boolean Switch.control" relation="relation10"/>
733
    <link port="Boolean Switch.trueOutput" relation="relation8"/>
734
    <link port="Boolean Switch.falseOutput" relation="relation6"/>
735
    <link port="Expression4.output" relation="relation7"/>
736
    <link port="Expression4.in" relation="relation10"/>
737
    <link port="Display2.input" relation="relation2"/>
738
    <link port="Display3.input" relation="relation12"/>
739
    <link port="Display4.input" relation="relation10"/>
740
    <link port="Expression.output" relation="relation4"/>
741
    <link port="Expression.in" relation="relation12"/>
742
    <link port="Display5.input" relation="relation4"/>
743
    <link relation1="relation6" relation2="relation2"/>
744
</entity>
(1-1/2)