Serialized Form


Package com.microstar.xml

Class com.microstar.xml.XmlException extends java.lang.Exception implements Serializable

Serialized Fields

_message

java.lang.String _message

_cause

java.lang.Throwable _cause

_systemId

java.lang.String _systemId

_line

int _line

_column

int _column

Package diva.canvas

Class diva.canvas.JCanvas extends javax.swing.JComponent implements Serializable

Serialized Fields

_offscreen

java.awt.image.BufferedImage _offscreen
The off-screen image.

 

_canvasPane

CanvasPane _canvasPane
The contained canvas pane.

 

_horizontalRangeModel

javax.swing.DefaultBoundedRangeModel _horizontalRangeModel
range model to control the horizontal movement of the model


_verticalRangeModel

javax.swing.DefaultBoundedRangeModel _verticalRangeModel
range model to control the vertical movement of the model


Package diva.canvas.connector

Class diva.canvas.connector.ConnectorEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
The event ID.

 
See Also:
ConnectorEvent.getID()

_end

int _end
The end this event concerns.

 
See Also:
ConnectorEvent.getEnd()

_target

Figure _target
The target figure

 
See Also:
ConnectorEvent.getTarget()

_connector

Connector _connector
The connector that is being operated on.

 
See Also:
ConnectorEvent.getConnector()

Package diva.canvas.event

Class diva.canvas.event.LayerEvent extends java.awt.event.MouseEvent implements Serializable

Serialized Fields

_layerSource

CanvasLayer _layerSource
The layer source

 

_figureSource

Figure _figureSource
The figure source

 

_layerX

double _layerX
The x coordinate.

 

_layerY

double _layerY
The y coordinate.

 

_backingEvent

java.awt.event.MouseEvent _backingEvent
The event that this event was constructed from.

 

Package diva.canvas.interactor

Class diva.canvas.interactor.SelectionEvent extends java.util.EventObject implements Serializable

Serialized Fields

_added

java.lang.Object[] _added
The objects added to the selection.

 

_removed

java.lang.Object[] _removed
The objects removed from the selection.

 

_primary

java.lang.Object _primary
The primary selected object.

 

Package diva.graph

Class diva.graph.GraphEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
 
See Also:
GraphEvent.getID()

_target

java.lang.Object _target
The value of the event.

 

_oldValue

java.lang.Object _oldValue
 
See Also:
GraphEvent.getOldValue()

Class diva.graph.GraphException extends java.lang.RuntimeException implements Serializable

Class diva.graph.GraphViewEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
 
See Also:
GraphViewEvent.getID()

_target

java.lang.Object _target
The value of the event.

 

_oldValue

java.lang.Object _oldValue
 
See Also:
GraphViewEvent.getOldValue()

Class diva.graph.JGraph extends JCanvas implements Serializable


Package diva.graph.basic

Class diva.graph.basic.BasicGraphDemoApplet extends AppletContext implements Serializable

Class diva.graph.basic.BubbleGraphDemoApplet extends AppletContext implements Serializable


Package diva.graph.tutorial

Class diva.graph.tutorial.EditorTutorial.LayoutWidget extends javax.swing.JPanel implements Serializable

Serialized Fields

_graph

java.lang.Object _graph
The graph that will be layed out.


_nameMap

java.util.HashMap<K,V> _nameMap
Mapping from layout name to layout object.


_configMap

java.util.HashMap<K,V> _configMap
Mapping from layout object to configuration widget.


_layoutList

javax.swing.JComboBox _layoutList
List that user selects from to choose the layout.


_applyBtn

javax.swing.JButton _applyBtn
Button to apply the layout.


Package diva.gui

Class diva.gui.AppletContext extends javax.swing.JApplet implements Serializable

Class diva.gui.ApplicationContext extends javax.swing.JFrame implements Serializable

Class diva.gui.BasicFrame extends ApplicationContext implements Serializable

Class diva.gui.ViewEvent extends java.util.EventObject implements Serializable

Serialized Fields

_id

int _id
The event type.

 

Package diva.gui.toolbox

Class diva.gui.toolbox.FigureIcon extends javax.swing.ImageIcon implements Serializable

Class diva.gui.toolbox.JCanvasPalette extends JCanvas implements Serializable

Class diva.gui.toolbox.JCanvasPanner extends javax.swing.JPanel implements Serializable

Serialized Fields

_target

JCanvas _target
The target window that is being wrapped.

Class diva.gui.toolbox.JContextMenu extends javax.swing.JPopupMenu implements Serializable

Serialized Fields

_target

java.lang.Object _target

Class diva.gui.toolbox.JPalette extends javax.swing.JPanel implements Serializable

Class diva.gui.toolbox.JPanner extends javax.swing.JPanel implements Serializable

Serialized Fields

_target

javax.swing.JViewport _target
The target window that is being wrapped.


_listener

diva.gui.toolbox.JPanner.ScrollListener _listener
The scrolling listener;


_scaleMouseListener

diva.gui.toolbox.JPanner.ScaleMouseListener _scaleMouseListener
The mouse listener on the panner that is responsible for scaling.

Class diva.gui.toolbox.JPseudoFrame extends javax.swing.JComponent implements Serializable

Class diva.gui.toolbox.JShadePane extends javax.swing.JPanel implements Serializable

Serialized Fields

_selectedIndex

int _selectedIndex
The selected index.


_shades

java.util.ArrayList<E> _shades
The shades in this pane.

Class diva.gui.toolbox.JStatusBar extends javax.swing.JPanel implements Serializable

Serialized Fields

_progress

javax.swing.JProgressBar _progress
The progress bar associated with this status bar


_message

javax.swing.JLabel _message
The label that displays the status message.


_messageBorder

javax.swing.border.Border _messageBorder
The border around the message

Class diva.gui.toolbox.JTreePane extends javax.swing.JSplitPane implements Serializable

Serialized Fields

_selectedTitle

java.lang.String _selectedTitle
The selected title.


_defaultPanel

javax.swing.JPanel _defaultPanel
The panel that is used when the component gets set to null.


_tree

javax.swing.JTree _tree
The Tree.


_scrollPane

javax.swing.JScrollPane _scrollPane
The ScrollPane around the tree.


_scrollPaneSize

java.awt.Dimension _scrollPaneSize
The preferred size of the scrollpane. This is required because the splitpane doesn't remember it's size if we change the component that is in it, unless we give it a preferred size.

Class diva.gui.toolbox.ListDataModel extends javax.swing.DefaultComboBoxModel implements Serializable


Package diva.gui.tutorial

Class diva.gui.tutorial.AppletTutorial extends AppletContext implements Serializable


Package diva.util.jester

Class diva.util.jester.TestFailedException extends java.lang.Exception implements Serializable

Serialized Fields

first

java.lang.Object first
One of the objects involved in the failed test.

 

second

java.lang.Object second
Another of the objects involved in the failed test.

 

Package jni

Class jni.Argument extends AbstractSettableAttribute implements Serializable

Serialized Fields

_isInput

boolean _isInput
A boolean that specified if the argument is an Input


_isOutput

boolean _isOutput
A boolean that specified if the argument is an Output


_isReturn

boolean _isReturn
A boolean that specified if the argument is a return.


_cType

java.lang.String _cType
A String that specified the argument type, in C language.


_value

java.lang.String _value
A String that is the argument value, ie its expression


_container

GenericJNIActor _container
The entity that contains this entity.

Class jni.GenericJNIActor extends TypedAtomicActor implements Serializable

Serialized Fields

libraryDirectory

Parameter libraryDirectory
The directory that contains the native library, which under Windows should include a dll, an h file and a lib file. The default value of thie parameter is the string "jni" + File.separator + "lib"


nativeFunction

Parameter nativeFunction
The name of the native library. The default value of this parameter is the String "nativeFunction"


nativeLibrary

Parameter nativeLibrary
The name of the native library. The default value of this parameter is the String "nativeLibrary"


_argumentsList

NamedList _argumentsList

_class

java.lang.Class<T> _class

_methodIndex

int _methodIndex

_methods

java.lang.reflect.Method[] _methods

Package jni.gui

Class jni.gui.ArgumentConfigurer extends Query implements Serializable

Serialized Fields

_changed

java.util.Set<E> _changed

_object

GenericJNIActor _object

_optionsArray

java.lang.String[] _optionsArray

Class jni.gui.ArgumentConfigurerDialog extends ComponentDialog implements Serializable

Serialized Fields

_configuration

Configuration _configuration
The configuration.


_owner

java.awt.Frame _owner
The owner window.


_query

Query _query
The query window for adding arguments.


_target

GenericJNIActor _target
The target object whose arguments are being configured.


_optionsArray

java.lang.String[] _optionsArray
Possible configurations.

Class jni.gui.JNIActorEditorFactory extends EditorFactory implements Serializable

Class jni.gui.JNICodeGenerator extends Attribute implements Serializable

Class jni.gui.JNICodeGeneratorGUI extends PtolemyFrame implements Serializable

Class jni.gui.JNICodeGeneratorGUIFactory extends EditorFactory implements Serializable


Package ptolemy.actor

Class ptolemy.actor.AtomicActor extends ComponentEntity implements Serializable

Serialized Fields

_actorFiringListeners

java.util.LinkedList<E> _actorFiringListeners
The list of ActorFiringListeners registered with this object. NOTE: Because of the way we synchronize on this object, it should never be reset to null after the first list is created.


_notifyingActorFiring

boolean _notifyingActorFiring
Flag that is true if there are actor firing listeners.


_stopRequested

boolean _stopRequested
Indicator that a stop has been requested by a call to stop().


_functionDependency

FunctionDependency _functionDependency
The function dependency, if it is present.


_receiversVersion

long _receiversVersion
Record of the workspace version the last time receivers were created.

Class ptolemy.actor.CompositeActor extends CompositeEntity implements Serializable

Serialized Fields

_actorFiringListeners

java.util.LinkedList<E> _actorFiringListeners
The list of ActorFiringListeners registered with this object. NOTE: Because of the way we synchronize on this object, it should never be reset to null after the first list is created.


_functionDependency

FunctionDependency _functionDependency
The function dependency, if it is present.


_notifyingActorFiring

boolean _notifyingActorFiring
Flag that is true if there are actor firing listeners.


_stopRequested

boolean _stopRequested
Indicator that a stop has been requested by a call to stop().


_director

Director _director

_inConnectionsChanged

boolean _inConnectionsChanged

_manager

Manager _manager

_receiversVersion

long _receiversVersion
Record of the workspace version the last time receivers were created.

Class ptolemy.actor.Director extends Attribute implements Serializable

Serialized Fields

timeResolution

SharedParameter timeResolution
The time precision used by this director. All time values are rounded to the nearest multiple of this number. This is a double that defaults to "1E-10" which is 10-10. This is a shared parameter, meaning that changing one instance in a model results in all instances being changed.


_actorsFinishedExecution

java.util.Set<E> _actorsFinishedExecution
Set of actors that have returned false from postfire(), indicating that they do not wish to be iterated again.


_currentTime

Time _currentTime
The current time of the model.


_stopRequested

boolean _stopRequested
Indicator that a stop has been requested by a call to stop().


_timeResolution

double _timeResolution
Time resolution cache, with a reasonable default value.

Class ptolemy.actor.InvariantViolationException extends IllegalActionException implements Serializable

Class ptolemy.actor.IOPort extends ComponentPort implements Serializable

Serialized Fields

_hasPortEventListeners

boolean _hasPortEventListeners
Flag that is true if there are port event listeners.


_portEventListeners

java.util.LinkedList<E> _portEventListeners
The list of IOPortEventLsteners registered with this object. NOTE: Because of the way we synchronize on this object, it should never be reset to null after the first list is created.


_isInput

boolean _isInput
Indicate whether the port is an input, an output, or both. The value may be overridden in transparent ports, in that if a transparent port is inside linked to an input or output port, then it will be considered an inside or output port respectively. This determination is cached, so we need variables to track the validity of the cache. 'transient' means that the variable will not be serialized.


_isOutput

boolean _isOutput

_isInputOutputStatusSet

boolean _isInputOutputStatusSet

_isMultiport

boolean _isMultiport

_localReceiversTable

java.util.HashMap<K,V> _localReceiversTable

Class ptolemy.actor.IORelation extends ComponentRelation implements Serializable

Serialized Fields

width

Parameter width
The width of this relation. This is an integer that defaults to one. Set it to zero to infer the width from that of ports to which this relation is linked on the inside.


_suppressWidthPropagation

boolean _suppressWidthPropagation

_width

int _width

Class ptolemy.actor.Manager extends NamedObj implements Serializable

Serialized Fields

_actorsToInitialize

java.util.List<E> _actorsToInitialize

_container

CompositeActor _container

_executionListeners

java.util.List<E> _executionListeners

_exitAfterWrapup

boolean _exitAfterWrapup

_finishRequested

boolean _finishRequested

_iterationCount

int _iterationCount

_nameToAnalysis

java.util.HashMap<K,V> _nameToAnalysis

_pauseRequested

boolean _pauseRequested

_resumeNotifyWaiting

boolean _resumeNotifyWaiting

_state

Manager.State _state

_thread

PtolemyThread _thread

_typesResolved

boolean _typesResolved

Class ptolemy.actor.NoRoomException extends KernelRuntimeException implements Serializable

Class ptolemy.actor.NoTokenException extends KernelRuntimeException implements Serializable

Class ptolemy.actor.TypeAttribute extends Parameter implements Serializable

Class ptolemy.actor.TypeConflictException extends KernelException implements Serializable

Serialized Fields

_inequalities

java.util.List<E> _inequalities

Class ptolemy.actor.TypedAtomicActor extends AtomicActor implements Serializable

Class ptolemy.actor.TypedCompositeActor extends CompositeActor implements Serializable

Class ptolemy.actor.TypedIOPort extends IOPort implements Serializable

Serialized Fields

_declaredType

Type _declaredType

_resolvedType

Type _resolvedType

_typeTerm

ptolemy.actor.TypedIOPort.TypeTerm _typeTerm

_typeListeners

java.util.List<E> _typeListeners

_constraints

java.util.List<E> _constraints

Class ptolemy.actor.TypedIORelation extends IORelation implements Serializable

Class ptolemy.actor.TypeOpaqueCompositeActor extends CompositeActor implements Serializable


Package ptolemy.actor.gt

Class ptolemy.actor.gt.ActorScopeExtender extends ScopeExtendingAttribute implements Serializable

Serialized Fields

_attributeList

java.util.List<E> _attributeList
Cache of the list of entities in the container.


_version

long _version
The workspace version the last time when _attributeList was updated.

Class ptolemy.actor.gt.AtomicActorMatcher extends TypedAtomicActor implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


_labelSet

java.util.Set<E> _labelSet
Cache of the label set.


_version

long _version
The workspace version the last time when _labelSet was updated.

Class ptolemy.actor.gt.CompositeActorMatcher extends TypedCompositeActor implements Serializable

Serialized Fields

criteria

GTIngredientsAttribute criteria
The attribute containing all the criteria in a list (GTIngredientList).


editorFactory

GTIngredientsEditor.Factory editorFactory
The editor factory for ingredients in this matcher.


operations

GTIngredientsAttribute operations
The attribute containing all the operations in a list (GTIngredientList).


patternObject

PatternObjectAttribute patternObject
The attribute that specifies the name of the corresponding entity in the pattern.


scopeExtender

ActorScopeExtender scopeExtender
The scope extender that expression evaluators use to resolve objects within this matcher.

Class ptolemy.actor.gt.Constraint extends ParameterAttribute implements Serializable

Class ptolemy.actor.gt.CriterionToken extends FakedRecordToken implements Serializable

Serialized Fields

_criterion

Criterion _criterion

Class ptolemy.actor.gt.DefaultDirectoryAttribute extends ParameterAttribute implements Serializable

Serialized Fields

directory

FileParameter directory

fileFilter

StringParameter fileFilter

subdirs

Parameter subdirs

Class ptolemy.actor.gt.DefaultModelAttribute extends ParameterAttribute implements Serializable

Class ptolemy.actor.gt.FakedRecordToken extends RecordToken implements Serializable

Serialized Fields

_emptySet

java.util.Set<E> _emptySet

_thisArray

FakedRecordToken[] _thisArray

Class ptolemy.actor.gt.FSMMatcher extends CompositeActorMatcher implements Serializable

Class ptolemy.actor.gt.GraphAnalyzer.IndexedList extends Pair<java.util.List<?>,java.lang.Integer> implements Serializable

Class ptolemy.actor.gt.GraphTransformationException extends KernelException implements Serializable

Class ptolemy.actor.gt.GTIngredientList extends java.util.LinkedList<GTIngredient> implements Serializable

Serialized Fields

_owner

GTIngredientsAttribute _owner

Class ptolemy.actor.gt.GTIngredientsAttribute extends StringAttribute implements Serializable

Serialized Fields

_parsed

boolean _parsed

_ruleList

GTIngredientList _ruleList

Class ptolemy.actor.gt.GTParameter extends Parameter implements Serializable

Class ptolemy.actor.gt.HierarchyFlatteningAttribute extends TransformationAttribute implements Serializable

Serialized Fields

parameter

Parameter parameter

Class ptolemy.actor.gt.MalformedStringException extends KernelException implements Serializable

Class ptolemy.actor.gt.ModelGenerator extends TypedAtomicActor implements Serializable

Serialized Fields

model

TypedIOPort model

modelName

TypedIOPort modelName

moml

TypedIOPort moml

_emptyModel

Entity _emptyModel

_parser

MoMLParser _parser

Class ptolemy.actor.gt.ModelView extends Sink implements Serializable

Serialized Fields

screenLocation

Parameter screenLocation

title

PortParameter title

_parser

MoMLParser _parser

_tableaus

Tableau[] _tableaus

Class ptolemy.actor.gt.NamedObjToken extends FakedRecordToken implements Serializable

Serialized Fields

_labelSet

java.util.Set<E> _labelSet

_object

NamedObj _object

_version

long _version

Class ptolemy.actor.gt.NamedObjVariable extends Variable implements Serializable

Serialized Fields

_setTokenWithContainer

boolean _setTokenWithContainer

Class ptolemy.actor.gt.ParameterAttribute extends TransformationAttribute implements Serializable

Serialized Fields

parameter

Parameter parameter

Class ptolemy.actor.gt.Pattern extends CompositeActorMatcher implements Serializable

Class ptolemy.actor.gt.PatternObjectAttribute extends StringAttribute implements Serializable

Class ptolemy.actor.gt.PortMatcher extends TypedIOPort implements Serializable

Serialized Fields

_criterion

PortCriterion _criterion

Class ptolemy.actor.gt.RelationCollapsingAttribute extends TransformationAttribute implements Serializable

Serialized Fields

parameter

Parameter parameter

Class ptolemy.actor.gt.RelationHidingAttribute extends TransformationAttribute implements Serializable

Serialized Fields

parameter

Parameter parameter

Class ptolemy.actor.gt.Replacement extends CompositeActorMatcher implements Serializable

Serialized Fields

patternParameter

Parameter patternParameter

Class ptolemy.actor.gt.ReplacementObjectAttribute extends StringAttribute implements Serializable

Class ptolemy.actor.gt.StateMatcher extends State implements Serializable

Class ptolemy.actor.gt.SubgraphMatchingException extends GraphTransformationException implements Serializable

Class ptolemy.actor.gt.TransformationAttribute extends Attribute implements Serializable

Class ptolemy.actor.gt.TransformationException extends KernelException implements Serializable

Class ptolemy.actor.gt.TransformationRule extends MultiCompositeActor implements Serializable

Serialized Fields

matchInput

TypedIOPort matchInput

matchOutput

TypedIOPort matchOutput

mode

StringParameter mode

modelInput

TypedIOPort modelInput

modelOutput

TypedIOPort modelOutput

modified

TypedIOPort modified

remaining

TypedIOPort remaining

repeatUntilFixpoint

Parameter repeatUntilFixpoint

trigger

TypedIOPort trigger

_collectAllMatches

boolean _collectAllMatches

_lastModel

CompositeEntity _lastModel

_lastResults

java.util.LinkedList<E> _lastResults

_lastResultsOperation

ptolemy.actor.gt.TransformationRule.LastResultsOperation _lastResultsOperation

_random

java.util.Random _random

Class ptolemy.actor.gt.TransformationRule.TransformationDirector extends Director implements Serializable

Class ptolemy.actor.gt.ValidationException extends KernelException implements Serializable


Package ptolemy.actor.gt.data

Class ptolemy.actor.gt.data.MatchResult extends TwoWayHashMap<java.lang.Object,java.lang.Object> implements Serializable

Serialized Fields

_keySequence

java.util.List<E> _keySequence

Class ptolemy.actor.gt.data.Pair extends Tuple<java.lang.Object> implements Serializable

Class ptolemy.actor.gt.data.Tuple extends java.util.LinkedList<E> implements Serializable

Class ptolemy.actor.gt.data.TwoWayHashMap extends java.util.HashMap<K,V> implements Serializable

Serialized Fields

_reverseMap

java.util.HashMap<K,V> _reverseMap

Package ptolemy.actor.gui

Class ptolemy.actor.gui.AbstractPlaceableActor extends TypedAtomicActor implements Serializable

Serialized Fields

_frame

javax.swing.JFrame _frame
The associated frame.


_paneSize

SizeAttribute _paneSize
A specification of the size of the pane if it's in its own window.


_windowProperties

WindowPropertiesAttribute _windowProperties
A specification for the window properties of the frame.

Class ptolemy.actor.gui.BrowserEffigy extends Effigy implements Serializable

Class ptolemy.actor.gui.BrowserEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.BrowserTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.BrowserTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ColorAttribute extends Parameter implements Serializable

Class ptolemy.actor.gui.Configuration extends CompositeEntity implements Serializable

Class ptolemy.actor.gui.ConfigurationEffigy extends PtolemyEffigy implements Serializable

Class ptolemy.actor.gui.Configurer extends javax.swing.JPanel implements Serializable

Serialized Fields

_closeListeners

java.util.List<E> _closeListeners

_object

NamedObj _object

_originalValues

java.util.HashMap<K,V> _originalValues

Class ptolemy.actor.gui.DebugListenerTableau extends Tableau implements Serializable

Serialized Fields

_debug

Debuggable _debug

Class ptolemy.actor.gui.DebugListenerTableau.DebugListenerFrame extends TextEditor implements Serializable

Class ptolemy.actor.gui.DependencyHighlighter extends NodeControllerFactory implements Serializable

Serialized Fields

highlightColor

ColorAttribute highlightColor
The highlight color.

Class ptolemy.actor.gui.DialogTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.EditorFactory extends Attribute implements Serializable

Class ptolemy.actor.gui.EditorPaneFactory extends Attribute implements Serializable

Class ptolemy.actor.gui.EditParametersDialog extends ComponentDialog implements Serializable

Serialized Fields

_owner

java.awt.Frame _owner
The owner window.


_query

Query _query
The query window for adding parameters.


_target

NamedObj _target
The target object whose parameters are being edited.

Class ptolemy.actor.gui.Effigy extends CompositeEntity implements Serializable

Serialized Fields

identifier

StringAttribute identifier
The identifier for the effigy. The default value is "Unnamed".


uri

URIAttribute uri
The URI for the effigy. The default value is null.


_factory

TableauFactory _factory

_isSystemEffigy

boolean _isSystemEffigy

_modified

boolean _modified
Indicator that the data represented in the window has been modified.


_modifiable

boolean _modifiable
Indicator that the URI must not be written to (if false).


_modifiableURI

boolean _modifiableURI
Indicator that the URI can be written to.

Class ptolemy.actor.gui.EffigyFactory extends CompositeEntity implements Serializable

Class ptolemy.actor.gui.ExpressionShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.ExpressionShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.ExpressionShellFrame extends TableauFrame implements Serializable

Class ptolemy.actor.gui.ExpressionShellTableau extends Tableau implements Serializable

Serialized Fields

frame

ExpressionShellFrame frame
The associated frame.


shell

ShellTextArea shell
The contained shell.


_evaluator

ParseTreeEvaluator _evaluator
The parameter used for evaluation.

Class ptolemy.actor.gui.ExpressionShellTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ExternalTextEffigy extends TextEffigy implements Serializable

Serialized Fields

_pathName

java.lang.String _pathName

_useContainerMoML

boolean _useContainerMoML

Class ptolemy.actor.gui.ExternalTextTableau extends TextEditorTableau implements Serializable

Class ptolemy.actor.gui.FileOrURLEditorFactory extends EditorFactory implements Serializable

Class ptolemy.actor.gui.HTMLEffigy extends Effigy implements Serializable

Class ptolemy.actor.gui.HTMLEffigyFactory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.HTMLViewer extends TableauFrame implements Serializable

Serialized Fields

pane

javax.swing.JEditorPane pane
The text pane.


_scroller

javax.swing.JScrollPane _scroller
The main scroll pane.


_base

java.net.URL _base
The base as specified by setBase().

Class ptolemy.actor.gui.HTMLViewerTableau extends Tableau implements Serializable

Serialized Fields

url

StringAttribute url
The URL to display.

Class ptolemy.actor.gui.HTMLViewerTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.InsideEntityEditorPaneFactory extends EditorPaneFactory implements Serializable

Class ptolemy.actor.gui.JVMTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.JVMTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.JVMTableau.JVMFrame extends PtolemyFrame implements Serializable

Class ptolemy.actor.gui.LevelSkippingTableauFactory extends TableauFactory implements Serializable

Serialized Fields

entityName

StringParameter entityName
The name of the contained entity to open, or an empty string to just open the first one found. This is a string that defaults to empty.

Class ptolemy.actor.gui.LocationAttribute extends Parameter implements Serializable

Class ptolemy.actor.gui.MatrixPane extends javax.swing.JScrollPane implements Serializable

Serialized Fields

table

javax.swing.JTable table
The table representing the matrix.

Class ptolemy.actor.gui.MatrixTokenTableau extends TokenTableau implements Serializable

Serialized Fields

_pane

MatrixPane _pane

Class ptolemy.actor.gui.MatrixTokenTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ModelDirectory extends CompositeEntity implements Serializable

Class ptolemy.actor.gui.ModelFrame extends PtolemyFrame implements Serializable

Serialized Fields

_pane

ModelPane _pane

_previousState

Manager.State _previousState

Class ptolemy.actor.gui.ModelPane extends javax.swing.JPanel implements Serializable

Serialized Fields

_displays

java.awt.Container _displays
A panel into which to place model displays.


_buttonPanel

javax.swing.JPanel _buttonPanel

_controlPanel

javax.swing.JPanel _controlPanel

_directorQuery

Configurer _directorQuery

_goButton

javax.swing.JButton _goButton

_layout

int _layout

_manager

Manager _manager

_model

CompositeActor _model

_parameterQuery

Configurer _parameterQuery

_stopButton

javax.swing.JButton _stopButton

_pauseButton

javax.swing.JButton _pauseButton

_resumeButton

javax.swing.JButton _resumeButton

_show

int _show

Class ptolemy.actor.gui.MoMLApplet extends PtolemyApplet implements Serializable

Serialized Fields

_fragment

java.lang.String _fragment
The fragment of the modelURL, if any. This field is set after _readMoMLAppletParameter() is called.


_modelURL

java.lang.String _modelURL
The modelURL. This field is set after _readMoMLAppletParameter() is called.

Class ptolemy.actor.gui.OpenInstanceDialog extends PtolemyDialog implements Serializable

Serialized Fields

_columnNames

java.util.ArrayList<E> _columnNames
List of names of columns that will be used for this target.


_parameters

java.util.List<E> _parameters
The target parameter list.


_parameterTable

javax.swing.JTable _parameterTable
Table of parameters.


_parameterTableModel

ptolemy.actor.gui.OpenInstanceDialog.ParametersTableModel _parameterTableModel
The table model.

Class ptolemy.actor.gui.PasswordAttribute extends StringParameter implements Serializable

Serialized Fields

_password

char[] _password

Class ptolemy.actor.gui.PlotEffigy extends Effigy implements Serializable

Serialized Fields

_plot

PlotBox _plot

Class ptolemy.actor.gui.PlotEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.PlotTableau extends Tableau implements Serializable

Serialized Fields

uri

URIAttribute uri
The URI to display.


_toRead

java.net.URL _toRead

Class ptolemy.actor.gui.PlotTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.PlotTableauFrame extends TableauFrame implements Serializable

Serialized Fields

plot

PlotBox plot
The plot object held by this frame.


_editMenu

javax.swing.JMenu _editMenu
Edit menu for this frame.


_specialMenu

javax.swing.JMenu _specialMenu
Special menu for this frame.


_directory

java.io.File _directory
Directory that contains the input file.


_file

java.io.File _file
The input file.

Class ptolemy.actor.gui.PortConfigurer extends Query implements Serializable

Serialized Fields

_cardinals

java.lang.String[] _cardinals
Deprecated. 

_changed

java.util.Set<E> _changed
Deprecated. 

_object

Entity _object
Deprecated. 

_optionsArray

java.lang.String[] _optionsArray
Deprecated. 

Class ptolemy.actor.gui.PortConfigurerDialog extends PtolemyDialog implements Serializable

Serialized Fields

_columnNames

java.util.ArrayList<E> _columnNames
List of names of columns that will be used for this target.


_hideAllPorts

boolean _hideAllPorts
When you click on the "Hide" column header, toggle this value.

See Also:
PortConfigurerDialog.PortTableModel.toggleHidePorts()

_portLocationComboBox

javax.swing.JComboBox _portLocationComboBox
The combination box used to select the location of a port.


_portTable

javax.swing.JTable _portTable

_portTableModel

ptolemy.actor.gui.PortConfigurerDialog.PortTableModel _portTableModel

_jth

javax.swing.table.JTableHeader _jth
JTableHeader of _portTable. MouseListener is added to this.


_ports

java.util.Vector<E> _ports

_selectedRow

int _selectedRow

_showAllNames

boolean _showAllNames
When you click on the "Show Name" column header, toggle this value.

See Also:
PortConfigurerDialog.PortTableModel.toggleShowAllNames()

_applyButton

javax.swing.JButton _applyButton
The various buttons.


Button

javax.swing.JButton Button
The various buttons.


_addButton

javax.swing.JButton _addButton
The various buttons.


_removeButton

javax.swing.JButton _removeButton
The various buttons.

Class ptolemy.actor.gui.PortConfigurerDialog.ValidatingComboBoxCellEditor extends javax.swing.DefaultCellEditor implements Serializable

Serialized Fields

_comboBox

javax.swing.JComboBox _comboBox
The combo box.


_oldValue

java.lang.Object _oldValue
Old value of the combo box.


_userWantsToEdit

boolean _userWantsToEdit
True if the user wants to edit after having an invalid selection.


_validator

ptolemy.actor.gui.PortConfigurerDialog.CellValidator _validator
Class that validates the cell.

Class ptolemy.actor.gui.PortConfigurerDialog.ValidatingJTextFieldCellEditor extends javax.swing.DefaultCellEditor implements Serializable

Serialized Fields

_jFormattedTextField

javax.swing.JFormattedTextField _jFormattedTextField
The JTextField.


_oldValue

java.lang.Object _oldValue
Old value of the JTextField.


_userWantsToEdit

boolean _userWantsToEdit
True if the user wants to edit after having an invalid selection.


_validator

ptolemy.actor.gui.PortConfigurerDialog.CellValidator _validator
Class that validates the cell.

Class ptolemy.actor.gui.PtolemyApplet extends BasicJApplet implements Serializable

Serialized Fields

_manager

Manager _manager
The manager, created in the init() method.


_setupOK

boolean _setupOK
Set this to false if the setup of the model during the init() method fails. This prevents the model from executing.


_toplevel

NamedObj _toplevel
The top-level composite actor, created in the init() method.


_workspace

Workspace _workspace
The workspace that the applet is built in. Each applet has it own workspace.


_goButton

javax.swing.JButton _goButton

_stopButton

javax.swing.JButton _stopButton

_previousState

Manager.State _previousState

Class ptolemy.actor.gui.PtolemyDialog extends javax.swing.JFrame implements Serializable

Serialized Fields

_configuration

Configuration _configuration
The configuration that corresponds with this dialog. The configuration is used to properly display the help text.


_helpButton

javax.swing.JButton _helpButton
The help button.


_cancelButton

javax.swing.JButton _cancelButton
The cancel button.


_contents

javax.swing.JComponent _contents

_dirty

boolean _dirty
The following is true if any of the values have been changed but not applied.


_dialogTableau

DialogTableau _dialogTableau

_owner

java.awt.Frame _owner

_target

Entity _target

Class ptolemy.actor.gui.PtolemyEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model

Class ptolemy.actor.gui.PtolemyEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.PtolemyEffigy.FactoryWithoutNew extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.PtolemyFrame extends TableauFrame implements Serializable

Serialized Fields

_model

NamedObj _model

_query

Query _query

Class ptolemy.actor.gui.PtolemyPreferences extends ScopeExtendingAttribute implements Serializable

Serialized Fields

backgroundColor

ColorAttribute backgroundColor
The background color.

Class ptolemy.actor.gui.PtolemyQuery extends Query implements Serializable

Serialized Fields

_dialog

ComponentDialog _dialog

_handler

NamedObj _handler

_ignoreChangeNotifications

boolean _ignoreChangeNotifications

_isOpenErrorWindow

boolean _isOpenErrorWindow

_attributes

java.util.Map<K,V> _attributes

_query

PtolemyQuery _query

_revertValue

java.util.Map<K,V> _revertValue

_savedErrorHandler

ErrorHandler _savedErrorHandler

_varToListOfEntries

java.util.Map<K,V> _varToListOfEntries

Class ptolemy.actor.gui.PtolemyTableauFactory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.RenameConfigurer extends Query implements Serializable

Serialized Fields

_changed

boolean _changed

_object

NamedObj _object

Class ptolemy.actor.gui.RenameDialog extends ComponentDialog implements Serializable

Class ptolemy.actor.gui.RunTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.RunTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.RunTableau.RunFrame extends ModelFrame implements Serializable

Serialized Fields

_debugMenu

javax.swing.JMenu _debugMenu
Debug menu for this frame.

Class ptolemy.actor.gui.RunTableau.TopFactory extends RunTableau.Factory implements Serializable

Class ptolemy.actor.gui.SizeAttribute extends Parameter implements Serializable

Serialized Fields

_listeningTo

java.awt.Component _listeningTo
The component we are listening to.

Class ptolemy.actor.gui.Tableau extends CompositeEntity implements Serializable

Serialized Fields

size

SizeAttribute size
A specification for the size of the frame.


_editable

boolean _editable
Flag indicating whether the tableau is editable.


_frame

javax.swing.JFrame _frame
The frame that the tableau is shown in.


_master

boolean _master
True if this tableau is a master tableau. Default value is false.


_title

java.lang.String _title
The title set by setTitle().

Class ptolemy.actor.gui.TableauFactory extends Attribute implements Serializable

Class ptolemy.actor.gui.TableauFrame extends Top implements Serializable

Serialized Fields

aboutFile

java.lang.String aboutFile
The name of the default file to open when About is invoked. This file should be relative to the home installation directory. This file is used if the configuration does not specify an about file.


helpFile

java.lang.String helpFile
The name of the default file to open when Help is invoked. This file should be relative to the home installation directory. This file is used if the configuration does not specify a help file.


_initialSaveAsFileName

java.lang.String _initialSaveAsFileName
The initial filename to use in the SaveAs dialog.


_viewMenu

javax.swing.JMenu _viewMenu
The view menu. Note that this is only created if there are multiple views, so if derived classes use it, they must test to see whether it is null.


_factoryContainer

TableauFactory _factoryContainer

_tableau

Tableau _tableau

_placeable

Placeable _placeable
Associated placeable.

Class ptolemy.actor.gui.TextEditor extends TableauFrame implements Serializable

Serialized Fields

text

javax.swing.JTextArea text
The text area.


_scrollPane

javax.swing.JScrollPane _scrollPane
The scroll pane containing the text area.

Class ptolemy.actor.gui.TextEditorTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.TextEditorTableau.Factory extends TableauFactory implements Serializable

Serialized Fields

_tableauConstructor

java.lang.reflect.Constructor<T> _tableauConstructor

_newTextEffigyText

java.lang.reflect.Method _newTextEffigyText

_newTextEffigyURL

java.lang.reflect.Method _newTextEffigyURL

Class ptolemy.actor.gui.TextEffigy extends Effigy implements Serializable

Serialized Fields

_doc

javax.swing.text.Document _doc

Class ptolemy.actor.gui.TextEffigy.Factory extends EffigyFactory implements Serializable

Serialized Fields

_newTextEffigyURL

java.lang.reflect.Method _newTextEffigyURL

Class ptolemy.actor.gui.TokenEffigy extends Effigy implements Serializable

Serialized Fields

_tokens

java.util.ArrayList<E> _tokens

_variable

Variable _variable

Class ptolemy.actor.gui.TokenEffigy.Factory extends EffigyFactory implements Serializable

Class ptolemy.actor.gui.TokenTableau extends Tableau implements Serializable

Serialized Fields

_editor

TextEditor _editor

Class ptolemy.actor.gui.TokenTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.WelcomeWindow extends HTMLViewer implements Serializable

Serialized Fields

_closePanel

javax.swing.JPanel _closePanel
The panel at the bottom that contains the "Show this dialog on startup" checkbox and the close button.


_showWelcomeWindowAtStartup

BooleanToken _showWelcomeWindowAtStartup
True if the welcome window is shown at startup.


_startupCheck

javax.swing.JCheckBox _startupCheck

_closeButton

javax.swing.JButton _closeButton

Class ptolemy.actor.gui.WelcomeWindowTableau extends HTMLViewerTableau implements Serializable

Class ptolemy.actor.gui.WindowPropertiesAttribute extends Parameter implements Serializable

Serialized Fields

_listeningTo

java.awt.Frame _listeningTo
The frame we are listening to.


Package ptolemy.actor.gui.style

Class ptolemy.actor.gui.style.CheckBoxStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.ChoiceStyle extends ParameterEditorStyle implements Serializable

Serialized Fields

_isEditable

boolean _isEditable
Whether or not the combobox is editable. EditableComboBox changes this to create an editable combo box. In this base class the value is false.

Class ptolemy.actor.gui.style.EditableChoiceStyle extends ChoiceStyle implements Serializable

Class ptolemy.actor.gui.style.FileChooserStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.LineStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.NotEditableLineStyle extends ParameterEditorStyle implements Serializable

Class ptolemy.actor.gui.style.ParameterEditorStyle extends Attribute implements Serializable

Class ptolemy.actor.gui.style.StyleConfigurer extends Query implements Serializable

Serialized Fields

_object

NamedObj _object

_originalExpertMode

boolean _originalExpertMode

_originalValues

java.util.Map<K,V> _originalValues

_parameterStyles

ParameterEditorStyle[] _parameterStyles

Class ptolemy.actor.gui.style.TextStyle extends ParameterEditorStyle implements Serializable

Serialized Fields

height

Parameter height
The height (in lines) of the text box. This is an integer that defaults to 10.


width

Parameter width
The width (in lines) of the text box. This is an integer that defaults to 30.


Package ptolemy.actor.gui.unit

Class ptolemy.actor.gui.unit.UnitConstraintsDialog extends PtolemyDialog implements Serializable

Serialized Fields

_addButton

javax.swing.JButton _addButton

_applyButton

javax.swing.JButton _applyButton

_commitButton

javax.swing.JButton _commitButton

_removeButton

javax.swing.JButton _removeButton

_rowSelectionListener

javax.swing.event.ListSelectionListener _rowSelectionListener

_unitsTable

javax.swing.JTable _unitsTable

_unitsTableModel

ptolemy.actor.gui.unit.UnitConstraintsDialog.UnitsTableModel _unitsTableModel

Class ptolemy.actor.gui.unit.UnitSolverDialog extends PtolemyDialog implements Serializable

Serialized Fields

_controller

GraphController _controller

_defaultSelectionRenderer

SelectionRenderer _defaultSelectionRenderer

_entities

java.util.Vector<E> _entities

_fullSolutionResult

javax.swing.JLabel _fullSolutionResult

_setToSelectedButton

javax.swing.JButton _setToSelectedButton

_showComponentsButton

javax.swing.JButton _showComponentsButton

_model

TypedCompositeActor _model

_selectionModel

SelectionModel _selectionModel

_graphModel

AbstractBasicGraphModel _graphModel

_relations

java.util.Vector<E> _relations

_selectionInteractor

SelectionInteractor _selectionInteractor

_solutions

java.util.Vector<E> _solutions

_solutionsList

javax.swing.JList _solutionsList

_solutionsListModel

UnitSolverDialog.SolutionListModel _solutionsListModel

_runMinimalSpanSolverButton

javax.swing.JButton _runMinimalSpanSolverButton

_runFullSolverButton

javax.swing.JButton _runFullSolverButton

_tableau

Tableau _tableau

_uConstraints

UnitConstraints _uConstraints

Class ptolemy.actor.gui.unit.UnitSolverDialog.SolutionListModel extends javax.swing.AbstractListModel implements Serializable

Serialized Fields

_solutions

java.util.Vector<E> _solutions

Package ptolemy.actor.lib

Class ptolemy.actor.lib.AbsoluteValue extends Transformer implements Serializable

Class ptolemy.actor.lib.Accumulator extends Transformer implements Serializable

Serialized Fields

lowerBound

Parameter lowerBound
The lower bound. If this is set, then its type must be the same as that of the init parameter, and the output will be constrained to never drop below the lower bound. By default, this is not set, so there is no lower bound.


init

Parameter init
The value produced by the actor on its first iteration. The default value of this parameter is the integer 0.


reset

TypedIOPort reset
If this port receives a True token on any channel, then the accumulator state will be reset to the initial value. This is a multiport and has type boolean.


upperBound

Parameter upperBound
The upper bound. If this is set, then its type must be the same as that of the init parameter, and the output will be constrained to never rise above the upper bound. By default, this is not set, so there is no upper bound.


_sum

Token _sum
The running sum.


_latestSum

Token _latestSum
The latest sum, prior to a state commit.

Class ptolemy.actor.lib.AddSubtract extends TypedAtomicActor implements Serializable

Serialized Fields

minus

TypedIOPort minus
Input for tokens to be subtracted. This is a multiport, and its type is inferred from the connections.


output

TypedIOPort output
Output port. The type is inferred from the connections.


plus

TypedIOPort plus
Input for tokens to be added. This is a multiport, and its type is inferred from the connections.

Class ptolemy.actor.lib.ArrayAppend extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayAverage extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayContains extends TypedAtomicActor implements Serializable

Serialized Fields

array

TypedIOPort array
Input array. The type of this port is at least an array of the type of the element port.


output

TypedIOPort output
Boolean output specifying whether the element is contained in the array.


element

PortParameter element
The element to test for presence in the array.

Class ptolemy.actor.lib.ArrayElement extends Transformer implements Serializable

Serialized Fields

index

PortParameter index
The index into the input array. This is an integer that defaults to 0, and is required to be less than or equal to the length of the input array. If the port is left unconnected, then the parameter value will be used.

Class ptolemy.actor.lib.ArrayElementAsMatrix extends Transformer implements Serializable

Serialized Fields

xOffset

PortParameter xOffset
The xOffset offset into the input array. This is an integer that defaults to 1. If the port is left unconnected, then the parameter value will be used.


yOffset

PortParameter yOffset
The yOffset offset into the input array. This is an integer that defaults to 1. If the port is left unconnected, then the parameter value will be used.


x

PortParameter x
The x index into the input array. This is an integer that defaults to 0. If the port is left unconnected, then the parameter value will be used.


y

PortParameter y
The y index into the input array. This is an integer that defaults to 0. If the port is left unconnected, then the parameter value will be used.

Class ptolemy.actor.lib.ArrayExtract extends Transformer implements Serializable

Serialized Fields

sourcePosition

PortParameter sourcePosition
The index into the input array at which to start copying. This is a non-negative integer that defaults to 0, and is required to be less than the length of the input array.


extractLength

PortParameter extractLength
The length of the segment of the input array that is copied to the output. This is a non-negative integer that defaults to 1. The sum of it and the sourcePosition is required to be less than or equal to the length of the input array.


destinationPosition

PortParameter destinationPosition
The index into the output array at which to start copying. This is a non-negative integer that defaults to 0, and is required to be less than the length of the output array.


outputArrayLength

PortParameter outputArrayLength
The total length of the output array. This is a non-negative integer that defaults to 1. It is required to be at least destinationPosition plus extractLength.

Class ptolemy.actor.lib.ArrayLength extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayLevelCrossing extends TypedAtomicActor implements Serializable

Serialized Fields

above

Parameter above
An indicator of whether to look for values above or below the specified threshold. This is a boolean that defaults to false, which specifies to find values below the threshold.


array

TypedIOPort array
The array to search for a threshold crossing. This has type {double}.


forwards

Parameter forwards
The direction to search from the start. If true, search forwards. Otherwise, search backwards. This is a boolean that defaults to true.


output

TypedIOPort output
The output port producing the index of the first bin to break the threshold. This has type int.


scale

StringParameter scale
An indicator of whether threshold should be interpreted as absolute or relative, and if relative, then on a linear scale, in amplitude decibels, or power decibels. If decibels are used, then the corresponding linear threshold is 10^(threshold/N), where N is 20 (for amplitude decibels) or 10 (for power decibels). This parameter is a string with possible values "absolute", "relative linear", "relative amplitude decibels" or "relative power decibels". The default value is "absolute".


start

PortParameter start
The index from which to start looking for a threshold crossing. This is an integer that defaults to 0.


threshold

Parameter threshold
The threshold to look for. This is a double that can be interpreted on an absolute or relative scale, and if relative, on a linear or decibel scale, depending on the scale parameter. It defaults to 0.0.

Class ptolemy.actor.lib.ArrayMaximum extends Transformer implements Serializable

Serialized Fields

index

TypedIOPort index
The port producing the index of the largest element. This is port has type int.

Class ptolemy.actor.lib.ArrayMinimum extends Transformer implements Serializable

Serialized Fields

index

TypedIOPort index
The port producing the index of the largest element. This is port has type int.

Class ptolemy.actor.lib.ArrayPeakSearch extends TypedAtomicActor implements Serializable

Serialized Fields

dip

Parameter dip
The amount that the signal must drop below a local maximum before a peak is detected. This is a double that can be interpreted as an absolute threshold or relative to the local peak, and if relative, on a linear or decibel scale, depending on the scale parameter. It defaults to 0.0.


endIndex

PortParameter endIndex
The end point of the search. If this number is larger than the length of the input array, then the search is to the end of the array. This is an integer that defaults to MaxInt.


input

TypedIOPort input
The input port. This is required to be an array of doubles


maximumNumberOfPeaks

Parameter maximumNumberOfPeaks
The maximum number of peaks to report. This is an integer that defaults to MaxInt.


peakIndices

TypedIOPort peakIndices
The output port for the indices of the peaks. The type is {int} (array of int).


peakValues

TypedIOPort peakValues
The output port for the values of the peaks. The type is the same as the input port.


scale

StringParameter scale
An indicator of whether dip and squelch should be interpreted as absolute or relative, and if relative, then on a linear scale, in amplitude decibels, or power decibels. If decibels are used, then the corresponding linear threshold is 10^(threshold/N), where N is 20 (for amplitude decibels) or 10 (for power decibels). This parameter is a string with possible values "absolute", "relative linear", "relative amplitude decibels" or "relative power decibels". The default value is "absolute".


squelch

Parameter squelch
The value below which the input is ignored by the algorithm. This is a double that can be interpreted as an absolute number or a relative number, and if relative, on a linear or decibel scale, depending on the scale parameter. For the relative case, the number is relative to the global peak. It defaults to -10.0.


startIndex

PortParameter startIndex
The starting point of the search. If this number is larger than the value of endIndex, the search is conducted backwards (and the results presented in reverse order). If this number is larger than the length of the input array, then the search is started at the end of the input array. This is an integer that defaults to 0.

Class ptolemy.actor.lib.ArrayRemoveElement extends TypedAtomicActor implements Serializable

Serialized Fields

array

TypedIOPort array
Input array. The type of this port is at least an array of the type of the element port.


output

TypedIOPort output
The resulting output array. Note that the output will be a new array with the same type as the input array.


element

PortParameter element
The element to be removed.

Class ptolemy.actor.lib.ArraySort extends Transformer implements Serializable

Serialized Fields

allowDuplicates

Parameter allowDuplicates
Tells the actor whether or not to remove duplicate elements. This is a boolean that defaults to true.


ascending

Parameter ascending
The sort order attribute. This tells the actor whether to sort the elements in ascending or descending order. It is a boolean that defaults to true, which means ascending order.

Class ptolemy.actor.lib.ArraySum extends Transformer implements Serializable

Class ptolemy.actor.lib.ArrayToElements extends Transformer implements Serializable

Class ptolemy.actor.lib.Average extends Transformer implements Serializable

Serialized Fields

reset

TypedIOPort reset
The reset port of type BooleanToken. If this input port receives a True token, then the averaging process will be reset.


_sum

Token _sum

_latestSum

Token _latestSum

_count

int _count

_latestCount

int _latestCount

Class ptolemy.actor.lib.Bernoulli extends RandomSource implements Serializable

Serialized Fields

trueProbability

Parameter trueProbability
The probability of true. This parameter contains a DoubleToken, initially with value 0.5.


_current

boolean _current
The random boolean for the current iteration.

Class ptolemy.actor.lib.BooleanMultiplexor extends TypedAtomicActor implements Serializable

Serialized Fields

trueInput

TypedIOPort trueInput
Input for tokens on the true path. The type can be anything.


falseInput

TypedIOPort falseInput
Input for tokens on the false path. The type can be anything.


select

TypedIOPort select
Input that selects one of the other input ports. The type is BooleanToken.


output

TypedIOPort output
The output port. The type is at least the type of trueInput and falseInput

Class ptolemy.actor.lib.BooleanSelect extends TypedAtomicActor implements Serializable

Serialized Fields

trueInput

TypedIOPort trueInput
Input for tokens on the true path. The type can be anything.


falseInput

TypedIOPort falseInput
Input for tokens on the false path. The type can be anything.


control

TypedIOPort control
Input that selects one of the other input ports. The type is BooleanToken.


output

TypedIOPort output
The output port. The type is at least the type of trueInput and falseInput


_control

boolean _control

Class ptolemy.actor.lib.BooleanSwitch extends TypedAtomicActor implements Serializable

Serialized Fields

control

TypedIOPort control
Input that selects one of the other input ports. The type is BooleanToken.


input

TypedIOPort input
The input port. The type can be anything.


trueOutput

TypedIOPort trueOutput
Output for tokens on the true path. The type is at least the type of the input.


falseOutput

TypedIOPort falseOutput
Output for tokens on the false path. The type is at least the type of the input.


_control

boolean _control

Class ptolemy.actor.lib.BusAssembler extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The input port.


_outputWidth

int _outputWidth

Class ptolemy.actor.lib.BusDisassembler extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port.

Class ptolemy.actor.lib.ClassWrapper extends TypedAtomicActor implements Serializable

Serialized Fields

className

StringAttribute className
The name of the Java class.


_methodTable

java.util.Hashtable<K,V> _methodTable

_instance

java.lang.Object _instance

_class

java.lang.Class<T> _class

Class ptolemy.actor.lib.Clock extends TimedSource implements Serializable

Serialized Fields

numberOfCycles

Parameter numberOfCycles
The number of cycles to produce, or UNBOUNDED to specify no limit. This is an integer with default UNBOUNDED.


offsets

Parameter offsets
The offsets at which the specified values will be produced. This parameter must contain an array of doubles, and it defaults to {0.0, 1.0}.


period

PortParameter period
The period of the output waveform. This is a double that defaults to 2.0.


values

Parameter values
The values that will be produced at the specified offsets. This parameter must contain an ArrayToken, and it defaults to {1, 0}

Class ptolemy.actor.lib.CodegenActor extends EmbeddedCActor implements Serializable

Class ptolemy.actor.lib.Commutator extends Transformer implements Serializable

Serialized Fields

blockSize

Parameter blockSize
The number of tokens read from each input channel on each firing. This is an integer that defaults to 1.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The parameter controlling the input port consumption rate. This parameter contains an IntToken, initially with a value of 1.


output_tokenProductionRate

Parameter output_tokenProductionRate
The parameter controlling the output port production rate. This parameter contains an IntToken, initially with a value of 0. When connections are made and/or the blockSize parameter is set, this is changed to the width of the input times the value of the blockSize parameter.


_currentInputPosition

int _currentInputPosition

_tentativeInputPosition

int _tentativeInputPosition

Class ptolemy.actor.lib.ComputeHistogram extends TypedAtomicActor implements Serializable

Serialized Fields

minimumValue

Parameter minimumValue
The lowest value that will be recorded in the histogram. This parameter has type double, with default value 0.0.


maximumValue

Parameter maximumValue
The highest value that will be recorded in the histogram. This parameter has type double, with default value 1.0.


numberOfBins

Parameter numberOfBins
The number of bins. This parameter has type int, with default value 10.


inputCount

PortParameter inputCount
The number of tokens to compute the histogram for.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The parameter that determines the consumption rate of the input.


input

TypedIOPort input
The input port of type double.


output

TypedIOPort output
The input port of type array of integer.


_bins

int[] _bins

_minimumValue

double _minimumValue

_maximumValue

double _maximumValue

_binWidth

double _binWidth

_numberOfBins

int _numberOfBins

Class ptolemy.actor.lib.Const extends LimitedFiringSource implements Serializable

Serialized Fields

value

Parameter value
The value produced by this constant source. By default, it contains an IntToken with value 1. If the type of this token is changed during the execution of a model, then the director will be asked to redo type resolution.

Class ptolemy.actor.lib.Counter extends TypedAtomicActor implements Serializable

Serialized Fields

increment

TypedIOPort increment
The increment port. If this input port receives a token, then the counter is incremented. The port has type general.


decrement

TypedIOPort decrement
The decrement port. If this input port receives a token, then the counter is decremented. The port has type general.


output

TypedIOPort output
The output port with type IntToken.


_count

int _count

_latestCount

int _latestCount

_consumed

boolean _consumed

Class ptolemy.actor.lib.CurrentTime extends TimedSource implements Serializable

Class ptolemy.actor.lib.DB extends Transformer implements Serializable

Serialized Fields

inputIsPower

Parameter inputIsPower
If the input is proportional to power, then set this to true. This must be a boolean, and defaults to false.


min

Parameter min
The minimum value of the output. This is a double, and defaults to -100.0.


_resultArray

DoubleToken[] _resultArray

Class ptolemy.actor.lib.DelayStart extends TypedAtomicActor implements Serializable

Serialized Fields

startTime

StringParameter startTime
The start time. FIXME: Spec. This is a string that defaults to FIXME

Class ptolemy.actor.lib.Differential extends Transformer implements Serializable

Serialized Fields

_currentInput

Token _currentInput

_lastInput

Token _lastInput

Class ptolemy.actor.lib.Discard extends Sink implements Serializable

Class ptolemy.actor.lib.DiscreteRandomSource extends RandomSource implements Serializable

Serialized Fields

pmf

Parameter pmf
The probability mass function. This parameter contains an array of doubles, with default value {0.5, 0.5}.


values

Parameter values
The values to be sent to the output. This parameter contains an ArrayToken, initially with value {0, 1} (an int array).


_current

Token _current
Random value calculated in prefire().

Class ptolemy.actor.lib.Distributor extends Transformer implements Serializable

Serialized Fields

blockSize

Parameter blockSize
The number of tokens produced on each output channel on each firing. This is an integer with default value 0.


input_tokenConsumptionRate

Parameter input_tokenConsumptionRate
The parameter controlling the input port consumption rate. This is an integer, initially with value 0. Whenever a connection is made to the output, the value of this parameter is changed to equal the width of the output times the blockSize parameter.


output_tokenProductionRate

Parameter output_tokenProductionRate
The parameter specifying the output port production rate. This is an integer, equal to the value of blockSize.


_currentOutputPosition

int _currentOutputPosition

_tentativeOutputPosition

int _tentativeOutputPosition

Class ptolemy.actor.lib.DoubleReader extends URLReader implements Serializable

Serialized Fields

_data

double[] _data
Deprecated. 

_dataSize

int _dataSize
Deprecated. 

Class ptolemy.actor.lib.ElementsToArray extends Transformer implements Serializable

Class ptolemy.actor.lib.Exec extends TypedAtomicActor implements Serializable

Serialized Fields

command

PortParameter command
The command to be executed. The command is parsed by StringUtilities.tokenizeForExec(String) into tokens and then executed as a separate subprocess. The initial default value is the string echo "Hello, world.".

The command parameter is read only once during fire(). If you want to spawn another different command, use life cycle management actors such RunCompositeActor.


directory

FileParameter directory
The directory in which to execute the command. This parameter is read each time the subprocess is started in fire(). Once the subprocess is running, this parameter is not read again until fire() is called again.

The initial default value of this parameter $CWD, which corresponds with the value of the Java virtual machine user.dir property which is the user's current working directory. Note that if we are running inside a menu launched application, then ptolemy.actor.gui.jnlp.MenuApplication will change user.dir to be the value of user.home, which is the name of the user's home directory.


environment

Parameter environment
The environment in which to execute the command. This parameter is read each time the subprocess is started in fire(). Once the subprocess is running, this parameter is not read again until fire() is called again.

This parameter is an array of records that name an environment variable and the value for the value. The format is:

  {{name = "NAME1", value = "value1"}...}
  
Where NAME1 is the name of the environment variable, and value1 is the value.

For example {{name = "PTII", value = "c:/ptII"}} would set the value of the PTII to c:/ptII.

If the initial value of the parameter is {{name="", value = ""}}, then the environment from the calling or parent process is used in the new command.

Note that if this parameter sets any environment variable, then under Windows the other environment variables in the calling or parent process might not be passed to the subprocess. This behaviour could be platform or JVM dependent. When in doubt, try setting the command value to "env" to print out the environment.


error

TypedIOPort error
Data that is generated by the subprocess on its standard error. While the process is running, any error data generated by the subprocess is stored until the subprocess exits and then the stored error data is sent to the error port. If the subprocess generates no data on standard error, then the empty string (a string of length zero) is generated. This port is an output port of type String.


input

TypedIOPort input
Strings to pass to the standard input of the subprocess. Note that a newline is not appended to the string. If you require a newline, add one using the AddSubtract actor. This port is an input port of type String.


output

TypedIOPort output
Data that is generated by the subprocess on standard out. While the process is running, any output data generated by the subprocess is stored until the subprocess exits and then the stored output data is sent to the output port. If the subprocess generates no data on standard out, then the empty string (a string of length zero) is generated. This port is an output port of type String.


throwExceptionOnNonZeroReturn

Parameter throwExceptionOnNonZeroReturn
If true, then throw an exception if the subprocess returns non-zero. The default is a boolean of value true.


_inputBufferedWriter

java.io.BufferedWriter _inputBufferedWriter

_errorGobbler

ptolemy.actor.lib.Exec._StreamReaderThread _errorGobbler

_outputGobbler

ptolemy.actor.lib.Exec._StreamReaderThread _outputGobbler

_process

java.lang.Process _process

_stopFireRequested

boolean _stopFireRequested

Class ptolemy.actor.lib.Exit extends Sink implements Serializable

Class ptolemy.actor.lib.Expression extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port.


expression

StringAttribute expression
The expression that is evaluated to produce the output.


_iterationCount

int _iterationCount

_parseTree

ASTPtRootNode _parseTree

_parseTreeEvaluator

ParseTreeEvaluator _parseTreeEvaluator

_scope

ptolemy.actor.lib.Expression.VariableScope _scope

_tokenMap

java.util.Map<K,V> _tokenMap

Class ptolemy.actor.lib.FileWriter extends Writer implements Serializable

Serialized Fields

filename

Parameter filename
Deprecated. 
The name of the file to write to. This parameter contains a StringToken. By default, it contains an empty string, which is interpreted to mean that output should be directed to the standard output.

Class ptolemy.actor.lib.Gaussian extends RandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
The mean of the random number. This has type double, initially with value 0.


standardDeviation

PortParameter standardDeviation
The standard deviation of the random number. This has type double, initially with value 1.


_current

double _current
The random number for the current iteration.

Class ptolemy.actor.lib.GradientAdaptiveLattice extends Lattice implements Serializable

Serialized Fields

adaptedReflectionCoefficients

TypedIOPort adaptedReflectionCoefficients
The output port that produces the current reflection coefficients. The port is of type array of double.


timeConstant

Parameter timeConstant
The time constant of the filter, which determines how fast the filter adapts. The default value of this parameter is 1.0.


_alpha

double _alpha

_oneMinusAlpha

double _oneMinusAlpha

_estimatedErrorPower

double[] _estimatedErrorPower

_estimatedErrorPowerCache

double[] _estimatedErrorPowerCache

_reflectionCoefficientsCache

double[] _reflectionCoefficientsCache

Class ptolemy.actor.lib.IIR extends Transformer implements Serializable

Serialized Fields

numerator

Parameter numerator
This parameter represents the numerator coefficients as an array of tokens. The format is {b0, b1, ..., bM}. The default value of this parameter is {1.0}.


denominator

Parameter denominator
This parameter represents the denominator coefficients as an array of a tokens. The format is {a0, a1, ..., aN}. Note that the value of a0 is constrained to be 1.0. This implementation will issue a warning if it is not. The default value of this parameter is {1.0}.


_numerator

Token[] _numerator

_denominator

Token[] _denominator

_stateVector

Token[] _stateVector

_currentTap

int _currentTap

_latestWindow

Token _latestWindow

Class ptolemy.actor.lib.Interpolator extends SequenceSource implements Serializable

Serialized Fields

indexes

Parameter indexes
The indexes at which the specified values will be produced. This parameter is an array of integers, with default value {0, 1}.


order

Parameter order
The order of interpolation for non-index iterations. This parameter must contain an IntToken.


period

Parameter period
The period of the reference values. This parameter must contain an IntToken.


values

Parameter values
The values that will be produced at the specified indexes. This parameter is an array, with default value {1.0, 0.0}.


_iterationCount

int _iterationCount

_interpolation

Interpolation _interpolation

Class ptolemy.actor.lib.Lattice extends Transformer implements Serializable

Serialized Fields

reflectionCoefficients

Parameter reflectionCoefficients
The reflection coefficients. This is an array of doubles with default value {0.804534, -0.820577, 0.521934, -0.205}. These are the reflection coefficients for the linear predictor of a particular random process.


_order

int _order
The order of the filter (i.e. the number of reflection coefficients)


_backward

double[] _backward
Backward prediction errors. The length is _order.


_backwardCache

double[] _backwardCache
Cache of backward prediction errors. The fire() method updates _forwardCache and postfire() copies _forwardCache to _forward so this actor will work in domains like SR. The length is _order.


_forward

double[] _forward
Forward prediction errors. The length is _order + 1.


_forwardCache

double[] _forwardCache
Cache of forward prediction errors. The fire() method updates _forwardCache and postfire() copies _forwardCache to _forward so this actor will work in domains like SR. The length is _order + 1.


_reflectionCoefficients

double[] _reflectionCoefficients
Cache of reflection coefficients. The length is _order.

Class ptolemy.actor.lib.LevinsonDurbin extends TypedAtomicActor implements Serializable

Serialized Fields

autocorrelation

TypedIOPort autocorrelation
The autocorrelation input, which is an array.


errorPower

TypedIOPort errorPower
The output for the error power, as a function of the predictor order. This produces an array.


linearPredictor

TypedIOPort linearPredictor
The output for linear predictor coefficients. This produces an array.


reflectionCoefficients

TypedIOPort reflectionCoefficients
The output for lattice filter coefficients for a prediction error filter. This produces an array.

Class ptolemy.actor.lib.LimitedFiringSource extends Source implements Serializable

Serialized Fields

firingCountLimit

Parameter firingCountLimit
If a positive integer, then the number of iterations before the actor indicates to the scheduler that it is finished by returning false in its postfire() method.


_firingCountLimit

int _firingCountLimit
This is the value in parameter firingCountLimit. It may be convenient for derived classes to read this variable in the iterate() method.


_iterationCount

int _iterationCount
The current number of elapsed iterations. It may be convenient for derived classes to read/set this variable in the iterate() method.

Class ptolemy.actor.lib.Limiter extends Transformer implements Serializable

Serialized Fields

bottom

Parameter bottom
The bottom of the limiting range. This is a scalar with default value 0.0.


top

Parameter top
The top of the limiting range. This is a scalar with default value 1.0.

Class ptolemy.actor.lib.LinearDifferenceEquationSystem extends Transformer implements Serializable

Serialized Fields

state

TypedIOPort state
Output port that produces DoubleMatrixToken of dimension r x 1 (see class comment).


A

Parameter A
The A matrix in the state-space representation. It must be a square matrix. The default value is [[1.0]].


B

Parameter B
The B matrix in the state-space representation. The number of rows must be equal to the number of rows of the A matrix. The number of columns must be equal to the number of rows in the input token. The default value is [[1.0]].


C

Parameter C
The C matrix in the state-space representation. The number of columns must be equal to the number of columns of the A matrix. The number of rows must be equal to the number of columns in the output token. The default value is [[0.0]].


D

Parameter D
The D matrix in the state-space representation. The number of columns must be equal to the number of rows in the input token (a DoubleMatrixToken of dimension m x 1. The number of rows must be equal to the number of columns in the output token (a DoubleMatrixToken of dimension r x 1. The default value is [[0.0]].


initialStates

Parameter initialStates
The initial condition for the state variables. This must be a column vector (double matrix with only one column) whose length is equal to the number of state variables. The default value is [0.0]. NOTE: Changes to this parameter will be * applied at the next time when fire() is called.


_x

Token _x

_xPrime

Token _xPrime

_initialStateChanged

boolean _initialStateChanged

_singleOutput

boolean _singleOutput

_singleState

boolean _singleState

Class ptolemy.actor.lib.LookupTable extends Transformer implements Serializable

Serialized Fields

table

Parameter table
The table array that we look up elements in. This parameter is an array with default value {0, 1}.

Class ptolemy.actor.lib.MathFunction extends TypedAtomicActor implements Serializable

Serialized Fields

function

StringParameter function
Deprecated. 
The function to compute. This is a string-valued attribute that defaults to "exp".


firstOperand

TypedIOPort firstOperand
Deprecated. 
The port for the first operand. The port has type BaseType.DOUBLE


secondOperand

TypedIOPort secondOperand
Deprecated. 
The port for the second operand, if it is needed. The port has type BaseType.DOUBLE


output

TypedIOPort output
Deprecated. 
Output port. The port has type BaseType.DOUBLE


_resultArray

DoubleToken[] _resultArray
Deprecated. 

_function

int _function
Deprecated. 

Class ptolemy.actor.lib.Maximum extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the maximumValue output.


maximumValue

TypedIOPort maximumValue
The output port for the maximum value. The type of this output is constrained to be at most a scalar.


channelNumber

TypedIOPort channelNumber
The output port for the channel number. The type of this output is an integer.

Class ptolemy.actor.lib.MaxIndex extends Transformer implements Serializable

Class ptolemy.actor.lib.Minimum extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the minimumValue output.


minimumValue

TypedIOPort minimumValue
The output port for the minimum value. The type of this output is constrained to be at most a scalar.


channelNumber

TypedIOPort channelNumber
The output port for the channel number. The type of this output is an integer.

Class ptolemy.actor.lib.MonitorValue extends Sink implements Serializable

Serialized Fields

value

Parameter value
The most recently seen input value. This parameter has the same type as the input.

Class ptolemy.actor.lib.MovingAverage extends Transformer implements Serializable

Serialized Fields

maxPastInputsToAverage

Parameter maxPastInputsToAverage
The maximum number of past inputs to average. This is an integer that defaults to 10.


_data

Token[] _data
The delay line.


_mostRecent

int _mostRecent
The index into the delay line of the most recent input.


_count

int _count
Count of the number of inputs received, bounded by the size of the _data array.


_maxPastInputsToAverage

int _maxPastInputsToAverage
Maximum number of past inputs to average.


_reinitializeNeeded

boolean _reinitializeNeeded
Indicator that at least an attribute has been changed since the last initialization.


_factor

DoubleToken _factor
The factor by which to multiply the sum of the past inputs.

Class ptolemy.actor.lib.Multiplexor extends Transformer implements Serializable

Serialized Fields

select

TypedIOPort select
Input for the index of the port to select. The type is IntToken.


_channel

int _channel
The most recently read select input.

Class ptolemy.actor.lib.MultiplyDivide extends TypedAtomicActor implements Serializable

Serialized Fields

divide

TypedIOPort divide
Input for tokens to be divided. This is a multiport, and its type is inferred from the connections.


output

TypedIOPort output
Output port. The type is inferred from the connections.


multiply

TypedIOPort multiply
Input for tokens to be multiplied. This is a multiport, and its type is inferred from the connections.

Class ptolemy.actor.lib.NonStrictTest extends Sink implements Serializable

Serialized Fields

correctValues

Parameter correctValues
A matrix specifying what the input should be. This defaults to a one-by-one array containing a boolean true.


tolerance

Parameter tolerance
A double specifying how close the input has to be to the value given by correctValues. This is a DoubleToken, with default value 10-9.


trainingMode

SharedParameter trainingMode
If true, then do not check inputs, but rather collect them into the correctValues array. This parameter is a boolean, and it defaults to false. It is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


_numberOfInputTokensSeen

int _numberOfInputTokensSeen
Number of input tokens seen by this actor in the fire method.


_tolerance

double _tolerance
A double that is read from the tolerance parameter specifying how close the input has to be to the value given by correctValues. This is a double, with default value 10-9.


_iteration

int _iteration
Count of iterations.


_trainingTokens

java.util.List<E> _trainingTokens
List to store tokens for training mode.


_firedOnce

boolean _firedOnce
Set to true if fire() is called once. If fire() is not called at least once, then throw an exception in wrapup().


_initialized

boolean _initialized
Set to true when initialized() is called.

Class ptolemy.actor.lib.OrderedMerge extends TypedAtomicActor implements Serializable

Serialized Fields

inputA

TypedIOPort inputA
The first input port, which accepts any scalar token.


inputB

TypedIOPort inputB
The second input port, which accepts any scalar token with the same type as the first input port.


output

TypedIOPort output
The output port, which has the same type as the input ports.


selectedA

TypedIOPort selectedA
Output port indicating whether the output token came from inputA.


_recordedToken

ScalarToken _recordedToken
The recorded token.


_nextPort

TypedIOPort _nextPort
The port from which to read next.


_readFromA

boolean _readFromA
Indicator of whether the _recordedToken was read from A.


_tentativeReadFromA

boolean _tentativeReadFromA
Tentative indicator of having read from A.


_tentativeRecordedToken

ScalarToken _tentativeRecordedToken
The tentative recorded token.


_tentativeNextPort

TypedIOPort _tentativeNextPort
The tentative port from which to read next.

Class ptolemy.actor.lib.PhaseUnwrap extends Transformer implements Serializable

Serialized Fields

_previousPhaseInput

double _previousPhaseInput

_tempPreviousPhaseInput

double _tempPreviousPhaseInput

_previousPhaseOutput

double _previousPhaseOutput

_tempPreviousPhaseOutput

double _tempPreviousPhaseOutput

Class ptolemy.actor.lib.PoissonClock extends TimedSource implements Serializable

Serialized Fields

fireAtStart

Parameter fireAtStart
If true, then this actor will request a firing at the start time. Otherwise, the first firing will be requested at the first random time. This is a boolean-valued parameter that defaults to true.


meanTime

Parameter meanTime
The mean time between events, where the output value transitions. This parameter must contain a DoubleToken.


values

Parameter values
The values that will be produced at the output. This parameter can contain any ArrayToken, and it defaults to {1, 0}.

Class ptolemy.actor.lib.Publisher extends TypedAtomicActor implements Serializable

Serialized Fields

channel

StringParameter channel
The name of the channel. Subscribers that reference this same channel will receive any transmissions to this port. This is a string that defaults to "channelX", where X is an integer that ensures that this channel name does not collide with a channel name already in use by another publisher.


input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the output.


output

TypedIOPort output
The output port. By default, the type of this output is constrained to be at least that of the input. This port is hidden by default and the actor handles creating connections to it.


_channel

java.lang.String _channel
Cached channel name.


_relation

TypedIORelation _relation
The relation used to link to subscribers.


_updatedLinks

boolean _updatedLinks
An indicator that _updateLinks has been called at least once.


_inConnectionsChanged

boolean _inConnectionsChanged
An indicator that connectionsChanged() has been called.


_running

boolean _running
Indicator that preinitialize has been called and not wrapup.

Class ptolemy.actor.lib.PublisherNonStrictTest extends Publisher implements Serializable

Serialized Fields

correctValues

Parameter correctValues
A matrix specifying what the input should be. This defaults to a one-by-one array containing a boolean true.


tolerance

Parameter tolerance
A double specifying how close the input has to be to the value given by correctValues. This is a DoubleToken, with default value 10-9.


trainingMode

SharedParameter trainingMode
If true, then do not check inputs, but rather collect them into the correctValues array. This parameter is a boolean, and it defaults to false. It is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


_firedOnce

boolean _firedOnce
Set to true if fire() is called once. If fire() is not called at least once, then throw an exception in wrapup().


_initialized

boolean _initialized
Set to true when initialized() is called.


_iteration

int _iteration
Count of iterations.


_numberOfInputTokensSeen

int _numberOfInputTokensSeen
Number of input tokens seen by this actor in the fire method.


_tolerance

double _tolerance
A double that is read from the tolerance parameter specifying how close the input has to be to the value given by correctValues. This is a double, with default value 10-9.


_trainingTokens

java.util.List<E> _trainingTokens
List to store tokens for training mode.

Class ptolemy.actor.lib.PublisherTest extends PublisherNonStrictTest implements Serializable

Class ptolemy.actor.lib.Pulse extends SequenceSource implements Serializable

Serialized Fields

indexes

Parameter indexes
The indexes at which the specified values will be produced. This parameter is an array of integers, with default value {0, 1}.


repeat

Parameter repeat
The flag that indicates whether the pulse sequence needs to be repeated. This is a boolean, and defaults to false.


values

Parameter values
The values that will be produced at the specified indexes. This parameter is an array, with default value {1, 0}.


_iterationCount

int _iterationCount

_indexColCount

int _indexColCount

_zero

Token _zero

_match

boolean _match

_repeatFlag

boolean _repeatFlag

Class ptolemy.actor.lib.Quantizer extends Transformer implements Serializable

Serialized Fields

levels

Parameter levels
The quantization levels. This parameter contains an array of doubles with default value {-1.0, 1.0}.


_thresholds

double[] _thresholds

Class ptolemy.actor.lib.Ramp extends SequenceSource implements Serializable

Serialized Fields

init

Parameter init
The value produced by the ramp on its first iteration. The default value of this parameter is the integer 0.


step

PortParameter step
The amount by which the ramp output is incremented on each iteration. The default value of this parameter is the integer 1.


_stateToken

Token _stateToken

_resultArray

Token[] _resultArray

Class ptolemy.actor.lib.RandomSource extends Source implements Serializable

Serialized Fields

resetOnEachRun

SharedParameter resetOnEachRun
If true, this parameter specifies that the random number generator should be reset on each run of the model (in the initialize() method). It is a boolean that defaults to false. This is a shared parameter, meaning that changing it somewhere in the model causes it to be changed everywhere in the model.


seed

SharedParameter seed
The seed that controls the random number generation. This is a shared parameter, meaning that all instances of RandomSource or derived classes in the same model share the same value. A seed of zero is interpreted to mean that no seed is specified, which means that each execution of the model could result in distinct data. For the value 0, the seed is set to System.currentTimeMillis() + hashCode(), which means that with extremely high probability, two distinct actors will have distinct seeds. However, current time may not have enough resolution to ensure that two subsequent executions of the same model have distinct seeds. For a value other than zero, the seed is set to that value plus the hashCode() of the full name of the actor. This means that with high probability, two distinct actors will have distinct, but repeatable seeds. This parameter contains a LongToken, initially with value 0.


_generatorSeed

long _generatorSeed
The current value of the seed parameter.


_needNew

boolean _needNew
Indicator that a new random number is needed.


_needNewGenerator

boolean _needNewGenerator
Indicator that a new generator is needed.


_random

java.util.Random _random
The Random object.

Class ptolemy.actor.lib.Reader extends Source implements Serializable

Serialized Fields

sourceURL

Parameter sourceURL
Deprecated. 
The URL of the file to read from. This parameter contains a StringToken. By default, it contains an empty string, which is interpreted to mean that input should be directed to the standard input. FIXME: Should this bring up a dialog box to type (or select) a URL?


refresh

Parameter refresh
Deprecated. 
Refresh between each readings. Default is false.


_reader

java.io.BufferedReader _reader
Deprecated. 

_source

java.lang.String _source
Deprecated. 

_data

double[] _data
Deprecated. 

_dataSize

int _dataSize
Deprecated. 

Class ptolemy.actor.lib.RecordAssembler extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. Its type is constrained to be a RecordType.


_typeConstraintList

java.util.List<E> _typeConstraintList
Cached list of type constraints.


_typeConstraintListVersion

long _typeConstraintListVersion
Version number when the cache was last updated.

Class ptolemy.actor.lib.RecordDisassembler extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. Its type is constrained to be a RecordType.

Class ptolemy.actor.lib.Recorder extends Sink implements Serializable

Serialized Fields

capacity

Parameter capacity
The capacity of the record for each channel. This parameter must contain an IntToken.


_count

int _count

_records

java.util.List<E> _records

_latest

Token[] _latest

_timeRecord

java.util.List<E> _timeRecord

Class ptolemy.actor.lib.RecordUpdater extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. Its type is constrained to be a RecordType.


input

TypedIOPort input
The input port. Its type is constrained to be a RecordType.

Class ptolemy.actor.lib.RecursiveLattice extends Transformer implements Serializable

Serialized Fields

reflectionCoefficients

Parameter reflectionCoefficients
The reflection coefficients. This is an array of doubles with default value {0.804534, -0.820577, 0.521934, -0.205}. These are the reflection coefficients for the linear predictor of a particular random process.


_backward

double[] _backward

_backwardCache

double[] _backwardCache

_forward

double[] _forward

_forwardCache

double[] _forwardCache

_reflectionCoefs

double[] _reflectionCoefs

Class ptolemy.actor.lib.Remainder extends Transformer implements Serializable

Serialized Fields

divisor

Parameter divisor
The divisor for calculating the remainder. This is a double with default value 1.0.

Class ptolemy.actor.lib.RemoveNilTokens extends Transformer implements Serializable

Class ptolemy.actor.lib.Rician extends RandomSource implements Serializable

Serialized Fields

xMean

Parameter xMean
The mean of the random number along the X-axis. This parameter contains a DoubleToken, initially with value 0.0.


yMean

Parameter yMean
The mean of the random number along the Y-axis. This parameter contains a DoubleToken, initially with value 0.0.


standardDeviation

Parameter standardDeviation
The standard deviation of the random number. This parameter contains a DoubleToken, initially with value 1.0.


_current

double _current

Class ptolemy.actor.lib.Scale extends Transformer implements Serializable

Serialized Fields

factor

Parameter factor
The factor. This parameter can contain any scalar token that supports multiplication. The default value of this parameter is the IntToken 1.


scaleOnLeft

Parameter scaleOnLeft
Multiply on the left. This parameter controls whether the scale factor is multiplied on the left. The default value is a boolean token of value true. Setting is to false will multiply the factor on the right.

Class ptolemy.actor.lib.Select extends Transformer implements Serializable

Serialized Fields

control

TypedIOPort control
Input port for control tokens, which specify the output channel to produce data on. The type is int.


_control

int _control

Class ptolemy.actor.lib.Sequence extends TypedAtomicActor implements Serializable

Serialized Fields

enable

TypedIOPort enable
The enable input port. If this port is connected, then its input will determine whether an output is produced in any given firing. The type is boolean.


holdLastOutput

Parameter holdLastOutput
A flag indicating whether to interpret the values as an infinite sequence where the last value is repeated forever. This is a boolean that defaults to false.


output

TypedIOPort output
The output port. The type is greater than or equal to the types of the two input ports.


repeat

Parameter repeat
The flag that indicates whether the sequence needs to be repeated. If this is false, then either the last value of the sequence is repeatedly produced after the entire sequence has been produced, or the actor stops producing output, depending on the value of holdLastOutput. This is a boolean, and defaults to false.


values

Parameter values
The values that will be produced on the output. This parameter is an array, with default value {1}.


_currentIndex

int _currentIndex

_outputProduced

boolean _outputProduced

Class ptolemy.actor.lib.Sequencer extends Transformer implements Serializable

Serialized Fields

sequenceNumber

TypedIOPort sequenceNumber
Input for the sequence number. The type is int.


startingSequenceNumber

Parameter startingSequenceNumber
The first number of the sequence. This is an int that defaults to 0.


_fireProducedOutput

boolean _fireProducedOutput

_nextSequenceNumber

int _nextSequenceNumber

_nextToken

Token _nextToken

_pending

java.util.TreeMap<K,V> _pending

_sequenceNumberOfInput

int _sequenceNumberOfInput

Class ptolemy.actor.lib.SequenceSource extends LimitedFiringSource implements Serializable

Class ptolemy.actor.lib.SequentialClock extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
Deprecated. 
The output port. The type of this port is determined by from the values parameter.


offsets

Parameter offsets
Deprecated. 
The offsets at which the specified values will be produced. This parameter must contain an array of doubles, and it defaults to {0.0, 1.0}.


period

Parameter period
Deprecated. 
The period of the output waveform. This parameter must contain a DoubleToken, and defaults to 2.0.


values

Parameter values
Deprecated. 
The values that will be produced at the specified offsets. This parameter must contain an ArrayToken, and defaults to {1, 0}.


_firstFiring

boolean _firstFiring
Deprecated. 

Class ptolemy.actor.lib.SetVariable extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port.


variableName

StringAttribute variableName
The name of the variable in the container to set.


delayed

Parameter delayed
Parameter that determines when reconfiguration occurs.


output

TypedIOPort output
The output port.


_attribute

Attribute _attribute
Cached reference to the associated variable.


_attributeVersion

long _attributeVersion
Workspace version for the cached attribute reference.


_setFailed

boolean _setFailed
Indicator that setting the variable failed.

Class ptolemy.actor.lib.SingleTokenCommutator extends Transformer implements Serializable

Serialized Fields

_currentInputPosition

int _currentInputPosition

Class ptolemy.actor.lib.Sink extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port, which is a multiport.

Class ptolemy.actor.lib.Sleep extends Transformer implements Serializable

Serialized Fields

sleepTime

PortParameter sleepTime
The sleep time in milliseconds. This has type long and default "0L".


_wasSleepCalledInFireYet

boolean _wasSleepCalledInFireYet
True if sleep was called in fire(). Thread.sleep() should only be called once in fire().

Class ptolemy.actor.lib.Source extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The output port. The type of this port is unspecified. Derived classes may set it.


trigger

TypedIOPort trigger
The trigger port. The type of this port is undeclared, meaning that it will resolve to any data type.

Class ptolemy.actor.lib.Stop extends Sink implements Serializable

Serialized Fields

_hideName

SingletonParameter _hideName
The parameter that hides the name of the actor. The default value is true.

Class ptolemy.actor.lib.StringConst extends Const implements Serializable

Class ptolemy.actor.lib.SubMatrix extends Transformer implements Serializable

Serialized Fields

column

PortParameter column
The starting column number. This is an integer that defaults to 0.


columnSpan

PortParameter columnSpan
The span of columns. This is an integer that defaults to 1.


row

PortParameter row
The starting row number. This is an integer that defaults to 0.


rowSpan

PortParameter rowSpan
The span of rows. This is an integer that defaults to 1.

Class ptolemy.actor.lib.Subscriber extends TypedAtomicActor implements Serializable

Serialized Fields

channel

StringParameter channel
The name of the channel. Subscribers that reference this same channel will receive any transmissions to this port. This is a string that defaults to "channel1".


input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the output.


output

TypedIOPort output
The output port. By default, the type of this output is constrained to be at least that of the input. This port is hidden by default and the actor handles creating connections to it.


_channel

java.lang.String _channel
Cached channel name.


_updatedLinks

boolean _updatedLinks
An indicator that _updateLinks has been called at least once.


_relation

TypedIORelation _relation
The relation used to link to subscribers.

Class ptolemy.actor.lib.SubscriptionAggregator extends Subscriber implements Serializable

Serialized Fields

operation

StringParameter operation
The operation used to aggregate the data produced by matching publishers. The choices are "add" and "multiply". Note that "multiply" is a poor choice if the data type has a non-commutative multiplication operation (e.g. matrix types) because the result will be nondeterministic. This is a string that defaults to "add".


_addOperation

boolean _addOperation
Indicator that the operation is "add" rather than "multiply".


_channelDoesNotMatch

java.util.Set<E> _channelDoesNotMatch
Set of channel names that have already not been matched.


_channelMatches

java.util.Set<E> _channelMatches
Set of channel names that have already matched.


_channelPattern

java.util.regex.Pattern _channelPattern
Regex Pattern for _channelName.


_relations

java.util.List<E> _relations
The list of relations used to link to subscribers.

Class ptolemy.actor.lib.Switch extends Transformer implements Serializable

Serialized Fields

control

TypedIOPort control
Input port for control tokens, which specify the output channel to produce data on. The type is int.


_control

int _control

Class ptolemy.actor.lib.Synchronizer extends Transformer implements Serializable

Class ptolemy.actor.lib.Test extends NonStrictTest implements Serializable

Serialized Fields

output

TypedIOPort output
Boolean output that is false as long as there is data to compare against the input, but becomes true on the first firing after such data has been exhausted.

Class ptolemy.actor.lib.TestExceptionHandler extends TypedAtomicActor implements Serializable

Serialized Fields

trainingMode

SharedParameter trainingMode
If true, then collect the exception message and set the correctExceptionMessage parameter with the content of the exception. This parameter is a boolean, and it defaults to false. It is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


correctExceptionMessage

StringParameter correctExceptionMessage
The correct exception message to be compared against.


_invoked

boolean _invoked

Class ptolemy.actor.lib.ThrowException extends Sink implements Serializable

Serialized Fields

message

StringAttribute message
The message reported in the exception, which is a string that defaults to "Model triggered an exception".

Class ptolemy.actor.lib.ThrowModelError extends Sink implements Serializable

Serialized Fields

message

StringAttribute message
The message reported in the exception.

Class ptolemy.actor.lib.TimedSource extends Source implements Serializable

Serialized Fields

stopTime

Parameter stopTime
The time at which postfire() should return false. This is a double that defaults to Infinity, which means that postfire() never returns false (or at least, doesn't do so due to stopTime having been exceeded).


_executing

boolean _executing

_stopTime

Time _stopTime

Class ptolemy.actor.lib.Transformer extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. This base class imposes no type constraints except that the type of the input cannot be greater than the type of the output.


output

TypedIOPort output
The output port. By default, the type of this output is constrained to be at least that of the input.

Class ptolemy.actor.lib.Triangular extends RandomSource implements Serializable

Serialized Fields

min

PortParameter min
The minimum value. This parameter contains a DoubleToken, initially with value 0.0.


max

PortParameter max
The maximum value. This parameter contains a DoubleToken, initially with value 1.0.


mode

PortParameter mode
The mode of the distribution (peak of triangle). This parameter contains a DoubleToken, initially with value 0.5.


_current

double _current

Class ptolemy.actor.lib.TrigFunction extends Transformer implements Serializable

Serialized Fields

function

StringParameter function
The function to compute. This is a string-valued attribute that defaults to "sin".


_resultArray

DoubleToken[] _resultArray

_function

int _function

Class ptolemy.actor.lib.TriggeredClock extends Clock implements Serializable

Serialized Fields

start

TypedIOPort start
A port that, if connected, is used to specify when the clock starts. This port has undeclared type.


stop

TypedIOPort stop
A port that, if connected, is used to specify when the clock stops. This port has undeclared type.

Class ptolemy.actor.lib.TypeTest extends Discard implements Serializable

Serialized Fields

parameterTypes

Parameter parameterTypes
A record of record of strings representing the types of parameters of actors in the model.


portTypes

Parameter portTypes
A record of record of strings representing the types of ports of actors in the model.


trainingMode

Parameter trainingMode
If true, then do not check inputs, but rather collect them into the portTypes and parameterTypes arrays. This parameter is a boolean, and it defaults to false.

Class ptolemy.actor.lib.UnaryMathFunction extends Transformer implements Serializable

Serialized Fields

function

StringParameter function
The function to compute. This is a string-valued attribute that defaults to "exp".


_function

int _function

Class ptolemy.actor.lib.Uniform extends RandomSource implements Serializable

Serialized Fields

lowerBound

PortParameter lowerBound
The lower bound. This parameter contains a DoubleToken, initially with value 0.0.


upperBound

PortParameter upperBound
The upper bound. This parameter contains a DoubleToken, initially with value 0.0.


_current

double _current

Class ptolemy.actor.lib.UnionDisassembler extends TypedAtomicActor implements Serializable

Serialized Fields

input

TypedIOPort input
The input port. Its type is constrained to be a UnionType.

Class ptolemy.actor.lib.URLDirectoryReader extends URLReader implements Serializable

Serialized Fields

endsWith

Parameter endsWith
Deprecated. 
If non-null and non-empty, then only output file names and sub directories that end with this String value. The default value of this parameter is the empty String "".


repeat

Parameter repeat
Deprecated. 
Repeat after outputting all elements of the directory. The default value of this parameter is a false BooleanToken.


_endsWithValue

java.lang.String _endsWithValue
Deprecated. 

_iterationCount

int _iterationCount
Deprecated. 

_data

java.lang.String[] _data
Deprecated. 

_repeatFlag

boolean _repeatFlag
Deprecated. 

Class ptolemy.actor.lib.URLReader extends Source implements Serializable

Serialized Fields

sourceURL

Parameter sourceURL
The URL of the file to read from. This parameter contains a StringToken. By default, it contains an empty string, which is interpreted to mean that input should be directed to the standard input. FIXME: Should this bring up a dialog box to type (or select) a URL?


refresh

Parameter refresh
The flag that indicates whether to refresh between each reading. This is a boolean, and defaults to false.


_reader

java.io.BufferedReader _reader
The reader to read from.


_source

java.lang.String _source
String for the URL.


_refreshFlag

boolean _refreshFlag
Flag to indicate whether or not to refresh the data between readings.

Class ptolemy.actor.lib.VariableClock extends Clock implements Serializable

Serialized Fields

periodControl

TypedIOPort periodControl
Deprecated. 
The port that controls the value of the period parameter.

Class ptolemy.actor.lib.VariableSleep extends Transformer implements Serializable

Serialized Fields

defaultSleepTime

Parameter defaultSleepTime
The sleepTime amount, in milliseconds This parameter must contain a LongToken. The default value of this parameter is 0, meaning that this actor will not sleep the current thread at all.


sleepTime

TypedIOPort sleepTime
An input port receives the value of sleep time.


_wasSleepCalledInFireYet

boolean _wasSleepCalledInFireYet

_sleepTime

long _sleepTime

Class ptolemy.actor.lib.VectorAssembler extends Transformer implements Serializable

Serialized Fields

isColumn

Parameter isColumn
True if the output vector is a column matrix. Otherwise, the output is a row matrix. The default value is true.

Class ptolemy.actor.lib.VectorDisassembler extends Transformer implements Serializable

Class ptolemy.actor.lib.WallClockTime extends Source implements Serializable

Serialized Fields

passThrough

TypedIOPort passThrough
The output port to which the trigger input is passed. The type is the same as the type of the trigger port, which is undeclared, meaning that it will resolve to any type.


_startTime

long _startTime
The start time.

Class ptolemy.actor.lib.Writer extends Sink implements Serializable

Serialized Fields

_writer

java.io.Writer _writer

Package ptolemy.actor.lib.colt

Class ptolemy.actor.lib.colt.ColtBeta extends ColtRandomSource implements Serializable

Serialized Fields

alpha

PortParameter alpha
Alpha. This has type double with default 2.0.


beta

PortParameter beta
Beta. This has type double with default 2.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.Beta _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtBinomial extends ColtRandomSource implements Serializable

Serialized Fields

n

PortParameter n
n. This has type int with default 1.


p

PortParameter p
p. This has type double with default 0.5.


_current

int _current
The random number for the current iteration.


_generator

cern.jet.random.Binomial _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtBinomialSelector extends ColtRandomSource implements Serializable

Serialized Fields

trials

PortParameter trials
The total number of trials to assign. This PortParameter is of type Int and has an initial default value of 1.


populations

TypedIOPort populations
The populations to select from. This multiport is of type Long.


_current

IntToken[] _current
The tokens to emit during the current iteration.


_generator

cern.jet.random.Binomial _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtBreitWigner extends ColtRandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
mean. This is a double with default 1.0.


gamma

PortParameter gamma
gamma. This is a double with default 1.0.


cut

PortParameter cut
cut. This is a double with default 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.BreitWigner _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtChiSquare extends ColtRandomSource implements Serializable

Serialized Fields

freedom

PortParameter freedom
freedom. This has type double with default value 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.ChiSquare _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtExponential extends ColtRandomSource implements Serializable

Serialized Fields

lambda

PortParameter lambda
The mean value of the exponential. This is a double with default value 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.Exponential _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtExponentialPower extends ColtRandomSource implements Serializable

Serialized Fields

tau

PortParameter tau
tau. This has type double with default value 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.ExponentialPower _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtGamma extends ColtRandomSource implements Serializable

Serialized Fields

alpha

PortParameter alpha
The mean, or alpha. This has type double with default 1.0.


lambda

PortParameter lambda
The variance, or lambda. This has type double with default 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.Gamma _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtHyperGeometric extends ColtRandomSource implements Serializable

Serialized Fields

N

PortParameter N
N. This has type int with default 2.


s

PortParameter s
coltLmabda. This has type int with default 1.


n

PortParameter n
coltLmabda. This has type int with default 1.


_current

int _current
The random number for the current iteration.


_generator

cern.jet.random.HyperGeometric _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtLogarithmic extends ColtRandomSource implements Serializable

Serialized Fields

p

PortParameter p
p. This has type double with default value 0.5.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.Logarithmic _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtNegativeBinomial extends ColtRandomSource implements Serializable

Serialized Fields

n

PortParameter n
The mean, or n. This has type int with default value 1.


p

PortParameter p
The variance, or p. This has type double with default 0.5.


_current

int _current
The random number for the current iteration.


_generator

cern.jet.random.NegativeBinomial _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtNormal extends ColtRandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
mean. This has type double with default value 1.0.


standardDeviation

PortParameter standardDeviation
standardDeviation. This has type double with default 1.0.


_current

double _current
The random number for the current iteration.


_generator

cern.jet.random.Normal _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtPoisson extends ColtRandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
The mean. This has type double, initially with value 1.0.


_current

int _current
The random number for the current iteration.


_generator

cern.jet.random.Poisson _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtPoissonSlow extends ColtRandomSource implements Serializable

Serialized Fields

mean

PortParameter mean
mean. This has type double with default value 1.0.


_current

int _current
The random number for the current iteration.


_generator

cern.jet.random.PoissonSlow _generator
The random number generator.

Class ptolemy.actor.lib.colt.ColtRandomSource extends RandomSource implements Serializable

Serialized Fields

generatorClass

SharedParameter generatorClass
The low-level random number generator (RNG) class name. This is a string that defaults to "DRand". Below are possible values for this parameter and links to pages that define the meaning of the parameter. This is a "shared parameter", which means that changing this parameter in any one actor will cause a similar change to be applied to all other Colt actors within the same top level (unless this is in a library).
  • "DRand" (Definition)
  • "MersenneTwister (MT19937)" (Definition)
  • "Ranecu"" (Definition)
  • "Ranlux" (Definition)
  • "Ranmar" (Definition)

  • _randomNumberGenerator

    edu.cornell.lassp.houle.RngPack.RandomElement _randomNumberGenerator
    The low-level random number generator.


    _generatorClassName

    java.lang.String _generatorClassName
    The class name of the current _randomNumberGenerator.

    Class ptolemy.actor.lib.colt.ColtStudentT extends ColtRandomSource implements Serializable

    Serialized Fields

    freedom

    PortParameter freedom
    freedom. This has type double, initially with value 1.0.


    _current

    double _current
    The random number for the current iteration.


    _generator

    cern.jet.random.StudentT _generator
    The random number generator.

    Class ptolemy.actor.lib.colt.ColtVonMises extends ColtRandomSource implements Serializable

    Serialized Fields

    freedom

    PortParameter freedom
    freedom. This has type double, initially with value 1.0.


    _current

    double _current
    The random number for the current iteration.


    _generator

    cern.jet.random.VonMises _generator
    The random number generator.

    Class ptolemy.actor.lib.colt.ColtZeta extends ColtRandomSource implements Serializable

    Serialized Fields

    ro

    PortParameter ro
    ro. This has type double, initially with value 1.0.


    pk

    PortParameter pk
    pk. This has type double, initially with value 1.0.


    _current

    int _current
    The random number for the current iteration.


    _generator

    cern.jet.random.Zeta _generator
    The random number generator.


    Package ptolemy.actor.lib.comm

    Class ptolemy.actor.lib.comm.ConvolutionalCoder extends Transformer implements Serializable

    Serialized Fields

    polynomialArray

    Parameter polynomialArray
    An array of integers defining an array of polynomials with binary coefficients. The coefficients indicate the presence (1) or absence (0) of a tap in the shift register. Each element of this array parameter should be a positive integer. The default value is {05, 07}.


    initialState

    Parameter initialState
    Integer defining the initial state of the shift register. The i-th bit of the integer indicates the value of the i-th register. This parameter should be a non-negative integer. Its default value is the integer 0.


    uncodedRate

    Parameter uncodedRate
    Integer defining the number of bits that the shift register takes in each firing. It should be a positive integer. Its default value is the integer 1.


    _inputRate

    Parameter _inputRate

    _outputRate

    Parameter _outputRate

    _shiftReg

    int _shiftReg

    _latestShiftReg

    int _latestShiftReg

    _inputNumber

    int _inputNumber

    _mask

    int[] _mask

    _maskNumber

    int _maskNumber

    _maxPolyValue

    int _maxPolyValue

    Class ptolemy.actor.lib.comm.DeScrambler extends Transformer implements Serializable

    Serialized Fields

    polynomial

    Parameter polynomial
    Integer defining a polynomial with binary coefficients. The coefficients indicate the presence (1) or absence (0) of a tap in a feedback shift register. This parameter should contain a positive integer with the lower-order bit being 1. Its default value is the integer 0440001.


    initialState

    Parameter initialState
    Integer defining the initial state of the shift register. The n-th bit of the integer indicates the value of the n-th register. This parameter should be a non-negative integer. Its default value is the integer 1.


    _shiftReg

    int _shiftReg

    _latestShiftReg

    int _latestShiftReg

    Class ptolemy.actor.lib.comm.HadamardCode extends Source implements Serializable

    Serialized Fields

    index

    PortParameter index
    Index of the code to generate. Codes with different indexes are orthogonal. This is an int with default 0. It should not exceed length-1, where length = 2^log2Length.


    log2Length

    Parameter log2Length
    Log base 2 of the length of the code. This is an integer with default 5. It is required to be greater than 0.


    _index

    int _index

    _previousIndex

    int _previousIndex

    _latestIndex

    int _latestIndex

    _row

    boolean[] _row

    Class ptolemy.actor.lib.comm.HammingCoder extends Transformer implements Serializable

    Serialized Fields

    uncodedRate

    Parameter uncodedRate
    Integer defining the uncode block size. It should be a positive integer. Its default value is the integer 4.


    codedRate

    Parameter codedRate
    Integer defining the Hamming code block size. This parameter should be a non-negative integer. Its default value is the integer 7.


    _inputRate

    Parameter _inputRate

    _outputRate

    Parameter _outputRate

    _uncodeSizeValue

    int _uncodeSizeValue

    _codeSizeValue

    int _codeSizeValue

    _order

    int _order

    _parityMatrix

    int[][] _parityMatrix

    Class ptolemy.actor.lib.comm.HammingDecoder extends Transformer implements Serializable

    Serialized Fields

    uncodedRate

    Parameter uncodedRate
    Integer defining the uncode block size. It should be a positive integer. Its default value is the integer 4.


    codedRate

    Parameter codedRate
    Integer defining the Hamming code block size. This parameter should be a non-negative integer. Its default value is the integer 7.


    _inputRate

    Parameter _inputRate

    _outputRate

    Parameter _outputRate

    _uncodeSizeValue

    int _uncodeSizeValue

    _codeSizeValue

    int _codeSizeValue

    _order

    int _order

    _parityMatrix

    int[][] _parityMatrix

    _index

    int[] _index

    Class ptolemy.actor.lib.comm.HuffmanBasic extends Transformer implements Serializable

    Serialized Fields

    pmf

    Parameter pmf
    The probability mass function. This parameter is an array of doubles. Each element should be positive and the sum of all elements should be 1.0. The default value is {0.5, 0.5}.


    alphabet

    Parameter alphabet
    The alphabet of the input. This parameter is an ArrayToken. Its default value is {0, 1}.


    huffmanCodeBook

    TypedIOPort huffmanCodeBook
    A port that produces the Huffman code book generated based on the probability mass function. It is an array of strings.


    _codeBook

    java.lang.String[] _codeBook
    The huffman code book.


    _parametersInvalid

    boolean _parametersInvalid
    Flag that indicates if the parameters are invalid. If it is true, then a new code book needs to be generated.


    _pmf

    double[] _pmf
    The probability mass function.

    Class ptolemy.actor.lib.comm.HuffmanCoder extends HuffmanBasic implements Serializable

    Class ptolemy.actor.lib.comm.HuffmanDecoder extends HuffmanBasic implements Serializable

    Serialized Fields

    _code

    java.lang.String _code

    Class ptolemy.actor.lib.comm.LempelZivCoder extends Transformer implements Serializable

    Serialized Fields

    _codeBook

    java.util.LinkedList<E> _codeBook

    _current

    java.lang.String _current

    _previousIndex

    int _previousIndex

    Class ptolemy.actor.lib.comm.LempelZivDecoder extends Transformer implements Serializable

    Serialized Fields

    _decodeBook

    java.util.LinkedList<E> _decodeBook

    Class ptolemy.actor.lib.comm.Scrambler extends Transformer implements Serializable

    Serialized Fields

    polynomial

    Parameter polynomial
    Integer defining a polynomial with binary coefficients. The coefficients indicate the presence (1) or absence (0) of a tap in a feedback shift register. This parameter should contain a positive integer with the lower-order bit being 1. Its default value is the integer 0440001.


    initialState

    Parameter initialState
    Integer defining the initial state of the shift register. The n-th bit of the integer indicates the value of the n-th register. This parameter should be a non-negative integer. Its default value is the integer 1.


    _shiftReg

    int _shiftReg

    _latestShiftReg

    int _latestShiftReg

    Class ptolemy.actor.lib.comm.Slicer extends Transformer implements Serializable

    Serialized Fields

    table

    Parameter table
    The code table. It is an array token of complex type. The number of values in this array must be at least 2wordLength, or an exception will be thrown. Its default value is {-1.0, 1.0}.


    wordLength

    Parameter wordLength
    The word length is the number of boolean output that are produced on each firing. Its value is an IntToken, with default value one.


    _wordLength

    int _wordLength

    _size

    int _size

    _table

    Complex[] _table

    _outputRate

    Parameter _outputRate

    Class ptolemy.actor.lib.comm.TrellisDecoder extends ViterbiDecoder implements Serializable

    Class ptolemy.actor.lib.comm.ViterbiDecoder extends Transformer implements Serializable

    Serialized Fields

    polynomialArray

    Parameter polynomialArray
    An array of integers defining polynomials with binary coefficients. The coefficients indicate the presence (1) or absence (0) of a tap in the shift register. Each element of this array parameter should be a positive integer. The default value is {05, 07}.


    uncodedRate

    Parameter uncodedRate
    Integer defining the number of bits produced at the output in each firing. It should be a positive integer. Its default value is 1.


    delay

    Parameter delay
    Integer defining the trace back depth of the viterbi decoder. It should be a positive integer. Its default value is the integer 10.


    softDecoding

    Parameter softDecoding
    Boolean defining the decoding mode. If it is true, the decoder will do soft decoding, and the input data type will be double; otherwise it will do hard decoding, and the input data type will be boolean. The default value is false.


    trellisDecoding

    Parameter trellisDecoding
    Boolean defining whether the decoder will do trellis decoding. If it is true, the input data and constellation type will be complex; otherwise, they follow the constraints set by softDecoding. This parameter is always set to "false" in ViterbiDecoder. It will always be set to "true" in TrellisDecoder subclass.


    constellation

    Parameter constellation
    The constellation for soft decoding. Inputs are expected to be symbols from this constellation with added noise. This parameter should be a double array of length 2. The first element defines the amplitude of "false" input. The second element defines the amplitude of "true" input.


    _inputRate

    Parameter _inputRate

    _outputRate

    Parameter _outputRate

    _type

    TypeAttribute _type

    _trellisMode

    boolean _trellisMode

    _softMode

    boolean _softMode

    _mode

    int _mode

    _trueAmp

    double _trueAmp

    _falseAmp

    double _falseAmp

    _constellation

    Complex[] _constellation

    _inputNumber

    int _inputNumber

    _maskNumber

    int _maskNumber

    _mask

    int[] _mask

    _maxPolyValue

    int _maxPolyValue

    _shiftRegLength

    int _shiftRegLength

    _truthTable

    int[][][] _truthTable

    _rowNum

    int _rowNum

    _colNum

    int _colNum

    _depth

    int _depth

    _distance

    double[] _distance

    _tempDistance

    double[] _tempDistance

    _path

    int[][] _path

    _tempPath

    int[][] _tempPath

    _flag

    int _flag

    Package ptolemy.actor.lib.conversions

    Class ptolemy.actor.lib.conversions.AnythingToDouble extends Converter implements Serializable

    Class ptolemy.actor.lib.conversions.BooleanToAnything extends Converter implements Serializable

    Serialized Fields

    falseValue

    Parameter falseValue
    The value produced at the output when a false input is read.


    trueValue

    Parameter trueValue
    The value produced at the output when a true input is read.

    Class ptolemy.actor.lib.conversions.CartesianToComplex extends TypedAtomicActor implements Serializable

    Serialized Fields

    x

    TypedIOPort x
    The input port for the x coordinate of the Cartesian pair, which has type DoubleToken.


    y

    TypedIOPort y
    The input port for the y coordinate of the Cartesian pair, which has type DoubleToken.


    output

    TypedIOPort output
    The port for the output, which has type ComplexToken.

    Class ptolemy.actor.lib.conversions.CartesianToPolar extends TypedAtomicActor implements Serializable

    Serialized Fields

    x

    TypedIOPort x
    The x coordinate of the input pair, which has type DoubleToken.


    y

    TypedIOPort y
    The y coordinate of the input pair, which has type DoubleToken.


    magnitude

    TypedIOPort magnitude
    The magnitude component of the output pair, which has type DoubleToken.


    angle

    TypedIOPort angle
    The angle component of the output pair, which has type DoubleToken.

    Class ptolemy.actor.lib.conversions.ComplexToCartesian extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The port for the input, which has type ComplexToken.


    x

    TypedIOPort x
    The output port for x coordinate, which has type DoubleToken.


    y

    TypedIOPort y
    The output port for the imaginary coordinate, which has type DoubleToken.

    Class ptolemy.actor.lib.conversions.ComplexToPolar extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The port for the input, which has type ComplexToken.


    magnitude

    TypedIOPort magnitude
    The output port for the magnitude component, which has type DoubleToken.


    angle

    TypedIOPort angle
    The output port for the angle component, which has type DoubleToken.

    Class ptolemy.actor.lib.conversions.Converter extends Transformer implements Serializable

    Class ptolemy.actor.lib.conversions.DoubleToFix extends Converter implements Serializable

    Serialized Fields

    precision

    Parameter precision
    The precision of the output fixed-point number, which is represented by a 2-element integer matrix.


    overflow

    StringAttribute overflow
    The overflow strategy used, such as "saturate" or "modulo".


    rounding

    StringAttribute rounding
    The rounding strategy used, such as "nearest" or "truncate".


    _quantization

    FixPointQuantization _quantization

    Class ptolemy.actor.lib.conversions.ExpressionToToken extends Converter implements Serializable

    Serialized Fields

    _parser

    PtParser _parser

    _parseTreeEvaluator

    ParseTreeEvaluator _parseTreeEvaluator

    _scope

    ParserScope _scope

    Class ptolemy.actor.lib.conversions.FixToDouble extends Converter implements Serializable

    Class ptolemy.actor.lib.conversions.FixToFix extends Converter implements Serializable

    Serialized Fields

    precision

    Parameter precision
    The precision of the output fix-point number, represented by an integer matrix.


    rounding

    StringAttribute rounding
    The rounding strategy used, such as "nearest" or "truncate".


    overflow

    StringAttribute overflow
    The overflow strategy used to convert a double into a fix point, such as "saturate" or "to_zero".


    _quantization

    FixPointQuantization _quantization

    Class ptolemy.actor.lib.conversions.IntArrayToString extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The port for the input, which has type {int}.


    output

    TypedIOPort output
    The output port, which has type string.

    Class ptolemy.actor.lib.conversions.InUnitsOf extends Transformer implements Serializable

    Serialized Fields

    units

    Parameter units
    The units to which the input tokens will be converted. The default value of this parameter is the double 1.0.

    Class ptolemy.actor.lib.conversions.LongToDouble extends Converter implements Serializable

    Class ptolemy.actor.lib.conversions.PolarToCartesian extends TypedAtomicActor implements Serializable

    Serialized Fields

    magnitude

    TypedIOPort magnitude
    The input port for the magnitude component, which has type DoubleToken.


    angle

    TypedIOPort angle
    The input port for the angle component (in radians), which has type DoubleToken.


    x

    TypedIOPort x
    The output port for the x coordinate, which has type DoubleToken.


    y

    TypedIOPort y
    The output port for the y coordinate, which has type DoubleToken.

    Class ptolemy.actor.lib.conversions.PolarToComplex extends TypedAtomicActor implements Serializable

    Serialized Fields

    magnitude

    TypedIOPort magnitude
    The input port for the magnitude component, which has type DoubleToken.


    angle

    TypedIOPort angle
    The input port for the angle component (in radians), which has type DoubleToken.


    output

    TypedIOPort output
    The port for the output, which has type ComplexToken.

    Class ptolemy.actor.lib.conversions.Round extends Transformer implements Serializable

    Serialized Fields

    function

    StringAttribute function
    The rounding strategy to use. This is a string-valued parameter that defaults to "round".


    _resultArray

    IntToken[] _resultArray

    _function

    int _function

    Class ptolemy.actor.lib.conversions.StringToIntArray extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The port for the input, which has type string.


    output

    TypedIOPort output
    The output port, which has type {int}.

    Class ptolemy.actor.lib.conversions.StringToUnsignedByteArray extends Converter implements Serializable

    Class ptolemy.actor.lib.conversions.StringToXML extends Transformer implements Serializable

    Serialized Fields

    _outToken

    XMLToken _outToken

    Class ptolemy.actor.lib.conversions.TokenToExpression extends Converter implements Serializable

    Class ptolemy.actor.lib.conversions.UnsignedByteArrayToString extends Converter implements Serializable


    Package ptolemy.actor.lib.gui

    Class ptolemy.actor.lib.gui.ArrayPlotter extends Plotter implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input port, which receives an array of doubles.


    iterationsPerUpdate

    Parameter iterationsPerUpdate
    The number of iterations between updates of the display on the screen. This parameter has type IntToken, with default value 1. Its value must be non-negative.


    xUnit

    Parameter xUnit
    The increment of the X axis.


    xInit

    Parameter xInit
    The start point of the X axis.


    _xInit

    double _xInit
    Start of the X axis counter.


    _xUnit

    double _xUnit
    Increment of the X axis counter.


    _iteration

    int _iteration

    _offset

    int _offset

    _tokens

    ArrayToken[] _tokens

    Class ptolemy.actor.lib.gui.ArrayPlotterXY extends Plotter implements Serializable

    Serialized Fields

    iterationsPerUpdate

    Parameter iterationsPerUpdate
    The number of iterations between updates of the display on the screen. This parameter has type IntToken, with default value 1. Its value must be non-negative.


    x

    TypedIOPort x
    Input port for the horizontal axis, which receives an array of doubles.


    y

    TypedIOPort y
    Input port for the vertical axis, which receives an array of doubles.


    _iteration

    int _iteration

    _offset

    int _offset

    _xtokens

    ArrayToken[] _xtokens

    _ytokens

    ArrayToken[] _ytokens

    Class ptolemy.actor.lib.gui.ArrowKeySensor extends TypedAtomicActor implements Serializable

    Serialized Fields

    upArrow

    TypedIOPort upArrow
    Output port, which has type IntToken.


    leftArrow

    TypedIOPort leftArrow
    Output port, which has type IntToken.


    rightArrow

    TypedIOPort rightArrow
    Output port, which has type IntToken.


    downArrow

    TypedIOPort downArrow
    Output port, which has type IntToken.


    _myFrame

    ptolemy.actor.lib.gui.ArrowKeySensor.MyFrame _myFrame
    The JFrame


    _upKeyPressed

    boolean _upKeyPressed
    The flags indicating which keys have been pressed or released since the last firing of the actor. Pressed and Released are are not allowed to both be true for the same key (Though both may be false). The most recent action (press or release) takes precedence.


    _leftKeyPressed

    boolean _leftKeyPressed

    _rightKeyPressed

    boolean _rightKeyPressed

    _downKeyPressed

    boolean _downKeyPressed

    _upKeyReleased

    boolean _upKeyReleased

    _leftKeyReleased

    boolean _leftKeyReleased

    _rightKeyReleased

    boolean _rightKeyReleased

    _downKeyReleased

    boolean _downKeyReleased

    Class ptolemy.actor.lib.gui.BarGraph extends ArrayPlotter implements Serializable

    Class ptolemy.actor.lib.gui.Display extends AbstractPlaceableActor implements Serializable

    Serialized Fields

    columnsDisplayed

    Parameter columnsDisplayed
    The horizontal size of the display, in columns. This contains an integer, and defaults to 40.


    input

    TypedIOPort input
    The input port, which is a multiport.


    rowsDisplayed

    Parameter rowsDisplayed
    The vertical size of the display, in rows. This contains an integer, and defaults to 10.


    suppressBlankLines

    Parameter suppressBlankLines
    The flag indicating whether this display actor suppress blank lines. The default value is false.


    title

    StringAttribute title
    The title to put on top.


    _container

    java.awt.Container _container

    _initialized

    boolean _initialized

    _previousNumColumns

    int _previousNumColumns

    _previousNumRows

    int _previousNumRows

    _scrollPane

    javax.swing.JScrollPane _scrollPane

    _suppressBlankLines

    boolean _suppressBlankLines

    Class ptolemy.actor.lib.gui.HistogramPlotter extends PlotterBase implements Serializable

    Serialized Fields

    binWidth

    Parameter binWidth
    The width of the bin of the histogram. This parameter has type double, with default value 1.0.


    binOffset

    Parameter binOffset
    The offset for bins of the histogram. This parameter has type double, with default value 0.5.


    input

    TypedIOPort input
    The input port, which is a multiport.

    Class ptolemy.actor.lib.gui.InteractiveShell extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port.


    output

    TypedIOPort output
    The output port.


    prompt

    PortParameter prompt
    The prompt. The initial default is the string >>. Double quotes are not necessary. If you would like to have no prompt (aka, the empty string), create a Parameter that has the value "" (for example foo) and then set the value of the prompt parameter to $foo.


    shell

    ShellTextArea shell
    The shell window object.


    _container

    java.awt.Container _container
    Container into which this plot should be placed.


    _firstTime

    boolean _firstTime
    Indicator of the first time through.


    _frame

    TableauFrame _frame
    Frame into which plot is placed, if any.


    _outputValues

    java.util.List<E> _outputValues
    The list of strings to send to the output.


    _returnFalseInPostfire

    boolean _returnFalseInPostfire
    Flag indicating that "exit" or "quit" has been entered.


    _windowProperties

    WindowPropertiesAttribute _windowProperties

    Class ptolemy.actor.lib.gui.InteractiveShell.ShellFrame extends ExpressionShellFrame implements Serializable

    Class ptolemy.actor.lib.gui.InteractiveShell.ShellTableau extends ExpressionShellTableau implements Serializable

    Class ptolemy.actor.lib.gui.LEDMatrix extends TypedAtomicActor implements Serializable

    Serialized Fields

    column

    TypedIOPort column
    The column of the LED to be illuminated. The columns are 0-based, to address the first column, the value of this port should be 0. The token type is integer.


    control

    TypedIOPort control
    True if the LED is to be illuminated. The token type is Boolean.


    row

    TypedIOPort row
    The row of the LED to be illuminated. The columns are 0-based, to address the first row, the value of this port should be 0. The token type is integer.


    columns

    Parameter columns
    The number of columns. The number must be a positive integer, the initial default value is 10.


    rows

    Parameter rows
    The number of rows. The number must be a positive integer, the initial default value is 10.


    _leds

    RectangleAttribute[][] _leds
    Graphical icons for LED Array;


    _ledArray_icon

    EditorIcon _ledArray_icon
    The icon.

    Class ptolemy.actor.lib.gui.MatrixViewer extends AbstractPlaceableActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port.


    width

    Parameter width
    The width of the table in pixels. This must contain an integer. If the table is larger than this specified width, then scrollbars will appear, or the column width is adjusted. The default value is 500.


    height

    Parameter height
    The height of the table in pixels. This must contain an integer. If the table is larger than this specified width, then scrollbars will appear. The default value is 300.


    _container

    java.awt.Container _container
    Container with the display, if any.


    _effigy

    TokenEffigy _effigy
    The effigy for the token data.


    _height

    int _height
    Height of the matrix viewer in pixels.


    _pane

    MatrixPane _pane
    Pane with the matrix display.


    _tableau

    TokenTableau _tableau
    The tableau with the display, if any.


    _width

    int _width
    Width of the matrix viewer in pixels.

    Class ptolemy.actor.lib.gui.ModelDisplay extends AbstractPlaceableActor implements Serializable

    Serialized Fields

    modelURL

    FileParameter modelURL
    The file or URL from which to read the starting point model. The model is read when this parameter is set or changed.


    input

    TypedIOPort input
    The input port through which to provide MoML to modify the model. This has type string.


    _effigy

    PtolemyEffigy _effigy
    The effigy representing the model.


    _entity

    NamedObj _entity
    The top-level entity read from the file or URL.


    _graph

    JGraph _graph
    The graph display pane.


    _tableau

    Tableau _tableau
    The tableau, if the model is displayed in its own window.

    Class ptolemy.actor.lib.gui.Plotter extends PlotterBase implements Serializable

    Serialized Fields

    startingDataset

    Parameter startingDataset
    The starting dataset number to which data is plotted. This parameter has type IntToken, with default value 0. Its value must be non-negative.

    Class ptolemy.actor.lib.gui.PlotterBase extends TypedAtomicActor implements Serializable

    Serialized Fields

    fillOnWrapup

    Parameter fillOnWrapup
    If true, fill the plot when wrapup is called. This parameter has type BooleanToken, and default value true.


    legend

    StringAttribute legend
    A comma-separated list of labels to attach to each data set. This is always a string, with no enclosing quotation marks.


    _base

    java.net.URL _base
    The base specified in configure().


    _container

    java.awt.Container _container
    Container into which this plot should be placed.


    _plotSize

    SizeAttribute _plotSize
    A specification of the size of the plot if it's in its own window.


    _source

    java.lang.String _source
    The source specified in configure().


    _text

    java.lang.String _text
    The text specified in configure().


    _windowProperties

    WindowPropertiesAttribute _windowProperties
    A specification for the window properties of the frame.


    _configureBases

    java.util.List<E> _configureBases

    _configureSources

    java.util.List<E> _configureSources

    _configureTexts

    java.util.List<E> _configureTexts

    _configureSource

    java.lang.String _configureSource

    Class ptolemy.actor.lib.gui.PlotterBase.PlotWindowTableau extends PlotTableau implements Serializable

    Serialized Fields

    frame

    PlotTableauFrame frame
    The frame.

    Class ptolemy.actor.lib.gui.RealTimePlotter extends Plotter implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input port, which has type DoubleToken.


    _startTime

    long _startTime
    The start time.

    Class ptolemy.actor.lib.gui.SequencePlotter extends Plotter implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input port, which has type DoubleToken.


    xUnit

    Parameter xUnit
    The increment of the X axis.


    xInit

    Parameter xInit
    The start point of the X axis.


    _xValue

    double _xValue
    X axis counter.


    _xInit

    double _xInit
    Start of the X axis counter.


    _xUnit

    double _xUnit
    Increment of the X axis counter.


    _connected

    boolean[] _connected
    An array of booleans, where if an element is true, then the next point that is plotted for that channel will be connected. If a channel receives a nil token, then the value for the corresponding element will be false, meaning the next point will not be connected to the previous point.

    Class ptolemy.actor.lib.gui.SequenceScope extends SequencePlotter implements Serializable

    Serialized Fields

    width

    Parameter width
    The width of the X axis, in number of samples (an integer).


    persistence

    Parameter persistence
    The number of samples to be displayed at any one time (an integer).

    Class ptolemy.actor.lib.gui.SketchedSource extends SequencePlotter implements Serializable

    Serialized Fields

    initialTrace

    Parameter initialTrace
    The default signal to generate, prior to any user sketch. By default, this contains an array of zeros with the length given by the length parameter.


    length

    Parameter length
    The length of the output signal that will be generated. This parameter must contain an IntToken. By default, it has value 100.


    output

    TypedIOPort output
    The output port. The type of this port is double.


    periodic

    Parameter periodic
    An indicator of whether the signal should be periodically repeated. This parameter must contain a boolean token. By default, it has value true.


    runOnModification

    Parameter runOnModification
    If true, then when the user edits the plot, if the manager is currently idle, then run the model. This is a boolean that defaults to false.


    yBottom

    Parameter yBottom
    The bottom of the Y range. This is a double, with default value -1.0.


    yTop

    Parameter yTop
    The top of the Y range. This is a double, with default value 1.0.


    _count

    int _count
    Current position in the signal.


    _data

    double[][] _data
    Sketched data.


    _dataModified

    boolean _dataModified
    Indicator that the user has modified the data.


    _initialTraceIsSet

    boolean _initialTraceIsSet
    Indicator that initial trace has been supplied.


    _previousLengthValue

    int _previousLengthValue

    _settingInitialTrace

    boolean _settingInitialTrace

    Class ptolemy.actor.lib.gui.SliderSource extends Source implements Serializable

    Serialized Fields

    slider

    javax.swing.JSlider slider
    The slider that controls the output of this actor.


    minimum

    Parameter minimum
    The minimum value of the slider. The value must be an integer. The default value is -10.


    maximum

    Parameter maximum
    The maximum value of the slider. The value must be an integer. The default value is 10.


    majorTickSpacing

    Parameter majorTickSpacing
    The major tick spacing of the slider. The value must be an integer. The default value is 10.


    minorTickSpacing

    Parameter minorTickSpacing
    The minor tick spacing of the slider. The value must be an integer. The default value is 1.


    title

    StringAttribute title
    The title to put on top.


    _panel

    javax.swing.JPanel _panel
    The JPanel that contains the slider.


    _container

    java.awt.Container _container

    _val

    int _val

    _outputVal

    IntToken _outputVal

    _frame

    javax.swing.JFrame _frame

    Class ptolemy.actor.lib.gui.SliderSource.SliderFrame extends javax.swing.JFrame implements Serializable

    Serialized Fields

    _slider

    javax.swing.JSlider _slider

    Class ptolemy.actor.lib.gui.TimedPlotter extends Plotter implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input port, which has type DoubleToken.

    Class ptolemy.actor.lib.gui.TimedScope extends TimedPlotter implements Serializable

    Serialized Fields

    width

    Parameter width
    The width of the X axis (a double).


    persistence

    Parameter persistence
    The amount of data displayed at any one time (a double). This has units of the X axis.

    Class ptolemy.actor.lib.gui.XYPlotter extends Plotter implements Serializable

    Serialized Fields

    inputX

    TypedIOPort inputX
    Input port for the horizontal axis, with type DOUBLE.


    inputY

    TypedIOPort inputY
    Input port for the vertical axis, with type DOUBLE.

    Class ptolemy.actor.lib.gui.XYScope extends XYPlotter implements Serializable

    Serialized Fields

    persistence

    Parameter persistence
    The number of samples from each input channel displayed at any one time (an integer).


    Package ptolemy.actor.lib.hoc

    Class