Serialized Form


Package com.jgoodies.forms.debug

Class com.jgoodies.forms.debug.FormDebugPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

paintInBackground

boolean paintInBackground
Specifies whether the grid shall be painted in the background. Is off by default and so the grid is painted in the foreground.


paintDiagonals

boolean paintDiagonals
Specifies whether the container's diagonals should be painted.


gridColor

java.awt.Color gridColor
Holds the color used to paint the debug grid.


Package com.jgoodies.forms.layout

Class com.jgoodies.forms.layout.CellConstraints extends java.lang.Object implements Serializable

Serialized Fields

gridX

int gridX
Describes the component's horizontal grid origin (starts at 1).


gridY

int gridY
Describes the component's vertical grid origin (starts at 1).


gridWidth

int gridWidth
Describes the component's horizontal grid extend (number of cells).


gridHeight

int gridHeight
Describes the component's vertical grid extent (number of cells).


hAlign

CellConstraints.Alignment hAlign
Describes the component's horizontal alignment.


vAlign

CellConstraints.Alignment vAlign
Describes the component's vertical alignment.


insets

java.awt.Insets insets
Describes the component's Insets in it's display area.

Class com.jgoodies.forms.layout.CellConstraints.Alignment extends java.lang.Object implements Serializable

Serialization Methods

readResolve

private java.lang.Object readResolve()
Serialized Fields

ordinal

int ordinal

Class com.jgoodies.forms.layout.ColumnSpec extends FormSpec implements Serializable

Class com.jgoodies.forms.layout.ConstantSize extends java.lang.Object implements Serializable

Serialized Fields

value

double value

unit

ConstantSize.Unit unit

Class com.jgoodies.forms.layout.ConstantSize.Unit extends java.lang.Object implements Serializable

Serialization Methods

readResolve

private java.lang.Object readResolve()
Serialized Fields

ordinal

int ordinal

Class com.jgoodies.forms.layout.FormLayout extends java.lang.Object implements Serializable

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
In addition to the default serialization mechanism this class invalidates the component size cache. The cache will be populated again after the deserialization. Also, the fields colComponents and rowComponents have been marked as transient to exclude them from the serialization.

Throws:
java.io.IOException
Serialized Fields

colSpecs

java.util.List<E> colSpecs
Holds the column specifications.

See Also:
ColumnSpec, FormLayout.getColumnCount(), FormLayout.getColumnSpec(int), FormLayout.appendColumn(ColumnSpec), FormLayout.insertColumn(int, ColumnSpec), FormLayout.removeColumn(int)

rowSpecs

java.util.List<E> rowSpecs
Holds the row specifications.

See Also:
RowSpec, FormLayout.getRowCount(), FormLayout.getRowSpec(int), FormLayout.appendRow(RowSpec), FormLayout.insertRow(int, RowSpec), FormLayout.removeRow(int)

colGroupIndices

int[][] colGroupIndices
Holds the column groups as an array of arrays of column indices.

See Also:
FormLayout.getColumnGroups(), FormLayout.setColumnGroups(int[][]), FormLayout.addGroupedColumn(int)

rowGroupIndices

int[][] rowGroupIndices
Holds the row groups as an array of arrays of row indices.

See Also:
FormLayout.getRowGroups(), FormLayout.setRowGroups(int[][]), FormLayout.addGroupedRow(int)

constraintMap

java.util.Map<K,V> constraintMap
Maps components to their associated CellConstraints.

See Also:
CellConstraints, FormLayout.getConstraints(Component), FormLayout.setConstraints(Component, CellConstraints)

componentSizeCache

FormLayout.ComponentSizeCache componentSizeCache
Caches component minimum and preferred sizes. All requests for component sizes shall be directed to the cache.


minimumWidthMeasure

FormLayout.Measure minimumWidthMeasure
These functional objects are used to measure component sizes. They abstract from horizontal and vertical orientation and so, allow to implement the layout algorithm for both orientations with a single set of methods.


minimumHeightMeasure

FormLayout.Measure minimumHeightMeasure

preferredWidthMeasure

FormLayout.Measure preferredWidthMeasure

preferredHeightMeasure

FormLayout.Measure preferredHeightMeasure

Class com.jgoodies.forms.layout.FormSpec extends java.lang.Object implements Serializable

Serialized Fields

defaultAlignment

FormSpec.DefaultAlignment defaultAlignment
Holds the default alignment that will be used if a cell does not override this default.


size

Size size
Holds the size that describes how to size this column or row.


resizeWeight

double resizeWeight
Holds the resize weight; is 0 if not used.

Class com.jgoodies.forms.layout.FormSpec.DefaultAlignment extends java.lang.Object implements Serializable

Serialization Methods

readResolve

private java.lang.Object readResolve()
Serialized Fields

ordinal

int ordinal

Class com.jgoodies.forms.layout.RowSpec extends FormSpec implements Serializable


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

JPanner.ScrollListener _listener
The scrolling listener;


_scaleMouseListener

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 lbnl.actor.lib

Class lbnl.actor.lib.Simulator extends SDFTransformer implements Serializable

Serialized Fields

programArguments

Parameter programArguments
Arguments of program that starts the simulation.


programName

FileParameter programName
Name of program that starts the simulation.


socketPortNumber

Parameter socketPortNumber
Port number for BSD socket (used if non-negative).


simulationLogFile

FileParameter simulationLogFile
File name to which this actor writes the simulation log.


socketConfigurationFile

FileParameter socketConfigurationFile
File name to which this actor writes the socket configuration.


socketTimeout

Parameter socketTimeout
Socket time out in milliseconds.


workingDirectory

FileParameter workingDirectory
Working directory of the simulation.


showConsoleWindow

Parameter showConsoleWindow
If true (the default), a window will be created that shows the console output.


dblWri

double[] dblWri
Double values that were written to the socket.


cliPro

ClientProcess cliPro
Thread that runs the simulation.


porNo

int porNo
Port number that is actually used for BSD socket.


server

Server server
Server used for data exchange.


simProJav

java.lang.Process simProJav
Process that runs the simulation.


worDir

java.lang.String worDir
Working directory of the subprocess.


outTok

DoubleMatrixToken outTok
Output tokens.


simTimPre

double simTimPre
Ptolemy's time at the last call of the fire method.


simTimReaPre

double simTimReaPre
Time read from the simulation program at the last call of the fire method.


clientTerminated

boolean clientTerminated
Flag, set to true when the clients terminates the communication.


warWin

java.lang.Thread warWin
Thread that is used if a warning window need to be shown.


terminationMessage

java.lang.String terminationMessage
Message that will be displayed in the warning window when the client terminated, but Ptolemy continues with the simulation.


isHeadless

boolean isHeadless
Flag, set the true if Ptolemy is run without any graphical interface. If isHeadless=true, this actor will not open any windows for reporting outputs or warnings.


firstFire

boolean firstFire
Flag that is true during the first firing of this actor/.


tokTim

double tokTim
Time of token that will be written to the client. This is equal to the Ptolemy time minus one time step, because at time t_k, a client gets the output of other clients at t_{k-1}, which allows the client to compute the states and outputs at t_k

Class lbnl.actor.lib.SystemCommand extends TypedAtomicActor implements Serializable

Serialized Fields

output

TypedIOPort output
The port that outputs the standard output stream of the program.


error

TypedIOPort error
The port that outputs the standard error stream of the program.


exitValue

TypedIOPort exitValue
The port that outputs the exit value of the program.


programName

FileParameter programName
Name of program that starts the simulation.


simulationLogFile

FileParameter simulationLogFile
File name to which this actor writes the simulation log.


workingDirectory

FileParameter workingDirectory
Working directory of the simulation.


showConsoleWindow

Parameter showConsoleWindow
If true (the default), a window will be created that shows the console output.


programArguments

Parameter programArguments
Arguments of program that starts the simulation.


cliPro

ClientProcess cliPro
Thread that runs the simulation.


commandList

java.util.ArrayList<E> commandList
List with the command and the arguments. This list is stored as it may contain references to input ports that will be substituted prior to the simulation


worDir

java.lang.String worDir
Working directory of the subprocess.


isHeadless

boolean isHeadless
Flag, set the true if Ptolemy is run without any graphical interface If isHeadless=true, this actor will not open any windows for reporting outputs or warnings.


_iterationCount

int _iterationCount

_tokenMap

java.util.HashMap<K,V> _tokenMap

Package org.mlc.swing.example

Class org.mlc.swing.example.CustomerPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

suffixCombo

javax.swing.JComboBox suffixCombo

lastNameLabel

javax.swing.JLabel lastNameLabel

firstNameText

javax.swing.JTextField firstNameText

lastNameText

javax.swing.JTextField lastNameText

faxText

javax.swing.JTextField faxText

contactSeparator

java.awt.Component contactSeparator

surnameLabel

javax.swing.JLabel surnameLabel

okButton

javax.swing.JButton okButton

cancelButton

javax.swing.JButton cancelButton

buttonBar

java.awt.Component buttonBar

workPhoneLabel

javax.swing.JLabel workPhoneLabel

workPhoneText

javax.swing.JTextField workPhoneText

emailText

javax.swing.JTextField emailText

homePhoneText

javax.swing.JTextField homePhoneText

faxLabel

javax.swing.JLabel faxLabel

ordersSeparator

java.awt.Component ordersSeparator

surnameCombo

javax.swing.JComboBox surnameCombo

nameSeparator

java.awt.Component nameSeparator

suffixLabel

javax.swing.JLabel suffixLabel

emailLabel

javax.swing.JLabel emailLabel

homePhoneLabel

javax.swing.JLabel homePhoneLabel

firstNameLabel

javax.swing.JLabel firstNameLabel

orderTableControl

javax.swing.JTable orderTableControl

orderTable

javax.swing.JScrollPane orderTable

Class org.mlc.swing.example.ExamplePanel extends javax.swing.JPanel implements Serializable

Serialized Fields

nameLabel

javax.swing.JLabel nameLabel

nameText

javax.swing.JTextField nameText

tabbedPane

javax.swing.JTabbedPane tabbedPane

firstTab

javax.swing.JPanel firstTab

secondTab

javax.swing.JPanel secondTab

thirdTab

javax.swing.JPanel thirdTab

Package org.mlc.swing.layout

Class org.mlc.swing.layout.DndList extends javax.swing.JList implements Serializable

serialVersionUID: 1L

Serialized Fields

editor

FormEditor editor

fDragSource

java.awt.dnd.DragSource fDragSource

Class org.mlc.swing.layout.FormDebugPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

paintInBackground

boolean paintInBackground
Specifies whether the grid shall be painted in the background. Is off by default and so the grid is painted in the foreground.


paintDiagonals

boolean paintDiagonals
Specifies whether the container's diagonals should be painted.


gridColor

java.awt.Color gridColor
Holds the color used to paint the debug grid.


deactivated

boolean deactivated

Class org.mlc.swing.layout.FormEditor extends javax.swing.JPanel implements Serializable

Serialized Fields

verticalAlignmentList

java.lang.String[] verticalAlignmentList

horizontalAlignmentList

java.lang.String[] horizontalAlignmentList

colSpinnerModel

FormEditor.ColSpanSpinnerModel colSpinnerModel

rowSpinnerModel

FormEditor.RowSpanSpinnerModel rowSpinnerModel

newComponentAction

javax.swing.Action newComponentAction

removeComponentAction

javax.swing.Action removeComponentAction

insertRowBeforeAction

javax.swing.Action insertRowBeforeAction

insertRowAfterAction

javax.swing.Action insertRowAfterAction

deleteRowAction

javax.swing.Action deleteRowAction

insertColumnBeforeAction

javax.swing.Action insertColumnBeforeAction

insertColumnAfterAction

javax.swing.Action insertColumnAfterAction

deleteColumnAction

javax.swing.Action deleteColumnAction

verticalAlignmentCombo

javax.swing.JComboBox verticalAlignmentCombo

horizontalAlignmentCombo

javax.swing.JComboBox horizontalAlignmentCombo

rowSpanSpinner

javax.swing.JSpinner rowSpanSpinner

columnSpanSpinner

javax.swing.JSpinner columnSpanSpinner

columnSpanLabel

javax.swing.JLabel columnSpanLabel

horizontalAlignmentLabel

javax.swing.JLabel horizontalAlignmentLabel

rowSpanLabel

javax.swing.JLabel rowSpanLabel

verticalAlignmentLabel

javax.swing.JLabel verticalAlignmentLabel

contentPanel

javax.swing.JPanel contentPanel

insetsPanel

javax.swing.JPanel insetsPanel

rightInsetSpinnerModel

javax.swing.SpinnerNumberModel rightInsetSpinnerModel

topInsetSpinnerModel

javax.swing.SpinnerNumberModel topInsetSpinnerModel

bottomInsetSpinnerModel

javax.swing.SpinnerNumberModel bottomInsetSpinnerModel

leftInsetSpinnerModel

javax.swing.SpinnerNumberModel leftInsetSpinnerModel

rightInsetSpinner

javax.swing.JSpinner rightInsetSpinner

bottomInsetSpinner

javax.swing.JSpinner bottomInsetSpinner

leftInsetSpinner

javax.swing.JSpinner leftInsetSpinner

topInsetSpinner

javax.swing.JSpinner topInsetSpinner

tableModel

FormEditor.GridTableModel tableModel

insetsLabel

javax.swing.JLabel insetsLabel

componentsLabel

javax.swing.JLabel componentsLabel

componentPaletteLabel

javax.swing.JLabel componentPaletteLabel

componentPaletteListModel

FormEditor.ComponentPaletteListModel componentPaletteListModel

componentPalette

DndList componentPalette

componentPaletteScrollPane

javax.swing.JScrollPane componentPaletteScrollPane

componentSelectionListModel

FormEditor.ComponentSelectionListModel componentSelectionListModel

componentList

DndList componentList

componentListScrollPane

javax.swing.JScrollPane componentListScrollPane

componentListCellRenderer

FormEditor.ComponentListCellRenderer componentListCellRenderer

constraintsSeparator

java.awt.Component constraintsSeparator

positionsSeparator

java.awt.Component positionsSeparator

componentsPanel

javax.swing.JPanel componentsPanel

propertiesPanel

javax.swing.JPanel propertiesPanel

componentsSplitPane

javax.swing.JSplitPane componentsSplitPane

colSpecField

javax.swing.JTextField colSpecField

rowSpecField

javax.swing.JTextField rowSpecField

newComponents

java.util.Set<E> newComponents

layoutConstraintsManager

LayoutConstraintsManager layoutConstraintsManager

toolbar

javax.swing.JToolBar toolbar

newComponentButton

javax.swing.JButton newComponentButton

removeComponentButton

javax.swing.JButton removeComponentButton

columnDeleteButton

javax.swing.JButton columnDeleteButton

columnInsertAfterButton

javax.swing.JButton columnInsertAfterButton

columnInsertBeforeButton

javax.swing.JButton columnInsertBeforeButton

rowDeleteButton

javax.swing.JButton rowDeleteButton

rowInsertBeforeButton

javax.swing.JButton rowInsertBeforeButton

rowInsertAfterButton

javax.swing.JButton rowInsertAfterButton

container

java.awt.Container container

containerLayout

ContainerLayout containerLayout

layoutFrame

MultiContainerFrame layoutFrame

table

DnDTable table

tableScrollPane

javax.swing.JScrollPane tableScrollPane

constraintsSplitPane

javax.swing.JSplitPane constraintsSplitPane

topComponent

java.awt.Component topComponent

suspendConstraintControlUpdates

boolean suspendConstraintControlUpdates

formComponent

java.awt.Component formComponent

Class org.mlc.swing.layout.LayoutFrame extends javax.swing.JFrame implements Serializable

Serialized Fields

constraintsManager

LayoutConstraintsManager constraintsManager

menuBar

javax.swing.JMenuBar menuBar

actionMenu

javax.swing.JMenu actionMenu

saveXML

javax.swing.JMenuItem saveXML

viewCode

javax.swing.JMenuItem viewCode

exit

javax.swing.JMenuItem exit

viewMenu

javax.swing.JMenu viewMenu

viewDebugMenu

javax.swing.JCheckBoxMenuItem viewDebugMenu

fileChooser

javax.swing.JFileChooser fileChooser

editors

java.util.Map<K,V> editors

tabs

javax.swing.JTabbedPane tabs

layoutToTab

java.util.Map<K,V> layoutToTab

newLayouts

java.util.List<E> newLayouts

dframe

javax.swing.JFrame dframe

Class org.mlc.swing.layout.NewComponentDialog extends javax.swing.JPanel implements Serializable

Serialized Fields

componentNameLabel

javax.swing.JLabel componentNameLabel

componentNameTextField

javax.swing.JTextField componentNameTextField

importsLabel

javax.swing.JLabel importsLabel

importsComponent

javax.swing.JTextArea importsComponent

declarationsLabel

javax.swing.JLabel declarationsLabel

declarationsComponent

javax.swing.JTextArea declarationsComponent

configureLabel

javax.swing.JLabel configureLabel

configureComponent

javax.swing.JTextArea configureComponent

addToContainerLabel

javax.swing.JLabel addToContainerLabel

addToContainerComponent

javax.swing.JTextArea addToContainerComponent

removeFromContainerLabel

javax.swing.JLabel removeFromContainerLabel

removeFromContainerComponent

javax.swing.JTextArea removeFromContainerComponent

previewLabel

javax.swing.JLabel previewLabel

previewComponent

javax.swing.JScrollPane previewComponent

prevButton

javax.swing.JButton prevButton

okButton

javax.swing.JButton okButton

cancelButton

javax.swing.JButton cancelButton

buttonBar

java.awt.Component buttonBar

componentDef

ComponentDef componentDef

preview

java.lang.String preview

myOwner

java.awt.Window myOwner

success

boolean success

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().


_causalityInterface

CausalityInterface _causalityInterface
The causality interface, if it has been created.


_causalityInterfaceDirector

Director _causalityInterfaceDirector
The director for which the causality interface was created.


_receiversVersion

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

Class ptolemy.actor.CausalityMarker extends Attribute implements Serializable

Serialized Fields

causalityMarker

java.util.List<E> causalityMarker
The list of sets of ports in the causality marker.

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.


_causalityInterface

CausalityInterface _causalityInterface
The causality interface, if it has been created.


_notifyingActorFiring

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


_publishedPorts

java.util.Map<K,V> _publishedPorts
Keep track of all published ports accessable in this container.


_publisherRelations

java.util.Map<K,V> _publisherRelations
Keep track of all relations with published ports accessable in this container.


_stopRequested

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


_director

Director _director

_inConnectionsChanged

boolean _inConnectionsChanged

_manager

Manager _manager

_causalityInterfaceDirector

Director _causalityInterfaceDirector
The director for which the causality interface was created.


_receiversVersion

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


_relationWidthInference

RelationWidthInference _relationWidthInference

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.


_finishRequested

boolean _finishRequested
Indicator that finish() has been called.


_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.DoNothingDirector extends Director implements Serializable

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.


_defaultWidth

int _defaultWidth
The default width. In case there is no unique solution for a relation connected to this port the default width will be used.


_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

_widthEqualToParameter

java.util.Set<E> _widthEqualToParameter

_widthEqualToPort

java.util.Set<E> _widthEqualToPort

_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 WIDTH_TO_INFER, which means that the width will be inferred.


_auto

Parameter _auto
A parameter to be able to set the width to Auto to automatically infer widths. This is an integer that equals WIDTH_TO_INFER.


_suppressWidthPropagation

boolean _suppressWidthPropagation

_cachedWidth

int _cachedWidth

Class ptolemy.actor.LazyTypedCompositeActor extends TypedCompositeActor implements Serializable

Serialized Fields

_configureDone

boolean _configureDone
Indicate whether data given by configure() has been processed.


_populating

boolean _populating
Indicator that we are in the midst of populating.


_base

java.net.URL _base
The base specified by the configure() method.


_cloning

boolean _cloning
Indicate that we are cloning.


_configureSource

java.lang.String _configureSource
URL specified to the configure() method.


_configureText

java.lang.String _configureText
Text specified to the configure() method.

Class ptolemy.actor.Manager extends NamedObj implements Serializable

Serialized Fields

_actorsToInitialize

java.util.List<E> _actorsToInitialize

_container

CompositeActor _container

_executionIdentifier

java.lang.Object _executionIdentifier
An execution identifier. See #getExecutionIdentifier(Throwable throwable)


_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

_preinitializeVersion

long _preinitializeVersion

_printTimeAndMemory

boolean _printTimeAndMemory

_resumeNotifyWaiting

boolean _resumeNotifyWaiting

_state

Manager.State _state

_thread

PtolemyThread _thread

_throwableToExecutionIdentifier

java.util.Map<K,V> _throwableToExecutionIdentifier

_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

TypedIOPort.TypeTerm _typeTerm

_typeListeners

java.util.List<E> _typeListeners

_constraints

java.util.Set<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.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.AttributeMatcher extends Attribute 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.

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

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

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

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.CreationAttribute extends MatchingAttribute implements Serializable

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

Serialized Fields

directory

FileParameter directory
The default directory where model files are searched.


fileFilter

StringParameter fileFilter
The filter used to search the files, such as "*.xml".


subdirs

Parameter subdirs
A Boolean parameter to determine whether subdirectories of the directory are also searched.

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

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.FSMMatcher extends FSMActor 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.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.GraphTransformer.ReplacementObjectAttribute extends StringAttribute implements Serializable

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

Serialized Fields

_owner

GTIngredientsAttribute _owner
The attribute that contain this list of ingredients.

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

Serialized Fields

_ingredientList

GTIngredientList _ingredientList
The ingredient list obtained from the last expression parsing.


_parsed

boolean _parsed
Indicate whether the current expression has been parsed.

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

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

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

Class ptolemy.actor.gt.IgnoringAttribute extends MatchingAttribute implements Serializable

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

Serialized Fields

constraint

Parameter constraint
The constraint that all values must satisfy.


initial

Parameter initial
The initial value.


mode

ChoiceParameter mode
The mode of this parameter.

See Also:
IterativeParameter.Mode

next

Parameter next
The next value (computed based on the current value).


_foundMatch

boolean _foundMatch
Whether a match has been found.

Class ptolemy.actor.gt.IterativeParameter.ConstraintViolationException extends IllegalActionException implements Serializable

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

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

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

Class ptolemy.actor.gt.ModelCombine extends Transformer implements Serializable

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

Serialized Fields

actorInput

TypedIOPort actorInput
The actorInput port.


_wrapperEffigy

PtolemyEffigy _wrapperEffigy
The effigy to execute models at run time.

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

Serialized Fields

modelName

PortParameter modelName
The port parameter for the model name.


moml

TypedIOPort moml
The port to receive moml strings of the models.


_emptyModel

Entity _emptyModel
The empty model.


_parser

MoMLParser _parser
The parser used to parse the moml strings.

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

Serialized Fields

input

TypedIOPort input
The input port to receive models to be viewed.


output

TypedIOPort output
The output port to send the input models unchanged.


reopenWindow

Parameter reopenWindow
Whether the window should be reopened each time a new model is received in a token.


screenLocation

Parameter screenLocation
Location of the window, or [-1, -1] if the location is to be determined automatically.


screenSize

Parameter screenSize
Size of the window, or [-1, -1] if the size is to be determined automatically.


title

PortParameter title
Title of the window, or empty if the title is to be determined automatically.


_tableaus

Tableau[] _tableaus
The opened tableaus.

Class ptolemy.actor.gt.MoMLGenerator extends Transformer implements Serializable

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

Serialized Fields

_setTokenWithContainer

boolean _setTokenWithContainer
Whether the token should be set as the container. This should be false only before the local constructor is invoked. After that, this variable should always be true.

Class ptolemy.actor.gt.NegationAttribute extends MatchingAttribute implements Serializable

Class ptolemy.actor.gt.OptionAttribute extends MatchingAttribute implements Serializable

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
The criterion, or null.

Class ptolemy.actor.gt.PreservationAttribute extends MatchingAttribute implements Serializable

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

Serialized Fields

editorFactory

VisibleParameterEditorFactory editorFactory
The editor factory.

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

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

Serialized Fields

patternParameter

Parameter patternParameter
The parameter containing an ObjectToken encapsulating the pattern with name "pattern".

Class ptolemy.actor.gt.StateMatcher extends State 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.


_causalityInterface

CausalityInterface _causalityInterface
The causality interface, if it has been created.


_causalityInterfaceDirector

Director _causalityInterfaceDirector
The director for which the causality interface was created.


_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.TransformationException extends KernelException implements Serializable

Class ptolemy.actor.gt.TransformationMode extends ChoiceParameter implements Serializable

Serialized Fields

_collectAllMatches

boolean _collectAllMatches
Whether all matches should be collected in a list.


_masterRule

TransformationRule _masterRule
The master transformation rule (not the working copy).


_matchResults

java.util.LinkedList<E> _matchResults
The collected matches.


_matcher

GraphMatcher _matcher
The graph matcher.


_random

java.util.Random _random
The random number generator.


_workingCopy

TransformationRule _workingCopy
The current working copy.


_workingCopyVersion

long _workingCopyVersion
Version of the current working copy.


_workspace

Workspace _workspace
A new workspace for working copies.

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

Serialized Fields

matchInput

TypedIOPort matchInput
The matchInput port.


matchOutput

TypedIOPort matchOutput
The matchOutput port.


matched

TypedIOPort matched
The matched port.


mode

TransformationMode mode
The mode.


modelInput

TypedIOPort modelInput
The modelInput port.


modelOutput

TypedIOPort modelOutput
The modelOutput port.


remaining

TypedIOPort remaining
The remaining port.


repeatCount

Parameter repeatCount
The count of repeated transformation in one firing.


repeatUntilFixpoint

Parameter repeatUntilFixpoint
Whether the transformation in one firing should continue until a fixpoint is reached.


trigger

TypedIOPort trigger
The trigger port.


_lastModel

CompositeEntity _lastModel
The last received model.


_lastResults

java.util.List<E> _lastResults
The list of match results collected in the most recent pattern matching.


_removeFirst

boolean _removeFirst
Whether the first match result should be removed in postfire.

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

Class ptolemy.actor.gt.TransitionMatcher extends Transition 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.ValidationException extends KernelException implements Serializable


Package ptolemy.actor.gt.controller

Class ptolemy.actor.gt.controller.Clone extends GTEvent implements Serializable

Serialized Fields

useMoml

Parameter useMoml
Whether the cloning should use moml exported from the model.

Class ptolemy.actor.gt.controller.DesignPatternImporter extends Attribute implements Serializable

Serialized Fields

designPatternFile

FileParameter designPatternFile
The design pattern file.


_lastUndoStack

UndoStackAttribute _lastUndoStack
The last undo stack.


_lastValues

java.util.HashMap<K,V> _lastValues
The last values of the parameters to this importer, used to test whether attributes are changed and whether the container needs to be updated.

Class ptolemy.actor.gt.controller.Execute extends GTEvent implements Serializable

Serialized Fields

_effigy

PtolemyEffigy _effigy
The effigy for the executed model.


_managers

java.util.List<E> _managers
The manager to execute the model.

Class ptolemy.actor.gt.controller.GTEvent extends Event implements Serializable

Serialized Fields

refinementExtender

RefinementExtender refinementExtender
The refinement extender to suggest the type of refinement for this event.

Class ptolemy.actor.gt.controller.InitModel extends GTEvent implements Serializable

Serialized Fields

modelName

StringParameter modelName
The name of the empty model.


_emptyModel

CompositeEntity _emptyModel
An empty model.

Class ptolemy.actor.gt.controller.InitModelWithContainer extends InitModel implements Serializable

Class ptolemy.actor.gt.controller.InputModel extends GTEvent implements Serializable

Class ptolemy.actor.gt.controller.Match extends Transform implements Serializable

Class ptolemy.actor.gt.controller.ModelIOPort extends RefinementPort implements Serializable

Class ptolemy.actor.gt.controller.ModelParameter extends Parameter implements Serializable

Serialized Fields

_model

CompositeEntity _model
The model in this parameter.


_token

ActorToken _token
The most recently created ActorToken.


_tokenVersion

long _tokenVersion
The version of the ActorToken.

Class ptolemy.actor.gt.controller.OutputModel extends GTEvent implements Serializable

Class ptolemy.actor.gt.controller.ReadModel extends GTEvent implements Serializable

Serialized Fields

modelFile

FileParameter modelFile
The model file.


_parser

MoMLParser _parser
The moml parser to parse the file.

Class ptolemy.actor.gt.controller.Transform extends GTEvent implements Serializable

Serialized Fields

controllerFactory

TransformEventController.Factory controllerFactory
The controller factory for this event to specialize the popup menu.


defer

Parameter defer
Whether the transformation should be deferred with a change request.


matched

Parameter matched
Whether the last pattern matching was successful (read-only).


mode

TransformationMode mode
The transformation mode.


_transformation

TransformationRule _transformation
The encapsulated transformation rule.


_configureSource

java.lang.String _configureSource
The configure source.


_configurer

Configurer _configurer
The configurer.

Class ptolemy.actor.gt.controller.Transform.EmbeddedConfigurer extends Configurer implements Serializable

Serialized Fields

_container

NamedObj _container
The container of this configurer.

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

Serialized Fields

condition

Parameter condition
The condition under which this attribute is applicable. It must evaluate to a BooleanToken. If its value is false, execution of the transformation causes no effect.


editorFactory

TransformationAttributeEditorFactory editorFactory
The editor factory for the contents in this attribute (the model updater).


_configureSource

java.lang.String _configureSource
The configure source.


_configurer

Configurer _configurer
The configurer containing the model updater.


_executionListeners

java.util.List<E> _executionListeners
The list of execution listeners.


_modelUpdater

PteraModalModel _modelUpdater
The model updater.

Class ptolemy.actor.gt.controller.View extends GTEvent implements Serializable

Serialized Fields

referredTableau

StringParameter referredTableau
Name of the tableau referred to, or an empty string if the default tableau is to be used.


reopenWindow

Parameter reopenWindow
Whether the window should be closed and reopened on each update.


screenLocation

Parameter screenLocation
Location of the new window, or [-1, -1] if the default location is to be used.


screenSize

Parameter screenSize
Size of the new window, or [-1, -1] if the default size is to be used.


tableau

TableauParameter tableau
The default tableau.


title

Parameter title
Title of the window.


_parser

MoMLParser _parser
The parser.


_workspace

Workspace _workspace
The workspace for the parser.

Class ptolemy.actor.gt.controller.WriteModel extends GTEvent implements Serializable

Serialized Fields

modelFile

FileParameter modelFile
The file to store the model.


Package ptolemy.actor.gt.data

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

Serialized Fields

_parameterValues

SequentialTwoWayHashMap<K,V> _parameterValues
The assignment of values to the parameters.

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

Class ptolemy.actor.gt.data.SequentialTwoWayHashMap extends TwoWayHashMap<K,V> implements Serializable

Serialized Fields

_keySequence

java.util.List<E> _keySequence
The sequence of the keys, sorted in the order in which they are added to this two-way hash map.

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
The reverse hash map that maps values back to keys.


Package ptolemy.actor.gt.gui

Class ptolemy.actor.gt.gui.ComboItem extends ComboBox.Item implements Serializable

Class ptolemy.actor.gt.gui.GTGUIAction extends GUIAction implements Serializable


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.ArrayOfRecordsPane extends javax.swing.JPanel implements Serializable

Serialized Fields

table

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

Class ptolemy.actor.gui.ArrayOfRecordsPane.ArrayAsTable extends javax.swing.table.AbstractTableModel implements Serializable

Serialized Fields

_array

ArrayToken _array
The array for which a Table Model is created.


_columns

java.util.List<E> _columns
The column names found in the array.

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

Serialized Fields

classesToRemove

Parameter classesToRemove
A Parameter that is an array of Strings where each element names a class to be removed. The initial default value is an array with an empty element.

Kepler uses this parameter to remove certain classes:

  <property name="_classesToRemove" class="ptolemy.data.expr.Parameter"
  value="{"ptolemy.codegen.kernel.StaticSchedulingCodeGenerator","ptolemy.codegen.c.kernel.CCodeGenerator"}">
      <doc>An array of Strings, where each element names a class
  to removed by the MoMLFilter.</doc>
   >/property>
  


removeGraphicalClasses

Parameter removeGraphicalClasses
A Parameter that if set to true adds RemoveGraphicalClasses to the list of MoMLFilters. Use this to run non-graphical classes. Note that setting this parameter and using MoMLApplication is not likely to work as MoMLApplication sets the look and feel which invokes the graphical system. The initial value is a boolean with the value false, indicating that RemoveGraphicalClasses should not be added to the filter list.

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.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. Methods in the class referred to by this field should only be invoked from the Swing event thread. See SwingUtilities.invokeLater().

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.ModelRepaintController extends Attribute implements Serializable

Serialized Fields

_executable

Executable _executable

_repaintOnWrapUp

Parameter _repaintOnWrapUp

_repaintOnPostFire

Parameter _repaintOnPostFire

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

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

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.


_applyChangeRequestFailed

boolean _applyChangeRequestFailed
True if the change request in _apply() failed


_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

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

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

_query

Query _query
The query used to specify save as options.


_model

NamedObj _model

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

_attributes

java.util.Map<K,V> _attributes
Maps an entry name to the attribute that is attached to it.


_dialog

ComponentDialog _dialog

_handler

NamedObj _handler

_ignoreChangeNotifications

boolean _ignoreChangeNotifications

_isOpenErrorWindow

boolean _isOpenErrorWindow

_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

Serialized Fields

_configureSource

java.lang.String _configureSource
The input source that was specified the last time the configure method was called.


_configureText

java.lang.String _configureText
The text string that represents the current configuration of this object.

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.


_packCalled

boolean _packCalled
Set to true when the pack() method is called. Used by TopPack.pack().


_topPack

TopPack _topPack
Set in pack() if an alternate topPack is used.

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.exec

Class ptolemy.actor.gui.exec.ExecShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.exec.ExecShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.exec.ExecShellTableau extends Tableau implements Serializable

Serialized Fields

frame

ExecShellTableau.ExecShellFrame frame
The frame in which text is written.


_interpreter

java.lang.Process _interpreter

Class ptolemy.actor.gui.exec.ExecShellTableau.ExecShellFrame extends TableauFrame implements Serializable

Serialized Fields

shellTextArea

ShellTextArea shellTextArea
The text area tableau used for input and output.

Class ptolemy.actor.gui.exec.ExecShellTableau.Factory extends TableauFactory implements Serializable


Package ptolemy.actor.gui.properties

Class ptolemy.actor.gui.properties.ActionGUIProperty extends GUIProperty implements Serializable

Serialized Fields

parse

Parameter parse
A Boolean parameter that determines whether the moml text should be parsed before applying to the current model in the ActionGUIProperty.perform() method.


_action

GUIAction _action
The action.

Class ptolemy.actor.gui.properties.Button extends ActionGUIProperty implements Serializable

Serialized Fields

icon

FileParameter icon
Icon for the button. Set an empty string to remove the icon.


tooltip

StringParameter tooltip
Tooltip for the button.

Class ptolemy.actor.gui.properties.ComboBox extends GUIProperty implements Serializable

Class ptolemy.actor.gui.properties.ComboBox.Item extends ActionGUIProperty implements Serializable

Serialized Fields

next

StringParameter next
The name of the next item in the same combo box to be selected when this GUI property is selected, or an empty string if there is no next item.

Class ptolemy.actor.gui.properties.GUIAction extends Attribute implements Serializable

Serialized Fields

_momlSource

java.lang.String _momlSource
The input source that was specified the last time the configure method was called.


_momlText

java.lang.String _momlText
The text string that represents the current configuration of this object.


_parsedObject

NamedObj _parsedObject
The object obtained by parsing the moml text, or null.


_parser

MoMLParser _parser
The parser used to parse the moml text.

Class ptolemy.actor.gui.properties.GUIProperty extends Attribute implements Serializable

Serialized Fields

preferredSize

Parameter preferredSize
The preferred size of the Swing component. It would be a matrix of 2 integers, such as [100, 20]. It is ignored if any integer is less than 0.


_component

javax.swing.JComponent _component
The Java Swing component.


_constraint

java.lang.Object _constraint
The layout constraint.

Class ptolemy.actor.gui.properties.Panel extends GUIProperty implements Serializable

Class ptolemy.actor.gui.properties.Separator extends GUIProperty implements Serializable

Serialized Fields

orientation

StringParameter orientation
The orientation of the JSeparator, which should be either "Horizontal" or "Vertical".

Class ptolemy.actor.gui.properties.ToolBar extends GUIProperty implements Serializable


Package ptolemy.actor.gui.ptjacl

Class ptolemy.actor.gui.ptjacl.TclShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.ptjacl.TclShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.ptjacl.TclShellTableau extends Tableau implements Serializable

Serialized Fields

_tclInterp

tcl.lang.Interp _tclInterp

Class ptolemy.actor.gui.ptjacl.TclShellTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.ptjacl.TclShellTableau.TclShellFrame extends TableauFrame implements Serializable

Serialized Fields

shellTextArea

ShellTextArea shellTextArea
The text area tableau used for input and output.


Package ptolemy.actor.gui.python

Class ptolemy.actor.gui.python.PythonShellEffigy extends Effigy implements Serializable

Serialized Fields

_model

NamedObj _model
A model used to store variables.

Class ptolemy.actor.gui.python.PythonShellEffigy.ShellFactory extends PtolemyEffigy.Factory implements Serializable

Class ptolemy.actor.gui.python.PythonShellTableau extends Tableau implements Serializable

Serialized Fields

_interpreter

org.python.util.PythonInterpreter _interpreter

Class ptolemy.actor.gui.python.PythonShellTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.python.PythonShellTableau.PythonShellFrame extends TableauFrame implements Serializable


Package ptolemy.actor.gui.run

Class ptolemy.actor.gui.run.CustomizableRunFrame extends TableauFrame implements Serializable

Serialized Fields

_customizeMenu

javax.swing.JMenu _customizeMenu
Customize menu for this frame.


_pane

CustomizableRunPane _pane
The pane inside this frame.


_model

CompositeActor _model
The associated model.

Class ptolemy.actor.gui.run.CustomizableRunPane extends javax.swing.JPanel implements Serializable

Serialized Fields

_model

CompositeActor _model
The associated model.


_layoutConstraintsManager

LayoutConstraintsManager _layoutConstraintsManager
The layout constraint manager.


_subpanels

java.util.HashMap<K,V> _subpanels
A collection of subpanels.

Class ptolemy.actor.gui.run.InterfaceTableau extends Tableau implements Serializable

Serialized Fields

_manager

Manager _manager
The manager.

Class ptolemy.actor.gui.run.InterfaceTableau.Factory extends TableauFactory implements Serializable

Class ptolemy.actor.gui.run.LayoutTableau extends Tableau implements Serializable

Class ptolemy.actor.gui.run.PaletteList extends javax.swing.JList implements Serializable

serialVersionUID: 1L

Serialized Fields

fDragSource

java.awt.dnd.DragSource fDragSource
The source of the drag.


editor

PtolemyFormEditor editor

Class ptolemy.actor.gui.run.PtolemyFormEditor extends javax.swing.JPanel implements Serializable

Serialized Fields

_containerLayout

ContainerLayout _containerLayout
The layout manager.


_container

java.awt.Container _container
The container.


newComponents

java.util.Set<E> newComponents
The set of new components.


topComponent

java.awt.Component topComponent
The top level component.


_bottomInsetSpinnerModel

javax.swing.SpinnerNumberModel _bottomInsetSpinnerModel
Model for the bottom inset control.


_bottomInsetSpinner

javax.swing.JSpinner _bottomInsetSpinner
The bottom inset control.


_columnDeleteButton

javax.swing.JButton _columnDeleteButton
The button to delete a column.


_columnInsertAfterButton

javax.swing.JButton _columnInsertAfterButton
The button to insert after the selected column.


_columnInsertBeforeButton

javax.swing.JButton _columnInsertBeforeButton
The button to insert before the selected column.


_columnSpanSpinnerModel

PtolemyFormEditor.ColSpanSpinnerModel _columnSpanSpinnerModel
The model for the column span control.


_columnSpanSpinner

javax.swing.JSpinner _columnSpanSpinner
The column span control.


_horizontalAlignmentList

java.lang.String[] _horizontalAlignmentList
The list of horizontal alignment options.


_horizontalAlignmentCombo

javax.swing.JComboBox _horizontalAlignmentCombo
The horizontal alignment control.


_layoutFrame

RunLayoutFrame _layoutFrame
The layout frame.


_leftInsetSpinnerModel

javax.swing.SpinnerNumberModel _leftInsetSpinnerModel
Model for the left inset control.


_leftInsetSpinner

javax.swing.JSpinner _leftInsetSpinner
The left inset control.


_packAction

javax.swing.Action _packAction
Action to pack the run control window.


_removeComponentAction

javax.swing.Action _removeComponentAction
Action to remove a component.


_removeComponentButton

javax.swing.JButton _removeComponentButton
Button to remove a component.


_rightInsetSpinnerModel

javax.swing.SpinnerNumberModel _rightInsetSpinnerModel
Model for the right inset control.


_rightInsetSpinner

javax.swing.JSpinner _rightInsetSpinner
The right inset control.


_rowDeleteButton

javax.swing.JButton _rowDeleteButton
The button to delete a row.


_rowInsertAfterButton

javax.swing.JButton _rowInsertAfterButton
The button to insert a row after the selected one.


_rowInsertBeforeButton

javax.swing.JButton _rowInsertBeforeButton
The button to insert a row before the selected one.


_rowSpanSpinnerModel

PtolemyFormEditor.RowSpanSpinnerModel _rowSpanSpinnerModel
The model for the row span control.


_rowSpanSpinner

javax.swing.JSpinner _rowSpanSpinner
The row span control.


_suspendConstraintControlUpdates

boolean _suspendConstraintControlUpdates
Flag to suspend updates.


_table

LayoutTable _table
The layout table, built in the constructor.


_tableModel

PtolemyFormEditor.GridTableModel _tableModel
The data model for the table.


_topInsetSpinnerModel

javax.swing.SpinnerNumberModel _topInsetSpinnerModel
Model for the top inset control.


_topInsetSpinner

javax.swing.JSpinner _topInsetSpinner
The top inset control.


_verticalAlignmentList

java.lang.String[] _verticalAlignmentList
The list of vertical alignment options.


_verticalAlignmentCombo

javax.swing.JComboBox _verticalAlignmentCombo
The vertical alignment control.

Class ptolemy.actor.gui.run.RunLayoutFrame extends TableauFrame implements Serializable

Serialized Fields

_pane

CustomizableRunPane _pane
The run pane whose layout is being edited.


_model

CompositeActor _model
The associated model.


_constraintsManager

LayoutConstraintsManager _constraintsManager
The constraints manager being edited.


_editors

java.util.Map<K,V> _editors
Set of editors indexed by layout.


_newLayouts

java.util.List<E> _newLayouts
A list of new layouts.


_tabs

javax.swing.JTabbedPane _tabs
Tabbed pane for showing nested layouts.


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.HiddenStyle 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.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

PortParameter 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


trueInput_tokenConsumptionRate

Parameter trueInput_tokenConsumptionRate
This parameter provides token consumption rate for trueInput. The type is int.


falseInput_tokenConsumptionRate

Parameter falseInput_tokenConsumptionRate
This parameter provides token consumption rate for falseInput. The type is int.


control_tokenConsumptionRate

Parameter control_tokenConsumptionRate
This parameter provides token consumption rate for control. The type is int.


_control

BooleanToken _control
The most recently read control token.


_controlUsed

boolean _controlUsed
Indicator that the control token was used in the fire method.

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 boolean.


input

TypedIOPort input
The input port. The type can be anything. This is a multiport, and input tokens on all channels are routed to corresponding channels on the output port, if there are such channels.


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.ClockSensor 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.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.ConfigurationSelect 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.


selector

Parameter selector
Parameter that selects one of the two input ports. The type is BooleanToken that defaults to false.


output

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


trueInput_tokenConsumptionRate

Parameter trueInput_tokenConsumptionRate
This parameter provides token consumption rate for trueInput. The type is int.


falseInput_tokenConsumptionRate

Parameter falseInput_tokenConsumptionRate
This parameter provides token consumption rate for falseInput. The type is int.

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

Serialized Fields

selector

Parameter selector
Parameter that selects one of the two input ports. The type is BooleanToken that defaults to false.


input

TypedIOPort input
The input port. The type can be anything. This is a multiport, and input tokens on all channels are routed to corresponding channels on the output port, if there are such channels.


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.

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

Serialized Fields

useLocalTime

Parameter useLocalTime
If true, use the model time reported by the input port, which is normally the model time of the local director. If false (the default), use the model time reported by the top-level director. Local time may differ from global time inside modal models and certain domains that manipulate time.

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.DiscreteClock extends TimedSource implements Serializable

Serialized Fields

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}.


period

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


start

TypedIOPort start
A port that, if connected, is used to specify when the clock starts. This port accepts any type. The arrival of an event is what starts the clock. Upon arrival of such an event, the clock starts as if just initialized. The clock will not start until such an event is provided, unless the port is left unconnected, in which case the actor starts immediately.


stop

TypedIOPort stop
A port that, if connected, is used to specify when the clock stops. This port accepts any type. The arrival of an event is what stops the clock.


values

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


_outputProduced

boolean _outputProduced
Indicator that an output was produced and hence we should skip to the next phase in postfire.

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 LimitedFiringSource 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.


exitCode

TypedIOPort exitCode
The exit code of the subprocess. Usually, a non-zero exit code indicate that the subprocess had a problem. This port is an output port of type int.


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.


prependPlatformDependentShellCommand

Parameter prependPlatformDependentShellCommand
If true, then prepend the platform dependent shell command to the parsed value of the command parameter. By setting this argument to true, it is possible to invoke commands in a platform neutral method.

Under Windows NT or XP, the arguments "cmd.exe" and "/C" are prepended. Under Windows 95, the arguments "command.com" and "/C" are prepended. Under all other platforms, the arguments "/bin/sh" and "-c" are prepended.

By prepending sh or cmd, then this actor can use the file redirection operations.

The default value of this parameter is a boolean of value false, which allows the user to arbitrarily invoke /bin/sh scripts on all platforms.


throwExceptionOnNonZeroReturn

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


waitForProcess

Parameter waitForProcess
If true, then actor will wait until subprocess completes. The default is a boolean of value true.


_inputBufferedWriter

java.io.BufferedWriter _inputBufferedWriter

_errorGobbler

Exec._StreamReaderThread _errorGobbler

_outputGobbler

Exec._StreamReaderThread _outputGobbler

_process

java.lang.Process _process

_stopFireRequested

boolean _stopFireRequested

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

Serialized Fields

executionTime

Parameter executionTime
The amount of time to consume. This is either in milliseconds, if the realTime parameter is set to true, or in the number of iterations of a fixed computation, if the realTime parameter is set to false. This is a long that defaults to 1000L.


granularity

Parameter granularity
The granularity of the computation. This parameter specifies the number of additions performed in each invocation of the (unintersting) computation. This is a long, which defaults to 400000, which yields a computation time granularity of approximately 1msec on a MacBook Pro.


realTime

Parameter realTime
If true, then the executionTime parameter is interpreted as milliseconds. If it is false (the default), then the executionTime parameter is interpreted to specify the number of cycles of a fixed computation. Use false to specify a fixed computational load, and use true to specify an amount of real time to consume. When this is true, if the thread executing the fire() method is preempted during its run, then less computation is done.

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

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.GetCausalityInterface extends Source implements Serializable

Serialized Fields

actorName

StringParameter actorName
Name of the actor to get the causality interface of. If this is the empty string (the default), then the container is used.


dependents

TypedIOPort dependents
Output port on which to put the description of the dependent ports.


equivalences

TypedIOPort equivalences
Output port on which to put the description of the equivalence classes.

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.


initial

Parameter initial
The initial value to be displayed.

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.MovingMaximum extends Transformer implements Serializable

Serialized Fields

_maximum

ScalarToken _maximum

_value

ScalarToken _value

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.


requireAllCorrectValues

Parameter requireAllCorrectValues
If true, and the number of tokens seen in wrapup() is not equal to or greater than the number of elements in the correctValues array, then throw an exception. The default value is true. This parameter is a shared parameter, meaning that changing it for any one instance in a model will change it for all instances in the model.


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

eliminateDuplicates

Parameter eliminateDuplicates
If true, eliminate duplicate tokens in the output stream. This is a boolean that defaults to false.


inputA

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


inputA_tokenConsumptionRate

Parameter inputA_tokenConsumptionRate
The token consumption rate for inputA.


inputB

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


inputB_tokenConsumptionRate

Parameter inputB_tokenConsumptionRate
The token consumption rate for inputB.


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.


_lastProduced

ScalarToken _lastProduced
The last produced token. Used to eliminate duplicates.


_nextPort

TypedIOPort _nextPort
The port from which to read next.


_readFromA

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


_recordedToken

ScalarToken _recordedToken
The recorded token.


_tentativeLastProduced

ScalarToken _tentativeLastProduced
The tentative last produced token. Used to eliminate duplicates.


_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.OrderedRecordAssembler extends RecordAssembler implements Serializable

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 RandomSource 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.


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).


values

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


_current

double _current

_executing

boolean _executing

_stopTime

Time _stopTime

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 empty, indicating that no channel is specified. A channel must be set before the actor executes or an exception will occur.


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.

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. If this value is changed during execution, then the new value will be the output on the next 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.


_typeConstraints

java.util.Set<E> _typeConstraints
Cached list of type constraints.


_typeConstraintsVersion

long _typeConstraintsVersion
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

_reflectionCoefficients

double[] _reflectionCoefficients

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.ResettableTimer extends Transformer implements Serializable

Serialized Fields

preemptive

Parameter preemptive
Indicator of whether new inputs cancel previous requests. This is a boolean that defaults to true.


value

Parameter value
The value produced at the output. This can have any type, and it defaults to a boolean token with value true.


_pendingOutputTime

Time _pendingOutputTime
Pending output time.


_pendingOutputMicrostep

int _pendingOutputMicrostep
Pending output microstep.


_pendingRequests

CalendarQueue _pendingRequests
A local queue to store the pending requests.

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.Sampler extends Transformer implements Serializable

Serialized Fields

trigger

TypedIOPort trigger
The trigger port, which has undeclared type. If this port receives a token, then the most recent token from the input port will be emitted on the output port.

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

delayed

Parameter delayed
Parameter that determines when reconfiguration occurs.


input

TypedIOPort input
The input port.


output

TypedIOPort output
The output port.


variableName

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


_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.

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".


_channelPattern

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

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.TimeDelay extends Transformer implements Serializable

Serialized Fields

delay

Parameter delay
The amount of delay. The default for this parameter is 1.0. This parameter must contain a DoubleToken with a non-negative value, or an exception will be thrown when it is set.


_currentOutput

Token _currentOutput
Current output.


_delay

double _delay
The amount of delay.


_delayedOutputTokens

CalendarQueue _delayedOutputTokens
A local event queue to store the delayed output tokens.


_causalityMarker

CausalityMarker _causalityMarker
A causality marker to store information about how pure events are causally related to trigger events.

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).


stopTimeIsLocal

Parameter stopTimeIsLocal
If true, use the local time to compare against the stopTime parameter, rather than the global time. Local time may differ from global time inside modal models and certain domains that manipulate time. This is a boolean that defaults to false.


_executing

boolean _executing

_stopTime

Time _stopTime

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

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

int[] _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.database

    Class ptolemy.actor.lib.database.ArrayOfRecordsExporter extends LineWriter implements Serializable

    Serialized Fields

    columns

    Parameter columns
    The columns to write. This is an array of strings specifying the column names to write, and the order in which they are written. It defaults to ALL, which indicates that all fields should be written. In this case, the columns are organized alphabetically.


    records

    Parameter records
    Parameter to store the array of records read at the input. This is an array of records that is by default empty.

    Class ptolemy.actor.lib.database.ArrayOfRecordsRecorder extends Sink implements Serializable

    Serialized Fields

    colorKey

    StringParameter colorKey
    A column name to use as a color key. If this string is non-empty, then it specifies a column name that is used to determine a color for each row. The value in that row and column determines the color via a hash function, so that if two rows are identical in that column, then they are also identical in color. This is a string that defaults to empty, indicating that all rows should be displayed in black.


    columns

    Parameter columns
    The columns to display when double clicking on the icon. This is an array of strings specifying the column names to display, and the order in which they are displayed. It defaults to ALL, which indicates that all fields should be displayed. In this case, the columns are organized alphabetically.


    iconColumns

    Parameter iconColumns
    The columns to display in the icon. This is an array of strings specifying the column names to display, and the order in which they are displayed. It defaults to ALL, which indicates that all fields should be displayed. In this case, the columns are organized alphabetically.


    records

    Parameter records
    Parameter to store the array of records read at the input. This is an array of records that is by default empty.

    Class ptolemy.actor.lib.database.DatabaseInsert extends Sink implements Serializable

    Serialized Fields

    clear

    Parameter clear
    If true, clear the table at initialization of the model. This is a boolean that defaults to false.


    databaseManager

    StringParameter databaseManager
    Name of the DatabaseManager to use. This defaults to "DatabaseManager".


    table

    StringParameter table
    Name of the table to set. This defaults to "v_people".

    Class ptolemy.actor.lib.database.DatabaseManager extends TypedAtomicActor implements Serializable

    Serialized Fields

    database

    StringParameter database
    JDBC connection string to access the database. This always starts with "jdbc:driver", where the specific driver chosen determines how to interpret fields in the rest of the string. For example,
        jdbc:oracle:thin:@buffy.eecs.berkeley.edu:1521:acgeecs
      
    specifies a thin client for an Oracle database located at host buffy.eecs.berkeley.edu, which listens on port 1521. The "acgeecs" is the database name. Another example is
        jdbc:mysql://localhost:3306/space
      
    which specifies a MySQL database on the local host, where "space" is the name of the database.


    userName

    StringParameter userName
    User name.


    _connection

    java.sql.Connection _connection
    The currently open connection.


    _password

    char[] _password
    The password last entered.

    Class ptolemy.actor.lib.database.DatabaseQuery extends Source implements Serializable

    Serialized Fields

    databaseManager

    StringParameter databaseManager
    Name of the DatabaseManager to use. This defaults to "DatabaseManager".


    query

    PortParameter query
    An SQL query. This is a string that defaults to "trim(room)='545Q' and trim(bldg)='Cory'", indicating that the retrieved records should have "Cory" in the bldg column and "545Q" in the room column.

    Class ptolemy.actor.lib.database.DatabaseSelect extends Source implements Serializable

    Serialized Fields

    columns

    PortParameter columns
    A record indicating what to query for. The names of the fields are the names of the columns to retrieve from the database, and the value of the field is the type. This is a record that defaults to {LNAME=string, DESKNO=string}, indicating that two columns, LNAME (for last name) and DESKNO (for desk number) should be retrieved from the database.


    databaseManager

    StringParameter databaseManager
    Name of the DatabaseManager to use. This defaults to "DatabaseManager".


    distinct

    Parameter distinct
    Indicator of whether to return only distinct records. This is a boolean that defaults to false.


    orderBy

    StringParameter orderBy
    Optional ordering of the results. For example, to order first by DESKNO (ascending) and then by LNAME (descending), you would change the value of this parameter to "DESKNO asc, LNAME desc". This parameter is a string that defaults to empty, meaning that the ordering of the results is arbitrary.


    pattern

    PortParameter pattern
    A pattern specifying which rows to select from the database. Any pattern understood in the 'where' clause of an SQL statement is acceptable. This is a string that defaults to "trim(room)='545Q' and trim(bldg)='Cory'", indicating that the retrieved records should have "Cory" in the bldg column and "545Q" in the room column.


    table

    StringParameter table
    Table to use within the database. This is a string that defaults to "v_spaces".

    Class ptolemy.actor.lib.database.SQLStatement extends Source implements Serializable

    Serialized Fields

    databaseManager

    StringParameter databaseManager
    Name of the DatabaseManager to use. This defaults to "DatabaseManager".


    query

    PortParameter query
    An SQL query. This is a string that defaults to "describe *".


    Package ptolemy.actor.lib.embeddedJava

    Class ptolemy.actor.lib.embeddedJava.CompiledCompositeActor extends TypedCompositeActor implements Serializable

    Serialized Fields

    codeDirectory

    FileParameter codeDirectory
    The directory in which to put the generated code. This is a file parameter that must specify a directory. The default is $HOME/codegen.


    generatorPackage

    StringParameter generatorPackage
    The name of the package in which to look for helper class code generators. This is a string that defaults to "ptolemy.codegen.java".


    inline

    Parameter inline
    If true, generate file with no functions. If false, generate file with functions. The default value is a parameter with the value true.


    executeEmbeddedCode

    Parameter executeEmbeddedCode
    If true, then invoke the generated code in the action methods (fire(), etc.). If the value is false, this actor will be executed executing like an ordinary composite actor. Classes like EmbeddedJavaActor set embedded to true when there is only Java code specifying the functionality of an actor.


    overwriteFiles

    Parameter overwriteFiles
    If true, overwrite preexisting files. The default value is a parameter with the value true.


    _objectWrapper

    java.lang.Object _objectWrapper

    _sanitizedActorName

    java.lang.String _sanitizedActorName
    The sanitized actor name. The name has the underscores removed and the value of the _version variable appended. Call _updateSanitizedActorName() to properly set this variable.


    _generatedCodeVersion

    long _generatedCodeVersion
    The workspace version for which the code was generated. If the workspace version and this variable differ, Then there is a chance we should regenerate the code.


    _loadedCodeVersion

    long _loadedCodeVersion
    The workspace version for which the code was loaded. If the workspace version and this variable differ, then we should reload the code. Note that we don't want to reload the same dll multiple times or we will get "Native Library foo.dll already loaded in another classloader"


    _version

    int _version
    The version of the shared object. Each time we rebuild, the version number gets incremented. If you change _version, then consider calling _updateSanitizedActorName.

    Class ptolemy.actor.lib.embeddedJava.EmbeddedJavaActor extends CompiledCompositeActor implements Serializable

    Serialized Fields

    embeddedJavaCode

    StringAttribute embeddedJavaCode
    The Java code that specifies the function of this actor. The default value is the code necessary to implement a identity function.


    _embeddedActor

    EmbeddedJavaActor.EmbeddedActor _embeddedActor
    The embedded actor used to contain the ports to the C implementation.

    Class ptolemy.actor.lib.embeddedJava.EmbeddedJavaActor.EmbeddedActor extends TypedAtomicActor 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.ArrowKeyProbe extends ArrowKeySensor implements Serializable

    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.


    _downKeyPressed

    boolean _downKeyPressed
    A flag indicating if the down arrow key has been pressed 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.


    _downKeyReleased

    boolean _downKeyReleased
    A flag indicating if the down arrow key has been released since the last firing of the actor.


    _leftKeyPressed

    boolean _leftKeyPressed
    A flag indicating if the left arrow key has been released since the last firing of the actor.


    _leftKeyReleased

    boolean _leftKeyReleased
    A flag indicating if the left arrow key has been released since the last firing of the actor.


    _rightKeyPressed

    boolean _rightKeyPressed
    A flag indicating if the right arrow key has been pressed since the last firing of the actor.


    _rightKeyReleased

    boolean _rightKeyReleased
    A flag indicating if the right arrow key has been released since the last firing of the actor.


    _upKeyPressed

    boolean _upKeyPressed
    A flag indicating if the up arrow key has been pressed since the last firing of the actor.


    _upKeyReleased

    boolean _upKeyReleased
    A flag indicating if the up arrow key has been released since the last firing of the actor.


    _myFrame

    ArrowKeySensor.MyFrame _myFrame
    The JFrame that contains the arrow keys.

    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

    StringParameter title
    The title to put on top. Note that the value of the title overrides the value of the name of the actor or the display name of the actor.


    _initialized

    boolean _initialized
    Indicator that the display window has been opened.


    _suppressBlankLines

    boolean _suppressBlankLines
    The flag indicating whether the blank lines will be suppressed.


    _container

    java.awt.Container _container

    _previousNumColumns

    int _previousNumColumns

    _previousNumRows

    int _previousNumRows

    _scrollPane

    javax.swing.JScrollPane _scrollPane

    _tableau

    Display.DisplayWindowTableau _tableau
    The version of TextEditorTableau that creates a Display window.

    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.


    _tableau

    InteractiveShell.ShellTableau _tableau
    The version of ExpressionShellTableau that creates a Shell window.


    _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.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.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

    automaticRescale

    Parameter automaticRescale
    If true, the plot will automatically rescale if necessary. This parameter has type BooleanToken, and default value false.


    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().


    _tableau

    PlotterBase.PlotWindowTableau _tableau
    The version of PlotWindowTableau that creates a Plot window.


    _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

    _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

    disconnectGraphOnAbsentValue

    Parameter disconnectGraphOnAbsentValue
    When disconnectGraphOnAbsentValue is True there will be a gap in the graph each time a the actor is fired, but the value is absent for a certain channel. Especially in the continuous domain this options is useful. By default this parameter is False.


    input

    TypedIOPort input
    Input port, which has type DoubleToken.


    useLocalTime

    Parameter useLocalTime
    If true, use the model time reported by the input port, which is normally the model time of the local director. If false (the default), use the model time reported by the top-level director. Local time may differ from global time inside modal models and certain domains that manipulate time.


    _connected

    java.util.ArrayList<E> _connected

    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 ptolemy.actor.lib.hoc.ApplyFilterOverArray extends TypedAtomicActor implements Serializable

    Serialized Fields

    inputArray

    TypedIOPort inputArray
    The input port for an input array. It is an ArrayType.


    outputArray

    TypedIOPort outputArray
    The output port for output the filtered array. It has the same type as the inputArray port.


    maxOutputLength

    Parameter maxOutputLength
    The max amount of elements in the output array.


    modelFileOrURL

    FileParameter modelFileOrURL
    The file name or URL of the filter model.


    _model

    NamedObj _model
    The model.


    _manager

    Manager _manager
    The manager currently managing execution.


    _outputLength

    int _outputLength
    the output array length if there are enough elements satisfying the filter model.

    Class ptolemy.actor.lib.hoc.ApplyFunction extends TypedAtomicActor implements Serializable

    Serialized Fields

    function

    PortParameter function
    The input port for function definition. The type of this port is undeclared, but to have this actor work, the designer has to provide a matched function token for it. Note: The reason that we don't declare the type for it is because currently there is not cast supported in the FunctionType class. we'll fix this later.


    output

    TypedIOPort output
    The output port.

    Class ptolemy.actor.lib.hoc.ApplyFunctionOverSequence extends TypedAtomicActor implements Serializable

    Serialized Fields

    function

    PortParameter function
    The input port for function definition. The type of this port is undeclared, but to have this actor work, the designer has to provide a matched function token for it. Note: The reason that we don't declare the type for it is because currently there is not cast supported in the FunctionType class. we'll fix this later.


    output

    TypedIOPort output
    The output port.


    _outputRate

    int _outputRate

    _rate

    int[] _rate

    Class ptolemy.actor.lib.hoc.Case extends MultiCompositeActor implements Serializable

    Serialized Fields

    control

    PortParameter control
    The input port-parameter on which the control token is provided. This can have any type, and is initialized with a default value of true.


    _current

    Refinement _current
    The current refinement.


    _default

    Refinement _default
    The default refinement.


    _director

    CaseDirector _director
    The director.

    Class ptolemy.actor.lib.hoc.CaseDirector extends Director implements Serializable

    Class ptolemy.actor.lib.hoc.IterateOverArray extends MirrorComposite implements Serializable

    Serialized Fields

    _iterationCount

    Variable _iterationCount

    Class ptolemy.actor.lib.hoc.IterateOverArray.IterateComposite extends MirrorComposite.MirrorCompositeContents implements Serializable

    Class ptolemy.actor.lib.hoc.IterateOverArray.IteratePort extends MirrorPort implements Serializable

    Class ptolemy.actor.lib.hoc.LifeCycleManager extends TypedCompositeActor implements Serializable

    Class ptolemy.actor.lib.hoc.MirrorComposite extends TypedCompositeActor implements Serializable

    Serialized Fields

    _inAddPort

    boolean _inAddPort
    Flag indicating that we are executing _addPort().


    _inRemoveEntity

    boolean _inRemoveEntity
    Flag indicating that we are executing _removeEntity().


    _mirrorParameterPorts

    boolean _mirrorParameterPorts
    Flag indicating whether to mirror instances of ParameterPort.

    Class ptolemy.actor.lib.hoc.MirrorComposite.MirrorCompositeContents extends TypedCompositeActor implements Serializable

    Class ptolemy.actor.lib.hoc.MirrorPort extends TypedIOPort implements Serializable

    Serialized Fields

    _associatedPort

    MirrorPort _associatedPort
    The associated port, if there is one.


    _settingAssociatedPort

    boolean _settingAssociatedPort
    Flag indicating that we are setting the associated port.

    Class ptolemy.actor.lib.hoc.MobileFunction extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

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


    function

    TypedIOPort function
    The input port for function definition. The type of this port is undeclared, but to have this actor work, the designer has to provide a matched function token for it. Note: The reason that we don't declare the type for it is because currently there is not cast supported in the FunctionType class. we'll fix this later.


    output

    TypedIOPort output
    The output port. Note: Due to the same reason above, the type of the output can't be resolved currently. User has to specify the type.


    _function

    FunctionToken _function
    The most recently updated function to this actor.

    Class ptolemy.actor.lib.hoc.MobileModel extends TypedCompositeActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port for incoming data to the inside model.


    modelString

    TypedIOPort modelString
    The input port for model changing request of the inside model. The type is string.


    output

    TypedIOPort output
    The output port for the result after firing the inside model upon the incoming data. Notice that the type is determined by the type of the defaultValue parameter.


    director

    Parameter director
    The inside Director for executing the inside model.


    refresh

    Parameter refresh
    This Parameter specifies whether to replace the previous model when there is model changing request or not. The type of thie parameter is boolean. Select this parameter if it does replace.


    connectPorts

    Parameter connectPorts
    the Parameter specifies whether to connect the input and output to the inside model. The type of this parameter is boolean.


    defaultValue

    Parameter defaultValue
    The default output token when there is no inside model defined. The default value is 0, and the default type is int. Notice that the type of the output port is determined by the type of this parameter.


    _director

    Director _director
    The inside director.


    _moml

    java.lang.String _moml
    The moml string for the inside model that contained by this actor.


    _parser

    MoMLParser _parser
    The moml parser for parsing the moml string of the inside model.


    _modelChanged

    boolean _modelChanged

    Class ptolemy.actor.lib.hoc.ModelReference extends TypedAtomicActor implements Serializable

    Serialized Fields

    executionOnFiring

    StringParameter executionOnFiring
    The value of this string parameter determines what execution happens when the fire() method is invoked. The recognized values are:


    lingerTime

    Parameter lingerTime
    The amount of time (in milliseconds) to linger in the fire() method of this actor. This is a long that defaults to 0L. If the model is run, then the linger occurs after the run is complete (if the run occurs in the calling thread) or after the run starts (if the run occurs in a separate thread).


    modelFileOrURL

    FilePortParameter modelFileOrURL
    The file name or URL of the model that this actor represents. This is empty by default, which means that there is no associated model to execute.


    postfireAction

    StringParameter postfireAction
    The value of this string attribute determines what happens in the postfire() method. The recognized values are: The "stop executing" choices will only have an effect if if executionOnFiring is set to "run in a new thread". This can be used, for example, to run a model for a specified amount of time, and then stop it.


    _alreadyReadInputs

    boolean _alreadyReadInputs
    If a derived class calls modelFileOrURL.update() in its fire() method prior to calling super.fire(), then it should set this flag to true.


    _model

    NamedObj _model
    The model.


    _lingeringThread

    java.lang.Thread _lingeringThread
    Reference to a thread that is lingering.


    _manager

    Manager _manager
    The manager currently managing execution.

    Class ptolemy.actor.lib.hoc.MultiCompositeActor extends TypedCompositeActor implements Serializable

    Class ptolemy.actor.lib.hoc.MultiCompositePort extends TypedIOPort implements Serializable

    Class ptolemy.actor.lib.hoc.MultiInstanceComposite extends TypedCompositeActor implements Serializable

    Serialized Fields

    nInstances

    Parameter nInstances
    The total number of instances to instantiate including instance 0 (the master copy).


    instance

    Parameter instance
    The index of this instance.


    showClones

    Parameter showClones
    If true, show the clones.


    _clones

    java.util.List<E> _clones

    _isMasterCopy

    boolean _isMasterCopy

    Class ptolemy.actor.lib.hoc.RealTimeComposite extends MirrorComposite implements Serializable

    Serialized Fields

    delay

    Parameter delay
    Deprecated. 
    The maximum model-time delay between the input events and the output events. This is a double that defaults to UNDEFINED.


    _delayValue

    double _delayValue
    Deprecated. 
    The cached value of the delay parameter.


    _fireAtTimes

    java.util.List<E> _fireAtTimes
    Deprecated. 
    Queue of times at which inside actors have requested firings. This queue is accessed from multiple threads, so it must be thread safe.


    _inputFrames

    java.util.concurrent.DelayQueue<E extends java.util.concurrent.Delayed> _inputFrames
    Deprecated. 
    Queue of unprocessed input events.


    _outputFrames

    java.util.List<E> _outputFrames
    Deprecated. 
    Queue of unprocessed output events. This queue is accessed from multiple threads, so it must be thread safe.


    _realStartTime

    long _realStartTime
    Deprecated. 
    The real time at which the model begins executing, in milliseconds.


    _responseTimes

    java.util.Queue<E> _responseTimes
    Deprecated. 
    Queue of times at which responses to firings are expected. This is accessed only from the Director action methods, which run in a single thread, so it need not by thread safe.

    Class ptolemy.actor.lib.hoc.Refinement extends TypedCompositeActor implements Serializable

    Serialized Fields

    _mirrorDisable

    boolean _mirrorDisable
    Indicator that we are processing a newPort request.

    Class ptolemy.actor.lib.hoc.RefinementPort extends TypedIOPort implements Serializable

    Serialized Fields

    _automaticallyInput

    boolean _automaticallyInput
    Indicator that the port is automatically an input port because it was set to be an output port. This automatic change is made in output ports of the ModalController so that if a refinement writes to its output port, then that data is available in scope for the guard expressions.


    _mirrorDisable

    boolean _mirrorDisable
    If false, then changes the port are mirrored in the container's container. This is false by default.

    Class ptolemy.actor.lib.hoc.RunCompositeActor extends LifeCycleManager implements Serializable

    Class ptolemy.actor.lib.hoc.ThreadedComposite extends MirrorComposite implements Serializable

    Serialized Fields

    delay

    Parameter delay
    The model-time delay between the input events and the output events. This is a double that defaults to 0.0, indicating that outputs should have the same time stamps as the inputs that trigger them. If it has a value greater than zero, then the outputs will have large time stamps by that amount. If it has the value UNDEFINED (or any negative number), then the output time stamp will be nondeterminate, and will depend on the current model time of the outside director when the output is produced or on current real time.


    synchronizeToRealTime

    Parameter synchronizeToRealTime
    If set to true, the inside thread stalls until real time matches the time stamps of input events or pure events for each firing. In addition, if delay is set to undefined and this is set to true, then output events are assigned a time stamp that is the greater of current model time and real time. Time is measured since the start of the execution of the inside thread. This is a boolean that defaults to false. Changing the value of this parameter has no effect until the next execution of the model.


    _delayValue

    double _delayValue
    The cached value of the delay parameter.


    _realStartTime

    long _realStartTime
    The real time at which the model begins executing, in milliseconds.


    Package ptolemy.actor.lib.image

    Class ptolemy.actor.lib.image.ImageDisplay extends Sink implements Serializable

    Serialized Fields

    _container

    java.awt.Container _container
    The container for the image display, set by calling place().


    _effigy

    TokenEffigy _effigy
    The effigy for the image data.


    _frame

    ImageDisplay.ImageWindow _frame
    The frame, if one is used.


    _oldXSize

    int _oldXSize
    The horizontal size of the previous image.


    _oldYSize

    int _oldYSize
    The vertical size of the previous image.


    _picture

    Picture _picture
    The picture panel.


    _pictureSize

    SizeAttribute _pictureSize
    A specification of the size of the picture if it's in its own window.


    _tableau

    ImageTableau _tableau
    The tableau with the display, if any.


    _windowProperties

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

    Class ptolemy.actor.lib.image.ImageDisplay.ImageWindow extends TableauFrame implements Serializable

    Class ptolemy.actor.lib.image.ImageReader extends Source implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by File Attribute.

    See Also:
    FileParameter

    _image

    java.awt.Image _image

    _url

    java.net.URL _url

    Class ptolemy.actor.lib.image.ImageRotate extends Transformer implements Serializable

    Serialized Fields

    rotationInDegrees

    Parameter rotationInDegrees
    The amount of of rotation in degrees. This parameter contains an IntegerToken, initially with value 90.

    Class ptolemy.actor.lib.image.ImageTableau extends TokenTableau implements Serializable

    Serialized Fields

    _oldxsize

    int _oldxsize
    The horizontal size of the previous image.


    _oldysize

    int _oldysize
    The vertical size of the previous image.


    _picture

    Picture _picture
    The frame for displaying the image.

    Class ptolemy.actor.lib.image.ImageTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.actor.lib.image.ImageToString extends Transformer implements Serializable

    Class ptolemy.actor.lib.image.URLToImage extends Transformer implements Serializable


    Package ptolemy.actor.lib.io

    Class ptolemy.actor.lib.io.DirectoryListing extends SequenceSource implements Serializable

    Serialized Fields

    directoryOrURL

    FilePortParameter directoryOrURL
    The directory name or URL from which to read. This is a string with any form accepted by FilePortParameter.


    listOnlyDirectories

    Parameter listOnlyDirectories
    If true, and directoryOrURL refers to a local directory (not a URL), then only directories will be listed on the output. If directoryOrURL is a URL, then this parameter is ignored (there appears to be no reliable way to tell whether the URL refers to a directory or file). This is a boolean that defaults to false.


    listOnlyFiles

    Parameter listOnlyFiles
    If true, and directoryOrURL refers to a local directory (not a URL), then only files will be listed on the output. If directoryOrURL is a URL, then this parameter is ignored (there appears to be no reliable way to tell whether the URL refers to a directory or file). This is a boolean that defaults to false.


    pattern

    StringParameter pattern
    If non-empty, then only output file and directory names that match the specified (regular expression) pattern. The default value of this parameter is the empty String "", which indicates that everything matches.


    _pattern

    java.util.regex.Pattern _pattern

    Class ptolemy.actor.lib.io.ExpressionReader extends LineReader implements Serializable

    Serialized Fields

    _expressionEvaluator

    Variable _expressionEvaluator
    Variable used to evaluate expressions.

    Class ptolemy.actor.lib.io.ExpressionWriter extends LineWriter implements Serializable

    Class ptolemy.actor.lib.io.FileReader extends LimitedFiringSource implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    fileOrURLPort

    TypedIOPort fileOrURLPort
    An input port for optionally providing a file name. This has type string.


    newline

    Parameter newline
    The end of line character(s). The default value is the value of the line.separator property

    Class ptolemy.actor.lib.io.LineReader extends Source implements Serializable

    Serialized Fields

    endOfFile

    TypedIOPort endOfFile
    An output port that produces false until the end of file is reached, at which point it produces true. The type is boolean.


    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    numberOfLinesToSkip

    Parameter numberOfLinesToSkip
    The number of lines to skip at the beginning of the file or URL. This parameter contains an IntToken, initially with value 0. The value of this parameter must be non-negative.


    _currentLine

    java.lang.String _currentLine
    Cache of most recently read data.


    _reader

    java.io.BufferedReader _reader
    The current reader for the input file.


    _firedSinceWrapup

    boolean _firedSinceWrapup
    Indicator that the fire() method has been called, but wrapup has not. That is, we are in the middle of a run.


    _previousFileOrURL

    java.lang.String _previousFileOrURL
    Previous value of fileOrURL parameter.


    _reachedEOF

    boolean _reachedEOF
    Indicator that we have reached the end of file.

    Class ptolemy.actor.lib.io.LineWriter extends Sink implements Serializable

    Serialized Fields

    append

    Parameter append
    If true, then append to the specified file. If false (the default), then overwrite any preexisting file after asking the user for permission.


    fileName

    FilePortParameter fileName
    The file name to which to write. This is a string with any form accepted by FilePortParameter. The default value is "System.out".

    See Also:
    FilePortParameter

    confirmOverwrite

    Parameter confirmOverwrite
    If false, then overwrite the specified file if it exists without asking. If true (the default), then if the file exists, ask for confirmation before overwriting.


    endOfLineCharacter

    Parameter endOfLineCharacter
    End of line character to use. This is a string that defaults to null, which results in the current platform's standard end-of-line character being used. If an empty string is specified, then no end of line character is used after each output written to the file.


    alwaysFlush

    Parameter alwaysFlush
    If true, flush output after each line is written. If false (the default), the output may not be written until the stream is closed during wrapup().


    _flushValue

    boolean _flushValue
    If true, flush the writer after every write.


    _writer

    java.io.PrintWriter _writer
    The current writer.


    _previousFileName

    java.lang.String _previousFileName
    Previous value of fileName parameter.


    Package ptolemy.actor.lib.io.comm

    Class ptolemy.actor.lib.io.comm.SerialComm extends TypedAtomicActor implements Serializable

    Serialized Fields

    baudRate

    Parameter baudRate
    The baud rate of the serial port, such as 19200 (the default), 19200, or 115200, for the serial port. This has type integer and defaults to 19200.


    blocking

    Parameter blocking
    Indicator of whether fire method is blocking. If true, fire() waits until minimumOutputSize bytes have arrived. The type is boolean with default false.


    dataToSend

    TypedIOPort dataToSend
    The input port for data to be sent to the serial port. This port has type unsigned byte array.


    dataReceived

    TypedIOPort dataReceived
    The output port for data that has been received by the serial port. This port has type unsigned byte array.


    discardOldData

    Parameter discardOldData
    Indicator of whether to discard old data. If this is true, then the fire() method will read all available data, but produce no more than maximumOutputSize bytes on the output, discarding the rest. This is a boolean that defaults to false.


    maximumOutputSize

    Parameter maximumOutputSize
    The maximum number of bytes produced in each firing on the output. This is an integer that defaults to MaxInt. It is required to be at least as large as minimumOutputSize


    minimumOutputSize

    Parameter minimumOutputSize
    The minimum number of bytes that will be read from the serial port and produced on the output. This is required to be a strictly positive integer, and it defaults to 1.


    serialPortName

    StringParameter serialPortName
    Attribute giving the serial port to use. This is a string with the default being the first serial port listed by the javax.comm.CommPortIdentifier class. If there are no serial ports available (meaning probably that the javax.comm package is not installed properly), then the value of the string will be "no ports available".


    _maximumOutputSize

    int _maximumOutputSize

    _minimumOutputSize

    int _minimumOutputSize

    _discardOldData

    boolean _discardOldData

    _blocking

    boolean _blocking

    _directorFiredAtAlready

    boolean _directorFiredAtAlready

    Package ptolemy.actor.lib.jai

    Class ptolemy.actor.lib.jai.AdaptiveMedian extends Transformer implements Serializable

    Serialized Fields

    maxWindowSize

    Parameter maxWindowSize
    The largest window size to use. This number must be an odd integer. The default value is 7.


    _maxWindowSize

    int _maxWindowSize

    Class ptolemy.actor.lib.jai.DoubleMatrixToJAI extends Transformer implements Serializable

    Serialized Fields

    dataFormat

    StringAttribute dataFormat
    The type to cast the data to. This is a string valued attribute that defaults to "byte".


    scale

    Parameter scale
    This parameter indicates whether to scale the data or not. This should only be checked if the data was normalized in the first place. The default value is true.


    _dataFormat

    int _dataFormat
    An indicator for the data type to format to.


    _maxValue

    double _maxValue
    Double representation of the highest value possible for the internal data type.


    _minValue

    double _minValue
    Double representation of the lowest value possible for the internal data type.


    _scale

    boolean _scale
    Flag determining whether or not to scale the data

    Class ptolemy.actor.lib.jai.ImageToJAI extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIAffineTransform extends Transformer implements Serializable

    Serialized Fields

    affineMatrix

    Parameter affineMatrix
    The affine transformation matrix. This is a doubleMatrixToken valued parameter that defaults to 1 0 0 0 1 0


    interpolationType

    StringAttribute interpolationType
    The type of interpolation to use. This is a string valued attribute that defaults to type "bilinear"


    subSampleBits

    Parameter subSampleBits
    The subsample precision. The default value of this parameter is the integer value 8.


    _affineTransform

    java.awt.geom.AffineTransform _affineTransform

    _initialMatrix

    double[][] _initialMatrix

    _interpolation

    javax.media.jai.Interpolation _interpolation

    _interpolationType

    int _interpolationType
    An indicator for the type of interpolation to use


    _matrixValue

    double[][] _matrixValue

    _subSampleBits

    int _subSampleBits
    The subsample precision

    Class ptolemy.actor.lib.jai.JAIBandCombine extends Transformer implements Serializable

    Serialized Fields

    matrix

    Parameter matrix
    The transformation matrix. The entries in this matrix should doubles. The default matrix passes each band with no offsetting.


    _initialMatrix

    double[][] _initialMatrix
    The initial value of the transformation matrix.


    _matrixValue

    double[][] _matrixValue
    The value of the transformation matrix

    Class ptolemy.actor.lib.jai.JAIBandSelect extends Transformer implements Serializable

    Serialized Fields

    bandIndices

    Parameter bandIndices
    The bands to copy to the output.


    _indiceArray

    int[] _indiceArray
    The value of the indice array


    _initialArray

    IntToken[] _initialArray
    An initial array that simply copies a three banded image.

    Class ptolemy.actor.lib.jai.JAIBMPWriter extends JAIWriter implements Serializable

    Serialized Fields

    storeTopDown

    Parameter storeTopDown
    If true, then write the data in top to bottom order. If false (the default), then write the data in bottom to top order.

    Class ptolemy.actor.lib.jai.JAIBorder extends Transformer implements Serializable

    Serialized Fields

    borderType

    StringAttribute borderType
    The type of border to use.


    constants

    Parameter constants
    The constants to use if the Constant border type is chosen.


    bottomPadding

    Parameter bottomPadding
    The amount of pixels to pad the bottom with. The default is the integer value 0.


    leftPadding

    Parameter leftPadding
    The amount of pixels to pad the left side with. The default is the integer value 0.


    rightPadding

    Parameter rightPadding
    The amount of pixels to pad the right side with. The default is the integer value 0.


    topPadding

    Parameter topPadding
    The amount of pixels to pad the top with. The default is the integer value 0.


    _constantValues

    double[] _constantValues
    The constant values to use if a constant border is desired.


    _borderType

    int _borderType
    The type of border to use.


    _initialArray

    DoubleToken[] _initialArray
    An initial array that simply copies a three banded image.


    _bottomPadding

    int _bottomPadding
    The amount to pad on the four sides.


    _leftPadding

    int _leftPadding

    _rightPadding

    int _rightPadding

    _topPadding

    int _topPadding

    Class ptolemy.actor.lib.jai.JAIBoxFilter extends Transformer implements Serializable

    Serialized Fields

    height

    Parameter height
    The height of the box filter.


    width

    Parameter width
    The width of the box filter.


    _height

    int _height
    The value of the height of the box filter.


    _width

    int _width
    The value of the width of the box filter.

    Class ptolemy.actor.lib.jai.JAIConstant extends Source implements Serializable

    Serialized Fields

    bandValues

    Parameter bandValues
    The band values of the image. The default value is an Array of 1 integer of value 0.


    height

    Parameter height
    The height of the image in pixels. The default value is and integer with a value of 0.


    width

    Parameter width
    The width of the image in pixels. The default value is and integer with a value of 0.


    dataFormat

    StringAttribute dataFormat
    The type to cast the data to. This is a string valued attribute that defaults to "byte". Other valid types are "double", "float", "int" and "short".


    _zero

    IntToken _zero

    _defaultValues

    IntToken[] _defaultValues

    _height

    int _height

    _width

    int _width

    values

    Token[] values

    _dataFormat

    int _dataFormat

    Class ptolemy.actor.lib.jai.JAIConvolve extends Transformer implements Serializable

    Serialized Fields

    filter

    Parameter filter
    The filter to convolve the image width. It is represented by a DoubleMatrixToken.


    _filter

    javax.media.jai.KernelJAI _filter
    The filter to convolve the image with


    _initialMatrix

    double[][] _initialMatrix
    A filter that does nothing to an image when convolved with it.

    Class ptolemy.actor.lib.jai.JAICrop extends Transformer implements Serializable

    Serialized Fields

    height

    Parameter height
    The vertical distance from the origin. A positive value indicates that the final image will start downwards from the origin. A negative value indicates that the final image will start upwards from the origin.


    width

    Parameter width
    The horizontal distance from the origin. A positive value indicates that the final image will start to the right of the origin. A negative value indicates that the final image will start to the left of the origin.


    xOrigin

    Parameter xOrigin
    The x origin for cropping. The default value is the integer value 0.


    yOrigin

    Parameter yOrigin
    The y origin for cropping. The default value is the integer value 0.


    _height

    int _height
    The height of the cropped image


    _width

    int _width
    The width of the cropped image


    _xOrigin

    int _xOrigin
    The x value of the origin


    _yOrigin

    int _yOrigin
    The y value of the origin

    Class ptolemy.actor.lib.jai.JAIDataConvert extends Transformer implements Serializable

    Serialized Fields

    dataFormat

    StringAttribute dataFormat
    The type to cast the data to. This is a string valued attribute that defaults to "byte".


    _dataFormat

    int _dataFormat

    Class ptolemy.actor.lib.jai.JAIDCT extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIDFT extends Transformer implements Serializable

    Serialized Fields

    dataNature

    StringAttribute dataNature
    A parameter that describes the nature of the input and output data. The default is realToComplex. If the input is complex, then complexToComplex should be used. The setting complexToReal should probably not be used.


    scalingType

    StringAttribute scalingType
    The scaling to be done on the output. There are three options, none (the default, does no scaling), unitary (multiplies by square root of the product of the dimensions), and dimensions (multiplies by the product of the dimensions). In a DFT-IDFT chain, the overall scaling should equal the product of the dimensions.


    _dataNature

    int _dataNature
    An indicator for the type of data being inputted and the type of data being outputted.


    _scalingType

    int _scalingType
    An indicator for the type of scaling done

    Class ptolemy.actor.lib.jai.JAIEdgeDetection extends Transformer implements Serializable

    Serialized Fields

    firstMask

    StringAttribute firstMask
    The following two parameters are used to specify the masks used for edge detection. Traditionally one mask is used for horizontal edge detection, and one mask is used for vertical edge detection. The following predefined masks are available: Sobel horizontal mask. Sobel vertical mask. Roberts horizontal mask. Roberts vertical mask. Prewitt horizontal mask. Prewitt vertical mask. Frei and Chen horizontal mask. Frei and Chen vertical mask. A diagonal mask, which finds edges in the direction of a slash. A back diagonal mask, which finds edges in the direction of a backslash. A Transparent mask. Using this mask allows you to find edges in one direction and add them back to the original image. A mask of zeros. The default mask for the first choice is a Sobel horizontal mask. The default mask for the second choice is a Sobel vertical mask. The user can also specify mask(s). The dimensions of the mask(s) must be specified if the user chooses to do so.


    secondMask

    StringAttribute secondMask
    The mask used for edge detection.

    See Also:
    JAIEdgeDetection.firstMask

    userSpecifiedFirstMask

    Parameter userSpecifiedFirstMask
    The first user specified mask, and its corresponding x and y dimensions. The Default mask is the transparent mask, and the default x and y dimensions is 3.


    userSpecifiedSecondMask

    Parameter userSpecifiedSecondMask
    The second user specified mask, and its corresponding x and y dimensions. The Default mask is the transparent mask, and the default x and y dimensions is 3.


    _firstMaskData

    DoubleMatrixToken _firstMaskData
    The ArrayTokens contained the the User Specified Mask Fields


    _secondMaskData

    DoubleMatrixToken _secondMaskData

    _firstKernelJAI

    javax.media.jai.KernelJAI _firstKernelJAI
    The KernelJAI's that contain the masks to be used in edge detection.


    _secondKernelJAI

    javax.media.jai.KernelJAI _secondKernelJAI

    _firstMask

    int _firstMask
    The choice of mask.


    _secondMask

    int _secondMask

    _initialMatrix

    double[][] _initialMatrix

    Class ptolemy.actor.lib.jai.JAIIDCT extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIIDFT extends Transformer implements Serializable

    Serialized Fields

    dataNature

    StringAttribute dataNature
    A parameter that describes the nature of the input and output data. The default is complexToReal (so that the output can be saved and/or displayed after putting it through the actor. The setting complexToComplex can also be used. The setting realToComplex should probably not be used.


    scalingType

    StringAttribute scalingType
    The scaling to be done on the output. There are three options, none (does no scaling), unitary (multiplies by square root of the product of the dimensions), and dimensions (the default, multiplies by the product of the dimensions). In a DFT-IDFT chain, the overall scaling should equal the product of the dimensions.


    _dataNature

    int _dataNature
    An indicator for the type of data being inputted and the type of data being outputted.


    _scalingType

    int _scalingType
    An indicator for the type of scaling done

    Class ptolemy.actor.lib.jai.JAIImageReader extends Source implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileAttribute. The initial value is "$CLASSPATH/doc/img/PtolemyII.jpg".

    See Also:
    FileParameter

    _fileURL

    java.net.URL _fileURL
    The URL that specifies where the file is located.


    _outputtedImage

    javax.media.jai.RenderedOp _outputtedImage
    The RenderedOp created by JAI from the stream. This is then encapsulated by a JAIImageToken.

    Class ptolemy.actor.lib.jai.JAIImageToken extends ImageToken implements Serializable

    Serialized Fields

    _bufferedImage

    java.awt.image.BufferedImage _bufferedImage

    _renderedOp

    javax.media.jai.RenderedOp _renderedOp

    Class ptolemy.actor.lib.jai.JAIInvert extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIJPEGWriter extends JAIWriter implements Serializable

    Serialized Fields

    quality

    IntRangeParameter quality
    The quality of the file written. The quality ranges from 0 which is a high amount of compression, small file size, and poor picture quality, to 100, which is no compression, larger file size, and high picture quality.


    restartInterval

    Parameter restartInterval
    The restart interval in number of JPEG Minimum Coded Units (MCUs). JPEG images can use these restart markers to periodically delineate image segments to limit the effect of bitstream errors to a single interval. The default is zero.


    writeJFIFHeader

    Parameter writeJFIFHeader
    If true (the default), the encoder will write a JFIF header, using a marker.The marker includes data such as version number, x and y pixel density, pixel aspect ratio. If false, then the encoder will not write a JFIF header.

    Class ptolemy.actor.lib.jai.JAILog extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIMagnitude extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIMedianFilter extends Transformer implements Serializable

    Serialized Fields

    shape

    StringAttribute shape
    The filter shape to use. There are four shapes available. Square - A square mask looks at all elements in the square, and find the median value. Separable Square - A separable square mask, first calculates the median of every row, and then takes the median of those values. Only supported for size 3 and size 5 filters. Plus - A 3x3 plus mask looks like the following x xxx x It calculates the median of those values indicated by an x. X - A 3x3 X mask looks like the following x x x x x It calculates the median of those values indicated by an x.


    size

    Parameter size
    The size of the median filter. This indicates both the width and height of the filter. The size must be an odd positive integer.


    _shape

    javax.media.jai.operator.MedianFilterShape _shape
    The type of median filter shape to use.


    _size

    int _size
    The size of the filter

    Class ptolemy.actor.lib.jai.JAIPeriodicShift extends Transformer implements Serializable

    Serialized Fields

    xShift

    Parameter xShift
    The amount to shift in the horizontal direction. This value must be positive. An increase in this value causes the image to move to the left.


    yShift

    Parameter yShift
    The amount to shift in the vertical direction. This value must be positive. An increase in this value causes the image to move upwards.


    _xShift

    int _xShift
    The horizontal shifting amount.


    _yShift

    int _yShift
    The vertical shifting amount.

    Class ptolemy.actor.lib.jai.JAIPhase extends Transformer implements Serializable

    Class ptolemy.actor.lib.jai.JAIPNGWriter extends JAIWriter implements Serializable

    Serialized Fields

    adam7Interlacing

    Parameter adam7Interlacing
    If the Adam7 Interlacing option is false, pixels are stored left to right and from top to bottom. If it is true (the default), seven distinct passes are made over the image, each transmitting a subset of the pixels.


    background

    Parameter background
    If the setBackground parameter is false, then this parameter is ignored. If it is true, this parameter sets the background color of the image. Note that this will only show up in images with transparency. If the image is a grayscale image, only the first value of the array is used. The value is an integer that should range from 0 to (2^bitdepth - 1). The bitdepth is defined by the bitDepth parameter in this actor. If the image is an RGB image, then the first 3 values of the array are read. Each of these also range from 0 to (2^bitdepth - 1).


    bitDepth

    Parameter bitDepth
    The bit depth. The initial default is an integer of value 8.


    gamma

    Parameter gamma
    The gamma. The initial default is a double of value 0.455.


    setBackground

    Parameter setBackground
    True if the background is to be set. The initial value is false.


    setGamma

    Parameter setGamma
    True if the gamma parameter is to be used. The initial value is false.


    _bitDepth

    int _bitDepth

    _adam7Interlacing

    boolean _adam7Interlacing
    The value of the storeTopDown parameter.


    _setGamma

    boolean _setGamma

    _gamma

    double _gamma

    _setBackground

    boolean _setBackground

    _initialArray

    IntToken[] _initialArray

    _valueArray

    int[] _valueArray

    Class ptolemy.actor.lib.jai.JAIPNMWriter extends JAIWriter implements Serializable

    Serialized Fields

    writeRawData

    Parameter writeRawData
    If true, then write raw binary data. If false (the default), then write the data in ASCII.

    Class ptolemy.actor.lib.jai.JAIPolarToComplex extends TypedAtomicActor implements Serializable

    Serialized Fields

    magnitude

    TypedIOPort magnitude
    The magnitude image input. This image must have the same amount of bands as the phase image input.


    output

    TypedIOPort output
    The output of the actor. This image contains twice as many as the input. The first two bands correspond to the cartesian values of the first magnitude and phase bands. The second two bands correspond to the cartesian values of the second magnitude and phase bands, etc.


    phase

    TypedIOPort phase
    The phase image input. This image must have the same amount of bands as the phase magnitude image input.

    Class ptolemy.actor.lib.jai.JAIRotate extends Transformer implements Serializable

    Serialized Fields

    degrees

    PortParameter degrees
    The number of degrees to rotate. The default value of this parameter is the double value 0. If the port is left unconnected, then the parameter value will be used.


    interpolationType

    StringAttribute interpolationType
    The type of interpolation to use. This is a string valued attribute that defaults to type "bilinear"


    subSampleBits

    Parameter subSampleBits
    The subsample precision. The default value of this parameter is the integer value 8.


    xOrigin

    Parameter xOrigin
    The x origin of the point to rotate around. The default value is the integer value 0.


    yOrigin

    Parameter yOrigin
    The y origin of the point to rotate around. The default value is the integer value 0.


    _degrees

    double _degrees
    The number of degrees to rotate


    _interpolationType

    int _interpolationType
    An indicator for the type of interpolation to use


    _subSampleBits

    int _subSampleBits
    The subsample precision


    _xOrigin

    int _xOrigin
    The x value of the origin


    _yOrigin

    int _yOrigin
    The y value of the origin

    Class ptolemy.actor.lib.jai.JAIScale extends Transformer implements Serializable

    Serialized Fields

    interpolationType

    StringAttribute interpolationType
    The type of interpolation to use. This is a string valued attribute that defaults to type "bilinear"


    specifySize

    Parameter specifySize
    If true (the default), then the image will be scaled to the dimensions provided in width and height. If false, then the width and height of the image will be scaled by the respective amounts provided in xScaleFactor and yScaleFactor.


    subSampleBits

    Parameter subSampleBits
    The subsample precision. The default value of this parameter is the integer value 8.


    xScaleFactor

    Parameter xScaleFactor
    The scaling factor in the horizontal direction. The default value of this parameter is the double value 1.0


    yScaleFactor

    Parameter yScaleFactor
    The scaling factor in the vertical direction. The default value of this parameter is the double value 1.0


    width

    Parameter width
    The desired width in pixels. The default value of this parameter is the integer 800.


    height

    Parameter height
    The desired height in pixels. The default value of this parameter is the integer 600.


    _specifySize

    boolean _specifySize
    Flag determining whether to scale by double values, or scale to a specified width and height.


    _subSampleBits

    int _subSampleBits
    The subsample precision


    _xScaleFactor

    double _xScaleFactor
    The horizontal scaling factor.


    _yScaleFactor

    double _yScaleFactor
    The vertical scaling factor.


    _interpolationType

    int _interpolationType
    An indicator for the type of interpolation to use


    _width

    int _width
    The desired width in pixels.


    _height

    int _height
    The desired height in pixels.

    Class ptolemy.actor.lib.jai.JAITIFFWriter extends JAIWriter implements Serializable

    Serialized Fields

    writeTiled

    Parameter writeTiled
    If false (the default), then write the data in strips. This is acceptable for smaller images. If true, then write the data in tiles. This makes image access much more efficient in larger images.

    Class ptolemy.actor.lib.jai.JAIToDoubleMatrix extends Transformer implements Serializable

    Serialized Fields

    normalize

    Parameter normalize
    This parameter indicates whether to normalize or not. This only should be checked for non-floating point data-types. The default value is true.


    _maxValue

    double _maxValue
    Double representation of the highest value possible for the internal data type.


    _minValue

    double _minValue
    Double representation of the lowest value possible for the internal data type.


    _normalize

    boolean _normalize
    Flag determining whether or not to normalize.


    _type

    int _type
    Type determinator for the internal data.

    Class ptolemy.actor.lib.jai.JAITranslate extends Transformer implements Serializable

    Serialized Fields

    interpolationType

    StringAttribute interpolationType
    The type of interpolation to use. This is a string valued attribute that defaults to type "bilinear"


    subSampleBits

    Parameter subSampleBits
    The subsample precision. The default value of this parameter is the integer value 8.


    xShift

    Parameter xShift
    The shift amount in the horizontal direction. A positive value causes the origin to be moved to the right. A negative value causes the origin to be moved to the left.


    yShift

    Parameter yShift
    The shift amount in the vertical direction. A positive value causes the origin to be moved to the down. A negative value causes the origin to be moved to the up.


    _interpolationType

    int _interpolationType
    An indicator for the type of interpolation to use


    _subSampleBits

    int _subSampleBits
    The subsample precision


    _xShift

    double _xShift
    The horizontal scaling factor.


    _yShift

    double _yShift
    The vertical scaling factor.

    Class ptolemy.actor.lib.jai.JAITranspose extends Transformer implements Serializable

    Serialized Fields

    transposeType

    StringAttribute transposeType
    The type of transposing to do. This is a string valued attribute that defaults to type "flip horizontal",


    _transposeType

    javax.media.jai.operator.TransposeType _transposeType
    An indicator for the type of transposition to use

    Class ptolemy.actor.lib.jai.JAIWriter extends Sink implements Serializable

    Serialized Fields

    fileName

    FileParameter fileName
    The file name to which to write. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    confirmOverwrite

    Parameter confirmOverwrite
    If false, then overwrite the specified file if it exists without asking. If true (the default), then if the file exists, ask for confirmation before overwriting.


    _alreadyReadImageToken

    boolean _alreadyReadImageToken
    Set to true if the input was read in by the derived class. Certain derived classes want to read in the JAIImageToken so they can adjust the output format accordingly. These actors read the input, set the value of _jaiImageToken and _image set _alreadyReadImageToken to true and then call super.postfire(), which acts accordingly.

    See Also:
    JAIWriter._jaiImageToken, JAIPNGWriter

    _image

    javax.media.jai.RenderedOp _image
    The image that was optionally read in by the derived class.

    See Also:
    JAIWriter._alreadyReadImageToken

    _imageEncoderName

    java.lang.String _imageEncoderName
    The name of the encoder in a format suitable for com.sun.media.jai.codec.ImageCodec, for example "BMP", or "JPG".


    _imageEncodeParam

    com.sun.media.jai.codec.ImageEncodeParam _imageEncodeParam
    The encoder parameters. Derived classes usually instantiate a format specific subclass of ImageEncodeParam and then set _imageEncodeParam to the format specific instance and then call super.postfire().


    _jaiImageToken

    JAIImageToken _jaiImageToken
    The JAIImageToken that was optionally read in by the derived class.

    See Also:
    JAIWriter._alreadyReadImageToken

    Class ptolemy.actor.lib.jai.SaltAndPepper extends Transformer implements Serializable

    Serialized Fields

    probability

    Parameter probability
    The probability that a pixel will be turned black or white. This parameter contains a double between 0.0 and 1.0, the initial default value is 0.1. With the initial default value of 0.1, then there is a 5% chance a pixel will be turned white, a 5% chance that the pixel will be turned black and a 90% chance that the pixel will remain unchanged.


    _probability

    double _probability

    Package ptolemy.actor.lib.javasound

    Class ptolemy.actor.lib.javasound.AudioCapture extends LiveSoundActor implements Serializable

    Serialized Fields

    trigger

    TypedIOPort trigger
    The trigger port.


    output

    TypedIOPort output
    The output port. This will always produce double data, between -1.0 and 1.0.


    output_tokenProductionRate

    Parameter output_tokenProductionRate
    The output rate.


    _audioInDoubleArray

    double[][] _audioInDoubleArray

    _audioSendArray

    DoubleToken[] _audioSendArray

    Class ptolemy.actor.lib.javasound.AudioPlayer extends LiveSoundActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port. This port must receive double tokens (in the range of -1.0 to 1.0);


    input_tokenConsumptionRate

    Parameter input_tokenConsumptionRate
    The input rate.


    _audioPutArray

    double[][] _audioPutArray

    Class ptolemy.actor.lib.javasound.AudioReadBuffer extends Transformer implements Serializable

    Serialized Fields

    sourceURL

    StringAttribute sourceURL
    The URL of the file to read from. The default value of this parameter is the URL "file:///tmp/test.wav". Supported file formats are WAV, AU, and AIFF. The sound file format is determined from the file extension.

    An exception will occur if the path references a non-existent or unsupported sound file.


    bufferLength

    Parameter bufferLength
    The length of the audio buffer to use. The default value is 8000.


    _soundReader

    SoundReader _soundReader

    _safeToInitialize

    boolean _safeToInitialize

    _audioBuffer

    double[] _audioBuffer

    _postfireReturn

    boolean _postfireReturn

    Class ptolemy.actor.lib.javasound.AudioReader extends Source implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    _audioIn

    double[][] _audioIn
    Most recently read audio data.


    _audioSendArray

    DoubleToken[] _audioSendArray
    Buffer of tokens to send.


    _channels

    int _channels
    The number of channels.


    _firedSinceWrapup

    boolean _firedSinceWrapup
    Indicator that the fire() method has been called, but wrapup has not. That is, we are in the middle of a run.


    _previousFileOrURL

    java.lang.String _previousFileOrURL
    Previous value of fileOrURL parameter.


    _reachedEOF

    boolean _reachedEOF
    Indicator that we have reached the end of the file.


    _sampleIndex

    int _sampleIndex
    Index of the next output to produce from _audioIn.


    _soundReader

    SoundReader _soundReader
    The current reader for the input file.

    Class ptolemy.actor.lib.javasound.AudioWriteBuffer extends TypedAtomicActor implements Serializable

    Serialized Fields

    address

    TypedIOPort address
    The address port, which is a multiport.


    data

    TypedIOPort data
    The data port, which is a multiport.


    bufferLength

    Parameter bufferLength
    The length of the audio buffer to use. The default value is 8000.


    overwrite

    Parameter overwrite
    The write mode to use. If this parameter is set to true, then a write to a buffer element overwrites the old value in the buffer. Otherwise, a write adds the new value to the old value of the buffer element.


    pathName

    StringAttribute pathName
    The name of the file to write to. The default value of this parameter is "test.wav", which creates a file called test.wav in the current directory and writes samples to this file.

    The audio format to use is determined by the file extension. E.g., "outfile.wav" will create a WAV format file. The supported file formats are AU, WAV, and, AIFF.

    An exception will be occur if the path references an unsupported sound file.


    sampleRate

    Parameter sampleRate
    The desired sample rate to use, in Hz. Valid values include: 8000, 11025, 22050, 44100, and 48000. The default value of the sample rate is an IntToken equal to 8000.

    An exception will be thrown if an illegal value is used.


    bitsPerSample

    Parameter bitsPerSample
    The desired number of bits per sample. The default value is an IntToken equal to 16. Supported values are 8 and 16. An exception will be thrown if an illegal value is used.


    channels

    Parameter channels
    The number of audio channels to use. Supported values are 1 (single channel) and 2 (stereo). The default value is an IntToken equal to 1. An exception will be thrown if an illegal value is used.


    _soundWriter

    SoundWriter _soundWriter

    _channels

    int _channels

    _putSampleSize

    int _putSampleSize

    _audioPutArray

    double[][] _audioPutArray

    _inArray

    Token[][] _inArray

    _safeToInitialize

    boolean _safeToInitialize

    _audioBuffer

    double[] _audioBuffer

    Class ptolemy.actor.lib.javasound.AudioWriter extends Sink implements Serializable

    Serialized Fields

    pathName

    StringAttribute pathName
    The name of the file to write to. The default value of this parameter is "test.wav", which creates a file called test.wav in the current directory and writes samples to this file.

    The audio format to use is determined by the file extension. E.g., "outfile.wav" will create a WAV format file. The supported file formats are AU, WAV, and, AIFF.

    An exception will be occur if the path references an unsupported sound file.


    sampleRate

    Parameter sampleRate
    The desired sample rate to use, in Hz. Valid values include: 8000, 11025, 22050, 44100, and 48000. The default value of the sample rate is an IntToken equal to 8000.

    An exception will be thrown if an illegal value is used.


    bitsPerSample

    Parameter bitsPerSample
    The desired number of bits per sample. The default value is an IntToken equal to 16. Supported values are 8 and 16. An exception will be thrown if an illegal value is used.


    channels

    Parameter channels
    The number of audio channels to use. Supported values are 1 (single channel) and 2 (stereo). The default value is an IntToken equal to 1. An exception will be thrown if an illegal value is used.


    _soundWriter

    SoundWriter _soundWriter

    _channels

    int _channels

    _putSampleSize

    int _putSampleSize

    _audioPutArray

    double[][] _audioPutArray

    _curElement

    int _curElement

    _inArray

    Token[][] _inArray

    _safeToInitialize

    boolean _safeToInitialize

    Class ptolemy.actor.lib.javasound.ClipPlayer extends TypedAtomicActor implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file or URL giving the audio clip. This is set by default to a file containing a voice signal.


    output

    TypedIOPort output
    Output port used to indicate starts and stops. This is a boolean port. A true output indicates that a clip has been started, and a false output indicates that one has stopped.


    overlay

    Parameter overlay
    If true, then if the actor fires before the previous clip has finished playing, then a new instance of the clip will be played on top of the tail of the previous instance, as long as the underlying mixer supports adding additional clips. This is a boolean that is false by default, which means that the clip is stopped and restarted each time the actor fires.


    trigger

    TypedIOPort trigger
    The trigger. When this port receives a token of any type, the actor begins playing the audio clip.


    _clips

    java.util.List<E> _clips
    The clip to playback.


    _outputEvents

    java.util.List<E> _outputEvents
    The output values to be produced on the next firing.


    _outputEventsCopy

    java.util.List<E> _outputEventsCopy
    The output values to be produced on the next firing.

    Class ptolemy.actor.lib.javasound.LiveSoundActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    bitsPerSample

    SharedParameter bitsPerSample
    The number of bits per sample. This is an integer that defaults to 16. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an unsupported bit resolution (currently, only 8 and 16 bits are supported).


    bufferSize

    SharedParameter bufferSize
    The requested buffer size in the audio hardware. This affects how far ahead of real time the model can get. A larger buffer size may limit the responsivity of the model because changes in the model will be heard only after the buffer has been flushed. This is an integer that defaults to 1024, representing a buffer with 1024 samples per channel. At an 8 kHz sample rate, this means a worst-case latency of about 1/8 seconds. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all.


    channels

    SharedParameter channels
    The number of audio channels. This is an integer that defaults to 1. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an an unsupported channel number.


    sampleRate

    SharedParameter sampleRate
    The sample rate in samples per second. This is an integer that defaults to 8000. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an unsupported sample rate.


    transferSize

    SharedParameter transferSize
    The number of samples that will be transferred to the audio driver together. This is an integer with default 128. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all.


    _bitsPerSample

    int _bitsPerSample
    Value of the bitsPerSample parameter.


    _bufferSize

    int _bufferSize
    The requested buffer size.


    _channels

    int _channels
    The number of channels. Initialized from the channels parameter.


    _sampleRate

    int _sampleRate
    The value of the sampleRate parameter.


    _transferSize

    int _transferSize
    The transfer size. Initialized from the transferSize parameter.


    _isExecuting

    boolean _isExecuting
    True if this actor is executing. Set to true by initialize(), set to false by wrapup().

    Class ptolemy.actor.lib.javasound.SoundActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    bytesPerSample

    SharedParameter bytesPerSample
    The number of bytes per sample. This is an integer that defaults to 2. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an unsupported bit resolution. Changing the value of this parameter will have an effect only when the model is next initialized.


    bufferSize

    SharedParameter bufferSize
    The requested buffer size for transferring samples. This affects how far ahead of real time the model can get. A larger buffer size may limit the responsivity of the model because changes in the model will be heard only after the buffer has been flushed. This is an integer that defaults to 1024, representing a buffer with 1024 samples per channel. At an 8 kHz sample rate, this means a worst-case latency of about 1/8 seconds. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. Changing the value of this parameter will have an effect only when the model is next initialized.


    channels

    SharedParameter channels
    The number of audio channels. This is an integer that defaults to 1. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an an unsupported channel number. Changing the value of this parameter will have an effect only when the model is next initialized.


    sampleRate

    SharedParameter sampleRate
    The sample rate in samples per second. This is an integer that defaults to 8000. This parameter is shared by all instances of this class and subclasses in the model, so changing it in one of those actors will cause it to change in all. An exception will be thrown if this parameter is set to an unsupported sample rate. Changing the value of this parameter will have an effect only when the model is next initialized.


    _bytesPerSample

    int _bytesPerSample
    Value of the bytesPerSample parameter.


    _bufferSize

    int _bufferSize
    The requested buffer size.


    _channels

    int _channels
    The number of channels. Initialized from the channels parameter.


    _sampleRate

    int _sampleRate
    The value of the sampleRate parameter.


    _isExecuting

    boolean _isExecuting
    True if this actor is executing. Set to true by initialize(), set to false by wrapup().

    Class ptolemy.actor.lib.javasound.SoundPlayer extends SoundActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port. This port must receive double matrix tokens (in the range of -1.0 to 1.0).


    _playbackData

    byte[] _playbackData
    Byte buffer used for playback data.


    _sourceDataLine

    javax.sound.sampled.SourceDataLine _sourceDataLine
    The data line being used for playback.


    Package ptolemy.actor.lib.jmf

    Class ptolemy.actor.lib.jmf.AudioPlayer extends Sink implements Serializable

    Serialized Fields

    _container

    java.awt.Container _container
    The container that contains the control panel components.


    _frame

    javax.swing.JFrame _frame
    The JFrame where the the container is put.


    _player

    javax.media.Player _player
    The player.


    _startTime

    javax.media.Time _startTime
    Start time for the audio clip.

    Class ptolemy.actor.lib.jmf.ColorFinder extends TypedAtomicActor implements Serializable

    Serialized Fields

    uHighValue

    Parameter uHighValue
    The upper bound on the U range.


    uLowValue

    Parameter uLowValue
    The lower bound on the U range.


    vHighValue

    Parameter vHighValue
    The upper bound on the V range.


    vLowValue

    Parameter vLowValue
    The lower bound on the V range.


    yHighValue

    Parameter yHighValue
    The upper bound on the Y range.


    yLowValue

    Parameter yLowValue
    The lower bound on the Y range.


    input

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


    outputX

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


    outputY

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


    _frameWidth

    int _frameWidth

    _frameHeight

    int _frameHeight

    YArray

    byte[] YArray

    UArray

    byte[] UArray

    VArray

    byte[] VArray

    _histSize

    int _histSize

    _inCount

    int _inCount

    _sumX

    int _sumX

    _sumY

    int _sumY

    _yLow

    int _yLow

    _yHigh

    int _yHigh

    _uLow

    int _uLow

    _uHigh

    int _uHigh

    _vLow

    int _vLow

    _vHigh

    int _vHigh

    _yClass

    int[] _yClass

    _uClass

    int[] _uClass

    _vClass

    int[] _vClass

    Class ptolemy.actor.lib.jmf.ImageToJMF extends Transformer implements Serializable

    Serialized Fields

    frameRate

    Parameter frameRate
    The frame rate in frames per second at which the images are being generated. If video is being generated, then the frame rate is usually between 1 and 60. The initial default is an integer with value 15, meaning 15 frames per second


    _frameRate

    int _frameRate

    Class ptolemy.actor.lib.jmf.JMFImageToken extends ImageToken implements Serializable

    Serialized Fields

    _value

    javax.media.Buffer _value

    _videoFormat

    javax.media.format.VideoFormat _videoFormat

    _awtImage

    java.awt.Image _awtImage

    Class ptolemy.actor.lib.jmf.MovieReader extends Source implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by File Attribute. The default value is the string "file:///C:/program%20files/quicktime/Sample.mov".

    See Also:
    FileParameter

    _dataSource

    javax.media.protocol.DataSource _dataSource

    _frame

    javax.media.Buffer _frame

    _frameGrabbingControl

    javax.media.control.FrameGrabbingControl _frameGrabbingControl

    _framePositioningControl

    javax.media.control.FramePositioningControl _framePositioningControl

    _player

    javax.media.Player _player

    _playerOpen

    boolean _playerOpen

    _stateTransitionEvent

    javax.media.ControllerEvent _stateTransitionEvent

    _stateTransitionOK

    boolean _stateTransitionOK

    _waitSync

    java.lang.Object _waitSync

    Class ptolemy.actor.lib.jmf.MovieWriter extends Sink implements Serializable

    Serialized Fields

    confirmOverwrite

    Parameter confirmOverwrite
    If false, then overwrite the specified file if it exists without asking. If true (the default), then if the file exists, ask for confirmation before overwriting.


    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by File Attribute. The initial default value is the string "$TMPDIR/movieOut.mov";

    See Also:
    FileParameter

    fileType

    StringAttribute fileType
    The type of file to write. There are three different file types that this actor can write. They are AVI, MPEG, and QUICKTIME.


    _bufferArrayList

    java.util.ArrayList<E> _bufferArrayList

    _bufferIterator

    java.util.Iterator<E> _bufferIterator

    _confirmOverwrite

    boolean _confirmOverwrite

    _ended

    boolean _ended

    _file

    java.io.File _file

    _fileDone

    boolean _fileDone

    _fileRoot

    java.lang.String _fileRoot

    _fileSuccess

    boolean _fileSuccess

    _fileType

    int _fileType

    _imageSourceStream

    MovieWriter.ImageSourceStream[] _imageSourceStream

    _jmfImageToken

    JMFImageToken _jmfImageToken

    _stateTransitionOK

    boolean _stateTransitionOK

    _videoFormat

    javax.media.format.VideoFormat _videoFormat

    _waitFileSync

    java.lang.Object _waitFileSync

    _waitSync

    java.lang.Object _waitSync

    Class ptolemy.actor.lib.jmf.PlaySound extends TypedAtomicActor implements Serializable

    Serialized Fields

    fileNameOrURL

    FileParameter fileNameOrURL
    The file name or URL to read.


    onOff

    TypedIOPort onOff
    The input port, which has type boolean. A true input causes the sound to be played, and false input causes it to be stopped.


    percentGain

    IntRangeParameter percentGain
    The gain (in percent). This has as its value a record of the form {min = m, max = M, current = c}, where min <= c <= max.


    synchronizedPlay

    Parameter synchronizedPlay
    Indicator to play to the end before returning from fire(). This is a boolean, and defaults to true.


    _gainControl

    javax.media.GainControl _gainControl
    The gain control associated with the player.


    _player

    javax.media.Player _player
    The player.


    _startTime

    javax.media.Time _startTime
    Start time for an audio clip.

    Class ptolemy.actor.lib.jmf.StreamLoader extends Source implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The file or URL that it to be read.


    _dataSource

    javax.media.protocol.DataSource _dataSource

    Class ptolemy.actor.lib.jmf.VideoCamera extends Source implements Serializable

    Serialized Fields

    formatName

    StringAttribute formatName
    The type of video format to use. This is a string valued attribute that defaults to the type RGB.


    deviceNumber

    Parameter deviceNumber
    This parameter lets the user select the device to use. Typically this parameter is of no concern and should be left at 0. However, if a computer has more than one usable cameras, this parameter can be used to choose amongst them.


    _format

    javax.media.format.VideoFormat _format

    _bufferNew

    javax.media.Buffer _bufferNew
    The java.awt.Image that we are producing/


    _newFrame

    boolean _newFrame

    _processor

    javax.media.Processor _processor
    The video processor.


    _cameraCodec

    VideoCamera.PreAccessCodec _cameraCodec

    _waitSync

    java.lang.Object _waitSync

    _stateTransitionOK

    boolean _stateTransitionOK

    _frameBuffer

    javax.media.Buffer _frameBuffer

    Class ptolemy.actor.lib.jmf.VideoPlayer extends Sink implements Serializable

    Serialized Fields

    _container

    java.awt.Container _container
    The container that contains the control panel components.


    _frame

    javax.swing.JFrame _frame
    The JFrame where the the container is put.


    _player

    javax.media.Player _player
    The player.


    _startTime

    javax.media.Time _startTime
    Start time for the video clip.


    Package ptolemy.actor.lib.jni

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

    Class ptolemy.actor.lib.jni.CompiledCompositeActor extends TypedCompositeActor implements Serializable

    Serialized Fields

    codeDirectory

    FileParameter codeDirectory
    The directory in which to put the generated code. This is a file parameter that must specify a directory. The default is $HOME/codegen.


    generatorPackage

    StringParameter generatorPackage
    The name of the package in which to look for helper class code generators. This is a string that defaults to "ptolemy.codegen.c".


    inline

    Parameter inline
    If true, generate file with no functions. If false, generate file with functions. The default value is a parameter with the value true.


    invokeJNI

    Parameter invokeJNI
    If true, then invoke the generated code in the action methods (fire(), etc.) using the Java Native Interface (JNI). The default value is false, which results in this actor executing like an ordinary composite actor. Classes like EmbeddedCActor set invokeJNI to true when there is only C code specifying the functionality of an actor.


    overwriteFiles

    Parameter overwriteFiles
    If true, overwrite preexisting files. The default value is a parameter with the value true.


    _executeCommands

    StringBufferExec _executeCommands

    _jniWrapper

    java.lang.Object _jniWrapper

    _jniFireMethod

    java.lang.reflect.Method _jniFireMethod

    _jniInitializeMethod

    java.lang.reflect.Method _jniInitializeMethod

    _jniWrapupMethod

    java.lang.reflect.Method _jniWrapupMethod

    _sanitizedActorName

    java.lang.String _sanitizedActorName
    The sanitized actor name. The name has the underscores removed and the value of the _version variable appended. Call _updateSanitizedActorName() to properly set this variable.


    _generatedCodeVersion

    long _generatedCodeVersion
    The workspace version for which the code was generated. If the workspace version and this variable differ, Then there is a chance we should regenerate the code.


    _loadedCodeVersion

    long _loadedCodeVersion
    The workspace version for which the code was loaded. If the workspace version and this variable differ, then we should reload the code. Note that we don't want to reload the same dll multiple times or we will get "Native Library foo.dll already loaded in another classloader"


    _version

    int _version
    The version of the shared object. Each time we rebuild, the version number gets incremented. If you change _version, then consider calling _updateSanitizedActorName.

    Class ptolemy.actor.lib.jni.EmbeddedCActor extends CompiledCompositeActor implements Serializable

    Serialized Fields

    embeddedCCode

    StringAttribute embeddedCCode
    The C code that specifies the function of this actor. The default value is the code necessary to implement a identity function.


    _embeddedActor

    EmbeddedCActor.EmbeddedActor _embeddedActor
    The embedded actor used to contain the ports to the C implementation.

    Class ptolemy.actor.lib.jni.EmbeddedCActor.EmbeddedActor extends TypedAtomicActor implements Serializable

    Class ptolemy.actor.lib.jni.EmbeddedCFileActor extends EmbeddedCActor implements Serializable

    Serialized Fields

    codeBlockFile

    FileParameter codeBlockFile
    The file parameter that specifies the file that contains the C Code that this actor should use during execution and/or code generation.

    Class ptolemy.actor.lib.jni.EmbeddedCFileActor.EmbeddedFileActor extends EmbeddedCActor.EmbeddedActor implements Serializable

    Class ptolemy.actor.lib.jni.PointerToken extends Token implements Serializable

    Serialized Fields

    _value

    int _value
    The memory address of the pointer.

    Class ptolemy.actor.lib.jni.PointerToken.PointerType extends java.lang.Object implements Serializable


    Package ptolemy.actor.lib.jopio

    Class ptolemy.actor.lib.jopio.JopReadPort extends Source implements Serializable

    Serialized Fields

    portAddress

    Parameter portAddress
    The address of the I/O port. Has to be in an allowed range.


    _firstFire

    boolean _firstFire

    _val

    IntToken _val

    Class ptolemy.actor.lib.jopio.JopSerialRead extends Source implements Serializable

    Serialized Fields

    _firstFire

    boolean _firstFire

    _val

    IntToken _val

    _cnt

    int _cnt

    Class ptolemy.actor.lib.jopio.JopSerialWrite extends Sink implements Serializable

    Serialized Fields

    _last_val

    int _last_val

    _val

    int _val

    Class ptolemy.actor.lib.jopio.JopWatchDog extends Sink implements Serializable

    Serialized Fields

    _last_val

    boolean _last_val

    _val

    boolean _val

    Class ptolemy.actor.lib.jopio.JopWritePort extends Sink implements Serializable

    Serialized Fields

    portAddress

    Parameter portAddress
    The address of the I/O port. Has to be in an allowed range.


    _last_val

    int _last_val

    _val

    int _val

    Package ptolemy.actor.lib.logic

    Class ptolemy.actor.lib.logic.Comparator extends TypedAtomicActor implements Serializable

    Serialized Fields

    left

    TypedIOPort left
    The left input port, which has type double.


    right

    TypedIOPort right
    The right input port, which has type double.


    output

    TypedIOPort output
    The output port, which has type boolean.


    comparison

    StringAttribute comparison
    The comparison operator. This is a string-valued attribute that defaults to ">".


    tolerance

    Parameter tolerance
    The tolerance for the comparison. This has type double, and defaults to 0.0.


    _comparison

    int _comparison

    _tolerance

    double _tolerance

    Class ptolemy.actor.lib.logic.Equals extends Transformer implements Serializable

    Class ptolemy.actor.lib.logic.IsPresent extends Transformer implements Serializable

    Class ptolemy.actor.lib.logic.LogicalNot extends Transformer implements Serializable

    Class ptolemy.actor.lib.logic.LogicFunction extends Transformer implements Serializable

    Serialized Fields

    function

    StringAttribute function
    The function to compute. This is a string-valued attribute that defaults to "and".


    _function

    int _function
    An indicator for the function to compute. Valid values are LogicFunction._AND, LogicFunction._OR, and LogicFunction._XOR.


    _negate

    boolean _negate
    True if the intermediate results should be negated.

    Class ptolemy.actor.lib.logic.TrueGate extends Transformer implements Serializable


    Package ptolemy.actor.lib.net

    Class ptolemy.actor.lib.net.DatagramReader extends TypedAtomicActor implements Serializable

    Serialized Fields

    returnAddress

    TypedIOPort returnAddress
    This port outputs the IP address portion of the received datagram packet. The type of this output is String. This is the IP address of the remote datagram socket which sent the packet to the socket of this actor. Under IPv4, this string has the familiar form "128.32.1.1". This output defaults (when no datagram has been received and blocking is false) to the IP address of the socket.


    returnSocketNumber

    TypedIOPort returnSocketNumber
    This port outputs the socket (a.k.a port) number portion of the received datagram packet. The type of this output is int. This is the socket number of the remote datagram socket which sent the packet to this actor's socket. This is an integer in the range 0 through 65535. This output defaults (when no datagram has been received and blocking is false) to this actor's local socket number.


    output

    TypedIOPort output
    This port outputs the data portion of the received datagram packet. The type of output may depend on the datagram received, which may vary even during a single run of a model. The user is encouraged to play with the configuration of this port to best suit the need at hand.


    trigger

    TypedIOPort trigger
    The trigger input port reads and discards a token from each channel that has a token. The type of this port has been set to GENERAL, permitting any token type to be accepted. The hasToken() and get(int) methods are called on this input, but their contents are discarded. The presence of a connection to this input serves a purpose by causing the director to schedule the firing of this actor at an appropriate place in the sequence of firings of actors. This is particularly useful in the SDF domain. Without a trigger input, the SDF scheduler would be unable to schedule a firing of this actor unless it can be scheduled as the first actor to be fired. Thus, without this input, configurations in SDF would be limited. (@See ptolemy.actor.lib.Source for an archetypal trigger input.)


    localSocketNumber

    Parameter localSocketNumber
    This actor's local socket (a.k.a. port) number. This is a system resource allocated to this actor. No other actor with the same local socket number may run at the same time. Currently, When the return address is a multicast IP address, this parameter is also used to specify the UDP port number for the multicast group.


    actorBufferLength

    Parameter actorBufferLength
    Length (in bytes) of each of the actor's two packet buffers for receiving a datagram. This length does not include the bytes needed for storing the datagram's return address and other housekeeping information. This buffer need only be big enough to hold the payload (a.k.a. data portion) of the datagram.


    platformBufferLength

    Parameter platformBufferLength
    Length (in bytes) of the buffer within java and/or the platform layers below java. Java documents refers to all this collectively as the platform. The size of this buffer is controlled via the getReceiveBufferSize() and setReceiveBufferSize() methods. @see java.net.DatagramSocket. Caution #1 - The platform treats setReceiveBufferSize() as a suggestion only. It supposedly reports the actual buffer size granted in subsequent calls to getReceiveBufferSize(). However, my experiments with this showed it granting buffers as large as 2 gigabytes, with no apparent limit except the maximum representable integer value. Thus, I suggest taking this with a grain of salt. Caution #2 - the get/setReceiveBufferSize() calls block when called as long as another thread is in a receive() call on that same socket. This is undocumented in Java's documentation. Also note that the setReceiveBufferSize() method is not available in early JDK's, which makes it important to have setPlatformBufferLength set to false when generating code.


    setPlatformBufferLength

    Parameter setPlatformBufferLength
    Determine whether the platformBufferLength parameter will be used to set the platform's receive buffer size. This parameter must contain a boolean token, and has a default of false.


    overwrite

    Parameter overwrite
    Whether to overwrite when inundated with datagrams or let them pile up. Default is true. If false, datagrams will queue up (mostly in the platform, some in the actor). The datagram used at each invocation of fire will be the oldest in the queue. On the other hand, if overwrite is true, then minimal queuing will occur and the most recent data will be used when fire() is called. Older data will be discarded.


    blockAwaitingDatagram

    Parameter blockAwaitingDatagram
    Whether to block in fire(). If fire() is called before the datagram has arrived, the actor must either block awaiting the datagram or use its defaultOutput. This blocking parameter controls which choice fire() will make. This parameter is useful for SDF models, where it is generally set to true. It has no effect in DE models unless the trigger input has been connected. Type is Boolean. Default value is true.


    defaultReturnAddress

    Parameter defaultReturnAddress
    The default for the returnAddress output. This token is broadcast when the actor is fired, but no actual datagram is available to broadcast and blockAwaitingDatagram is false. If blocking were true, the actor would simply stall in fire() until a datagram arrives. Type is string. Default value is "localhost". Currently, this parameter can be overloaded to specify a multicast datagram IP address. A multicast IP address ranges from 224.0.0.0 to 239.255.255.255, inclusive.


    defaultReturnSocketNumber

    Parameter defaultReturnSocketNumber
    The default the returnSocketNumber output. This token is broadcast when the actor is fired, but no actual datagram is available to broadcast and blockAwaitingDatagram is false. If blocking were true, the actor would simply stall in fire() until a datagram arrives. Type is integer. Default value is 0.


    defaultOutput

    Parameter defaultOutput
    The default for the output output. This default token is broadcast when the actor is fired, but no actual datagram data is available to broadcast and blockAwaitingDatagram is false. If blocking were true, the actor would simply stall in fire() until a datagram arrives. Type is defined by the expression entered. Default type & value is the integer 0.


    _syncFireAndThread

    java.lang.Object _syncFireAndThread

    _syncDefaultOutputs

    java.lang.Object _syncDefaultOutputs

    _syncBufferLength

    java.lang.Object _syncBufferLength

    _syncSocket

    java.lang.Object _syncSocket

    _actorBufferLength

    int _actorBufferLength

    _overwrite

    boolean _overwrite

    _blockAwaitingDatagram

    boolean _blockAwaitingDatagram

    _multiCast

    boolean _multiCast

    _defaultReturnAddress

    java.lang.String _defaultReturnAddress

    _defaultReturnSocketNumber

    int _defaultReturnSocketNumber

    _defaultOutputToken

    Token _defaultOutputToken

    _receivePacket

    java.net.DatagramPacket _receivePacket

    _broadcastPacket

    java.net.DatagramPacket _broadcastPacket

    _receiveAllocated

    int _receiveAllocated

    _broadcastAllocated

    int _broadcastAllocated

    _packetsAlreadyAwaitingFire

    int _packetsAlreadyAwaitingFire

    _ChangeRequestedToPlatformBufferLength

    int _ChangeRequestedToPlatformBufferLength

    _socket

    java.net.DatagramSocket _socket

    _multicastSocket

    java.net.MulticastSocket _multicastSocket

    _socketReadingThread

    DatagramReader.SocketReadingThread _socketReadingThread

    _returnAddress

    java.lang.String _returnAddress

    _returnSocketNumber

    int _returnSocketNumber

    _outputToken

    Token _outputToken

    _address

    java.net.InetAddress _address

    _inReceive

    boolean _inReceive

    _fireIsWaiting

    boolean _fireIsWaiting

    _stopFire

    boolean _stopFire

    Class ptolemy.actor.lib.net.DatagramWriter extends TypedAtomicActor implements Serializable

    Serialized Fields

    triggerOutput

    TypedIOPort triggerOutput
    The triggerOutput port. The type of this port is GENERAL, forcing input ports connected here to also be of type GENERAL, (as trigger inputs typically are). This port always transmits a Token with nothing in it. This gives the designer a way to control the order in which other actors fire with respect to the firing of this actor in the SDF domain.


    localSocketNumber

    Parameter localSocketNumber
    The local socket number for this actor's socket. Integer in the range 0..65535. Default is 4003.


    data

    TypedIOPort data
    Data to be sent. Data can be encoded different ways, depending on the setting of encoding.


    defaultRemoteAddress

    Parameter defaultRemoteAddress
    The default remote address to which to send datagrams. This is a string. It will get looked up to find the IP address. (Legal forms of this string include "128.32.239.10" and "localhost".)


    remoteAddress

    TypedIOPort remoteAddress
    The remote address towards which to launch the packet. This is a multiport. This permits it to be left unconnected in DE. If multiple addresses are delivered simultaneously to this port, the one arriving via the highest numbered channel is used. Type is string.


    defaultRemoteSocketNumber

    Parameter defaultRemoteSocketNumber
    The default remote UDP socket to which to launch the packet. This is an integer in 0..65535. NOTE: TCP sockets get their own distinct, non-interfering, set of 2^16 numbers!


    remoteSocketNumber

    TypedIOPort remoteSocketNumber
    The remote socket number towards which to launch the packet. This is a multiport. This permits it to be left unconnected in DE. If multiple addresses are delivered simultaneously to this port, the one arriving via the highest numbered channel is used. Type is integer.


    _address

    java.net.InetAddress _address

    _remoteSocketNumber

    int _remoteSocketNumber

    _socket

    java.net.DatagramSocket _socket

    _localSocketNumber

    int _localSocketNumber

    Package ptolemy.actor.lib.python

    Class ptolemy.actor.lib.python.PythonScript extends TypedAtomicActor implements Serializable

    Serialized Fields

    script

    StringAttribute script
    The script that specifies the function of this actor. The default value provides an empty template.


    _class

    org.python.core.PyClass _class

    _methodMap

    java.util.HashMap<K,V> _methodMap

    _object

    org.python.core.PyObject _object

    Package ptolemy.actor.lib.security

    Class ptolemy.actor.lib.security.CipherActor extends CryptographyActor implements Serializable

    Serialized Fields

    mode

    StringParameter mode
    The mode component when the Cipher is instantiated. Algorithms can be run in several different modes. The mode is specified as a string. Names for modes and modes implemented vary based on the provider. Possible values include
    (The empty string)
    Use the default setting for the algorithm.
    NONE
    No mode, meaning that the algorithm does not use a mode.
    CBC
    Cipher Block Chaining Mode, as defined in FIPS PUB 81. CBC is usually the mode that is used.
    CFB
    Cipher Feedback Mode, as defined in FIPS PUB 81.
    ECB
    Electronic Codebook Mode, as defined in: The National Institute of Standards and Technology (NIST) Federal Information Processing Standard (FIPS) PUB 81, "DES Modes of Operation," U.S. Department of Commerce, Dec 1980. ECM is best for encrypting small pieces of data. If possible, use CBC instead.
    OFB
    Output Feedback Mode, as defined in FIPS PUB 81.
    PCBC
    Propagating Cipher Block Chaining, as defined by Kerberos V4.
    The initial default is the empty string, which indicates that the default setting for the algorithm should be used.

    See the Java Cryptography Extension (JCE) Reference Guide for details.


    padding

    StringParameter padding
    The padding scheme used by the cipher during encryption. In cryptography, padding is used to handle situations where the input data must be an exact multiple of the block size for the algorithm http://www.di-mgt.com.au/cryptopad.html#whennopadding says:
    Block cipher algorithms like DES and Blowfish in Electronic Code Book (ECB) and Cipher Block Chaining (CBC) mode require their input to be an exact multiple of the block size. If the plaintext to be encrypted is not an exact multiple, you need to pad before encrypting by adding a padding string. When decrypting, the receiving party needs to know how to remove the padding, if any.

    The padding is specified as a string. Names for parameter and parameters implemented vary based on the provider. Possible values include

    (The empty string)
    Use the default setting for the algorithm.
    NoPadding
    No padding (do not use padding).
    OAEPWithdigestAndmgfPadding
    Optimal Asymmetric Encryption Padding scheme defined in PKCS #1, where digest should be replaced by the message digest and mgf by the mask generation function. Example: OAEPWithMD5AndMGF1Padding.
    PKCS5Padding
    The padding scheme described in: RSA Laboratories, "PKCS #5: Password-Based Encryption Standard," version 1.5, November 1993.
    SSL3Padding
    The padding scheme defined in the SSL Protocol Version 3.0, November 18, 1996, section 5.2.3.2 (CBC block cipher):
    The initial default is the empty string, which indicates that the default setting for the algorithm should be used.

    See the Java Cryptography Extension (JCE) Reference Guide for details.


    _cipher

    javax.crypto.Cipher _cipher
    The cipher that will be used to process the data.


    _mode

    java.lang.String _mode
    The mode to be used to process the data.


    _padding

    java.lang.String _padding
    The padding scheme to be used process the data.


    _updateCipherNeeded

    boolean _updateCipherNeeded
    Set to true if one of the parameters changed and we need to call _updateCipher().

    Class ptolemy.actor.lib.security.CryptographyActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    algorithm

    StringParameter algorithm
    Specify the algorithm to be used to process data. The algorithm is specified as a string. The algorithms are limited to those implemented by providers using the Java JCE which are found on the Java virtual machine. The initial default is the first value returned by java.security.Security.getAlgorithms();


    input

    TypedIOPort input
    The input port. The type of this port is unsigned byte array. Data is read in on this port, processed by the _process() method during fire() and passed to the output port.


    keySize

    Parameter keySize
    Specify the size of the key to be created. The key size is an integer value representing the number of bits in the key. The initial default depends on the algorithm that is selected, not all algorithms use keySize. In addition, only certain keySizes may work with certain algorithms, see the documentation for the algorithm you are using.

    DSA is the most common algorithm that uses keySize, the Sun documentation says: "The length, in bits, of the modulus p. This must range from 512 to 1024, and must be a multiple of 64. The default keysize is 1024." Refer to http://java.sun.com/j2se/1.4.2/docs/guide/security/CryptoSpec.html#AppB for a list of possible key sizes for certain algorithms. The initial default is 1024.


    output

    TypedIOPort output
    The output port. The type of this port is unsigned byte array. This port sends out the processed data received from the input port.


    provider

    StringParameter provider
    Specify a provider for the given algorithm. The default value is "SystemDefault" which allows the system to choose the provider based on the JCE architecture.


    _algorithm

    java.lang.String _algorithm
    The name of the algorithm to be used.


    _keySize

    int _keySize
    The key size to be used when processing information.


    _provider

    java.lang.String _provider
    The provider to be used for a provider specific implementation.

    Class ptolemy.actor.lib.security.KeyReader extends KeyStoreActor implements Serializable

    Serialized Fields

    getPublicKey

    Parameter getPublicKey
    True if we should get the public key. False if we should get the private key. The default value is true. Getting the private key requires using the keyPassword.


    output

    TypedIOPort output
    The output port. This port contains an KeyToken that contains a java.security.Key.


    trigger

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


    signatureAlgorithm

    StringParameter signatureAlgorithm
    The name of the signature algorithm used to generate the key. This StringParameter is not settable by the user, it is set after initialize() is called and the certificate has been obtained from the KeyStore.


    verifyCertificate

    Parameter verifyCertificate
    True if the certificate associated with a key should be verified. False if the certificate (if any) need not be verified.
    Public Keys must be associated with a certificate, so if getPublicKey is true, then this Parameter should be true as well.
    Private keys are usually associated with a certificate, so verifying the certificate is a good idea.
    Secret keys do not usually have a certificate, so if the key is a secret key, then usually verifyCertificate is set to false.


    _getPublicKey

    boolean _getPublicKey

    _key

    java.security.Key _key

    _updateKeyNeeded

    boolean _updateKeyNeeded

    _verifyCertificate

    boolean _verifyCertificate

    Class ptolemy.actor.lib.security.KeyStoreActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    alias

    StringParameter alias
    The alias of the certificate that we are looking for. The default alias is the String "ptolemy"


    createFileOrURLIfNecessary

    Parameter createFileOrURLIfNecessary
    If true, then create the keystore named by fileOrURL if the fileOrURL does not exist. The default value is true.


    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileParameter. The initial default is "$PTII/ptKeystore". To create the initial default keystore, run "cd $PTII; make ptKeystore" or set the createFileOrURLIfNecessary to true.

    See Also:
    FileParameter

    keyStoreType

    StringParameter keyStoreType
    The type of the keystore. See Java Cryptography Architecture API Specification & Reference for information about keystore types. The initial value is the string returned by java.security.KeyStore.getDefaultType().

    Note that secret keys generated by the SecretKey actor should be saved in a keystore of type "JCEKS".


    keyPassword

    PortParameter keyPassword
    The password to the Key. The default password is "this.is.the.keyPassword,change.it". If the port is left unconnected, then the parameter value will be used.


    provider

    StringParameter provider
    Specify a provider for the given algorithm. The default value is "SystemDefault" which allows the system to choose the provider based on the JCE architecture.


    storePassword

    PortParameter storePassword
    The password to the KeyStore. The default password is "this.is.the.storePassword,change.it". If the port is left unconnected, then the parameter value will be used.


    _alias

    java.lang.String _alias
    The alias of the Certificate that we are looking for.


    _keyPassword

    java.lang.String _keyPassword
    The password for the key.


    _keyStore

    java.security.KeyStore _keyStore
    The KeyStore itself.


    _keyStoreType

    java.lang.String _keyStoreType
    The keyStore type.


    _provider

    java.lang.String _provider
    The provider to be used for a provider specific implementation.


    _storePassword

    java.lang.String _storePassword
    The password for the keyStore.


    _loadKeyStoreNeeded

    boolean _loadKeyStoreNeeded
    Set to true if fileOrURL has changed and the keyStore needs to be read in again and the aliases updated.


    _errorGobbler

    KeyStoreActor._StreamReaderThread _errorGobbler

    _initializeKeyStoreNeeded

    boolean _initializeKeyStoreNeeded

    _outputGobbler

    KeyStoreActor._StreamReaderThread _outputGobbler

    _process

    java.lang.Process _process

    _stopFireRequested

    boolean _stopFireRequested

    Class ptolemy.actor.lib.security.KeyToken extends Token implements Serializable

    Serialized Fields

    _value

    java.security.Key _value
    The java.security.Key

    Class ptolemy.actor.lib.security.KeyToken.KeyType extends java.lang.Object implements Serializable

    Class ptolemy.actor.lib.security.KeyWriter extends KeyStoreActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port, which contains on KeyToken.


    output

    TypedIOPort output
    The output port, which contains a True boolean token when the key has been written.

    Class ptolemy.actor.lib.security.PrivateKeyReader extends KeyReader implements Serializable

    Class ptolemy.actor.lib.security.PublicKeyReader extends KeyReader implements Serializable

    Class ptolemy.actor.lib.security.SecretKey extends Source implements Serializable

    Serialized Fields

    algorithm

    StringParameter algorithm
    Specify the algorithm to be used to process data. The algorithm is specified as a string. The algorithms are limited to those implemented by providers using the Java JCE which are found on the system. The initial default is "DES".


    provider

    StringParameter provider
    Specify a provider for the given algorithm. Takes the algorithm name as a string. The default value is "SystemDefault" which allows the system chooses the provider based on the JCE architecture.


    keySize

    Parameter keySize
    Specify the size of the key to be created. The key size is an integer value representing the number of bits in the key. The initial default depends on the algorithm that is selected, not all algorithms use keySize.

    DSA is the most common algorithm that uses keySize, the Sun documentation says: "The length, in bits, of the modulus p. This must range from 512 to 1024, and must be a multiple of 64. The default keysize is 1024." Refer to http://java.sun.com/j2se/1.4.2/docs/guide/security/CryptoSpec.html#AppB for a list of possible key sizes for certain algorithms. The initial default is 1024.


    _algorithm

    java.lang.String _algorithm
    The name of the algorithm to be used.


    _keySize

    int _keySize
    The key size to be used when processing information.


    _provider

    java.lang.String _provider
    The provider to be used for a provider specific implementation.


    _secretKey

    javax.crypto.SecretKey _secretKey

    _secretKeyToken

    KeyToken _secretKeyToken

    _updateSecretKeyNeeded

    boolean _updateSecretKeyNeeded

    Class ptolemy.actor.lib.security.SecretKeyReader extends PrivateKeyReader implements Serializable

    Class ptolemy.actor.lib.security.SignatureActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    This port takes in an unsigned byte array and processes the data.


    output

    TypedIOPort output
    This port sends out the processed data received from input in the form of an unsigned byte array.


    provider

    StringParameter provider
    Specify a provider for the given algorithm. Takes the algorithm name as a string. The default value is "SystemDefault" which allows the system chooses the provider based on the JCE architecture.


    signatureAlgorithm

    StringParameter signatureAlgorithm
    Specify the algorithm to be used to sign data. The algorithm is specified as a string. The algorithms are limited to those implemented by providers using the Java JCE which are found on the system. Depending on your JDK installation, possible values might be SHA1WITHDSA or MD5WITHRSA. The initial default is the first value returned by java.security.Security.getAlgorithms("Signature").


    _provider

    java.lang.String _provider
    The name of the provider to be used for a provider specific implementation.


    _signature

    java.security.Signature _signature
    The signature that will be used to process the data.


    _signatureAlgorithm

    java.lang.String _signatureAlgorithm
    The name of the signature algorithm to be used.


    _updateSignatureNeeded

    boolean _updateSignatureNeeded

    Class ptolemy.actor.lib.security.SignatureSigner extends SignatureActor implements Serializable

    Serialized Fields

    privateKey

    TypedIOPort privateKey
    The private key to be used by the SignatureVerifier actor to verify the data on the output port. The type of this input port is an ObjectToken containing a java.security.PrivateKey.


    signature

    TypedIOPort signature
    The signature of the data. The type of this output port is unsigned byte array. The data is read in on the input port and the signature is generated on this port. The output port contains the data in clear text.


    _privateKey

    java.security.PrivateKey _privateKey

    Class ptolemy.actor.lib.security.SignatureVerifier extends SignatureActor implements Serializable

    Serialized Fields

    signature

    TypedIOPort signature
    The signature of the data. The type of this input port is unsigned byte array.


    publicKey

    TypedIOPort publicKey
    The public key that is used to verify the signature. This port receives the public key to be used from the The type of this input port is an KeyToken containing a java.security.PublicKey.


    _publicKey

    java.security.PublicKey _publicKey

    Class ptolemy.actor.lib.security.SymmetricDecryption extends CipherActor implements Serializable

    Serialized Fields

    key

    TypedIOPort key
    The key port. This port contains the key that is used to decrypt data from the input port. The type is KeyToken that contains a java.security.key


    _key

    java.security.Key _key

    Class ptolemy.actor.lib.security.SymmetricEncryption extends CipherActor implements Serializable

    Serialized Fields

    key

    TypedIOPort key
    The key to be used by this actor to encrypt the data. The type is an KeyToken containing a java.security.Key. Usually the output of the SecretKey actor is connected to this port


    Package ptolemy.actor.lib.string

    Class ptolemy.actor.lib.string.StringCompare extends TypedAtomicActor implements Serializable

    Serialized Fields

    function

    Parameter function
    The comparison function to be performed. The choices are:


    firstString

    PortParameter firstString
    The input PortParameter for the first string of type string.


    ignoreCase

    Parameter ignoreCase
    The parameter to state whether to ignore case. This is a boolean that defaults to false.


    output

    TypedIOPort output
    The output port for the result of type BooleanToken.


    secondString

    PortParameter secondString
    The input PortParameter for the second string of type string.


    _function

    int _function

    Class ptolemy.actor.lib.string.StringFunction extends Transformer implements Serializable

    Serialized Fields

    function

    Parameter function
    Parameter that stores the string function to be performed on the input string. The possible values are "trim" (the default), "toUpperCase", or "toLowerCase".


    _function

    int _function

    Class ptolemy.actor.lib.string.StringIndexOf extends TypedAtomicActor implements Serializable

    Serialized Fields

    ignoreCase

    Parameter ignoreCase
    The parameter to state whether to ignore case. This is a boolean that defaults to false.


    inText

    PortParameter inText
    Port and parameter specifying the string that will be searched. This has type string and defaults to the empty string.


    output

    TypedIOPort output
    Output producing the index of the searchFor string, if it is found, and -1 otherwise. This has type int.


    searchFor

    PortParameter searchFor
    Port and parameter specifying a string to find in the inText string. This has type string and defaults to an empty string.


    searchForwards

    Parameter searchForwards
    Boolean parameter indicating the direction in which to search. This is true to find the first occurrence and false to find the last. The default value is true.


    startIndex

    PortParameter startIndex
    Port and parameter that determines where to start the search. This has type int and defaults to 0.

    Class ptolemy.actor.lib.string.StringLength extends Transformer implements Serializable

    Class ptolemy.actor.lib.string.StringMatches extends TypedAtomicActor implements Serializable

    Serialized Fields

    matchString

    PortParameter matchString
    The string to be pattern matched to the regular expression.


    output

    TypedIOPort output
    Output is true if the pattern exists in the string, false otherwise. Its type is boolean.


    pattern

    PortParameter pattern
    The regular expression to be pattern matched with the matchString string. Its default parameter is an empty string that matches no strings.


    _pattern

    java.util.regex.Pattern _pattern

    Class ptolemy.actor.lib.string.StringReplace extends StringSimpleReplace implements Serializable

    Serialized Fields

    replaceAll

    Parameter replaceAll
    When the boolean value is true, replace all instances that match the pattern, and when false, replace the first instance.


    _pattern

    java.util.regex.Pattern _pattern

    Class ptolemy.actor.lib.string.StringSimpleReplace extends TypedAtomicActor implements Serializable

    Serialized Fields

    stringToEdit

    PortParameter stringToEdit
    The string to edit by replacing substrings that match the specified pattern with the specified replacement. This is a string that defaults to the empty string.


    output

    TypedIOPort output
    The output port on which the edited string is produced. This has type string.


    pattern

    PortParameter pattern
    The pattern used to pattern match and replace the stringToEdit string. It is an empty string by default.


    replacement

    PortParameter replacement
    The replacement string that replaces any matched instance of the pattern. It is an empty string by default.


    _patternValue

    java.lang.String _patternValue

    Class ptolemy.actor.lib.string.StringSubstring extends Transformer implements Serializable

    Serialized Fields

    start

    PortParameter start
    The beginning index of the input string, which is the position of first character of the desired substring. Its default value is 0, type int.


    stop

    PortParameter stop
    The ending index of the input string, which is 1 greater than the position of last letter of the desired substring. Its default value is 0, type int.


    Package ptolemy.actor.lib.vhdl

    Class ptolemy.actor.lib.vhdl.AddSubtract extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for tokens to be added. This is a multiport of fix point type


    B

    TypedIOPort B
    Input for tokens to be subtracted. This is a multiport of fix point type.


    operation

    Parameter operation
    Indicate whether addition or subtraction needs to be performed.

    Class ptolemy.actor.lib.vhdl.Concat extends FixTransformer implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input port for fix values to be concatenated. This is a multiport and have a Fix value type.

    Class ptolemy.actor.lib.vhdl.FixComparator extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for tokens to be added. This is a multiport of fix point type


    B

    TypedIOPort B
    Input for tokens to be subtracted. This is a multiport of fix point type.


    operation

    Parameter operation
    Indicate whether addition or subtraction needs to be performed.

    Class ptolemy.actor.lib.vhdl.FixConst extends FixTransformer 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.


    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.vhdl.FixCounter extends SynchronousFixTransformer 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.


    _count

    int _count
    Internal memory of the current count.


    _latestCount

    int _latestCount

    _consumed

    boolean _consumed

    Class ptolemy.actor.lib.vhdl.FixSequence extends FixTransformer 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.


    repeat

    Parameter repeat
    The flag that indicates whether the sequence needs to be repeated. If this is false, then the last value of the sequence is repeatedly produced after the entire sequence has been produced. 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}.


    trigger

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


    _currentIndex

    int _currentIndex

    _outputProduced

    boolean _outputProduced

    Class ptolemy.actor.lib.vhdl.FixToString extends Transformer implements Serializable

    Class ptolemy.actor.lib.vhdl.FixTransformer extends TypedAtomicActor implements Serializable

    Serialized Fields

    output

    QueuedTypedIOPort output
    Queued ouput to simulate pipelined add. The output is fix point type.

    Class ptolemy.actor.lib.vhdl.IntegerCounter extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    enable

    TypedIOPort enable
    The enable port. If this input port receives a true token, then the counter is incremented.


    reset

    TypedIOPort reset
    The reset port. If this port receive a true token, the counter is reset.


    width

    Parameter width
    The bit width for this counter.


    hasEnable

    Parameter hasEnable
    Specify whether this counter has a enable port.


    _previousCount

    int _previousCount
    The internal state of the previous count.


    _currentCount

    int _currentCount
    The internal state of the current count.

    Class ptolemy.actor.lib.vhdl.LogicalNot extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for tokens to be inverted. This is a multiport of fix point type

    Class ptolemy.actor.lib.vhdl.LogicFunction extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for tokens to be added. This is a multiport of fix point type


    B

    TypedIOPort B
    Input for tokens to be subtracted. This is a multiport of fix point type.


    operation

    Parameter operation
    Indicate whether addition or subtraction needs to be performed.

    Class ptolemy.actor.lib.vhdl.Memory extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    capacity

    Parameter capacity
    The range of address from 0 to capacity.


    dataIn

    TypedIOPort dataIn
    The input port for writing data .


    writeEnable

    TypedIOPort writeEnable
    The control port for signaling write.


    address

    TypedIOPort address
    The address port for fetching data.


    _addressWidth

    int _addressWidth

    _capacity

    int _capacity

    _dataWidth

    int _dataWidth

    _storage

    FixToken[] _storage

    Class ptolemy.actor.lib.vhdl.Multiplexor extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for the first data token stream. This is a port of fix point type.


    B

    TypedIOPort B
    Input for the second data token stream. This is a port of fix point type.


    select

    TypedIOPort select
    Input for select one of the inputs. This port has int type.


    _channel

    int _channel
    The most recently read select input.

    Class ptolemy.actor.lib.vhdl.Multiplier extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    A

    TypedIOPort A
    Input for tokens to be added. This is a multiport of fix point type


    B

    TypedIOPort B
    Input for tokens to be subtracted. This is a multiport of fix point type.

    Class ptolemy.actor.lib.vhdl.QueuedTypedIOPort extends TypedIOPort implements Serializable

    Serialized Fields

    myQueue

    java.util.LinkedList<E> myQueue
    The token queue.


    _oldToken

    Token _oldToken
    The previous token.


    latency

    int latency
    The latency of the port.


    initialToken

    Token initialToken
    The initial output value of the port.

    Class ptolemy.actor.lib.vhdl.Register extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens to be added. This is a multiport of fix point type

    Class ptolemy.actor.lib.vhdl.RegisterSR extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port. The default type is Fix.

    Class ptolemy.actor.lib.vhdl.ROM extends SynchronousFixTransformer implements Serializable

    Serialized Fields

    values

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


    address

    TypedIOPort address
    The address port for fetching data.


    _addressWidth

    int _addressWidth

    _capacity

    int _capacity

    Class ptolemy.actor.lib.vhdl.Slice extends FixTransformer implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port.


    start

    Parameter start
    The start index for the portion of the bits to be sliced.


    end

    Parameter end
    The end index for the portion of the bits to be sliced.


    lsb

    Parameter lsb
    Whether start and end index assumes LSB or MSB representation.

    Class ptolemy.actor.lib.vhdl.SynchronousFixTransformer extends FixTransformer implements Serializable

    Serialized Fields

    latency

    Parameter latency
    The number cycle delay of the output data.


    initialValue

    Parameter initialValue
    The number cycle delay of the output data.


    Package ptolemy.actor.lib.video

    Class ptolemy.actor.lib.video.DCT2x2dc extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens. This is a 2x2 integer block, and its type is integer matrix.


    output

    TypedIOPort output
    Output port. This is a result for calculating the DCT of the 2x2 integer block.


    _output

    IntMatrixToken[] _output

    Class ptolemy.actor.lib.video.DCT4x4dc extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens. This is a 2x2 integer block, and its type is integer matrix.


    output

    TypedIOPort output
    Output port. This is a result for calculating the DCT of the 2x2 integer block.


    _output

    IntMatrixToken[] _output

    Class ptolemy.actor.lib.video.DCT8x8 extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens to be a part of image blocks. This is a single port, and its type is integer matrix.


    output

    TypedIOPort output
    Output for tokens. The type is inferred form the connections.


    _output

    IntMatrixToken[] _output

    cos_values

    float[] cos_values

    Class ptolemy.actor.lib.video.IDCT4x4dc extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens to be a part of previous frame. This is a single port, and its type is 2D array.


    output

    TypedIOPort output
    Output port. This is a result for calculating sum of absolute differences between ImgBlockA and ImgBlockB. The type is inferred form the connections.


    _output

    IntMatrixToken[] _output

    Class ptolemy.actor.lib.video.IDCT8x8 extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Input for tokens to be a part of image blocks. This is a single port, and its type is integer matrix.


    output

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


    _output

    IntMatrixToken[] _output

    cos_values

    double[] cos_values

    Class ptolemy.actor.lib.video.SumofAbsoluteDifferences extends TypedAtomicActor implements Serializable

    Serialized Fields

    previousImageBlock

    TypedIOPort previousImageBlock
    Input for tokens to be a part of previous frame. This is a single port, and its type is 2D array.


    currentImageBlock

    TypedIOPort currentImageBlock
    Input for tokens to be a part of current frame. This is a single port, and its type is 2D array.


    sumAbsoluteDifference

    TypedIOPort sumAbsoluteDifference
    Output port. This is a result for calculating sum of absolute differences between ImgBlockA and ImgBlockB. The type is inferred form the connections.


    blockSize

    Parameter blockSize
    BlockSize parameter. This is given by a number of elements in a block. Macro Block in


    _blockSize

    int _blockSize
    Description of the variable.


    Package ptolemy.actor.lib.xslt

    Class ptolemy.actor.lib.xslt.XMLInclusion extends Transformer implements Serializable

    Serialized Fields

    template

    PortParameter template
    The template that specifies how the XML tokens will be combined. The type of this parameter is not defind, though it is in string mode. The initial value is not defined.


    headerParameter

    StringParameter headerParameter
    The xml header. This parameter is a string with an initial value of <?xml version="1.0" standalone="no"?>.

    Class ptolemy.actor.lib.xslt.XSLTransformer extends Transformer implements Serializable

    Serialized Fields

    styleSheetFile

    FileParameter styleSheetFile
    The file name or URL from which to read. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    styleSheetParameters

    PortParameter styleSheetParameters
    The parameters to be used in the stylesheet. This is a record that defaults to "emptyRecord()", an expression language command that returns an empty record. For example, if the parameter used in the style sheet is named a with type int, then the styleSheetParameters has type {a = int}. If the style sheet has multiple parameters, then each of them is represented as a field of the record.


    _xsltSource

    javax.xml.transform.Source _xsltSource

    _transformerFactory

    javax.xml.transform.TransformerFactory _transformerFactory

    _transformer

    javax.xml.transform.Transformer _transformer

    Package ptolemy.actor.parameters

    Class ptolemy.actor.parameters.DoubleRangeParameter extends Parameter implements Serializable

    Serialized Fields

    max

    Parameter max
    The maximum value. This is has a double value, and defaults to 1.0.


    min

    Parameter min
    The minimum value. This is has a double value, and defaults to 0.0.


    precision

    Parameter precision
    The precision, which is the number of possible values. This is has an integer value, and defaults to 100.


    _inCheck

    boolean _inCheck
    Indicator that we are in the middle of a check, so skip circular dependency.

    Class ptolemy.actor.parameters.FilePortParameter extends PortParameter implements Serializable

    Serialized Fields

    _baseDirectory

    java.net.URI _baseDirectory
    The base directory to use for relative file names.


    _reader

    java.io.BufferedReader _reader
    The current reader for the input file.


    _writer

    java.io.Writer _writer
    The current writer for the output file.

    Class ptolemy.actor.parameters.IntRangeParameter extends Parameter implements Serializable

    Serialized Fields

    max

    Parameter max
    The maximum value. This is has an integer value, and defaults to 100.


    min

    Parameter min
    The minimum value. This is has an integer value, and defaults to 0.


    _inCheck

    boolean _inCheck
    Indicator that we are in the middle of a check, so skip circular dependency.

    Class ptolemy.actor.parameters.LocationParameter extends Parameter implements Serializable

    Class ptolemy.actor.parameters.ParameterPort extends TypedIOPort implements Serializable

    Serialized Fields

    _settingName

    boolean _settingName
    Indicator that we are in the midst of setting the name.


    _parameter

    PortParameter _parameter
    The associated parameter.

    Class ptolemy.actor.parameters.ParameterSet extends ScopeExtendingAttribute implements Serializable

    Serialized Fields

    checkForFileUpdates

    Parameter checkForFileUpdates
    If this parameter is set to true, then the specified file or URL will be checked for updates on every prefiring of the enclosing opaque composite actor. Otherwise, it will check for updates only between runs. This is a boolean that defaults to false.


    fileOrURL

    FileParameter fileOrURL
    A parameter naming the file or URL to be read that contains attribute names and values. The file should be in a format suitable for java.util.Properties.load(), see the class comment of this class for details. This initial default value is the empty string "", which means that no file will be read and no parameter values will be defined.


    _date

    long _date
    Date of the file when last read.


    _fileName

    java.lang.String _fileName
    The previously read file name.


    _properties

    java.util.Properties _properties
    Cached copy of the last hashset of properties, used to remove old properties.

    Class ptolemy.actor.parameters.PortParameter extends Parameter implements Serializable

    Serialized Fields

    _port

    ParameterPort _port
    The associated port.


    _settingName

    boolean _settingName

    Class ptolemy.actor.parameters.Priority extends Parameter implements Serializable

    Class ptolemy.actor.parameters.SharedParameter extends Parameter implements Serializable

    Serialized Fields

    _constructionFinished

    boolean _constructionFinished
    Indicator that the constructor has reached the end.


    _containerClass

    java.lang.Class<T> _containerClass
    The container class.


    _sharedParameter

    SharedParameter _sharedParameter
    Cached version of a shared parameter.


    _sharedParameterVersion

    long _sharedParameterVersion
    Version for the cache.


    _sharedParameterSet

    java.util.HashSet<E> _sharedParameterSet
    Cached version of the shared parameter set.


    _sharedParameterSetVersion

    long _sharedParameterSetVersion
    Version for the cache.


    _suppressingPropagation

    boolean _suppressingPropagation
    Indicator to suppress propagation.


    Package ptolemy.actor.process

    Class ptolemy.actor.process.CompositeProcessDirector extends ProcessDirector implements Serializable

    Serialized Fields

    _onFirstIteration

    boolean _onFirstIteration
    Flag indicating whether we have executed the first iteration.


    _inputBranchController

    BranchController _inputBranchController
    The controller that handles inputs to the composite.


    _outputBranchController

    BranchController _outputBranchController
    The controller that handles outputs from the composite.


    _inputControllerIsBlocked

    boolean _inputControllerIsBlocked

    _outputControllerIsBlocked

    boolean _outputControllerIsBlocked

    _blockedReceivers

    java.util.HashSet<E> _blockedReceivers

    _branchControllerLock

    java.lang.Object _branchControllerLock

    Class ptolemy.actor.process.ProcessDirector extends Director implements Serializable

    Serialized Fields

    _notDone

    boolean _notDone
    A flag for determining whether successive iterations will be permitted.


    _stopFireRequested

    boolean _stopFireRequested
    Indicator that a stopFire has been requested by a call to stopFire().


    _blockedThreads

    java.util.HashSet<E> _blockedThreads
    The set of threads that are blocked on an IO operation.


    _pausedThreads

    java.util.HashSet<E> _pausedThreads
    The set of threads that have been paused in response to stopFire().


    _activeThreads

    java.util.HashSet<E> _activeThreads
    The threads created by this director.


    _newActorThreadList

    java.util.LinkedList<E> _newActorThreadList
    A list of threads created but not started.

    Class ptolemy.actor.process.TerminateProcessException extends java.lang.RuntimeException implements Serializable

    Serialized Fields

    _message

    java.lang.String _message

    Package ptolemy.actor.ptalon

    Class ptolemy.actor.ptalon.PtalonActor extends TypedCompositeActor implements Serializable

    Serialized Fields

    ptalonCodeLocation

    FileParameter ptalonCodeLocation
    The location of the Ptalon code.


    _assignedPtalonParameters

    java.util.List<E> _assignedPtalonParameters
    A list of all ptalon parameters that have been assigned a value. This is a subset of _ptalonParameters.


    _assignedPtalonParametersCopy

    java.util.Hashtable<K,V> _assignedPtalonParametersCopy
    A table of copies of all the elements in _assignedPtalonParameters. In each entry of this table, the value is a copy of an element in _assignedPtalonParameters (a PtalonParameter) and the key is the name returned by getName(). This table is used to compare newly assigned expression values against previously assigned expression values.


    _assignedPtalonParametersCopyValues

    java.util.Hashtable<K,V> _assignedPtalonParametersCopyValues
    A table of copies of token values of all of the elements in _assignedPtalonParameters. In each entry of this table, the value is the token value of an element in _assignedPtalonParameters (a PtalonParameter) and the key is the name returned by getName(). This table is used to compare current token values against previous token values.


    _ast

    PtalonAST _ast
    The abstract syntax tree for the PtalonActor.


    _astCreated

    boolean _astCreated
    A boolean whose value is true if the AST has been created.


    _codeManager

    PtalonEvaluator _codeManager
    Information generated about the Ptalon code that is used by the compiler.


    _configureSource

    java.lang.String _configureSource
    The text representation of the URL for this object.


    _nestedDepth

    int _nestedDepth
    The depth for this actor with respect to nested actor declarations.


    _ptalonParameters

    java.util.List<E> _ptalonParameters
    The list of all ptalon parameters for this actor.


    _unsettablePtalonParameters

    java.util.List<E> _unsettablePtalonParameters
    The list of all ptalon parameters who are not settable by the user. This is a subset of _ptalonParameters.

    Class ptolemy.actor.ptalon.PtalonAST extends antlr.CommonAST implements Serializable

    Class ptolemy.actor.ptalon.PtalonExpressionParameter extends PtalonParameter implements Serializable

    Class ptolemy.actor.ptalon.PtalonParameter extends Parameter implements Serializable

    Serialized Fields

    _hasValue

    boolean _hasValue
    True if this parameter has a value.

    Class ptolemy.actor.ptalon.PtalonRuntimeException extends java.lang.Exception implements Serializable

    Class ptolemy.actor.ptalon.PtalonScopeException extends java.lang.Exception implements Serializable


    Package ptolemy.actor.ptalon.gt

    Class ptolemy.actor.ptalon.gt.PtalonMatcher extends TypedCompositeActor implements Serializable

    Serialized Fields

    ptalonCodeLocation

    FileParameter ptalonCodeLocation
    The location of the Ptalon code.


    _actors

    java.util.Map<K,V> _actors

    _currentActor

    PtalonMatcher.NestedPtalonActor _currentActor

    _currentKey

    PtalonMatcher.HashKey _currentKey

    _handleAttributeChange

    boolean _handleAttributeChange

    Class ptolemy.actor.ptalon.gt.PtalonMatcher.NestedPtalonActor extends PtalonActor implements Serializable

    Serialized Fields

    _fixed

    boolean _fixed

    _initializing

    boolean _initializing

    Package ptolemy.actor.ptalon.lib

    Class ptolemy.actor.ptalon.lib.ComplexAddSubtract extends AddSubtract implements Serializable

    Class ptolemy.actor.ptalon.lib.MapFileStorage extends DEActor implements Serializable

    Serialized Fields

    doneReceiving

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


    doneEmitting

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


    inputKey

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


    inputValue

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


    numberOfOutputs

    Parameter numberOfOutputs
    The number of output actors to write to. This parameter contains an IntToken, initially with value 1. The value must be greater than zero.


    outputKey

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


    outputValue

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


    _doneReceiving

    boolean _doneReceiving

    _keyBuffers

    java.util.List<E> _keyBuffers

    _readMode

    boolean _readMode

    _valueBuffers

    java.util.List<E> _valueBuffers

    Class ptolemy.actor.ptalon.lib.MapWorker extends TypedAtomicActor implements Serializable

    Serialized Fields

    classNameForMap

    StringParameter classNameForMap
    The qualifed class name for a Java class containing a method with signature:

    public static List<String[]> map(String key, String value)

    Each element of each returned list should be a length two array of Strings.


    inputKey

    TypedIOPort inputKey
    A String input key.


    inputValue

    TypedIOPort inputValue
    A String input value.


    outputKey

    TypedIOPort outputKey
    A String output key. For each pair of inputKey, inputValue tokens read in, a possibly empty list of outputKey, outputValue pairs will be outputs.


    outputValue

    TypedIOPort outputValue
    A String output value. For each pair of inputKey, inputValue tokens read in, a possibly empty list of outputKey, outputValue pairs will be outputs.


    _algorithm

    MapReduceAlgorithm _algorithm

    Class ptolemy.actor.ptalon.lib.ReduceWorker extends TypedAtomicActor implements Serializable

    Serialized Fields

    classNameForReduce

    StringParameter classNameForReduce
    The qualifed class name for a Java class containing a method with signature:

    public static List<String[]> map(String key, String value)

    Each element of each returned list should be a length two array of Strings.


    doneReading

    TypedIOPort doneReading
    A boolean input. When this input is true, the actor is done reading values, and it may output tokens for each key it recieved.


    inputKey

    TypedIOPort inputKey
    A String input key.


    inputValue

    TypedIOPort inputValue
    A String input value.


    outputKey

    TypedIOPort outputKey
    A String output key.


    outputValue

    TypedIOPort outputValue
    A String output value.


    _doneReading

    boolean _doneReading

    _readMode

    boolean _readMode

    _reduceClass

    java.lang.Class<T> _reduceClass

    _runningAlgorithms

    java.util.Map<K,V> _runningAlgorithms
    Each key is a distinct key for a reduce call, and each value is a MapReduceAlgorithm to reduce a set of values.

    Class ptolemy.actor.ptalon.lib.SplitReader extends Source implements Serializable

    Serialized Fields

    blockSize

    Parameter blockSize
    This number of lines to output to each port when this actor is fired.


    endOfFile

    TypedIOPort endOfFile
    An output port that produces false until the end of file is reached, at which point it produces true. The type is boolean.


    fileOrURL

    FileParameter fileOrURL
    The file name or URL from which to read. This is a string with any form accepted by FileParameter.

    See Also:
    FileParameter

    numberOfLinesToSkip

    Parameter numberOfLinesToSkip
    The number of lines to skip at the beginning of the file or URL. This parameter contains an IntToken, initially with value 0. The value of this parameter must be non-negative.


    numberOfOutputs

    Parameter numberOfOutputs
    The number of output actors to write to. This parameter contains an IntToken, initially with value 1. The value must be greater than zero.


    _currentLines

    java.lang.String[][] _currentLines
    Cache of most recently read data.


    _reader

    java.io.BufferedReader _reader
    The current reader for the input file.


    _firedSinceWrapup

    boolean _firedSinceWrapup
    Indicator that the fire() method has been called, but wrapup has not. That is, we are in the middle of a run.


    _previousFileOrURL

    java.lang.String _previousFileOrURL
    Previous value of fileOrURL parameter.


    _reachedEOF

    boolean _reachedEOF
    Indicator that we have reached the end of file.

    Class ptolemy.actor.ptalon.lib.StringToKeyValue extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port.


    key

    TypedIOPort key
    The key output port.


    value

    TypedIOPort value
    The value output port.


    Package ptolemy.actor.sched

    Class ptolemy.actor.sched.FixedPointDirector extends StaticSchedulingDirector implements Serializable

    Serialized Fields

    iterations

    Parameter iterations
    The number of times that postfire may be called before it returns false. The type must be int, and the value defaults to zero. If the value is less than or equal to zero, then the execution will never return false in postfire, and thus the execution can continue forever.


    synchronizeToRealTime

    Parameter synchronizeToRealTime
    Specify whether the execution should synchronize to the real time. This parameter has type boolean and defaults to false. If set to true, then this director stalls in the prefire() method until the elapsed real real time matches the current time. If the period parameter has value 0.0 (the default), then changing this parameter to true has no effect. Note that in this base class, there is no period parameter and time is never advanced, so this will have no effect. It has effect in derived classes.


    _index

    int _index
    The current index of the model.


    _receivers

    java.util.List<E> _receivers
    List of all receivers this director has created.


    _actorsAllowedToFire

    java.util.Set<E> _actorsAllowedToFire
    The set of actors that have returned true in their prefire() methods in the current iteration. This is used only to check monotonicity constraints.


    _actorsFinishedFiring

    java.util.Set<E> _actorsFinishedFiring
    The set of actors that have been fired in this iteration with all inputs known.


    _actorsFired

    java.util.Set<E> _actorsFired
    Actors that were fired in the most recent invocation of the fire() method.


    _cachedAllInputsKnown

    java.util.Set<E> _cachedAllInputsKnown
    The set of actors that have all inputs known in the given iteration.


    _cachedFunctionalProperty

    boolean _cachedFunctionalProperty
    The cache of the functional property of the container of this director.


    _currentNumberOfKnownReceivers

    int _currentNumberOfKnownReceivers
    The current number of receivers with known state.


    _currentIteration

    int _currentIteration
    The count of iterations executed.


    _lastNumberOfKnownReceivers

    int _lastNumberOfKnownReceivers
    The number of receivers with known state on the last phase of actor firings.


    _realStartTime

    long _realStartTime
    The real time at which the model begins executing.

    Class ptolemy.actor.sched.FixedPointScheduler extends Scheduler implements Serializable

    Class ptolemy.actor.sched.NotSchedulableException extends InvalidStateException implements Serializable

    Class ptolemy.actor.sched.Scheduler extends Attribute implements Serializable

    Serialized Fields

    _valid

    boolean _valid

    _cachedGetSchedule

    Schedule _cachedGetSchedule

    Class ptolemy.actor.sched.StaticSchedulingDirector extends Director implements Serializable

    Serialized Fields

    _postfireReturns

    boolean _postfireReturns
    The value that the postfire method will return.


    _scheduler

    Scheduler _scheduler
    The scheduler.


    Package ptolemy.actor.util

    Class ptolemy.actor.util.DependencyDeclaration extends Attribute implements Serializable

    Serialized Fields

    _dependents

    java.util.List<E> _dependents

    Package ptolemy.backtrack.automatic.ptolemy.actor.lib

    Class ptolemy.backtrack.automatic.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.backtrack.automatic.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.backtrack.automatic.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.backtrack.automatic.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


    trueInput_tokenConsumptionRate

    Parameter trueInput_tokenConsumptionRate
    This parameter provides token consumption rate for trueInput. The type is int.


    falseInput_tokenConsumptionRate

    Parameter falseInput_tokenConsumptionRate
    This parameter provides token consumption rate for falseInput. The type is int.


    control_tokenConsumptionRate

    Parameter control_tokenConsumptionRate
    This parameter provides token consumption rate for control. The type is int.


    _control

    BooleanToken _control
    The most recently read control token.


    _controlUsed

    boolean _controlUsed
    Indicator that the control token was used in the fire method.

    Class ptolemy.backtrack.automatic.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 boolean.


    input

    TypedIOPort input
    The input port. The type can be anything. This is a multiport, and input tokens on all channels are routed to corresponding channels on the output port, if there are such channels.


    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.backtrack.automatic.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.backtrack.automatic.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.backtrack.automatic.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.backtrack.automatic.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.backtrack.automatic.ptolemy.actor.lib.Differential extends Transformer implements Serializable

    Serialized Fields

    _currentInput

    Token _currentInput

    _lastInput

    Token _lastInput

    Class ptolemy.backtrack.automatic.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.backtrack.automatic.ptolemy.actor.lib.DoubleReader extends URLReader implements Serializable

    Serialized Fields

    _data

    double[] _data
    Deprecated. 

    _dataSize

    int _dataSize
    Deprecated. 

    Class ptolemy.backtrack.automatic.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.backtrack.automatic.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.backtrack.automatic.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.backtrack.automatic.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

    ptolemy.backtrack.automatic.ptolemy.math.Interpolation _interpolation

    Class ptolemy.backtrack.automatic.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.backtrack.automatic.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.backtrack.automatic.ptolemy.actor.lib.OrderedMerge extends TypedAtomicActor implements Serializable

    Serialized Fields

    eliminateDuplicates

    Parameter eliminateDuplicates
    If true, eliminate duplicate tokens in the output stream. This is a boolean that defaults to false.


    inputA

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


    inputA_tokenConsumptionRate

    Parameter inputA_tokenConsumptionRate
    The token consumption rate for inputA.


    inputB

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


    inputB_tokenConsumptionRate

    Parameter inputB_tokenConsumptionRate
    The token consumption rate for inputB.


    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.


    _lastProduced

    ScalarToken _lastProduced
    The last produced token. Used to eliminate duplicates.


    _nextPort

    TypedIOPort _nextPort
    The port from which to read next.


    _readFromA

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


    _recordedToken

    ScalarToken _recordedToken
    The recorded token.


    _tentativeLastProduced

    ScalarToken _tentativeLastProduced
    The tentative last produced token. Used to eliminate duplicates.


    _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.backtrack.automatic.ptolemy.actor.lib.PhaseUnwrap extends Transformer implements Serializable

    Serialized Fields

    _previousPhaseInput

    double _previousPhaseInput

    _tempPreviousPhaseInput

    double _tempPreviousPhaseInput

    _previousPhaseOutput

    double _previousPhaseOutput

    _tempPreviousPhaseOutput

    double _tempPreviousPhaseOutput

    Class ptolemy.backtrack.automatic.ptolemy.actor.lib.PoissonClock extends RandomSource 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.


    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).


    values

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


    _current

    double _current

    _executing

    boolean _executing

    _stopTime

    Time _stopTime

    Class ptolemy.backtrack.automatic.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.backtrack.automatic.ptolemy.actor.lib.Ramp extends SequenceSource implements Serializable

    Serialized Fields

    init

    Parameter init
    The value produced by the ramp on its first iteration. If this value is changed during execution, then the new value will be the output on the next 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.backtrack.automatic.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.backtrack.automatic.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.backtrack.automatic.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

    _reflectionCoefficients

    double[] _reflectionCoefficients

    Class ptolemy.backtrack.automatic.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.backtrack.automatic.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.backtrack.automatic.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

    ptolemy.backtrack.util.java.util.TreeMap _pending

    _sequenceNumberOfInput

    int _sequenceNumberOfInput

    Class ptolemy.backtrack.automatic.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.backtrack.automatic.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

    Package ptolemy.backtrack.automatic.ptolemy.domains.sdf.lib

    Class ptolemy.backtrack.automatic.ptolemy.domains.sdf.lib.Autocorrelation extends SDFTransformer implements Serializable

    Serialized Fields

    biased

    Parameter biased
    If true, the estimate will be biased. This is a boolean with default value false.


    numberOfInputs

    Parameter numberOfInputs
    Number of input samples to average. This is an integer with default value 256.


    numberOfLags

    Parameter numberOfLags
    Number of autocorrelation lags to output. This is an integer with default value 64.


    symmetricOutput

    Parameter symmetricOutput
    If true, then the output from each firing will have 2*numberOfLags + 1 samples (an odd number) whose values are symmetric about the midpoint. If false, then the output from each firing will have 2*numberOfLags samples (an even number) by omitting one of the endpoints (the last one). This is a boolean with default value false.


    _numberOfInputs

    int _numberOfInputs

    _numberOfLags

    int _numberOfLags

    _lengthOfOutput

    int _lengthOfOutput

    _symmetricOutput

    boolean _symmetricOutput

    _outputs

    Token[] _outputs

    Class ptolemy.backtrack.automatic.ptolemy.domains.sdf.lib.Chop extends SDFTransformer implements Serializable

    Serialized Fields

    numberToRead

    Parameter numberToRead
    The number of input tokens to read. This is an integer, with default 128.


    numberToWrite

    Parameter numberToWrite
    The number of tokens to write to the output. This is an integer, with default 64.


    offset

    Parameter offset
    Start of output block relative to start of input block. This is an integer, with default 0.


    usePastInputs

    Parameter usePastInputs
    If offset is greater than 0, specify whether to use previously read inputs (otherwise use zeros). This is a boolean, with default true.


    _highLimit

    int _highLimit

    _inputIndex

    int _inputIndex

    _lowLimit

    int _lowLimit

    _numberToRead

    int _numberToRead

    _numberToWrite

    int _numberToWrite

    _offsetValue

    int _offsetValue

    _buffer

    Token[] _buffer

    _pastBuffer

    Token[] _pastBuffer

    _usePast

    boolean _usePast

    _pastNeedsInitializing

    boolean _pastNeedsInitializing

    Class ptolemy.backtrack.automatic.ptolemy.domains.sdf.lib.DelayLine extends SDFTransformer implements Serializable

    Serialized Fields

    initialValues

    Parameter initialValues
    The initial values of the delay line. This parameter must contain an ArrayToken. The default value is an array that contains 4 integer tokens. Changes to this parameter after initialize() has been invoked are ignored until the next execution of the model.


    _delayLine

    Token[] _delayLine
    The delay line.

    Class ptolemy.backtrack.automatic.ptolemy.domains.sdf.lib.FFT extends SDFTransformer implements Serializable

    Serialized Fields

    order

    Parameter order
    The order of the FFT. The type is IntToken, and the value should be greater than zero. The default value is an IntToken with value 8.


    _transformSize

    int _transformSize

    _orderValue

    int _orderValue

    _inComplexArray

    Complex[] _inComplexArray

    _outTokenArray

    ComplexToken[] _outTokenArray

    Class ptolemy.backtrack.automatic.ptolemy.domains.sdf.lib.IFFT extends SDFTransformer implements Serializable

    Serialized Fields

    order

    Parameter order
    The order of the IFFT. The type is IntToken, and the value should be greater than zero. The default value is an IntToken with value 8.


    _transformSize

    int _transformSize

    _orderValue

    int _orderValue

    _outTokenArray

    ComplexToken[] _outTokenArray

    _inComplexArray

    Complex[] _inComplexArray

    Package ptolemy.backtrack.manual.ptolemy.actor.lib

    Class ptolemy.backtrack.manual.ptolemy.actor.lib.Backtrack extends TypedAtomicActor implements Serializable

    Serialized Fields

    _checkpoint

    TypedIOPort _checkpoint
    The input port that receives boolean tokens meaning whether checkpoints should be created.


    _currentHandle

    long _currentHandle
    The last returned checkpoint handle. The next checkpoint handle to be returned will be greater by 1.


    _handle

    TypedIOPort _handle
    The output port that sends out the newly created checkpoint handle.


    _handleMap

    java.util.HashMap<K,V> _handleMap
    The map from checkpoint handle output by this actor to the map of checkpoint handles returned by checkpoint objects. For each checkpoint created by this actor, there is a unique handle. A map is recorded as the value for this handle. The keys in the map are checkpoint objects managing the actors in the model; the values in the map are the checkpoint handles returned by those checkpoint objects.


    _rollback

    TypedIOPort _rollback
    The input port that receives long tokens as the checkpoint handles to roll back (if greater than 0).


    _rollbackHandle

    long _rollbackHandle
    The checkpoint handle to roll back if greater than 0. The fire method records this field. The postfire method performs the rollback if this field is greater then 0.


    Package ptolemy.backtrack.manual.ptolemy.domains.ct.kernel

    Class ptolemy.backtrack.manual.ptolemy.domains.ct.kernel.CTCompositeActor extends TypedCompositeActor implements Serializable


    Package ptolemy.backtrack.ui

    Class ptolemy.backtrack.ui.BacktrackControllerFrame extends TableauFrame implements Serializable

    Serialized Fields

    _checkpointButton

    javax.swing.JButton _checkpointButton
    The "checkpoint" button.


    _commitButton

    javax.swing.JButton _commitButton
    The "commit" button.


    _controller

    BacktrackController _controller
    The backtracking controller to be used to create checkpoints, roll back checkpoints, or commit checkpoints.


    _handleTable

    javax.swing.JTable _handleTable
    The list of checkpoint handles.


    _handleTableModel

    BacktrackControllerFrame.HandleTableModel _handleTableModel
    Data for the list of checkpoint handles.


    _modelSelector

    javax.swing.JComboBox _modelSelector
    The model selector.


    _refresh

    javax.swing.JButton _refresh
    The "refresh" button.


    _rollbackButton

    javax.swing.JButton _rollbackButton
    The "rollback" button.


    Package ptolemy.caltrop

    Class ptolemy.caltrop.CalIOException extends java.lang.RuntimeException implements Serializable

    Class ptolemy.caltrop.FunctionCallException extends caltrop.interpreter.InterpreterException implements Serializable


    Package ptolemy.caltrop.actors

    Class ptolemy.caltrop.actors.AbstractCalInterpreter extends TypedAtomicActor implements Serializable

    Serialized Fields

    _actor

    caltrop.interpreter.ast.Actor _actor

    _ddi

    DDI _ddi

    _env

    caltrop.interpreter.environment.Environment _env

    _lastGeneratedActorName

    java.lang.String _lastGeneratedActorName

    Class ptolemy.caltrop.actors.CalInterpreter extends AbstractCalInterpreter implements Serializable

    Serialized Fields

    calCode

    StringAttribute calCode
    The CAL source to be interpreted.


    Package ptolemy.caltrop.ddi

    Class ptolemy.caltrop.ddi.DDIException extends java.lang.RuntimeException implements Serializable


    Package ptolemy.codegen.actor

    Class ptolemy.codegen.actor.Director extends CodeGeneratorHelper implements Serializable

    Serialized Fields

    _director

    Director _director
    The associated director.

    Class ptolemy.codegen.actor.TypedCompositeActor extends CodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.actor

    Class ptolemy.codegen.c.actor.IOPort extends CCodeGeneratorHelper implements Serializable

    Serialized Fields

    _bufferSizes

    java.util.HashMap<K,V> _bufferSizes
    A HashMap that keeps track of the bufferSizes of each channel of the actor.


    _readOffsets

    java.util.HashMap<K,V> _readOffsets
    A HashMap that keeps track of the read offsets of each input channel of the actor.


    _writeOffsets

    java.util.HashMap<K,V> _writeOffsets
    A HashMap that keeps track of the write offsets of each input channel of the actor.

    Class ptolemy.codegen.c.actor.Receiver extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.TypedCompositeActor extends CCodeGeneratorHelper implements Serializable

    Serialized Fields

    _firingsPerGlobalIteration

    int[] _firingsPerGlobalIteration
    An int array of firings per global iteration.


    _rates

    int[][] _rates
    A two-dimensional int array of rates of this actor.

    Class ptolemy.codegen.c.actor.TypedIOPort extends IOPort implements Serializable


    Package ptolemy.codegen.c.actor.lib

    Class ptolemy.codegen.c.actor.lib.AbsoluteValue extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Accumulator extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.AddSubtract extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayAppend extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayAverage extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayElement extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayElementAsMatrix extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayExtract extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayLength extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayLevelCrossing extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayMaximum extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayMinimum extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayPeakSearch extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ArrayToElements extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Average extends CCodeGeneratorHelper implements Serializable

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

    Class ptolemy.codegen.c.actor.lib.BooleanMultiplexor extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.BooleanSelect extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.BooleanSwitch extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Commutator extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Const extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Counter extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.CurrentTime extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Differential extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Discard extends CCodeGeneratorHelper implements Serializable

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

    Class ptolemy.codegen.c.actor.lib.Distributor extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.ElementsToArray extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Exit extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Expression extends CCodeGeneratorHelper implements Serializable

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

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

    Class ptolemy.codegen.c.actor.lib.Interpolator extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Lattice extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Limiter extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.LookupTable extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Maximum extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Minimum extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.MonitorValue extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.MovingAverage extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.MultiplyDivide extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.NonStrictTest extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.OrderedMerge extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Publisher extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.PublisherTest extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Pulse extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Quantizer extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Ramp extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.RandomSource extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.RecursiveLattice extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Remainder extends CCodeGeneratorHelper implements Serializable

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

    Class ptolemy.codegen.c.actor.lib.Scale extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Sequence extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.SetVariable extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Sink extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Sleep extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Stop extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.StringConst extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Subscriber extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.SubscriptionAggregator extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Synchronizer extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.Test extends CCodeGeneratorHelper implements Serializable

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

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

    Class ptolemy.codegen.c.actor.lib.TrigFunction extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.UnaryMathFunction extends CCodeGeneratorHelper implements Serializable

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

    Class ptolemy.codegen.c.actor.lib.VectorAssembler extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.VectorDisassembler extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.WallClockTime extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.actor.lib.colt

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

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

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

    Class ptolemy.codegen.c.actor.lib.colt.ColtRandomSource extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.actor.lib.comm

    Class ptolemy.codegen.c.actor.lib.comm.HammingCoder extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.comm.HammingDecoder extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.actor.lib.conversions

    Class ptolemy.codegen.c.actor.lib.conversions.BooleanToAnything extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.conversions.CartesianToComplex extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.conversions.CartesianToPolar extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.conversions.ComplexToCartesian extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.conversions.PolarToCartesian extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.conversions.Round extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.conversions.StringToIntArray extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.conversions.StringToUnsignedByteArray extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.conversions.TokenToExpression extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.actor.lib.gui

    Class ptolemy.codegen.c.actor.lib.gui.Display extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.gui.PlotterBase extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.gui.SequencePlotter extends PlotterBase implements Serializable

    Class ptolemy.codegen.c.actor.lib.gui.SequenceScope extends SequencePlotter implements Serializable

    Class ptolemy.codegen.c.actor.lib.gui.SliderSource extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.gui.TimedPlotter extends PlotterBase implements Serializable

    Class ptolemy.codegen.c.actor.lib.gui.XYPlotter extends PlotterBase implements Serializable

    Class ptolemy.codegen.c.actor.lib.gui.XYScope extends XYPlotter implements Serializable


    Package ptolemy.codegen.c.actor.lib.hoc

    Class ptolemy.codegen.c.actor.lib.hoc.Case extends MultiCompositeActor implements Serializable

    Class ptolemy.codegen.c.actor.lib.hoc.CaseDirector extends Director implements Serializable

    Class ptolemy.codegen.c.actor.lib.hoc.MultiCompositeActor extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.c.actor.lib.hoc.MultiCompositePort extends IOPort implements Serializable

    Class ptolemy.codegen.c.actor.lib.hoc.MultiInstanceComposite extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.c.actor.lib.hoc.Refinement extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.c.actor.lib.hoc.RefinementPort extends IOPort implements Serializable


    Package ptolemy.codegen.c.actor.lib.io

    Class ptolemy.codegen.c.actor.lib.io.ExpressionWriter extends LineWriter implements Serializable

    Class ptolemy.codegen.c.actor.lib.io.FileReader extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.io.LineReader extends CCodeGeneratorHelper implements Serializable

    Serialized Fields

    _fileOpen

    boolean _fileOpen
    indicate whether or not the user requests to open a file e.g. false - write to standard (console) output true - some file name is specified

    Class ptolemy.codegen.c.actor.lib.io.LineWriter extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.actor.lib.javasound

    Class ptolemy.codegen.c.actor.lib.javasound.AudioPlayer extends AudioSDLActor implements Serializable

    Class ptolemy.codegen.c.actor.lib.javasound.AudioReader extends AudioSDLActor implements Serializable

    Class ptolemy.codegen.c.actor.lib.javasound.AudioSDLActor extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.javasound.AudioWriter extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.actor.lib.jni

    Class ptolemy.codegen.c.actor.lib.jni.CodegenActor extends EmbeddedCActor implements Serializable

    Class ptolemy.codegen.c.actor.lib.jni.CompiledCompositeActor extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.c.actor.lib.jni.EmbeddedCActor extends CompiledCompositeActor implements Serializable

    Class ptolemy.codegen.c.actor.lib.jni.EmbeddedCActor.EmbeddedActor extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.jni.EmbeddedCFileActor extends CompiledCompositeActor implements Serializable

    Class ptolemy.codegen.c.actor.lib.jni.EmbeddedCFileActor.EmbeddedFileActor extends EmbeddedCActor.EmbeddedActor implements Serializable


    Package ptolemy.codegen.c.actor.lib.logic

    Class ptolemy.codegen.c.actor.lib.logic.Comparator extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.logic.Equals extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.logic.IsPresent extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.logic.LogicalNot extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.logic.LogicFunction extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.actor.lib.string

    Class ptolemy.codegen.c.actor.lib.string.StringCompare extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.string.StringFunction extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.string.StringIndexOf extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.string.StringLength extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.string.StringMatches extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.string.StringSimpleReplace extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.string.StringSubstring extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.actor.lib.test

    Class ptolemy.codegen.c.actor.lib.test.RampNecessaryFiles extends Ramp implements Serializable

    Class ptolemy.codegen.c.actor.lib.test.TestExpression extends Expression implements Serializable

    Serialized Fields

    variableScope

    Expression.VariableScope variableScope
    The variable scope for the expression.


    Package ptolemy.codegen.c.actor.lib.tutorial

    Class ptolemy.codegen.c.actor.lib.tutorial.SimpleALU extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.actor.lib.tutorial.StaticALU extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.actor.parameters

    Class ptolemy.codegen.c.actor.parameters.ParameterPort extends TypedIOPort implements Serializable


    Package ptolemy.codegen.c.actor.sched

    Class ptolemy.codegen.c.actor.sched.StaticSchedulingDirector extends Director implements Serializable


    Package ptolemy.codegen.c.domains.de.kernel

    Class ptolemy.codegen.c.domains.de.kernel.DEReceiver extends Receiver implements Serializable


    Package ptolemy.codegen.c.domains.de.lib

    Class ptolemy.codegen.c.domains.de.lib.TimedDelay extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.domains.fsm.kernel

    Class ptolemy.codegen.c.domains.fsm.kernel.FSMActor extends CCodeGeneratorHelper implements Serializable

    Serialized Fields

    _scope

    FSMActor.PortScope _scope
    The scope to generate code for guard expression, choice action and commit action.

    Class ptolemy.codegen.c.domains.fsm.kernel.FSMDirector extends Director implements Serializable

    Class ptolemy.codegen.c.domains.fsm.kernel.MultirateFSMDirector extends FSMDirector implements Serializable


    Package ptolemy.codegen.c.domains.fsm.modal

    Class ptolemy.codegen.c.domains.fsm.modal.ModalController extends FSMActor implements Serializable

    Class ptolemy.codegen.c.domains.fsm.modal.ModalModel extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.c.domains.fsm.modal.ModalPort extends IOPort implements Serializable

    Class ptolemy.codegen.c.domains.fsm.modal.Refinement extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.c.domains.fsm.modal.RefinementPort extends IOPort implements Serializable

    Class ptolemy.codegen.c.domains.fsm.modal.TransitionRefinement extends Refinement implements Serializable

    Class ptolemy.codegen.c.domains.fsm.modal.TransitionRefinementPort extends IOPort implements Serializable


    Package ptolemy.codegen.c.domains.giotto.kernel

    Class ptolemy.codegen.c.domains.giotto.kernel.GiottoDirector extends StaticSchedulingDirector implements Serializable

    Serialized Fields

    _portNumber

    int _portNumber

    _doubleFlag

    boolean _doubleFlag

    _booleanFlag

    boolean _booleanFlag

    _intFlag

    boolean _intFlag

    _objClass

    java.lang.String _objClass
    Name of variable containing jni class for Objects.


    _objClassD

    java.lang.String _objClassD
    Name of variable containing jni double class.


    _objClassI

    java.lang.String _objClassI
    Name of variable containing jni int class.


    Package ptolemy.codegen.c.domains.hdf.kernel

    Class ptolemy.codegen.c.domains.hdf.kernel.HDFDirector extends SDFDirector implements Serializable

    Serialized Fields

    _divisors

    int[] _divisors
    An array of integers helping to establish the relationship between the configuration number of the container actor and the configuration numbers of contained actors.


    _schedules

    Schedule[] _schedules
    An array of schedules, each element corresponding to one configuration.

    Class ptolemy.codegen.c.domains.hdf.kernel.HDFFSMDirector extends MultirateFSMDirector implements Serializable


    Package ptolemy.codegen.c.domains.modal.kernel

    Class ptolemy.codegen.c.domains.modal.kernel.FSMActor extends CCodeGeneratorHelper implements Serializable

    Serialized Fields

    _scope

    FSMActor.PortScope _scope
    The scope to generate code for guard expression, choice action and commit action.

    Class ptolemy.codegen.c.domains.modal.kernel.FSMDirector extends Director implements Serializable

    Class ptolemy.codegen.c.domains.modal.kernel.MultirateFSMDirector extends FSMDirector implements Serializable


    Package ptolemy.codegen.c.domains.modal.modal

    Class ptolemy.codegen.c.domains.modal.modal.ModalController extends FSMActor implements Serializable

    Class ptolemy.codegen.c.domains.modal.modal.ModalModel extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.c.domains.modal.modal.ModalPort extends IOPort implements Serializable

    Class ptolemy.codegen.c.domains.modal.modal.Refinement extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.c.domains.modal.modal.RefinementPort extends IOPort implements Serializable

    Class ptolemy.codegen.c.domains.modal.modal.TransitionRefinement extends Refinement implements Serializable

    Class ptolemy.codegen.c.domains.modal.modal.TransitionRefinementPort extends IOPort implements Serializable


    Package ptolemy.codegen.c.domains.pn.kernel

    Class ptolemy.codegen.c.domains.pn.kernel.PNDirector extends Director implements Serializable

    Serialized Fields

    _buffers

    java.util.HashSet<E> _buffers

    Package ptolemy.codegen.c.domains.sdf.kernel

    Class ptolemy.codegen.c.domains.sdf.kernel.SDFDirector extends StaticSchedulingDirector implements Serializable

    Serialized Fields

    _portNumber

    int _portNumber

    _doubleFlag

    boolean _doubleFlag

    _booleanFlag

    boolean _booleanFlag

    _intFlag

    boolean _intFlag

    _objClass

    java.lang.String _objClass
    Name of variable containing jni class for Objects.


    _objClassD

    java.lang.String _objClassD
    Name of variable containing jni double class.


    _objClassI

    java.lang.String _objClassI
    Name of variable containing jni int class.


    Package ptolemy.codegen.c.domains.sdf.lib

    Class ptolemy.codegen.c.domains.sdf.lib.ArrayToSequence extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.BitsToInt extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.Chop extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.CountTrues extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.DotProduct extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.DownSample extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.FIR extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.IntToBits extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.LMSAdaptive extends FIR implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.RaisedCosine extends FIR implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.Repeat extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.SampleDelay extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.SequenceToArray extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.UpSample extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.VariableFIR extends FIR implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.VariableLattice extends Lattice implements Serializable

    Class ptolemy.codegen.c.domains.sdf.lib.VariableRecursiveLattice extends RecursiveLattice implements Serializable


    Package ptolemy.codegen.c.domains.sr.kernel

    Class ptolemy.codegen.c.domains.sr.kernel.SRDirector extends StaticSchedulingDirector implements Serializable

    Serialized Fields

    _portNumber

    int _portNumber

    _doubleFlag

    boolean _doubleFlag

    _booleanFlag

    boolean _booleanFlag

    _intFlag

    boolean _intFlag

    _objClass

    java.lang.String _objClass
    Name of variable containing jni class for Objects.


    _objClassD

    java.lang.String _objClassD
    Name of variable containing jni double class.


    _objClassI

    java.lang.String _objClassI
    Name of variable containing jni int class.


    Package ptolemy.codegen.c.domains.sr.lib

    Class ptolemy.codegen.c.domains.sr.lib.NonStrictDelay extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.domains.sr.lib.NonStrictLogicFunction extends LogicFunction implements Serializable


    Package ptolemy.codegen.c.domains.sr.lib.gui

    Class ptolemy.codegen.c.domains.sr.lib.gui.NonStrictDisplay extends Display implements Serializable


    Package ptolemy.codegen.c.kernel

    Class ptolemy.codegen.c.kernel.CCodeGenerator extends CodeGenerator implements Serializable

    Serialized Fields

    _overloadedFunctions

    CodeStream _overloadedFunctions

    _overloadedFunctionSet

    java.util.LinkedHashSet<E> _overloadedFunctionSet
    An ordered set of function code

    Class ptolemy.codegen.c.kernel.CCodeGeneratorHelper extends CodeGeneratorHelper implements Serializable

    Serialized Fields

    _includeFiles

    java.util.Set<E> _includeFiles
    The set of header files that needed to be included.


    _printedJVMWarning

    boolean _printedJVMWarning
    True if we have printed the JVM warning.


    Package ptolemy.codegen.c.targets.openRTOS

    Class ptolemy.codegen.c.targets.openRTOS.OpenRTOSTarget extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.targets.openRTOS.actor.lib

    Class ptolemy.codegen.c.targets.openRTOS.actor.lib.MonitorValue extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.targets.openRTOS.actor.lib.gui

    Class ptolemy.codegen.c.targets.openRTOS.actor.lib.gui.Display extends CCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.c.targets.openRTOS.actor.lib.gui.TimedPlotter extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.targets.openRTOS.domains.fsm.kernel

    Class ptolemy.codegen.c.targets.openRTOS.domains.fsm.kernel.FSMDirector extends FSMDirector implements Serializable


    Package ptolemy.codegen.c.targets.openRTOS.domains.giotto.kernel

    Class ptolemy.codegen.c.targets.openRTOS.domains.giotto.kernel.GiottoDirector extends GiottoDirector implements Serializable


    Package ptolemy.codegen.c.targets.openRTOS.domains.pn.kernel

    Class ptolemy.codegen.c.targets.openRTOS.domains.pn.kernel.PNDirector extends Director implements Serializable

    Serialized Fields

    _queues

    java.util.HashSet<E> _queues
    The set of referable channels that are associated with a generated queue.


    Package ptolemy.codegen.c.targets.openRTOS.domains.sdf.kernel

    Class ptolemy.codegen.c.targets.openRTOS.domains.sdf.kernel.SDFDirector extends SDFDirector implements Serializable


    Package ptolemy.codegen.c.targets.posix

    Class ptolemy.codegen.c.targets.posix.PosixTarget extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.targets.posix.actor.lib.io

    Class ptolemy.codegen.c.targets.posix.actor.lib.io.DirectoryListing extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.c.vergil.actor.lib

    Class ptolemy.codegen.c.vergil.actor.lib.LEDMatrix extends CCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.gui

    Class ptolemy.codegen.gui.CodeGeneratorGUI extends PtolemyFrame implements Serializable

    Class ptolemy.codegen.gui.CodeGeneratorGUIFactory extends EditorFactory implements Serializable


    Package ptolemy.codegen.java.actor

    Class ptolemy.codegen.java.actor.IOPort extends JavaCodeGeneratorHelper implements Serializable

    Serialized Fields

    _bufferSizes

    java.util.HashMap<K,V> _bufferSizes
    A HashMap that keeps track of the bufferSizes of each channel of the actor.


    _readOffsets

    java.util.HashMap<K,V> _readOffsets
    A HashMap that keeps track of the read offsets of each input channel of the actor.


    _writeOffsets

    java.util.HashMap<K,V> _writeOffsets
    A HashMap that keeps track of the write offsets of each input channel of the actor.

    Class ptolemy.codegen.java.actor.TypedCompositeActor extends JavaCodeGeneratorHelper implements Serializable

    Serialized Fields

    _firingsPerGlobalIteration

    int[] _firingsPerGlobalIteration
    An int array of firings per global iteration.


    _rates

    int[][] _rates
    A two-dimensional int array of rates of this actor.

    Class ptolemy.codegen.java.actor.TypedIOPort extends IOPort implements Serializable


    Package ptolemy.codegen.java.actor.lib

    Class ptolemy.codegen.java.actor.lib.Accumulator extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.AddSubtract extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.BooleanMultiplexor extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Commutator extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Const extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.CurrentTime extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Discard extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Distributor extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.ElementsToArray extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Expression extends JavaCodeGeneratorHelper implements Serializable

    Serialized Fields

    _javaParseTreeCodeGenerator

    JavaParseTreeCodeGenerator _javaParseTreeCodeGenerator
    The parse tree code generator.

    Class ptolemy.codegen.java.actor.lib.Limiter extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Minimum extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.MovingAverage extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.MultiplyDivide extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Publisher extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.PublisherTest extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Pulse extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Ramp extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.RandomSource extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Scale extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Sequence extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.StringConst extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Subscriber extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.SubscriptionAggregator extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.Test extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.TrigFunction extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.UnaryMathFunction extends JavaCodeGeneratorHelper implements Serializable

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

    Class ptolemy.codegen.java.actor.lib.VectorAssembler extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.VectorDisassembler extends JavaCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.java.actor.lib.colt

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

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

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

    Class ptolemy.codegen.java.actor.lib.colt.ColtRandomSource extends JavaCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.java.actor.lib.conversions

    Class ptolemy.codegen.java.actor.lib.conversions.Round extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.conversions.TokenToExpression extends JavaCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.java.actor.lib.embeddedJava

    Class ptolemy.codegen.java.actor.lib.embeddedJava.CompiledCompositeActor extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.java.actor.lib.embeddedJava.EmbeddedJavaActor extends CompiledCompositeActor implements Serializable

    Class ptolemy.codegen.java.actor.lib.embeddedJava.EmbeddedJavaActor.EmbeddedActor extends JavaCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.java.actor.lib.gui

    Class ptolemy.codegen.java.actor.lib.gui.Display extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.gui.SequencePlotter extends JavaCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.java.actor.lib.hoc

    Class ptolemy.codegen.java.actor.lib.hoc.Case extends MultiCompositeActor implements Serializable

    Class ptolemy.codegen.java.actor.lib.hoc.CaseDirector extends Director implements Serializable

    Class ptolemy.codegen.java.actor.lib.hoc.MultiCompositeActor extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.java.actor.lib.hoc.MultiCompositePort extends IOPort implements Serializable

    Class ptolemy.codegen.java.actor.lib.hoc.Refinement extends TypedCompositeActor implements Serializable

    Class ptolemy.codegen.java.actor.lib.hoc.RefinementPort extends IOPort implements Serializable


    Package ptolemy.codegen.java.actor.lib.jopio

    Class ptolemy.codegen.java.actor.lib.jopio.JopReadPort extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.jopio.JopSerialRead extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.jopio.JopSerialWrite extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.jopio.JopWatchDog extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.jopio.JopWritePort extends JavaCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.java.actor.lib.logic

    Class ptolemy.codegen.java.actor.lib.logic.Comparator extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.actor.lib.logic.LogicFunction extends JavaCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.java.actor.lib.string

    Class ptolemy.codegen.java.actor.lib.string.StringLength extends JavaCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.java.actor.parameters

    Class ptolemy.codegen.java.actor.parameters.ParameterPort extends TypedIOPort implements Serializable


    Package ptolemy.codegen.java.actor.sched

    Class ptolemy.codegen.java.actor.sched.StaticSchedulingDirector extends Director implements Serializable


    Package ptolemy.codegen.java.domains.modal.kernel

    Class ptolemy.codegen.java.domains.modal.kernel.FSMActor extends JavaCodeGeneratorHelper implements Serializable

    Serialized Fields

    _scope

    FSMActor.PortScope _scope
    The scope to generate code for guard expression, choice action and commit action.

    Class ptolemy.codegen.java.domains.modal.kernel.FSMDirector extends Director implements Serializable

    Class ptolemy.codegen.java.domains.modal.kernel.MultirateFSMDirector extends FSMDirector implements Serializable


    Package ptolemy.codegen.java.domains.sdf.kernel

    Class ptolemy.codegen.java.domains.sdf.kernel.SDFDirector extends StaticSchedulingDirector implements Serializable

    Serialized Fields

    _portNumber

    int _portNumber

    Package ptolemy.codegen.java.domains.sdf.lib

    Class ptolemy.codegen.java.domains.sdf.lib.Repeat extends JavaCodeGeneratorHelper implements Serializable

    Class ptolemy.codegen.java.domains.sdf.lib.SampleDelay extends JavaCodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.java.kernel

    Class ptolemy.codegen.java.kernel.JavaCodeGenerator extends CodeGenerator implements Serializable

    Serialized Fields

    _overloadedFunctions

    CodeStream _overloadedFunctions

    _overloadedFunctionSet

    java.util.Set<E> _overloadedFunctionSet

    Class ptolemy.codegen.java.kernel.JavaCodeGeneratorHelper extends CodeGeneratorHelper implements Serializable

    Serialized Fields

    _includeFiles

    java.util.Set<E> _includeFiles
    The set of header files that needed to be included.


    _printedJVMWarning

    boolean _printedJVMWarning
    True if we have printed the JVM warning.


    Package ptolemy.codegen.kernel

    Class ptolemy.codegen.kernel.CodeGenerator extends Attribute implements Serializable

    Serialized Fields

    allowDynamicMultiportReference

    Parameter allowDynamicMultiportReference
    If true, then channels in multiports can be dynamically referenced using the $ref macro. TODO: This parameter is SDF specific.


    codeDirectory

    FileParameter codeDirectory
    The directory in which to put the generated code. This is a file parameter that must specify a directory. The default is $HOME/codegen.


    compile

    Parameter compile
    If true, then compile the generated code. The default value is a parameter with the value true.


    compileTarget

    StringParameter compileTarget
    The name of compile target to be run if the compile parameter is true. This is a string with a default value of the empty string, which means the first target in the makefile would be run.


    generateComment

    Parameter generateComment
    If true, generate comments in the output code; otherwise, no comments is generated. The default value is a parameter with the value true.


    generateCpp

    Parameter generateCpp
    If true, the generated code will be C++ instead of C. FIXME: This is a temporary fix. In the long run, C++ should be its own target language for code generation. In the short run, this parameter will allow experimentation with C++ code generation, and should identify changes needed for correctly implemented C++ code generation.


    generatorPackage

    StringParameter generatorPackage
    The name of the package in which to look for helper class code generators. This is a string that defaults to "ptolemy.codegen.c".


    generateEmbeddedCode

    Parameter generateEmbeddedCode
    If true, then generate code for that uses the reflection for Java and JNI for C and is embedded within the model The default value is false and this parameter is not usually editable by the user. This parameter is set to true when CompiledCompositeActor is run in an interpreted Ptolemy model. This parameter is set to false when a model contains one or more CompiledCompositeActors and C or Java code is being generated for the model.


    inline

    Parameter inline
    If true, generate file with no functions. If false, generate file with functions. The default value is a parameter with the value false.


    measureTime

    Parameter measureTime
    If true, generate code to meausre the execution time. The default value is a parameter with the value false.


    overwriteFiles

    Parameter overwriteFiles
    If true, overwrite preexisting files. The default value is a parameter with the value true.


    padBuffers

    Parameter padBuffers
    If true, then buffers are padded to powers of two. TODO: This parameter is SDF specific.


    run

    Parameter run
    If true, then run the generated code. The default value is a parameter with the value true.


    sourceLineBinding

    Parameter sourceLineBinding
    If true, then the generated source is bound to the line number and file of the (helper) templates. Otherwise, the source is bound only to the output file. This is a boolean parameter with default value false.


    target

    StringParameter target
    The hardware target for code generation. The list of possible choices is generated from the list of directories in the targets subdirectory of the directory named by the generatorPackage parameter. For example, if generatorPackage is ptolemy.codegen.c, and if $PTII/ptolemy/codegen/c/targets/ exists and contains an iRobot/ directory, and this parameter is set to iRobot, then files from $PTII/ptolemy/codegen/c/targets/iRobot will be used to generate code. The default value is the string "default" which means that the default target for the language is used.


    _codeFileName

    java.lang.String _codeFileName
    The name of the file that was written. If no file was written, then the value is null.


    _executeCommands

    ExecuteCommands _executeCommands
    Execute commands to run the generated code.


    _libraries

    java.util.List<E> _libraries
    List of library command line arguments where each element is a string, for example "-L/usr/local/lib". This variable is a list so as to preserve the order that the library commands were added to the list of libraries matters, see the manual page for the -L option of the ld command.


    _includes

    java.util.Set<E> _includes
    Set of include command line arguments where each element is a string, for example "-I/usr/local/include".


    _model

    CompositeEntity _model
    The model we for which we are generating code.


    _modifiedVariables

    java.util.Set<E> _modifiedVariables
    A set that contains all variables in the model whose values can be changed during execution.


    _newTypesUsed

    java.util.HashSet<E> _newTypesUsed
    A HashSet that contains all codegen types referenced in the model. When the codegen kernel processes a $new() macro, it would add the codegen type to this set. Codegen types are supported by the code generator package. (e.g. Int, Double, Array, and etc.)


    _macros

    java.util.List<E> _macros
    A static list of all macros supported by the code generator.


    _postfireCode

    java.lang.String _postfireCode
    The postfire code.


    _sanitizedModelName

    java.lang.String _sanitizedModelName
    The sanitized model name.


    _tokenFuncUsed

    java.util.Set<E> _tokenFuncUsed
    A set that contains all token functions referenced in the model. When the codegen kernel processes a $tokenFunc() macro, it must add the token function to this set.


    _typeFuncUsed

    java.util.Set<E> _typeFuncUsed
    A set that contains all type-specific functions referenced in the model. When the codegen kernel processes a $typeFunc() macro, it must add the type function to this set. Only those functions that are added to this set will be included in the generated code.


    _helperStore

    java.util.Map<K,V> _helperStore
    A map giving the code generator helpers for each actor.


    _indent

    int _indent
    The current indent level when pretty printing code.

    Class ptolemy.codegen.kernel.CodeGeneratorHelper extends NamedObj implements Serializable

    Serialized Fields

    _codeGenerator

    CodeGenerator _codeGenerator
    The code generator that contains this helper class.


    _codeStream

    CodeStream _codeStream
    The code stream associated with this helper.


    _parseTreeCodeGenerator

    ParseTreeCodeGenerator _parseTreeCodeGenerator
    The parse tree to use with expressions.


    _portConversions

    java.util.Hashtable<K,V> _portConversions
    A HashMap that contains mapping for ports and their conversion method. Ports that does not need to be converted do NOT have record in this map. The codegen kernel record this mapping during the first pass over the model. This map is used later in the code generation phase.


    _referencedParameters

    java.util.HashSet<E> _referencedParameters
    A hashset that keeps track of parameters that are referenced for the associated actor.


    _object

    java.lang.Object _object
    The associated object.


    _fireCode

    java.lang.String _fireCode

    Class ptolemy.codegen.kernel.StaticSchedulingCodeGenerator extends CCodeGenerator implements Serializable


    Package ptolemy.codegen.kernel.test

    Class ptolemy.codegen.kernel.test.TestCodeGeneratorHelper extends CodeGeneratorHelper implements Serializable

    Serialized Fields

    variableScope

    CodeGeneratorHelper.VariableScope variableScope
    The VariableScope used for testing.


    Package ptolemy.codegen.kernel.test.actor

    Class ptolemy.codegen.kernel.test.actor.TypedCompositeActor extends CodeGeneratorHelper implements Serializable


    Package ptolemy.codegen.kernel.test.domains.sdf.kernel

    Class ptolemy.codegen.kernel.test.domains.sdf.kernel.SDFDirector extends Director implements Serializable


    Package ptolemy.codegen.rtmaude.actor

    Class ptolemy.codegen.rtmaude.actor.Director extends Director implements Serializable

    Class ptolemy.codegen.rtmaude.actor.IOPort extends RTMaudeAdaptor implements Serializable

    Class ptolemy.codegen.rtmaude.actor.IORelation extends RTMaudeAdaptor implements Serializable

    Class ptolemy.codegen.rtmaude.actor.TypedAtomicActor extends Entity implements Serializable

    Class ptolemy.codegen.rtmaude.actor.TypedCompositeActor extends Entity implements Serializable


    Package ptolemy.codegen.rtmaude.actor.lib

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

    Class ptolemy.codegen.rtmaude.actor.lib.Clock extends TypedAtomicActor implements Serializable

    Class ptolemy.codegen.rtmaude.actor.lib.Const extends TypedAtomicActor implements Serializable

    Class ptolemy.codegen.rtmaude.actor.lib.CurrentTime extends TypedAtomicActor implements Serializable

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

    Class ptolemy.codegen.rtmaude.actor.lib.Pulse extends TypedAtomicActor implements Serializable

    Class ptolemy.codegen.rtmaude.actor.lib.Ramp extends TypedAtomicActor implements Serializable

    Class ptolemy.codegen.rtmaude.actor.lib.Scale extends TypedAtomicActor implements Serializable

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


    Package ptolemy.codegen.rtmaude.actor.lib.gui

    Class ptolemy.codegen.rtmaude.actor.lib.gui.TimedPlotter extends TypedAtomicActor implements Serializable


    Package ptolemy.codegen.rtmaude.actor.parameters

    Class ptolemy.codegen.rtmaude.actor.parameters.ParameterPort extends IOPort implements Serializable


    Package ptolemy.codegen.rtmaude.data.expr

    Class ptolemy.codegen.rtmaude.data.expr.PropertyParameter extends StringParameter implements Serializable

    Class ptolemy.codegen.rtmaude.data.expr.Variable extends RTMaudeAdaptor implements Serializable


    Package ptolemy.codegen.rtmaude.domains.de.kernel

    Class ptolemy.codegen.rtmaude.domains.de.kernel.DEDirector extends Director implements Serializable


    Package ptolemy.codegen.rtmaude.domains.de.lib

    Class ptolemy.codegen.rtmaude.domains.de.lib.NonInterruptibleTimer extends Timer implements Serializable

    Class ptolemy.codegen.rtmaude.domains.de.lib.SingleEvent extends TypedAtomicActor implements Serializable

    Class ptolemy.codegen.rtmaude.domains.de.lib.TimedDelay extends TypedAtomicActor implements Serializable

    Class ptolemy.codegen.rtmaude.domains.de.lib.Timer extends TypedAtomicActor implements Serializable

    Class ptolemy.codegen.rtmaude.domains.de.lib.VariableDelay extends TimedDelay implements Serializable


    Package ptolemy.codegen.rtmaude.domains.fsm.kernel

    Class ptolemy.codegen.rtmaude.domains.fsm.kernel.AbstractActionsAttribute extends RTMaudeAdaptor implements Serializable

    Class ptolemy.codegen.rtmaude.domains.fsm.kernel.FSMActor extends Entity implements Serializable

    Class ptolemy.codegen.rtmaude.domains.fsm.kernel.FSMDirector extends Director implements Serializable

    Class ptolemy.codegen.rtmaude.domains.fsm.kernel.Transition extends RTMaudeAdaptor implements Serializable


    Package ptolemy.codegen.rtmaude.domains.fsm.modal

    Class ptolemy.codegen.rtmaude.domains.fsm.modal.ModalModel extends TypedCompositeActor implements Serializable


    Package ptolemy.codegen.rtmaude.domains.sr.kernel

    Class ptolemy.codegen.rtmaude.domains.sr.kernel.SRDirector extends Director implements Serializable


    Package ptolemy.codegen.rtmaude.kernel

    Class ptolemy.codegen.rtmaude.kernel.Entity extends RTMaudeAdaptor implements Serializable

    Class ptolemy.codegen.rtmaude.kernel.RTMaudeAdaptor extends CodeGeneratorHelper implements Serializable

    Serialized Fields

    defaultTermBlock

    java.lang.String defaultTermBlock
    The default name of the block for the term template.


    RTMmodule

    java.util.Map<K,V> RTMmodule

    semanticsIncludes

    java.util.List<E> semanticsIncludes

    formalIncludes

    java.util.List<E> formalIncludes

    Class ptolemy.codegen.rtmaude.kernel.RTMaudeCodeGenerator extends CodeGenerator implements Serializable

    Serialized Fields

    maudeCommand

    java.lang.String maudeCommand
    The default path of the Maude program. FIXME: Users may need to change this.


    simulation_bound

    Parameter simulation_bound
    The bound (natural number) of steps to simulate a given model.


    Package ptolemy.copernicus.gui

    Class ptolemy.copernicus.gui.GeneratorTableau extends Tableau implements Serializable

    Class ptolemy.copernicus.gui.GeneratorTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.copernicus.gui.GeneratorTableau.GeneratorFrame extends PtolemyFrame implements Serializable

    Class ptolemy.copernicus.gui.GeneratorTableauAttribute extends GeneratorAttribute implements Serializable

    Serialized Fields

    _tableauFactory

    TableauFactory _tableauFactory
    The tableau factory.


    Package ptolemy.copernicus.kernel

    Class ptolemy.copernicus.kernel.GeneratorAttribute extends SingletonAttribute implements Serializable

    Serialized Fields

    initialParametersURL

    StringParameter initialParametersURL
    MoML file that contains other parameters. The default value is the string "ptolemy/copernicus/kernel/Generator.xml".


    _initialized

    boolean _initialized

    Package ptolemy.data

    Class ptolemy.data.AbsentToken extends Token implements Serializable

    Class ptolemy.data.AbstractConvertibleToken extends Token implements Serializable

    Class ptolemy.data.AbstractNotConvertibleToken extends Token implements Serializable

    Class ptolemy.data.ActorToken extends Token implements Serializable

    Serialized Fields

    _entity

    Entity _entity

    Class ptolemy.data.ArrayToken extends AbstractNotConvertibleToken implements Serializable

    Serialized Fields

    _value

    Token[] _value
    The array of values of this array token.


    _elementType

    Type _elementType
    The type of this array.

    Class ptolemy.data.AWTImageToken extends ImageToken implements Serializable

    Serialized Fields

    _value

    java.awt.Image _value
    The java.awt.Image

    Class ptolemy.data.BooleanMatrixToken extends MatrixToken implements Serializable

    Serialized Fields

    _value

    boolean[][] _value

    _rowCount

    int _rowCount

    _columnCount

    int _columnCount

    Class ptolemy.data.BooleanToken extends ScalarToken implements Serializable

    Serialized Fields

    _value

    boolean _value

    Class ptolemy.data.ComplexMatrixToken extends MatrixToken implements Serializable

    Serialized Fields

    _value

    Complex[][] _value

    _rowCount

    int _rowCount

    _columnCount

    int _columnCount

    Class ptolemy.data.ComplexToken extends ScalarToken implements Serializable

    Serialized Fields

    _value

    Complex _value

    Class ptolemy.data.DoubleMatrixToken extends MatrixToken implements Serializable

    Serialized Fields

    _value

    double[] _value

    _rowCount

    int _rowCount

    _columnCount

    int _columnCount

    Class ptolemy.data.DoubleToken extends ScalarToken implements Serializable

    Serialized Fields

    _value

    double _value

    Class ptolemy.data.EventToken extends Token implements Serializable

    Class ptolemy.data.FixMatrixToken extends MatrixToken implements Serializable

    Serialized Fields

    _value

    FixPoint[][] _value

    _precision

    Precision _precision

    _rowCount

    int _rowCount

    _columnCount

    int _columnCount

    Class ptolemy.data.FixToken extends ScalarToken implements Serializable

    Serialized Fields

    _value

    FixPoint _value
    The FixPoint value contained in this FixToken.

    Class ptolemy.data.FloatToken extends ScalarToken implements Serializable

    Serialized Fields

    _value

    float _value

    Class ptolemy.data.FunctionToken extends Token implements Serializable

    Serialized Fields

    _function

    Function _function

    _type

    FunctionType _type

    Class ptolemy.data.ImageToken extends Token implements Serializable

    Class ptolemy.data.IntMatrixToken extends MatrixToken implements Serializable

    Serialized Fields

    _value

    int[] _value

    _rowCount

    int _rowCount

    _columnCount

    int _columnCount

    Class ptolemy.data.IntToken extends ScalarToken implements Serializable

    Serialized Fields

    _value

    int _value

    Class ptolemy.data.LongMatrixToken extends MatrixToken implements Serializable

    Serialized Fields

    _value

    long[] _value

    _rowCount

    int _rowCount

    _columnCount

    int _columnCount

    Class ptolemy.data.LongToken extends ScalarToken implements Serializable

    Serialized Fields

    _value

    long _value

    Class ptolemy.data.MatrixToken extends Token implements Serializable

    Serialized Fields

    _nils

    java.util.Set<E> _nils
    HashSet of nil elements, where each element is the index of the element in _value[] that should be nil.

    Class ptolemy.data.ObjectToken extends Token implements Serializable

    Serialized Fields

    _class

    java.lang.Class<T> _class
    The class of the object.


    _value

    java.lang.Object _value
    The actual Object. This is protected to allow access in derived classes only.

    Class ptolemy.data.OrderedRecordToken extends RecordToken implements Serializable

    Class ptolemy.data.PetiteToken extends ScalarToken implements Serializable

    Serialized Fields

    _value

    double _value

    Class ptolemy.data.RecordToken extends AbstractNotConvertibleToken implements Serializable

    Serialized Fields

    _fields

    java.util.Map<K,V> _fields
    The map of fields that has keys of type String and values of type token. Subclasses can use alternative Map implementations (for ordering).

    Class ptolemy.data.ScalarToken extends Token implements Serializable

    Serialized Fields

    _unitCategoryExponents

    int[] _unitCategoryExponents
    The unit category exponents. The unit system contains a set of base unit categories and derived categories. The base categories are customizable by the user. For example, the user may choose to use the SI unit system which has 7 base categories: length, mass, time, electric current, thermodynamic temperature, amount of substance, and luminous intensity. The customization is done by defining a MoML file to specify the categories and the units in each category. Each category has an index, assigned by the order the category appears in the MoML file. Derived units are recorded by the exponents of the category. For example, the category speed, which is length/time, is stored by an exponent of 1 for the length category, and an exponent of -1 for the time category. This array records the exponents of the base categories.

    Class ptolemy.data.ShortToken extends ScalarToken implements Serializable

    Serialized Fields

    _value

    short _value

    Class ptolemy.data.StringToken extends AbstractConvertibleToken implements Serializable

    Serialized Fields

    _value

    java.lang.String _value

    _toString

    java.lang.String _toString

    Class ptolemy.data.Token extends java.lang.Object implements Serializable

    Class ptolemy.data.UnionToken extends AbstractNotConvertibleToken implements Serializable

    Serialized Fields

    _label

    java.lang.String _label

    _value

    Token _value

    Class ptolemy.data.UnsignedByteToken extends ScalarToken implements Serializable

    Serialized Fields

    _value

    byte _value

    Class ptolemy.data.UnsizedArrayToken extends ArrayToken implements Serializable

    Class ptolemy.data.UnsizedFixToken extends FixToken implements Serializable

    Class ptolemy.data.XMLToken extends Token implements Serializable

    Serialized Fields

    _doc

    org.w3c.dom.Document _doc

    _toString

    java.lang.String _toString

    Package ptolemy.data.expr

    Class ptolemy.data.expr.ChoiceParameter extends StringParameter implements Serializable

    Serialized Fields

    _enumClass

    java.lang.Class<T> _enumClass

    Class ptolemy.data.expr.ConcreteMatrixToken extends MatrixToken implements Serializable

    Class ptolemy.data.expr.ConcreteScalarToken extends ScalarToken implements Serializable

    Class ptolemy.data.expr.ExpertParameter extends Parameter implements Serializable

    Class ptolemy.data.expr.FileParameter extends StringParameter implements Serializable

    Serialized Fields

    _baseDirectory

    java.net.URI _baseDirectory
    The base directory to use for relative file names.


    _reader

    java.io.BufferedReader _reader
    The current reader for the input file.


    _writer

    java.io.Writer _writer
    The current writer for the output file.


    _isOutput

    boolean _isOutput
    Whether the file is to be written to.

    Class ptolemy.data.expr.GeneralToken extends Token implements Serializable

    Class ptolemy.data.expr.NameParameter extends StringParameter implements Serializable

    Class ptolemy.data.expr.Parameter extends Variable implements Serializable

    Serialized Fields

    _choices

    java.util.List<E> _choices

    Class ptolemy.data.expr.ParseException extends java.lang.Exception implements Serializable

    Serialized Fields

    specialConstructor

    boolean specialConstructor
    This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


    currentToken

    Token currentToken
    This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token following this token will (therefore) be the first error token.


    expectedTokenSequences

    int[][] expectedTokenSequences
    Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


    tokenImage

    java.lang.String[] tokenImage
    This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


    eol

    java.lang.String eol
    The end of line string for this machine.

    Class ptolemy.data.expr.ScopeExtendingAttribute extends Attribute implements Serializable

    Class ptolemy.data.expr.SingletonParameter extends Parameter implements Serializable

    Class ptolemy.data.expr.StringParameter extends Parameter implements Serializable

    Class ptolemy.data.expr.TemporaryVariable extends Variable implements Serializable

    Class ptolemy.data.expr.TokenMgrError extends java.lang.Error implements Serializable

    Serialized Fields

    errorCode

    int errorCode
    Indicates the reason why the exception is thrown. It will have one of the above 4 values.

    Class ptolemy.data.expr.UndefinedConstantOrIdentifierException extends IllegalActionException implements Serializable

    Serialized Fields

    _nodeName

    java.lang.String _nodeName
    The name of the missing constant or identifier.

    Class ptolemy.data.expr.UnknownResultException extends KernelRuntimeException implements Serializable

    Class ptolemy.data.expr.UnknownToken extends Token implements Serializable

    Class ptolemy.data.expr.Variable extends AbstractSettableAttribute implements Serializable

    Serialized Fields

    _currentExpression

    java.lang.String _currentExpression
    Stores the expression used to set this variable. It is null if the variable was set from a token.


    _needsEvaluation

    boolean _needsEvaluation
    Flags that the expression needs to be evaluated when the value of this variable is queried.


    _parseTreeValid

    boolean _parseTreeValid
    Indicator that the parse tree is valid.


    _parserScope

    ParserScope _parserScope
    The instance of VariableScope.


    _valueListeners

    java.util.List<E> _valueListeners
    Listeners for changes in value.


    _constraints

    java.util.Set<E> _constraints

    _declaredType

    Type _declaredType

    _initialExpression

    java.lang.String _initialExpression

    _initialToken

    Token _initialToken

    _isLazy

    boolean _isLazy

    _isStringMode

    boolean _isStringMode

    _isTokenUnknown

    boolean _isTokenUnknown

    _noTokenYet

    boolean _noTokenYet

    _parseTree

    ASTPtRootNode _parseTree

    _parseTreeEvaluator

    ParseTreeEvaluator _parseTreeEvaluator

    _propagating

    boolean _propagating

    _token

    Token _token

    _typeAtMost

    Type _typeAtMost

    _typeTerm

    Variable.TypeTerm _typeTerm

    _varType

    Type _varType

    _variablesDependentOn

    java.util.HashMap<K,V> _variablesDependentOn
    Stores the variables that are referenced by this variable.


    _visibility

    Settable.Visibility _visibility

    Package ptolemy.data.type

    Class ptolemy.data.type.ActorType extends java.lang.Object implements Serializable

    Class ptolemy.data.type.ArrayType extends StructuredType implements Serializable

    Serialized Fields

    _declaredElementType

    Type _declaredElementType

    _elementType

    Type _elementType

    _length

    int _length

    _elemTypeTerm

    ArrayType.ElementTypeTerm _elemTypeTerm

    Class ptolemy.data.type.BaseType extends java.lang.Object implements Serializable

    Serialized Fields

    _tokenClass

    java.lang.Class<T> _tokenClass
    The class of tokens with this type.


    _name

    java.lang.String _name
    The name of the type.

    Class ptolemy.data.type.BaseType.ArrayBottomType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.BooleanType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.ComplexType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.DoubleType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.EventType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.FloatType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.GeneralType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.IntType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.LongType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.NilType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.PetiteType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.ScalarType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.ShortType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.StringType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.UnknownType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.UnsignedByteType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.UnsizedFixType extends BaseType implements Serializable

    Class ptolemy.data.type.BaseType.XmlTokenType extends BaseType implements Serializable

    Class ptolemy.data.type.FixType extends StructuredType implements Serializable

    Serialized Fields

    _precision

    Precision _precision

    Class ptolemy.data.type.MatrixType extends StructuredType implements Serializable

    Serialized Fields

    _tokenClass

    java.lang.Class<T> _tokenClass
    The type of MatrixToken that this class represents.


    _elementType

    Type _elementType
    The type of the elements of the matrix, or ScalarType for this base class.


    _name

    java.lang.String _name
    The name of this instance.

    Class ptolemy.data.type.MatrixType.BooleanMatrixType extends MatrixType implements Serializable

    Class ptolemy.data.type.MatrixType.ComplexMatrixType extends MatrixType implements Serializable

    Class ptolemy.data.type.MatrixType.DoubleMatrixType extends MatrixType implements Serializable

    Class ptolemy.data.type.MatrixType.FixMatrixType extends MatrixType implements Serializable

    Class ptolemy.data.type.MatrixType.IntMatrixType extends MatrixType implements Serializable

    Class ptolemy.data.type.MatrixType.LongMatrixType extends MatrixType implements Serializable


    Package ptolemy.data.unit

    Class ptolemy.data.unit.BaseUnit extends Parameter implements Serializable

    Serialized Fields

    _token

    Token _token

    Class ptolemy.data.unit.UnitCategory extends Attribute implements Serializable

    Class ptolemy.data.unit.UnitSystem extends ScopeExtendingAttribute implements Serializable


    Package ptolemy.distributed.actor

    Class ptolemy.distributed.actor.DistributedDirector extends Director implements Serializable

    Serialized Fields

    listOfIds

    java.util.LinkedList<E> listOfIds
    List of IDs to assign no newly created receivers.


    lastId

    int lastId
    Starting ID number for whenever a receiver is created and the list of IDs is empty. This should never happen and it is meant for debugging purposes.


    VERBOSE

    boolean VERBOSE
    When true depicts debugging messages.


    idsReceiversMap

    java.util.HashMap<K,V> idsReceiversMap
    Map from IDs to the receiver containing the ID.

    Class ptolemy.distributed.actor.DistributedTypedCompositeActor extends TypedCompositeActor implements Serializable

    Class ptolemy.distributed.actor.DistributedTypedIORelation extends TypedIORelation implements Serializable

    Serialized Fields

    VERBOSE

    boolean VERBOSE
    Activates debugging information.


    connectedPort

    TypedIOPort connectedPort
    The port that the DistributedReceiver contained is connected to.


    intermediateReceiver

    Receiver[][] intermediateReceiver
    Bidimensional array of Receiver to be returned by deepReceivers.


    Package ptolemy.distributed.actor.lib

    Class ptolemy.distributed.actor.lib.DistributedLineWriter extends Sink implements Serializable


    Package ptolemy.distributed.domains.sdf.kernel

    Class ptolemy.distributed.domains.sdf.kernel.DistributedSDFDirector extends SDFDirector implements Serializable

    Serialized Fields

    parallelSchedule

    Parameter parallelSchedule
    A Parameter representing whether a sequential or parallel schedule will be computed. This parameter must be a boolean. The default value is false BooleanToken.


    pipelining

    Parameter pipelining
    A Parameter representing whether a pipelined parallel execution will be performed. A pipelined execution only makes sense when parallel execution is true. This parameter must be a boolean. The default value is false BooleanToken.


    parallelExecution

    Parameter parallelExecution
    A Parameter representing whether a sequential or parallel execution will be performed. This parameter must be a boolean. The default value is false BooleanToken.


    VERBOSE

    boolean VERBOSE
    It states whether debugging messages should be printed.


    configFileName

    java.lang.String configFileName
    The name of the Jini configuration file to be provided to the ClientServerInteractionManager. The name should be relative to $PTII and start with a "/".


    clientServerInteractionManager

    ClientServerInteractionManager clientServerInteractionManager
    Encapsulates Jini functionality.


    actorsThreadsMap

    java.util.HashMap<K,V> actorsThreadsMap
    Map of Actors to Threads (that contain the Service).


    synchronizer

    ThreadSynchronizer synchronizer
    Performs synchronization of the ClientThreads and used to issue commandMaps.


    commandsMap

    java.util.HashMap<K,V> commandsMap
    Map of commands to be executed. This is used by the pipelined parallel execution for efficiency. Since new levels are added everytime to the commands map, after buffering, a sequence of a fully parallel commandsMap is used several times. There is no point in recalculating it again and it is reused from the buffering phase.

    Class ptolemy.distributed.domains.sdf.kernel.DistributedSDFScheduler extends SDFScheduler implements Serializable


    Package ptolemy.domains.ci.kernel

    Class ptolemy.domains.ci.kernel.CIActor extends Transformer implements Serializable

    Serialized Fields

    _director

    CIDirector _director

    Class ptolemy.domains.ci.kernel.CIDirector extends Director implements Serializable

    Serialized Fields

    _pauseRequested

    boolean _pauseRequested
    If true, pause the execution of the model.


    _interval

    long _interval
    The default interval between iterations of active actors.


    _actorManagers

    java.util.HashSet<E> _actorManagers

    _asyncPushedActors

    java.util.LinkedList<E> _asyncPushedActors

    _asyncPulledActors

    java.util.LinkedList<E> _asyncPulledActors

    _actorsToFire

    java.util.LinkedList<E> _actorsToFire

    _pulledActors

    java.util.HashSet<E> _pulledActors

    _iteratingStarted

    boolean _iteratingStarted

    Package ptolemy.domains.ci.lib

    Class ptolemy.domains.ci.lib.BackDropQueue extends CIActor implements Serializable

    Serialized Fields

    length

    TypedIOPort length
    The output port on which the queue size is broadcast. The default type is integer.


    dropped

    TypedIOPort dropped
    The output port on which dropped tokens are broadcast. A token is dropped if the queue size is smaller than the capacity. The default type is the same as the type of the input port.


    capacity

    Parameter capacity
    The capacity of the queue. The initial default is an integer of value 1.


    _queue

    java.util.LinkedList<E> _queue

    Class ptolemy.domains.ci.lib.BinarySwitch extends TypedAtomicActor implements Serializable

    Serialized Fields

    q1_len

    TypedIOPort q1_len

    q2_len

    TypedIOPort q2_len

    pkt_in

    TypedIOPort pkt_in

    q1_out

    TypedIOPort q1_out

    q2_out

    TypedIOPort q2_out

    _q1len

    int _q1len

    _q2len

    int _q2len

    Class ptolemy.domains.ci.lib.FrontDropQueue extends CIActor implements Serializable

    Serialized Fields

    length

    TypedIOPort length
    An output port that sends the length of queue. The default type is integer.


    dropped

    TypedIOPort dropped
    An output port that sends dropped packets. The default type is the same as the type of the input port


    capacity

    Parameter capacity
    The capacity of the queue. The initial default value is an integer with the value of 1.


    _queue

    java.util.LinkedList<E> _queue

    Class ptolemy.domains.ci.lib.Queue extends CIActor implements Serializable

    Serialized Fields

    length

    TypedIOPort length
    An output port that sends the length of queue. The default type is integer.


    _queue

    java.util.LinkedList<E> _queue

    Package ptolemy.domains.continuous.kernel

    Class ptolemy.domains.continuous.kernel.ContinuousDirector extends FixedPointDirector implements Serializable

    Serialized Fields

    errorTolerance

    Parameter errorTolerance
    Error tolerance for data values, used with variable step size solvers to determine whether the current step size is accurate. The default value is 1e-4, and the type is double.


    initStepSize

    Parameter initStepSize
    User's hint for the initial integration step size. The default value is 0.1, and the type is double.


    maxIterations

    Parameter maxIterations
    The maximum number of rounds that an ODE solver can use to resolve the states of integrators. Many solvers, such as RK 2-3 and RK 4-5, use a fixed number of rounds (3 and 6, respectively). Implicit ODE solvers use however many rounds it takes to converge to a solution within a specified accuracy (given by errorTolerance). An example of an implicit solver is the BackwardsEuler solver. This parameter limits the number of rounds. The default value is 20, and the type is int.


    maxStepSize

    Parameter maxStepSize
    The maximum step size. The default value is 1.0, and the type is double.


    ODESolver

    StringParameter ODESolver
    The class name of the ODE solver used for integration. This is a string that defaults to "ExplicitRK23Solver". Solvers are all required to be in package "ptolemy.domains.continuous.kernel.solver". If a solver is changed during execution, the change does not take effect until the next execution of the model. If there is another ContinuousDirector above this one in the hierarchy, separated possibly by MultiComposite, then the value of this parameter is ignored and the solver given by the other ContinuousDirector will be used.


    startTime

    Parameter startTime
    Starting time of the execution. The default value is 0.0, and the type is double. This parameter has no effect if this director is used inside an enclosing ContinuousDirector and after the simulation starts.


    stopTime

    Parameter stopTime
    Stop time of the simulation. The default value is Infinity, and the type is double. This parameter has no effect after the simulation starts.


    _isInitializing

    boolean _isInitializing
    A local boolean variable indicating whether this director is in initialization phase execution.


    _iterationBeginTime

    Time _iterationBeginTime
    The current time at the start of the current integration step.


    _timeBase

    long _timeBase
    The real starting time in term of system millisecond counts.


    _accumulatedSuspendTime

    Time _accumulatedSuspendTime
    The accumulated suspend time relative to an eclosing ContinuousDirector, calculated as a side effect of calling _enclosingContinuousDirector().


    _breakpoints

    TotallyOrderedSet _breakpoints
    A table for breakpoints.


    _commitIsPending

    boolean _commitIsPending
    Flag indicating that postfire() did not commit the state at the local current time.


    _currentStepSize

    double _currentStepSize
    Simulation step sizes.


    _enclosingContinuousDirector

    ContinuousDirector _enclosingContinuousDirector
    The enclosing continuous director.


    _enclosingContinuousDirectorVersion

    long _enclosingContinuousDirectorVersion
    The version for __enclosingContinuousDirector.


    _errorTolerance

    double _errorTolerance
    The error tolerance for state resolution.


    _ignoreSetTime

    boolean _ignoreSetTime
    Flag to temporarily ignore the setModelTime() calls.


    _initStepSize

    double _initStepSize
    A cache of the value of initStepSize.


    _isIntermediateStep

    boolean _isIntermediateStep
    Flag indicating that the solver is iterating through the first or intermediate steps in a multi-step solver.


    _iterationBeginIndex

    int _iterationBeginIndex
    The index of the time at which the current integration step began.


    _lastSuspendTime

    Time _lastSuspendTime
    The environment time when this refinement was last suspended (that is, the enclosing state was exited). This is null if the actor has not been suspended since initialize() or resume() has been called more recently than suspend().


    _maxIterations

    int _maxIterations
    The maximum iterations for implicit ODE solver to resolve states.


    _maxStepSize

    double _maxStepSize
    The maximum step size used for integration.


    _ODESolver

    ContinuousODESolver _ODESolver
    The ODE solver, which is an instance of the class given by the ODESolver parameter.


    _redoingSolverIteration

    boolean _redoingSolverIteration
    Flag indicating that we are redoing a speculative solver iteration.


    _startTime

    Time _startTime
    The cached value of the startTime parameter.


    _statefulComponents

    java.util.List<E> _statefulComponents
    The list of stateful actors.


    _statefulComponentsVersion

    long _statefulComponentsVersion
    The version for the list of step size control actors.


    _stepSizeControllers

    java.util.List<E> _stepSizeControllers
    The list of step size control actors.


    _stepSizeControllersVersion

    long _stepSizeControllersVersion
    The version for the list of step size control actors.


    _stopTime

    Time _stopTime
    The cached value of the stopTime parameter.


    _triedTheMinimumStepSize

    boolean _triedTheMinimumStepSize
    The local flag variable indicating whether the we have tried the time resolution as the integration step size.


    _zeroTime

    Time _zeroTime
    Time with value 0.0.

    Class ptolemy.domains.continuous.kernel.ContinuousIntegrator extends TypedAtomicActor implements Serializable

    Serialized Fields

    impulse

    TypedIOPort impulse
    The impulse input port. This is a single port of type double.


    derivative

    TypedIOPort derivative
    The derivative port. This is a single port of type double.


    state

    TypedIOPort state
    The state port. This is a single port of type double.


    initialState

    PortParameter initialState
    The initial state of type DoubleToken. The default value is 0.0.


    _auxVariables

    double[] _auxVariables
    Auxiliary variable array. This is used by the solver to record intermediate values in a multi-step solver algorithm.


    _causalityInterface

    CausalityInterface _causalityInterface
    The custom causality interface.


    _lastOutput

    double _lastOutput
    The last output produced in the same round.


    _lastRound

    int _lastRound
    The last round this integrator is fired.


    _state

    double _state
    The state of the integrator.


    _successful

    boolean _successful
    Indicate whether the latest step is successful from this integrator's point of view.


    _tentativeState

    double _tentativeState
    The tentative state.

    Class ptolemy.domains.continuous.kernel.ContinuousScheduler extends FixedPointScheduler implements Serializable

    Class ptolemy.domains.continuous.kernel.HybridModalDirector extends FSMDirector implements Serializable

    Serialized Fields

    _distanceToBoundary

    double _distanceToBoundary
    Local variable to indicate the distance to boundary.


    _enclosingContinuousDirector

    ContinuousDirector _enclosingContinuousDirector
    The enclosing continuous director, if there is one.


    _enclosingContinuousDirectorVersion

    long _enclosingContinuousDirectorVersion
    The version for __enclosingContinuousDirector.


    _lastDistanceToBoundary

    double _lastDistanceToBoundary
    Local variable to indicate the last committed distance to boundary.

    Class ptolemy.domains.continuous.kernel.Noise extends Gaussian implements Serializable

    Serialized Fields

    linearlyInterpolate

    Parameter linearlyInterpolate
    If true, linearly between random number for multistep solvers, and otherwise, perform zero-order hold. This is a boolean that defaults to true.


    _timeOfValueAtEnd

    Time _timeOfValueAtEnd
    Time assigned to a new random number. This will be the integration end time for the first firing with a non-zero step size after the random number is generated.


    _valueAtStart

    double _valueAtStart
    The random number at the start of the current integration period.


    _valueAtEnd

    double _valueAtEnd
    The random number at the end of the current integration period.


    Package ptolemy.domains.continuous.lib

    Class ptolemy.domains.continuous.lib.BandlimitedNoise extends Gaussian implements Serializable

    Serialized Fields

    bandwidth

    Parameter bandwidth
    The bandwidth of the noise random process in Hertz. The bandwidth is the frequency where the power spectral density first hits zero. This is a double that defaults to 10.0 Hertz.


    _timeOfValueAtEnd

    Time _timeOfValueAtEnd
    Time associated with the second random number of the current interval.


    _timeOfValueAtStart

    Time _timeOfValueAtStart
    Time associated with the first random number of the current interval.


    _valueAtStart

    double _valueAtStart
    The random number at the start of the current interval.


    _valueAtEnd

    double _valueAtEnd
    The random number at the end of the end of the current interval.

    Class ptolemy.domains.continuous.lib.ContinuousMerge extends Transformer implements Serializable

    Class ptolemy.domains.continuous.lib.ContinuousTimeDelay extends Transformer implements Serializable

    Serialized Fields

    delay

    Parameter delay
    The amount of delay. The default for this parameter is 1.0. This parameter must contain a DoubleToken with a non-negative value, or an exception will be thrown when it is set.


    initialOutput

    Parameter initialOutput
    Initial output of the delay actor. The default for this parameter is null, indicating no output will be generated until after input has been received.


    _currentOutput

    Token _currentOutput
    Current output.


    _delay

    double _delay
    The amount of delay.


    _inputBuffer

    CalendarQueue _inputBuffer
    A local event queue to store input tokens, sorted by input time.


    _discarded

    TimedEvent _discarded
    Holds the most recently discarded event from the input buffer.


    _nextFireAt

    Time _nextFireAt
    Records the next scheduled fireAt() call, so that we do not request more than one fireAt() call for a given input event.


    _causalityMarker

    CausalityMarker _causalityMarker
    A causality marker to store information about how pure events are causally related to trigger events.

    Class ptolemy.domains.continuous.lib.ContinuousTransferFunction extends TypedCompositeActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Single input port.


    output

    TypedIOPort output
    Single output port.


    numerator

    Parameter numerator
    The coefficients of the numerator, containing an array of DoubleTokens. The default value is {1.0}.


    denominator

    Parameter denominator
    The coefficients of the denominator, containing an array of DoubleTokens. The array must have a length greater than or equal to the length of the numerator. The default value is {1.0}.


    _opaque

    boolean _opaque
    Opaqueness.

    Class ptolemy.domains.continuous.lib.DifferentialSystem extends TypedCompositeActor implements Serializable

    Serialized Fields

    stateVariableNames

    Parameter stateVariableNames
    The names of the state variables, in an array of strings. The default is an ArrayToken of an empty String.


    t

    Parameter t
    The value of current time. This parameter is not visible in the expression screen except in expert mode. Its value initially is just 0.0, a double, but upon each firing, it is given a value equal to the current time as reported by the director.


    _upToDate

    boolean _upToDate
    Flag indicating whether the contained model is up to date.

    Class ptolemy.domains.continuous.lib.DiscreteClock extends DiscreteClock implements Serializable

    Class ptolemy.domains.continuous.lib.EventSource 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 events. 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}.

    Class ptolemy.domains.continuous.lib.Integrator extends ContinuousIntegrator implements Serializable

    Class ptolemy.domains.continuous.lib.LevelCrossingDetector extends TypedAtomicActor implements Serializable

    Serialized Fields

    direction

    StringParameter direction
    A parameter that can be used to limit the detected level crossings to rising or falling. There are three choices: "falling", "rising", and "both". The default value is "both".


    errorTolerance

    Parameter errorTolerance
    The error tolerance specifying how close the value of a continuous input needs to be to the specified level to produce the output event. Note that this indirectly affects the accuracy of the time of the output since the output can be produced at any time after the level crossing occurs while it is still within the specified error tolerance of the level. This is a double with default 1e-4.


    level

    Parameter level
    The parameter that specifies the level threshold. By default, it contains a double with value 0.0. Note, a change of this parameter at run time will not be applied until the next iteration.


    value

    Parameter value
    The output value to produce when a level-crossing is detected. This can be any data type. It defaults to the same value as the level parameter.


    output

    TypedIOPort output
    The output port. The type is at least the type of the value parameter.


    trigger

    TypedIOPort trigger
    The trigger port. This is an input port with type double.


    _level

    double _level
    The level threshold this actor detects.


    _detectRisingCrossing

    boolean _detectRisingCrossing

    _detectFallingCrossing

    boolean _detectFallingCrossing

    _errorTolerance

    double _errorTolerance

    _eventMissed

    boolean _eventMissed

    _lastTrigger

    double _lastTrigger

    _postponed

    Time _postponed

    _postponedOutputProduced

    boolean _postponedOutputProduced

    _thisTrigger

    double _thisTrigger

    Class ptolemy.domains.continuous.lib.LinearStateSpace extends TypedCompositeActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Multi-input port.


    output

    TypedIOPort output
    Multi-output port.


    stateOutput

    TypedIOPort stateOutput
    State output multiport.


    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 equal to the number of rows of the A matrix. The number of columns must equal to the width of the input port. The default value is [[1.0]].


    C

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


    D

    Parameter D
    The D matrix in the state-space representation. The number of columns must equal to the width of the input port. The number of rows must equal to the width of the output port. The default value is [[0.0]].


    initialStates

    Parameter initialStates
    The initial condition for the state variables. This must be a vector (double matrix with only one row) whose length equals to the number of state variables. The default value is [0.0].


    _opaque

    boolean _opaque

    _requestInitialization

    boolean _requestInitialization

    Class ptolemy.domains.continuous.lib.Noise extends Noise implements Serializable

    Class ptolemy.domains.continuous.lib.PeriodicSampler extends Transformer implements Serializable

    Serialized Fields

    samplePeriod

    Parameter samplePeriod
    The parameter for the sampling period. This is a double whose default value is 0.1.


    _inputIsComplete

    boolean _inputIsComplete
    Flag indicating that the record of inputs is complete.


    _nextSamplingTime

    Time _nextSamplingTime
    The next sampling time.


    _recordedInputs

    Token[] _recordedInputs
    The recorded input data.

    Class ptolemy.domains.continuous.lib.ZeroOrderHold extends Transformer implements Serializable

    Serialized Fields

    defaultValue

    Parameter defaultValue
    Default output before any input has received. The default is empty, indicating that no output is produced until an input is received. The type of the output is set to at least the type of this parameter (and also at least the type of the input).


    _lastToken

    Token _lastToken

    Package ptolemy.domains.csp.kernel

    Class ptolemy.domains.csp.kernel.CSPActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    _cancelDelay

    boolean _cancelDelay
    Flag that causes the delay() method to abort with an exception.


    _conditionalBranchController

    ConditionalBranchController _conditionalBranchController
    This object is in charge of all conditional rendezvous issues.


    _delayed

    boolean _delayed
    Flag indicating this actor is delayed.

    Class ptolemy.domains.csp.kernel.CSPDirector extends CompositeProcessDirector implements Serializable

    Serialized Fields

    _actorsDelayed

    int _actorsDelayed
    Count of the number of processes delayed until time sufficiently advances.


    _delayedActorList

    java.util.List<E> _delayedActorList

    _inWrapup

    boolean _inWrapup

    Package ptolemy.domains.csp.lib

    Class ptolemy.domains.csp.lib.Barrier extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port, which is a multiport that can accept any data type.


    output

    TypedIOPort output
    The output port, which is a multiport whose type is at least that of the input port.


    _branchController

    MultiwayBranchController _branchController
    The controller for multiway branches.


    _terminate

    boolean _terminate
    Flag indicating whether a branch was terminated during fire().


    _listeningToBranchController

    boolean _listeningToBranchController
    Boolean flag indicating that we are already listening to the branch controller.

    Class ptolemy.domains.csp.lib.Buffer extends CSPActor implements Serializable

    Serialized Fields

    capacity

    Parameter capacity
    The capacity of the buffer. To provide "infinite" capacity, set this to a negative number.


    input

    TypedIOPort input
    The input port.


    output

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


    _buffer

    java.util.List<E> _buffer
    The current buffer.


    _branchEnabled

    boolean _branchEnabled
    Indicator that a branch was successfully enabled in the fire() method.

    Class ptolemy.domains.csp.lib.CSPBuffer extends CSPActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port for this actor.


    output

    TypedIOPort output
    The output port for this actor.


    depth

    Parameter depth
    The Parameter storing the depth of the buffer.


    _buffer

    Token[] _buffer

    _size

    int _size

    _writeTo

    int _writeTo

    _readFrom

    int _readFrom

    Class ptolemy.domains.csp.lib.CSPMultiSink extends CSPActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    This actor's input port.


    _branchCount

    int[] _branchCount
    Array storing the number of times each branch rendezvoused.

    Class ptolemy.domains.csp.lib.CSPMultiSource extends CSPActor implements Serializable

    Serialized Fields

    output

    TypedIOPort output
    This actor's output port.


    tokenLimit

    Parameter tokenLimit
    The number of tokens produced by this actor. If this limit is set to -1, then produce output tokens indefinitely. The default value of this parameter is -1.


    _branchCount

    int[] _branchCount

    Class ptolemy.domains.csp.lib.CSPSieve extends CSPActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port.


    output

    TypedIOPort output
    The output port.


    _prime

    int _prime
    The prime this sieve is filtering out.

    Class ptolemy.domains.csp.lib.CSPSink extends Sink implements Serializable

    Serialized Fields

    tokenLimit

    Parameter tokenLimit
    The number of tokens produced by this actor. If this limit is set to -1, then produce output tokens indefinitely. The default value of this parameter is -1.

    Class ptolemy.domains.csp.lib.CSPSource extends Source implements Serializable

    Serialized Fields

    tokenLimit

    Parameter tokenLimit
    The number of tokens produced by this actor. If this limit is set to -1, then produce output tokens indefinitely. The default value of this parameter is -1.


    _value

    int _value

    Class ptolemy.domains.csp.lib.ResourcePool extends CSPActor implements Serializable

    Serialized Fields

    grant

    TypedIOPort grant
    The output port through which this actor grants resources. This port has type equal to the element type of the initialPool parameter.


    release

    TypedIOPort release
    The input port through which other actors release resources. This port has type equal to the element type of the initialPool parameter.


    initialPool

    Parameter initialPool
    The initial resource pool. This is an array with default value {1} (an integer array with one entry with value 1).


    _pool

    java.util.List<E> _pool
    The current resource pool.


    _branchEnabled

    boolean _branchEnabled
    Indicator that a branch was successfully enabled in the fire() method.


    Package ptolemy.domains.ct.kernel

    Class ptolemy.domains.ct.kernel.CTBaseIntegrator extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port. This is a single port of type double.


    output

    TypedIOPort output
    The output port. This is a single port of type double.


    initialState

    Parameter initialState
    The initial state of type DoubleToken. The default value is 0.0.


    _history

    CTBaseIntegrator.History _history
    The history of states and their derivative. This variable is needed by Linear Multistep (LMS) methods, like Trapezoidal rule and backward differential formula. This variable is protected so that derived classes may access it directly.


    _auxVariables

    double[] _auxVariables

    _derivative

    double _derivative

    _state

    double _state

    _storedState

    double _storedState

    _successful

    boolean _successful

    _tentativeDerivative

    double _tentativeDerivative

    _tentativeState

    double _tentativeState

    Class ptolemy.domains.ct.kernel.CTCase extends Case implements Serializable

    Class ptolemy.domains.ct.kernel.CTCaseDirector extends CaseDirector implements Serializable

    Class ptolemy.domains.ct.kernel.CTCompositeActor extends TypedCompositeActor implements Serializable

    Class ptolemy.domains.ct.kernel.CTDirector extends StaticSchedulingDirector implements Serializable

    Serialized Fields

    errorTolerance

    Parameter errorTolerance
    Error tolerance for local truncation error control, only effective in variable step size methods. The default value is 1e-4, and the type is double.


    initStepSize

    Parameter initStepSize
    User's hint for the initial integration step size. The default value is 0.1, and the type is double.


    maxIterations

    Parameter maxIterations
    The maximum number of iterations in looking for a fixed point. The default value is 20, and the type is int.


    maxStepSize

    Parameter maxStepSize
    User's guide for the maximum integration step size. The default value is 1.0, and the type is double.


    minStepSize

    Parameter minStepSize
    User's guide for the minimum integration step size. The default value is 1e-5, and the type is double.


    startTime

    Parameter startTime
    Starting time of the simulation. The default value is 0.0, and the type is double.


    stopTime

    Parameter stopTime
    Stop time of the simulation. The default value is Infinity, and the type is double.


    synchronizeToRealTime

    Parameter synchronizeToRealTime
    Indicator whether the execution will synchronize to real time. The default value is false, and the type is boolean.


    valueResolution

    Parameter valueResolution
    Value resolution in looking for a fixed-point state resolution. The default value is 1e-6, and the type is double.


    _timeBase

    long _timeBase
    The real starting time in term of system millisecond counts.


    _breakpoints

    TotallyOrderedSet _breakpoints

    _currentSolver

    ODESolver _currentSolver

    _currentStepSize

    double _currentStepSize

    _discretePhase

    boolean _discretePhase

    _errorTolerance

    double _errorTolerance

    _executionPhase

    CTExecutionPhase _executionPhase

    _initStepSize

    double _initStepSize

    _iterationBeginTime

    Time _iterationBeginTime

    _maxIterations

    int _maxIterations

    _maxStepSize

    double _maxStepSize

    _minStepSize

    double _minStepSize

    _prefiredActors

    java.util.Set<E> _prefiredActors

    _startTime

    Time _startTime

    _startTimeValue

    double _startTimeValue

    _stopTime

    Time _stopTime

    _stopTimeValue

    double _stopTimeValue

    _suggestedNextStepSize

    double _suggestedNextStepSize

    _valueResolution

    double _valueResolution

    Class ptolemy.domains.ct.kernel.CTEmbeddedDirector extends CTMultiSolverDirector implements Serializable

    Serialized Fields

    _outputAcceptable

    boolean _outputAcceptable

    _stateAcceptable

    boolean _stateAcceptable

    Class ptolemy.domains.ct.kernel.CTMixedSignalDirector extends CTMultiSolverDirector implements Serializable

    Serialized Fields

    runAheadLength

    Parameter runAheadLength
    Parameter of the run ahead length. The default value is 1.0.


    _isTop

    boolean _isTop

    _knownGoodTime

    Time _knownGoodTime

    _mutationVersion

    long _mutationVersion

    _outsideTime

    Time _outsideTime

    _runAheadLength

    double _runAheadLength

    Class ptolemy.domains.ct.kernel.CTMultiSolverDirector extends CTDirector implements Serializable

    Serialized Fields

    breakpointODESolver

    Parameter breakpointODESolver
    The class name of the ODE solver that is used in the breakpoint iterations. The default value is a string: "ptolemy.domains.ct.kernel.solver.DerivativeResolver".


    ODESolver

    Parameter ODESolver
    The class name of the normal ODE solver used in iterations for normal integration. The default value is a string: "ptolemy.domains.ct.kernel.solver.ExplicitRK23Solver".


    _initialStatesNotReady

    boolean _initialStatesNotReady
    Flag indicating the initial states are not ready. FIXME: This isn't clear.... What is this flag for? Why is it so publically visible?


    _breakpointSolver

    ODESolver _breakpointSolver
    The breakpoint solver.


    _breakpointSolverClassName

    java.lang.String _breakpointSolverClassName
    The classname of the breakpoint ODE solver.


    _normalSolver

    ODESolver _normalSolver
    The normal solver.


    _normalSolverClassName

    java.lang.String _normalSolverClassName
    The classname of the normal ODE solver.

    Class ptolemy.domains.ct.kernel.CTReceiver.SignalType extends java.lang.Object implements Serializable

    Class ptolemy.domains.ct.kernel.CTRefinement extends Refinement implements Serializable

    Class ptolemy.domains.ct.kernel.CTScheduler extends Scheduler implements Serializable

    Serialized Fields

    _signalTypeMap

    CTScheduler.SignalTypeMap _signalTypeMap

    Class ptolemy.domains.ct.kernel.HSFSMDirector extends FSMDirector implements Serializable

    Serialized Fields

    _distanceToBoundary

    double _distanceToBoundary
    Local variable to indicate the distance to boundary.


    _lastDistanceToBoundary

    double _lastDistanceToBoundary
    Local variable to indicate the last distance to boundary.


    _outputAccurate

    boolean _outputAccurate
    Local variable to indicate whether the output is accurate.


    _transitionHasEvent

    boolean _transitionHasEvent

    Class ptolemy.domains.ct.kernel.HSModalDirector extends FSMDirector implements Serializable

    Serialized Fields

    _distanceToBoundary

    double _distanceToBoundary
    Local variable to indicate the distance to boundary.


    _lastDistanceToBoundary

    double _lastDistanceToBoundary
    Local variable to indicate the last distance to boundary.


    _outputAccurate

    boolean _outputAccurate
    Local variable to indicate whether the output is accurate.


    _transitionHasEvent

    boolean _transitionHasEvent

    Class ptolemy.domains.ct.kernel.NumericalNonconvergeException extends InvalidStateException implements Serializable

    Class ptolemy.domains.ct.kernel.ODESolver extends NamedObj implements Serializable

    Serialized Fields

    _director

    CTDirector _director

    _isConverged

    boolean _isConverged

    _roundCount

    int _roundCount

    Package ptolemy.domains.ct.kernel.solver

    Class ptolemy.domains.ct.kernel.solver.BackwardEulerSolver extends FixedStepSolver implements Serializable

    Class ptolemy.domains.ct.kernel.solver.DerivativeResolver extends ODESolver implements Serializable

    Class ptolemy.domains.ct.kernel.solver.ExplicitRK23Solver extends ODESolver implements Serializable

    Class ptolemy.domains.ct.kernel.solver.ExplicitRK45Solver extends ODESolver implements Serializable

    Class ptolemy.domains.ct.kernel.solver.FixedStepSolver extends ODESolver implements Serializable

    Class ptolemy.domains.ct.kernel.solver.ForwardEulerSolver extends FixedStepSolver implements Serializable

    Class ptolemy.domains.ct.kernel.solver.TrapezoidalRuleSolver extends ODESolver implements Serializable

    Serialized Fields

    _recalculatingWithTwoSteps

    boolean _recalculatingWithTwoSteps

    _firstStep

    boolean _firstStep

    Package ptolemy.domains.ct.lib

    Class ptolemy.domains.ct.lib.ContinuousClock extends DiscreteClock implements Serializable

    Serialized Fields

    defaultValue

    Parameter defaultValue
    The default value used after the clock stops. In the triggered continuous clock, which extends this class and has a start trigger, the default value is used as output before the clock starts. This parameter must contain a token, and it defaults to 0.

    Class ptolemy.domains.ct.lib.ContinuousTransferFunction extends TypedCompositeActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Single input port.


    output

    TypedIOPort output
    Single output port.


    numerator

    Parameter numerator
    The coefficients of the numerator, containing an array of DoubleTokens. The default value is {1.0}.


    denominator

    Parameter denominator
    The coefficients of the denominator, containing an array of DoubleTokens. The array must have a length greater than or equal to the length of the numerator. The default value is {1.0}.


    _opaque

    boolean _opaque

    Class ptolemy.domains.ct.lib.CTPeriodicSampler extends Transformer implements Serializable

    Serialized Fields

    samplePeriod

    Parameter samplePeriod
    The parameter for the sampling period. It contains a double token whose default value is 0.1.


    _hasCurrentEvent

    boolean _hasCurrentEvent

    _nextSamplingTime

    Time _nextSamplingTime

    _samplePeriod

    double _samplePeriod

    Class ptolemy.domains.ct.lib.CTRateLimiter extends Transformer implements Serializable

    Serialized Fields

    risingSlewRate

    Parameter risingSlewRate
    The rising slew rate. The parameter has type double and default value 1.0.


    fallingSlewRate

    Parameter fallingSlewRate
    The rising slew rate. The parameter has type double and default value -1.0.


    _lastTime

    Time _lastTime

    _lastToken

    Token _lastToken

    _newToken

    Token _newToken

    Class ptolemy.domains.ct.lib.CTTriggeredSampler extends Transformer implements Serializable

    Serialized Fields

    trigger

    TypedIOPort trigger
    The input port for triggering. The port has a generic type. Only the presents of a token matters.

    Class ptolemy.domains.ct.lib.DifferentialSystem extends TypedCompositeActor implements Serializable

    Serialized Fields

    stateVariableNames

    Parameter stateVariableNames
    The names of the state variables, in an array of strings. The default is an ArrayToken of an empty String.


    initialStates

    Parameter initialStates
    The initial condition for the state variables. This must be a vector (double matrix with only one row) whose default value is empty.


    _opaque

    boolean _opaque

    Class ptolemy.domains.ct.lib.DiscreteClock extends TimedSource implements Serializable

    Serialized Fields

    numberOfCycles

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


    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

    Parameter period
    The period of the output waveform. This parameter must contain a DoubleToken, and it 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.domains.ct.lib.EventSource extends TypedAtomicActor implements Serializable

    Serialized Fields

    output

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


    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

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


    values

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

    Class ptolemy.domains.ct.lib.FirstOrderHold extends Transformer implements Serializable

    Serialized Fields

    derivative

    TypedIOPort derivative
    The input port that takes the derivative. The type is double.


    defaultDerivative

    Parameter defaultDerivative
    Default input derivative before receiving ay inputs. The default is an integer with value 0. The type of the output is set to at least this type.


    defaultValue

    Parameter defaultValue
    Default output before any input has received. The default is an integer with value 0. The type of the output is set to at least this type.


    _value

    double _value

    _derivative

    double _derivative

    _time

    Time _time

    Class ptolemy.domains.ct.lib.Integrator extends CTBaseIntegrator implements Serializable

    Class ptolemy.domains.ct.lib.LevelCrossingDetector extends TypedAtomicActor implements Serializable

    Serialized Fields

    defaultEventValue

    Parameter defaultEventValue
    A parameter that specifies the value of output events if the useEventValue parameter is checked. By default, it contains a DoubleToken of 0.0.


    direction

    StringParameter direction
    A parameter that can be used to limit the detected level crossings to rising or falling. There are three choices: "falling", "rising", and "both". The default value is "both".


    errorTolerance

    Parameter errorTolerance
    The parameter of error tolerance of type double. By default, it contains a DoubleToken of 1e-4.


    level

    Parameter level
    The parameter that specifies the level threshold. By default, it contains a DoubleToken of value 0.0. Note, a change of this parameter at run time will not be applied until the next iteration.


    output

    TypedIOPort output
    The output port. The type is at least the type of the defaultEventValue parameter.


    trigger

    TypedIOPort trigger
    The trigger port. Single port with type double.


    useDefaultEventValue

    Parameter useDefaultEventValue
    The parameter that indicates whether to use the default event value.


    _level

    double _level
    The level threshold this actor detects.


    _detectRisingCrossing

    boolean _detectRisingCrossing

    _detectFallingCrossing

    boolean _detectFallingCrossing

    _errorTolerance

    double _errorTolerance

    _eventMissed

    boolean _eventMissed

    _eventNow

    boolean _eventNow

    _lastTrigger

    double _lastTrigger

    _thisTrigger

    double _thisTrigger

    Class ptolemy.domains.ct.lib.LinearStateSpace extends TypedCompositeActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Multi-input port.


    output

    TypedIOPort output
    Multi-output port.


    stateOutput

    TypedIOPort stateOutput
    State output multiport.


    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 equal to the number of rows of the A matrix. The number of columns must equal to the width of the input port. The default value is [[1.0]].


    C

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


    D

    Parameter D
    The D matrix in the state-space representation. The number of columns must equal to the width of the input port. The number of rows must equal to the width of the output port. The default value is [[0.0]].


    initialStates

    Parameter initialStates
    The initial condition for the state variables. This must be a vector (double matrix with only one row) whose length equals to the number of state variables. The default value is [0.0].


    _opaque

    boolean _opaque

    _requestInitialization

    boolean _requestInitialization

    Class ptolemy.domains.ct.lib.ThresholdMonitor extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port, single port with type double.


    output

    TypedIOPort output
    The output port, single port with type boolean.


    thresholdWidth

    Parameter thresholdWidth
    The parameter for the width of the threshold.


    thresholdCenter

    Parameter thresholdCenter
    The parameter for the center of the threshold.


    _thWidth

    double _thWidth

    _thCenter

    double _thCenter

    _first

    boolean _first

    _accurate

    boolean _accurate

    _upperBound

    double _upperBound

    _lowerBound

    double _lowerBound

    _lastInput

    double _lastInput

    _thisInput

    double _thisInput

    Class ptolemy.domains.ct.lib.TriggeredContinuousClock extends ContinuousClock 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.domains.ct.lib.ZeroCrossingDetector extends LevelCrossingDetector implements Serializable

    Class ptolemy.domains.ct.lib.ZeroOrderHold extends Transformer implements Serializable

    Serialized Fields

    defaultValue

    Parameter defaultValue
    Default output before any input has received. The default is an integer with value 0. The type of the output is set to at least this type.


    _lastToken

    Token _lastToken

    Package ptolemy.domains.curriculum

    Class ptolemy.domains.curriculum.Course extends TypedAtomicActor implements Serializable

    Serialized Fields

    postrequisites

    TypedIOPort postrequisites
    The postrequisites port.


    prerequisites

    TypedIOPort prerequisites
    The prerequisites port.


    units

    Parameter units
    The number of units. This is an integer with default value 4.

    Class ptolemy.domains.curriculum.HighlightEntities extends Attribute implements Serializable

    Serialized Fields

    entityNames

    Parameter entityNames
    List of names of the entities to highlight. This is an array of strings that defaults to null, which is interepreted to mean to clear all highlights.


    _highlightColor

    ColorAttribute _highlightColor
    Highlight color. This defaults to yellow.


    label

    StringParameter label
    Label to put in the icon for this object. This is a string that defaults to "HighlightEntities".

    Class ptolemy.domains.curriculum.HighlightEntities.HighlightIcons extends EditorFactory implements Serializable

    Class ptolemy.domains.curriculum.Or extends TypedAtomicActor implements Serializable

    Serialized Fields

    postrequisites

    TypedIOPort postrequisites
    The postrequisites port.


    prerequisites

    TypedIOPort prerequisites
    The prerequisites port.


    Package ptolemy.domains.dde.kernel

    Class ptolemy.domains.dde.kernel.DDEActor extends TypedAtomicActor implements Serializable

    Class ptolemy.domains.dde.kernel.DDEDirector extends CompositeProcessDirector implements Serializable

    Serialized Fields

    stopTime

    Parameter stopTime
    The stopTime parameter specifies the completion time of a model's execution. During the initialize() method the value of this parameter is passed to all receivers governed by this director. The default value of stopTime is PrioritizedTimedQueue.ETERNITY indicating that execution will continue indefinitely.


    _completionTime

    Time _completionTime
    The completion time. Since the completionTime is a constant, we do not convert it to a time object.


    _writeBlockedQueues

    java.util.HashMap<K,V> _writeBlockedQueues
    The set of receivers blocked on a write to a receiver.


    _initialTimeTable

    java.util.Hashtable<K,V> _initialTimeTable

    Class ptolemy.domains.dde.kernel.DDEIOPort extends TypedIOPort implements Serializable

    Class ptolemy.domains.dde.kernel.FeedBackDelay extends DDEActor implements Serializable

    Serialized Fields

    delay

    Parameter delay
    The delay for this actor. The initial default value is a double with value 1.0.


    input

    TypedIOPort input
    The input port.


    nullDelay

    Parameter nullDelay
    The boolean parameter that indicates whether a delay value will be added to the time stamp of null tokens that are produced by this actor. This parameter defaults to true.


    output

    TypedIOPort output
    The output port.


    realDelay

    Parameter realDelay
    The boolean parameter that indicates whether a delay value will be added to the time stamp of real tokens that are produced by this actor. This parameter defaults to false.

    Class ptolemy.domains.dde.kernel.NullToken extends Token implements Serializable


    Package ptolemy.domains.dde.lib

    Class ptolemy.domains.dde.lib.DDESink extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port.


    numTokens

    Parameter numTokens
    Indicate the integer valued number of real tokens that this actor should consume. If this value is negative, then there is no limit on the number of tokens that this actor will consume. The default value of this parameter is -1.


    _count

    int _count

    _continue

    boolean _continue

    Class ptolemy.domains.dde.lib.DoubleFork extends TypedAtomicActor implements Serializable

    Serialized Fields

    output1

    TypedIOPort output1
    The first output port.


    output2

    TypedIOPort output2
    The second output port.


    input

    TypedIOPort input
    The input port.


    _continueIterations

    boolean _continueIterations

    Class ptolemy.domains.dde.lib.Wire extends TypedAtomicActor implements Serializable

    Serialized Fields

    output

    TypedIOPort output
    The output port.


    input

    TypedIOPort input
    The input port.


    _continueIterations

    boolean _continueIterations

    Package ptolemy.domains.ddf.kernel

    Class ptolemy.domains.ddf.kernel.DDFDirector extends Director implements Serializable

    Serialized Fields

    iterations

    Parameter iterations
    A Parameter representing the number of times that postfire() may be called before it returns false. If the value is less than or equal to zero, then the execution will never return false in postfire(), and thus the execution can continue forever or until the model is deadlocked. The default value is an IntToken with the value zero.


    maximumReceiverCapacity

    Parameter maximumReceiverCapacity
    A Parameter representing the maximum capacity of each receiver controlled by this director. This is an integer that defaults to 0, which means the queue in each receiver is unbounded. To specify bounded queues, set this to a positive integer.


    runUntilDeadlockInOneIteration

    Parameter runUntilDeadlockInOneIteration
    A parameter indicating whether one iteration consists of repeated basic iterations until deadlock. If this parameter is true, the model will be executed until deadlock in one iteration. The default value is a BooleanToken with the value false. It cannot be set to true if this director is at the top level.


    _isTypeResolutionDisabled

    boolean _isTypeResolutionDisabled
    A flag indicating whether type resolution is disabled.


    _firedOne

    boolean _firedOne
    A flag indicating whether at least one actor has been fired so far.


    _iterationCount

    int _iterationCount
    The number of iterations.


    _runUntilDeadlock

    boolean _runUntilDeadlock
    A boolean initialized with value in the parameter runUntilDeadlockInOneIteration.


    _actorsInfo

    java.util.HashMap<K,V> _actorsInfo
    A HashMap containing actors' information. Each actor is mapped to an ActorInfo object.


    _actorsToCheckNumberOfFirings

    java.util.LinkedList<E> _actorsToCheckNumberOfFirings
    A list to store those actors for which positive requiredFiringsPerIteration has been defined.


    _disabledActors

    java.util.Set<E> _disabledActors
    The set of actors that have returned false in their postfire() methods and therefore become disabled.


    Package ptolemy.domains.ddf.lib

    Class ptolemy.domains.ddf.lib.ActorRecursion extends TypedCompositeActor implements Serializable

    Serialized Fields

    recursionActor

    StringParameter recursionActor
    A StringParameter representing the name of the composite actor to clone from. The composite actor contains this actor in some hierarchy.


    _recursionActor

    CompositeActor _recursionActor
    The composite actor to be cloned.


    _isCompatibilityChecked

    boolean _isCompatibilityChecked
    A flag indicating if the compatibility of the to-be-cloned composite actor has been checked. It is set to true after checking so that checking is performed only once during the execution of the model.


    _inputTokensHolder

    java.util.HashMap<K,V> _inputTokensHolder
    A HashMap to store tokens of the input ports.

    Class ptolemy.domains.ddf.lib.DDFBooleanSelect extends TypedAtomicActor implements Serializable

    Serialized Fields

    trueInput

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


    falseInput

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


    control

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


    output

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


    trueInput_tokenConsumptionRate

    Parameter trueInput_tokenConsumptionRate
    This parameter provides token consumption rate for trueInput. The type is int.


    falseInput_tokenConsumptionRate

    Parameter falseInput_tokenConsumptionRate
    This parameter provides token consumption rate for falseInput. The type is int.


    control_tokenConsumptionRate

    Parameter control_tokenConsumptionRate
    This parameter provides token consumption rate for control. The type is int.


    _control

    boolean _control
    The most recently read control token.


    _isControlRead

    boolean _isControlRead
    The boolean to determine whether to read from the control port or the trueInput/falseInput port.

    Class ptolemy.domains.ddf.lib.DDFOrderedMerge extends OrderedMerge implements Serializable

    Class ptolemy.domains.ddf.lib.DDFSelect extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

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


    control

    TypedIOPort control
    The input port for control tokens, which specifies the input channels to read the tokens from. The type is int.


    output

    TypedIOPort output
    The output port. The type is at least the type of input.


    input_tokenConsumptionRate

    Parameter input_tokenConsumptionRate
    This parameter provides token consumption rate for input. The type is array of ints.


    control_tokenConsumptionRate

    Parameter control_tokenConsumptionRate
    This parameter provides token consumption rate for control. The type is int.


    _control

    int _control
    The most recently read control token.


    _isControlRead

    boolean _isControlRead
    The boolean to determine whether to read from the control port or from the input port.


    _rateArray

    ArrayToken[] _rateArray
    An array of ArrayTokens to be used to set tokenConsumptionRate of the input port. Each ArrayToken indicates the input port needs to consume one token from a corresponding channel and no token from the rest of the channels. The array is initialized in the method connectionsChanged().


    _rateZero

    ArrayToken _rateZero
    An ArrayToken to be used to set tokenConsumptionRate of the input port. It indicates the input port does not consume any token from any channel. This variable is initialized in the method connectionsChanged().

    Class ptolemy.domains.ddf.lib.DDFSingleTokenCommutator extends SingleTokenCommutator implements Serializable

    Serialized Fields

    input_tokenConsumptionRate

    Parameter input_tokenConsumptionRate
    This parameter provides token consumption rate for each input channel. The type is array of ints.


    _rateArray

    ArrayToken[] _rateArray
    An array of ArrayTokens to be used to set tokenConsumptionRate of the input port. Each ArrayToken indicates the input port needs to consume one token from a corresponding channel and no token from the rest of the channels. The array is initialized in the method connectionsChanged().


    Package ptolemy.domains.de.kernel

    Class ptolemy.domains.de.kernel.DEActor extends TypedAtomicActor implements Serializable

    Class ptolemy.domains.de.kernel.DEDirector extends Director implements Serializable

    Serialized Fields

    binCountFactor

    Parameter binCountFactor
    The factor when adjusting the bin number. This parameter must contain an IntToken. Changes to this parameter are ignored when the model is running. The value defaults to 2.


    isCQAdaptive

    Parameter isCQAdaptive
    Specify whether the calendar queue adjusts its bin number at run time. This parameter must contain a BooleanToken. If this parameter is true, the calendar queue will adapt its bin number with respect to the distribution of events. Changes to this parameter are ignored when the model is running. The value defaults to true.


    minBinCount

    Parameter minBinCount
    The minimum (initial) number of bins in the calendar queue. This parameter must contain an IntToken. Changes to this parameter are ignored when the model is running. The value defaults to 2.


    startTime

    Parameter startTime
    The start time of model. This parameter must contain a DoubleToken. The value defaults to 0.0.


    stopTime

    Parameter stopTime
    The stop time of the model. This parameter must contain a DoubleToken. The value defaults to Infinity.


    stopWhenQueueIsEmpty

    Parameter stopWhenQueueIsEmpty
    Specify whether the execution stops when the queue is empty. This parameter must contain a BooleanToken. If this parameter is true, the execution of the model will be stopped when the queue is empty. The value defaults to true.


    synchronizeToRealTime

    Parameter synchronizeToRealTime
    Specify whether the execution should synchronize to the real time. This parameter must contain a BooleanToken. If this parameter is true, then do not process events until the elapsed real time matches the time stamp of the events. The value defaults to false.


    _disabledActors

    java.util.Set<E> _disabledActors
    The set of actors that have returned false in their postfire() methods. Events destined for these actors are discarded and the actors are never fired.


    _eventQueue

    DEEventQueue _eventQueue
    The queue used for sorting events.


    _isInitializing

    boolean _isInitializing
    A local boolean variable indicating whether this director is in initialization phase execution.


    _microstep

    int _microstep
    The current microstep.


    _noMoreActorsToFire

    boolean _noMoreActorsToFire
    Set to true when it is time to end the execution.


    _stopFireRequested

    boolean _stopFireRequested
    Flag that stopFire() has been called.


    _delegateFireAt

    boolean _delegateFireAt
    Indicator that calls to fireAt() should be delegated to the executive director.


    _exceedStopTime

    boolean _exceedStopTime
    Set to true when the time stamp of the token to be dequeue has exceeded the stopTime.


    _realStartTime

    long _realStartTime
    The real time at which the model begins executing.


    _stopWhenQueueIsEmpty

    boolean _stopWhenQueueIsEmpty
    Decide whether the simulation should be stopped when there's no more events in the global event queue. By default, its value is 'true', meaning that the simulation will stop under that circumstances. Setting it to 'false', instruct the director to wait on the queue while some other threads might enqueue events in it.


    _synchronizeToRealTime

    boolean _synchronizeToRealTime
    Specify whether the director should wait for elapsed real time to catch up with model time.

    Class ptolemy.domains.de.kernel.DEThreadActor extends DEActor implements Serializable

    Serialized Fields

    _isWaiting

    boolean _isWaiting

    _thread

    PtolemyThread _thread

    Package ptolemy.domains.de.lib

    Class ptolemy.domains.de.lib.AverageOverTime extends DETransformer implements Serializable

    Serialized Fields

    _lastTime

    Time _lastTime

    _lastToken

    Token _lastToken

    _sum

    Token _sum

    Class ptolemy.domains.de.lib.Derivative extends DETransformer implements Serializable

    Serialized Fields

    reset

    TypedIOPort reset
    The reset port, which has undeclared type. If this port receives a token, this actor resets to its initial state, and no output is generated until two inputs have been received.


    _currentInput

    TimedEvent _currentInput

    _lastInput

    TimedEvent _lastInput

    Class ptolemy.domains.de.lib.DETransformer extends DEActor 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 port is constrained to be at least that of the input.

    Class ptolemy.domains.de.lib.EventButton extends Source implements Serializable

    Serialized Fields

    text

    StringAttribute text
    The text to put on the button.


    _button

    javax.swing.JButton _button

    _buttonPressed

    boolean _buttonPressed

    _container

    java.awt.Container _container

    _frame

    javax.swing.JFrame _frame

    _self

    EventButton _self

    Class ptolemy.domains.de.lib.EventFilter extends DETransformer implements Serializable

    Class ptolemy.domains.de.lib.GetCurrentMicrostep extends TimedSource implements Serializable

    Class ptolemy.domains.de.lib.Inhibit extends DETransformer implements Serializable

    Serialized Fields

    inhibit

    TypedIOPort inhibit
    The inhibit port, which has type Token. If this port does not receive a token, then the most recent token from the input port will be emitted on the output port.

    Class ptolemy.domains.de.lib.Integrator extends DETransformer implements Serializable

    Serialized Fields

    reset

    TypedIOPort reset
    The reset port, which has undeclared type. If this port receives a token, this actor resets to its initial state, and no output is generated until two inputs have been received.


    initialValue

    Parameter initialValue
    The value produced by the actor on its first iteration. The default value of this parameter is the double 0.0.


    _currentInput

    TimedEvent _currentInput

    _lastInput

    TimedEvent _lastInput

    _accumulated

    Token _accumulated

    Class ptolemy.domains.de.lib.Merge extends DETransformer implements Serializable

    Serialized Fields

    discardEvents

    Parameter discardEvents
    A flag to indicate whether the input events can be discarded. Its default value is false.

    Class ptolemy.domains.de.lib.NonInterruptibleTimer extends Timer implements Serializable

    Serialized Fields

    _nextTimeFree

    Time _nextTimeFree
    Deprecated. 

    _delayedInputTokensList

    java.util.LinkedList<E> _delayedInputTokensList
    Deprecated. 

    Class ptolemy.domains.de.lib.PID extends DETransformer implements Serializable

    Serialized Fields

    reset

    TypedIOPort reset
    The reset port, which has undeclared type. If this port receives a token, this actor resets to its initial state, and no output is generated until two inputs have been received.


    Kp

    Parameter Kp
    Proportional gain of the controller. Default value is 1.0.


    Ki

    Parameter Ki
    Integral gain of the controller. Default value is 0.0, which disables integral control.


    Kd

    Parameter Kd
    Derivative gain of the controller. Default value is 0.0, which disables derivative control. If Kd=0.0, this actor can receive discontinuous signals as input; otherwise, if Kd is nonzero and a discontinuous signal is received, an exception will be thrown.


    _currentInput

    TimedEvent _currentInput

    _lastInput

    TimedEvent _lastInput

    _accumulated

    DoubleToken _accumulated

    Class ptolemy.domains.de.lib.Previous extends DETransformer implements Serializable

    Serialized Fields

    initialValue

    Parameter initialValue
    The initial output value. If this is set, it specifies the first output value produced when the first input arrives. If it is not set, then no output is produced on the first firing.


    _previous

    Token _previous

    _tempPrevious

    Token _tempPrevious

    Class ptolemy.domains.de.lib.Queue extends Transformer implements Serializable

    Serialized Fields

    capacity

    Parameter capacity
    The capacity of the queue. If the value is positive, then it specifies the capacity of the queue. If it is negative or 0, then it specifies that the capacity is infinite. This is an integer with default 0.


    persistentTrigger

    Parameter persistentTrigger
    If set to true, then if a trigger arrives when the queue is empty, it is remembered, and the next time an input arrives, it is sent immediately to the output. This is a boolean with default false.


    size

    TypedIOPort size
    The current size of the queue. This port produces an output whenever the size changes. It has type int.


    trigger

    TypedIOPort trigger
    The trigger port, which has undeclared type. If this port receives a token, then the oldest token in the queue will be emitted on the output port.


    _queue

    FIFOQueue _queue
    The FIFOQueue.


    _removeTokens

    int _removeTokens
    The number of tokens that should be removed from the queue in postfire().


    _token

    Token _token
    Token received in the fire() method for inclusion in the queue in the postfire() method.


    _persistentTrigger

    boolean _persistentTrigger
    An indicator of whether a trigger token was received in the last fire() method invocation.

    Class ptolemy.domains.de.lib.Register extends Sampler implements Serializable

    Class ptolemy.domains.de.lib.Sampler extends DETransformer implements Serializable

    Serialized Fields

    trigger

    TypedIOPort trigger
    The trigger port, which has undeclared type. If this port receives a token, then the most recent token from the input port will be emitted on the output port.


    initialValue

    Parameter initialValue
    The value that is output when no input has yet been received. If this is changed during execution, then the output will match the new value until another input is received. The type should be the same as the input port.

    See Also:
    Sampler.typeConstraints()

    _lastInputs

    Token[] _lastInputs
    The recorded inputs last seen.

    Class ptolemy.domains.de.lib.Server extends DETransformer implements Serializable

    Serialized Fields

    capacity

    Parameter capacity
    The capacity of the queue. If the value is positive, then it specifies the capacity of the queue. If it is negative or 0, then it specifies that the capacity is infinite. This is an integer with default 0.


    size

    TypedIOPort size
    The current size of the queue. This port produces an output whenever the size changes. It has type int.


    serviceTime

    PortParameter serviceTime
    The service time. This is a double with default 1.0. It is required to be non-negative.


    _nextTimeFree

    Time _nextTimeFree
    Next time the server becomes free.


    _queue

    FIFOQueue _queue
    The FIFOQueue.

    Class ptolemy.domains.de.lib.SharedQueue extends Queue implements Serializable

    Serialized Fields

    _outputReady

    boolean[] _outputReady

    Class ptolemy.domains.de.lib.SingleEvent extends TypedAtomicActor implements Serializable

    Serialized Fields

    output

    TypedIOPort output
    The output port. The type of this port is linked to the type of the value parameter.


    time

    Parameter time
    The time at which to produce the output. This has type double, with default value 0.0. If the value is negative, then no output will be produced.


    value

    Parameter value
    The value produced at the output. This can have any type, and it defaults to a boolean token with value true.

    Class ptolemy.domains.de.lib.SuppressSimultaneousEvents extends DETransformer implements Serializable

    Serialized Fields

    _lastEventTime

    Time _lastEventTime

    Class ptolemy.domains.de.lib.TestActorPortDepth extends TypedAtomicActor implements Serializable

    Serialized Fields

    output

    TypedIOPort output
    The output, which has type string.


    trigger

    TypedIOPort trigger
    The trigger.

    Class ptolemy.domains.de.lib.TimeCompare extends DEActor implements Serializable

    Serialized Fields

    input1

    TypedIOPort input1
    The first input port.


    input2

    TypedIOPort input2
    The second input port.


    nonnegative

    Parameter nonnegative
    A boolean parameter to decide whether inputs at input2 should be ignored if they lead to negative outputs.


    output

    TypedIOPort output
    The output port to which difference values are sent.


    _input1TimeStamps

    java.util.List<E> _input1TimeStamps
    The list to store the time stamps received at input1 but have never been compared.


    _input2TimeStamps

    java.util.List<E> _input2TimeStamps
    The list to store the time stamps received at input2 but have never been compared.

    Class ptolemy.domains.de.lib.TimedDelay extends DETransformer implements Serializable

    Serialized Fields

    delay

    Parameter delay
    The amount of delay. The default for this parameter is 1.0. This parameter must contain a DoubleToken with a non-negative value, or an exception will be thrown when it is set.


    _currentInput

    Token _currentInput
    Current input.


    _currentOutput

    Token _currentOutput
    Current output.


    _delay

    double _delay
    The amount of delay.


    _delayedOutputTokens

    CalendarQueue _delayedOutputTokens
    A local event queue to store the delayed output tokens.


    _causalityMarker

    CausalityMarker _causalityMarker
    A causality marker to store information about how pure events are causally related to trigger events.

    Class ptolemy.domains.de.lib.TimeGap extends DETransformer implements Serializable

    Serialized Fields

    _previousTime

    Time _previousTime

    Class ptolemy.domains.de.lib.Timer extends DETransformer implements Serializable

    Serialized Fields

    value

    Parameter value
    Deprecated. 
    The value produced at the output. This can have any type, and it defaults to a boolean token with value true.


    _causalityInterface

    CausalityInterface _causalityInterface
    Deprecated. 
    The causality interface, if it has been created.


    _delay

    double _delay
    Deprecated. 
    The amount of delay.


    _delayedOutputTokens

    CalendarQueue _delayedOutputTokens
    Deprecated. 
    A local queue to store the delayed tokens.


    _currentInput

    Token _currentInput
    Deprecated. 
    Current input.


    _currentOutput

    Token _currentOutput
    Deprecated. 
    Current output.

    Class ptolemy.domains.de.lib.UnionMerge extends DEActor implements Serializable

    Serialized Fields

    output

    TypedIOPort output
    The output port. The type of this port will be the union of the type of the input ports.


    discardEvents

    Parameter discardEvents
    A flag to indicate whether the input events can be discarded. Its default value is false.

    Class ptolemy.domains.de.lib.VariableDelay extends TimedDelay implements Serializable

    Serialized Fields

    delay

    PortParameter delay
    The amount specifying delay. Its default value is 1.0.

    Class ptolemy.domains.de.lib.WaitingTime extends DEActor implements Serializable

    Serialized Fields

    output

    TypedIOPort output
    The output, which is always a DoubleToken representing the that a waiter waited for an input at the waitee input.


    waiter

    TypedIOPort waiter
    An input event here waits for the next event at the waitee input. The type of this port is undeclared, so any input is acceptable.


    waitee

    TypedIOPort waitee
    An input event here triggers an output event for each waiter input that arrived since the last input here. The type of this port is undeclared, so any input is acceptable.


    _waiting

    java.util.Vector<E> _waiting

    Class ptolemy.domains.de.lib.Wire extends DETransformer implements Serializable

    Serialized Fields

    initialValue

    Parameter initialValue
    Deprecated. 
    The value that is output when no input has yet been received on the corresponding channel. The output type at least the type of this parameter and the type of the input. The default value is 0 (an int).


    _lastInputs

    Token[] _lastInputs
    Deprecated. 
    The recorded inputs last seen.


    Package ptolemy.domains.dt.kernel

    Class ptolemy.domains.dt.kernel.DTDirector extends SDFDirector implements Serializable

    Serialized Fields

    _actorTable

    java.util.ArrayList<E> _actorTable

    _receiverTable

    java.util.ArrayList<E> _receiverTable

    _allActorsTable

    java.util.Hashtable<K,V> _allActorsTable

    _formerValidTimeFired

    Time _formerValidTimeFired

    _formerTimeFired

    Time _formerTimeFired

    _isFiringAllowed

    boolean _isFiringAllowed

    _shouldDoInternalTransferOutputs

    boolean _shouldDoInternalTransferOutputs

    _inputTokensAvailable

    boolean _inputTokensAvailable

    _shouldTransferOutputs

    java.util.Map<K,V> _shouldTransferOutputs

    Package ptolemy.domains.fsm.kernel

    Class ptolemy.domains.fsm.kernel.AbstractActionsAttribute extends Action implements Serializable

    Serialized Fields

    _destinationNames

    java.util.List<E> _destinationNames
    List of destination names.


    _destinations

    java.util.List<E> _destinations
    List of destinations.


    _destinationsListVersion

    long _destinationsListVersion
    The workspace version number when the _destinations list is last updated.


    _parseTreeEvaluator

    ParseTreeEvaluator _parseTreeEvaluator
    The parse tree evaluator.


    _parseTrees

    java.util.List<E> _parseTrees
    The list of parse trees.


    _scope

    ParserScope _scope
    The scope.


    _numbers

    java.util.List<E> _numbers
    List of channels. Elements may be numbers or variable names.

    Class ptolemy.domains.fsm.kernel.Action extends StringAttribute implements Serializable

    Class ptolemy.domains.fsm.kernel.CommitActionsAttribute extends AbstractActionsAttribute implements Serializable

    Class ptolemy.domains.fsm.kernel.Configurer extends CompositeActor implements Serializable

    Serialized Fields

    _configured

    NamedObj _configured

    Class ptolemy.domains.fsm.kernel.Configurer.ContainmentExtender extends Attribute implements Serializable

    Class ptolemy.domains.fsm.kernel.ContainmentExtender extends Attribute implements Serializable

    Class ptolemy.domains.fsm.kernel.FSMActor extends CompositeEntity implements Serializable

    Serialized Fields

    finalStateNames

    StringAttribute finalStateNames
    Attribute specifying the names of the final states of this actor. This attribute is kept for backward compatibility only, and is set to expert visibility. To set the final states, set the isFinalState parameter of a States.


    initialStateName

    StringAttribute initialStateName
    Attribute specifying the name of the initial state of this actor. This attribute is kept for backward compatibility only, and is set to expert visibility. To set the initial state, set the isInitialState parameter of a State.


    stateDependentCausality

    Parameter stateDependentCausality
    Indicate whether input/output dependencies can depend on the state. By default, this is false (the default), indicating that a conservative dependency is provided by the causality interface. Specifically, if there is a dependency in any state, then the causality interface indicates that there is a dependency. If this is true, then a less conservative dependency is provided, indicating a dependency only if there can be one in the current state. If this is true, then upon any state transition, this actor issues a change request, which forces causality analysis to be redone. Note that this can be expensive.


    _currentState

    State _currentState
    Current state.


    _identifierToPort

    java.util.HashMap<K,V> _identifierToPort
    A map that associates each identifier with the unique port that that identifier describes. This map is used to detect port names that result in ambiguous identifier bindings.


    _inputTokenMap

    java.util.Map<K,V> _inputTokenMap
    A map from ports to corresponding input variables.


    _lastChosenTransition

    Transition _lastChosenTransition
    The last chosen transition.


    _stopRequested

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


    _initialState

    State _initialState
    The initial state. This is package friendly so that State can access it.


    _causalityInterface

    CausalityInterface _causalityInterface
    The causality interface, if it has been created, for the case where the causality interface is not state dependent.


    _causalityInterfaceDirector

    Director _causalityInterfaceDirector
    The director for which the causality interface was created.


    _causalityInterfaces

    java.util.Map<K,V> _causalityInterfaces
    The causality interfaces by state, for the case where the causality interface is state dependent.


    _causalityInterfacesVersions

    java.util.Map<K,V> _causalityInterfacesVersions
    The workspace version for causality interfaces by state, for the case where the causality interface is state dependent.


    _connectionMaps

    java.util.Map<K,V> _connectionMaps

    _connectionMapsVersion

    long _connectionMapsVersion

    _currentConnectionMap

    java.util.Map<K,V> _currentConnectionMap

    _finalStateNames

    java.util.HashSet<E> _finalStateNames

    _newIteration

    boolean _newIteration

    _reachedFinalState

    boolean _reachedFinalState

    _receiversVersion

    long _receiversVersion

    _supportMultirate

    boolean _supportMultirate

    _tokenListArrays

    java.util.Hashtable<K,V> _tokenListArrays

    Class ptolemy.domains.fsm.kernel.FSMDirector extends Director implements Serializable

    Serialized Fields

    controllerName

    StringAttribute controllerName
    Attribute specifying the name of the mode controller in the container of this director. This director must have a mode controller that has the same container as this director, otherwise an IllegalActionException will be thrown when action methods of this director are called.


    _currentLocalReceiverMap

    java.util.Map<K,V> _currentLocalReceiverMap
    Map from input ports of the modal model to the local receivers for the current state.


    _enabledRefinements

    java.util.List<E> _enabledRefinements
    The list of enabled actors that refines the current state.


    _enabledTransition

    Transition _enabledTransition
    cached enabled transition.


    _localReceiverMaps

    java.util.Map<K,V> _localReceiverMaps
    Stores for each state of the mode controller the map from input ports of the modal model to the local receivers when the mode controller is in that state.


    _controller

    FSMActor _controller
    Cached reference to mode controller.


    _controllerVersion

    long _controllerVersion
    Version of cached reference to mode controller.


    _localReceiverMapsVersion

    long _localReceiverMapsVersion

    _stateRefinementsToPostfire

    java.util.List<E> _stateRefinementsToPostfire
    State refinements to postfire(), as determined by the fire() method.


    _transitionRefinementsToPostfire

    java.util.List<E> _transitionRefinementsToPostfire
    Transition refinements to postfire(), as determined by the fire() method.

    Class ptolemy.domains.fsm.kernel.ModalDirector extends FSMDirector implements Serializable

    Serialized Fields

    _actorsFired

    java.util.Set<E> _actorsFired
    Actors that were fired in the current iteration.


    _disabledActors

    java.util.Set<E> _disabledActors
    Actors that have returned false in postfire().

    Class ptolemy.domains.fsm.kernel.MultipleEnabledTransitionsException extends IllegalActionException implements Serializable

    Class ptolemy.domains.fsm.kernel.MultirateFSMDirector extends FSMDirector implements Serializable

    Serialized Fields

    _reinitialize

    boolean _reinitialize
    A flag indicating whether the initialize method is called due to reinitialization.


    _refinementPostfire

    boolean _refinementPostfire
    The returned value of the postfire() method of the currentRefinement.

    Class ptolemy.domains.fsm.kernel.NonStrictFSMDirector extends FSMDirector implements Serializable

    Serialized Fields

    _nonpreemptiveTransitionsInputs

    java.util.Set<E> _nonpreemptiveTransitionsInputs

    _outputActionReferredInputPorts

    java.util.Set<E> _outputActionReferredInputPorts

    _preemptiveTransitionsInputs

    java.util.Set<E> _preemptiveTransitionsInputs

    _referredInputPorts

    java.util.Set<E> _referredInputPorts

    _refinementReferredInputPorts

    java.util.Set<E> _refinementReferredInputPorts

    _setActionReferredInputPorts

    java.util.Set<E> _setActionReferredInputPorts

    Class ptolemy.domains.fsm.kernel.OutputActionsAttribute extends AbstractActionsAttribute implements Serializable

    Class ptolemy.domains.fsm.kernel.State extends ComponentEntity implements Serializable

    Serialized Fields

    incomingPort

    ComponentPort incomingPort
    The port linking incoming transitions.


    isFinalState

    Parameter isFinalState
    An indicator of whether this state is a final state. This is a boolean that defaults to false. Setting it to true will cause the containing FSMActor to return false from its postfire() method, which indicates to the director that the FSMActor should not be fired again.


    isInitialState

    Parameter isInitialState
    An indicator of whether this state is the initial state. This is a boolean that defaults to false, unless this state is the only one in the container, in which case it defaults to true. Setting it to true will cause this parameter to become false for whatever other state is currently the initial state in the same container.


    outgoingPort

    ComponentPort outgoingPort
    The port linking outgoing transitions.


    refinementName

    StringAttribute refinementName
    Attribute specifying one or more names of refinements. The refinements must be instances of TypedActor and have the same container as the FSMActor containing this state, otherwise an exception will be thrown when getRefinement() is called. Usually, the refinement is a single name. However, if a comma-separated list of names is provided, then all the specified refinements will be executed. This attribute has a null expression or a null string as expression when the state is not refined.


    saveRefinementsInConfigurer

    Parameter saveRefinementsInConfigurer
    A boolean attribute to decide refinements of this state should be exported as configurations of this state or not.


    _configureSource

    java.lang.String _configureSource

    _configurer

    Configurer _configurer

    _nonpreemptiveTransitionList

    java.util.List<E> _nonpreemptiveTransitionList

    _preemptiveTransitionList

    java.util.List<E> _preemptiveTransitionList

    _refinement

    TypedActor[] _refinement

    _refinementVersion

    long _refinementVersion

    _transitionListVersion

    long _transitionListVersion

    _visited

    boolean _visited

    Class ptolemy.domains.fsm.kernel.Transition extends ComponentRelation implements Serializable

    Serialized Fields

    annotation

    StringParameter annotation
    An annotation that describes the transition. If this is non-empty, then a visual editor will be expected to put this annotation on or near the transition to document its function. This is a string that defaults to the empty string. Note that it can reference variables in scope using the notation $name.


    defaultTransition

    Parameter defaultTransition
    Indicator that this transition is a default transition. A default transition is enabled only if no other non-default transition is enabled. This is a boolean with default value false. If the value is true, then the guard expression is ignored.


    exitAngle

    Parameter exitAngle
    Attribute the exit angle of a visual rendition. This parameter contains a DoubleToken, initially with value PI/5. It must lie between -PI and PI. Otherwise, it will be truncated to lie within this range.


    gamma

    Parameter gamma
    Attribute giving the orientation of a self-loop. This is equal to the tangent at the midpoint (more or less). This parameter contains a DoubleToken, initially with value 0.0.


    guardExpression

    StringAttribute guardExpression
    Attribute specifying the guard expression.


    nondeterministic

    Parameter nondeterministic
    Parameter specifying whether this transition is nondeterministic. Here nondeterministic means that this transition may not be the only enabled transition at a time. The default value is a boolean token with value as false, meaning that if this transition is enabled, it must be the only enabled transition.


    outputActions

    OutputActionsAttribute outputActions
    The action commands that produce outputs when the transition is taken.


    preemptive

    Parameter preemptive
    Parameter specifying whether this transition is preemptive.


    refinementName

    StringAttribute refinementName
    Attribute specifying one or more names of refinements. The refinements must be instances of TypedActor and have the same container as the FSMActor containing this state, otherwise an exception will be thrown when getRefinement() is called. Usually, the refinement is a single name. However, if a comma-separated list of names is provided, then all the specified refinements will be executed. This attribute has a null expression or a null string as expression when the state is not refined.


    reset

    Parameter reset
    Parameter specifying whether the refinement of the destination state is reset when the transition is taken.


    setActions

    CommitActionsAttribute setActions
    The action commands that set parameters when the transition is taken.


    _actionListsVersion

    long _actionListsVersion

    _choiceActionList

    java.util.List<E> _choiceActionList

    _commitActionList

    java.util.List<E> _commitActionList

    _destinationState

    State _destinationState

    _guardParseTree

    ASTPtRootNode _guardParseTree

    _guardParseTreeVersion

    long _guardParseTreeVersion

    _nondeterministic

    boolean _nondeterministic

    _parseTreeEvaluator

    ParseTreeEvaluator _parseTreeEvaluator

    _parseTreeEvaluatorVersion

    long _parseTreeEvaluatorVersion

    _refinement

    TypedActor[] _refinement

    _refinementVersion

    long _refinementVersion

    _sourceState

    State _sourceState

    _stateVersion

    long _stateVersion

    Package ptolemy.domains.fsm.kernel.fmv

    Class ptolemy.domains.fsm.kernel.fmv.FmvAutomaton extends FSMActor implements Serializable

    Serialized Fields

    _variableInfo

    java.util.HashMap<K,V> _variableInfo

    _variableTransitionInfo

    java.util.HashMap<K,V> _variableTransitionInfo

    Class ptolemy.domains.fsm.kernel.fmv.FmvState extends State implements Serializable

    Serialized Fields

    isRiskAnalysisState

    Parameter isRiskAnalysisState
    A boolean parameter indicating that this state is a risk state. The default value is false.


    isReachabilityAnalysisState

    Parameter isReachabilityAnalysisState
    A boolean parameter indicating whether this state is a reachability analysis state. The default value is false.


    Package ptolemy.domains.fsm.kernel.ia

    Class ptolemy.domains.fsm.kernel.ia.InterfaceAutomaton extends FSMActor implements Serializable

    Serialized Fields

    _inputNames

    java.util.Set<E> _inputNames

    _outputNames

    java.util.Set<E> _outputNames

    _internalNames

    java.util.Set<E> _internalNames

    _illegalStates

    java.util.Set<E> _illegalStates

    Class ptolemy.domains.fsm.kernel.ia.InterfaceAutomatonTransition extends Transition implements Serializable

    Serialized Fields

    label

    StringAttribute label
    The label of this transition. Must ends with "?" or "!" or ";"


    Package ptolemy.domains.fsm.modal

    Class ptolemy.domains.fsm.modal.Case extends ModalModel implements Serializable

    Serialized Fields

    control

    PortParameter control
    Deprecated. 
    The input port-parameter on which the control token is provided. This can have any type, and is initialized with a default value of true.


    _state

    State _state
    Deprecated. 
    The one and only state.


    _default

    Refinement _default
    Deprecated. 
    The default refinement.

    Class ptolemy.domains.fsm.modal.ModalController extends FSMActor implements Serializable

    Serialized Fields

    _mirrorDisable

    boolean _mirrorDisable
    Indicator that we are processing a newPort request.

    Class ptolemy.domains.fsm.modal.ModalModel extends CTCompositeActor implements Serializable

    Serialized Fields

    directorClass

    StringParameter directorClass
    A director class name. The default value and the list of choices are obtained from the suggestedModalModelDirectors() method of the executive director. If there is no executive director, then the default is "ptolemy.domains.fsm.kernel.FSMDirector".


    stateDependentCausality

    Parameter stateDependentCausality
    Indicate whether input/output dependencies can depend on the state. By default, this is false (the default), indicating that a conservative dependency is provided by the causality interface. Specifically, if there is a dependency in any state, then the causality interface indicates that there is a dependency. If this is true, then a less conservative dependency is provided, indicating a dependency only if there can be one in the current state. If this is true, then upon any state transition, this actor issues a change request, which forces causality analysis to be redone. Note that this can be expensive.


    _controller

    FSMActor _controller
    The FSM controller.


    _causalityInterfaces

    java.util.Map<K,V> _causalityInterfaces
    The causality interfaces by state, for the case where the causality interface is state dependent.


    _causalityInterfacesVersions

    java.util.Map<K,V> _causalityInterfacesVersions
    The workspace version for causality interfaces by state, for the case where the causality interface is state dependent.

    Class ptolemy.domains.fsm.modal.ModalPort extends TypedIOPort implements Serializable

    Class ptolemy.domains.fsm.modal.Refinement extends CTCompositeActor implements Serializable

    Serialized Fields

    _mirrorDisable

    boolean _mirrorDisable
    Indicator that we are processing a newPort request.

    Class ptolemy.domains.fsm.modal.RefinementExtender extends Attribute implements Serializable

    Serialized Fields

    className

    StringParameter className
    The full name of the refinement class.


    description

    StringParameter description
    A string description of the refinement class, which is shown in the dialog for the user to choose a refinement to add.

    Class ptolemy.domains.fsm.modal.RefinementPort extends TypedIOPort implements Serializable

    Serialized Fields

    _automaticallyInput

    boolean _automaticallyInput
    Indicator that the port is automatically an input port because it was set to be an output port. This automatic change is made in output ports of the ModalController so that if a refinement writes to its output port, then that data is available in scope for the guard expressions.


    _mirrorDisable

    boolean _mirrorDisable
    If false, then changes the port are mirrored in the container's container. This is false by default.

    Class ptolemy.domains.fsm.modal.RefinementSuggestion extends Attribute implements Serializable

    Serialized Fields

    refinementClassName

    StringParameter refinementClassName
    The suggested class name of the refinement.

    Class ptolemy.domains.fsm.modal.TransitionRefinement extends Refinement implements Serializable

    Class ptolemy.domains.fsm.modal.TransitionRefinementPort extends RefinementPort implements Serializable

    Serialized Fields

    _hasSibling

    boolean _hasSibling
    Flag indicating if this port has a sibling. This flag should be set to true for all output ports and their associated input port siblings.


    Package ptolemy.domains.giotto.kernel

    Class ptolemy.domains.giotto.kernel.GiottoCodeGenerator extends Attribute implements Serializable

    Class ptolemy.domains.giotto.kernel.GiottoCodeGenerator.GiottoEditorFactory extends EditorFactory implements Serializable

    Class ptolemy.domains.giotto.kernel.GiottoDirector extends StaticSchedulingDirector implements Serializable

    Serialized Fields

    iterations

    Parameter iterations
    The number of times that postfire may be called before it returns false. If the value is less than or equal to zero, then the execution will never return false in postfire, and thus the execution can continue forever. The default value is an IntToken with the value zero.


    period

    Parameter period
    The period of an iteration. This is a double that defaults to 0.1.


    synchronizeToRealTime

    Parameter synchronizeToRealTime
    Specify whether the execution should synchronize to the real time. This parameter must contain a BooleanToken. If this parameter is true, then do not process events until the elapsed real time matches the time stamp of the events. The value defaults to false.


    _expectedNextIterationTime

    Time _expectedNextIterationTime

    _iterationCount

    int _iterationCount

    _periodValue

    double _periodValue

    _readyToFire

    boolean _readyToFire

    _realStartTime

    long _realStartTime

    _receivers

    java.util.LinkedList<E> _receivers

    _schedule

    Schedule _schedule

    _synchronizeToRealTime

    boolean _synchronizeToRealTime

    _unitIndex

    int _unitIndex

    _unitTimeIncrement

    double _unitTimeIncrement

    Class ptolemy.domains.giotto.kernel.GiottoScheduler extends Scheduler implements Serializable

    Serialized Fields

    _giottoSchedulerTime

    int _giottoSchedulerTime

    _lcm

    int _lcm

    Package ptolemy.domains.gr.kernel

    Class ptolemy.domains.gr.kernel.GRActor extends TypedAtomicActor implements Serializable

    Serialized Fields

    _isSceneGraphInitialized

    boolean _isSceneGraphInitialized
    Indicator of whether the scene graph is initialized.


    _allowAttributeChanges

    boolean _allowAttributeChanges
    Boolean variable to determine whether attribute changes are allowed. For speed reasons, attribute changes may be disallowed in some models

    Class ptolemy.domains.gr.kernel.GRActor2D extends GRActor implements Serializable

    Serialized Fields

    _viewScreen

    ViewScreen2D _viewScreen
    The actor displaying the scene, if there is one.

    Class ptolemy.domains.gr.kernel.GRActor3D extends GRActor implements Serializable

    Serialized Fields

    _viewScreen

    ViewScreen3D _viewScreen
    The actor displaying the scene, if there is one.

    Class ptolemy.domains.gr.kernel.GRDirector extends StaticSchedulingDirector implements Serializable

    Serialized Fields

    iterations

    Parameter iterations
    A parameter representing the number of times that postfire() may be called before it returns false. If the value is less than or equal to zero, the execution will never return false in postfire(), and thus the execution continues indefinitely. This parameter must contain an IntToken. The default value is an IntToken with the value zero.


    iterationTimeLowerBound

    Parameter iterationTimeLowerBound
    A parameter that indicates the time lower bound of each iteration. This parameter is useful for guaranteeing that each frame of an animation takes at least a certain amount of time before proceeding to the next frame. This parameter is measured in milliseconds. This parameter must contain an IntToken. The default value is an IntToken with value the 33, which corresponds roughly to 30 frames per second.


    _disabledActors

    java.util.Set<E> _disabledActors
    The set of actors that have returned false in their postfire() methods. These actors will not be fired again.


    _lastIterationTime

    long _lastIterationTime

    _pseudoTimeEnabled

    boolean _pseudoTimeEnabled

    _insideDirector

    Director _insideDirector

    _iteration

    int _iteration

    Class ptolemy.domains.gr.kernel.GRScheduler extends Scheduler implements Serializable

    Class ptolemy.domains.gr.kernel.Scene2DToken extends Token implements Serializable

    Serialized Fields

    _figure

    Figure _figure

    Class ptolemy.domains.gr.kernel.Scene2DToken.Scene2DType extends java.lang.Object implements Serializable

    Class ptolemy.domains.gr.kernel.SceneGraphToken extends Token implements Serializable

    Serialized Fields

    _node

    javax.media.j3d.Node _node

    Class ptolemy.domains.gr.kernel.SceneGraphToken.SceneGraphType extends java.lang.Object implements Serializable


    Package ptolemy.domains.gr.lib

    Class ptolemy.domains.gr.lib.Box2D extends GRShape2D implements Serializable

    Class ptolemy.domains.gr.lib.Box3D extends GRShadedShape implements Serializable

    Serialized Fields

    xLength

    Parameter xLength
    The length of the box in the x-axis. This has type double with default 0.1.


    yHeight

    Parameter yHeight
    The height of the box in the y-axis. This has type double with default 0.1.


    zWidth

    Parameter zWidth
    The width of the box in the z-axis. This has type double with default 0.1.


    _scaleTransform

    javax.media.j3d.Transform3D _scaleTransform
    If changes to the dimensions are allowed, this is the transform that applies them.


    _containedNode

    javax.media.j3d.Node _containedNode
    The box.

    Class ptolemy.domains.gr.lib.CircularSweep3D extends GRShadedShape implements Serializable

    Serialized Fields

    polyline

    Parameter polyline
    The line segment array that is to be swept. This is an array of doubles that defaults to a square with sides of 0.25 shifted right from the origin so its left edge is at x = 0.25. This results in an annular sweep.


    angleSpan

    Parameter angleSpan
    The span of sweep angle. This is a double that defaults to "2.0 * PI".


    slices

    Parameter slices
    The number of slices. This is an integer that defaults to 32. Higher numbers result in a smoother sweep.


    _containedNode

    javax.media.j3d.Shape3D _containedNode
    The contained node.

    Class ptolemy.domains.gr.lib.Cone3D extends GRShadedShape implements Serializable

    Serialized Fields

    circleDivisions

    Parameter circleDivisions
    The number of divisions in the circle forming the base of the cone. This is an integer with default value "max(6, roundToInt(radius * 100))". This parameter determines the resolution of the cone, which is approximated as a surface composed of triangular facets. Increasing this value makes the surface smoother, but also increases the cost of rendering.


    height

    Parameter height
    The height of the cone. This is a double that defaults to 0.5.


    sideDivisions

    Parameter sideDivisions
    The number of divisions on the side of the cone. This is an integer with default value "1". This parameter probably only needs to change when the wireFrame parameter is set to true.


    radius

    Parameter radius
    The radius of the base of the cone. This is a double that defaults to 0.7.


    _scaleTransform

    javax.media.j3d.Transform3D _scaleTransform
    If changes to the dimensions are allowed, this is the transform that applies them.


    _containedNode

    javax.media.j3d.Node _containedNode
    The cone.

    Class ptolemy.domains.gr.lib.Cylinder3D extends GRShadedShape implements Serializable

    Serialized Fields

    circleDivisions

    Parameter circleDivisions
    The number of divisions in the circles forming the ends of the cylinder. This is an integer with default value "max(6, roundToInt(radius * 100))". This parameter determines the resolution of the cylinder, which is approximated as a surface composed of rectangular facets. Increasing this value makes the surface smoother, but also increases the cost of rendering.


    height

    Parameter height
    The height of the cylinder. This is a double with default 0.7.


    sideDivisions

    Parameter sideDivisions
    The number of divisions on the side of the cone. This is an integer with default value "1". This parameter probably only needs to change when the wireFrame option is set to true.


    radius

    Parameter radius
    The radius of the cylinder. This is a double with default 0.5.


    _scaleTransform

    javax.media.j3d.Transform3D _scaleTransform
    If changes to the radius are allowed, this is the transform that applies them.


    _containedNode

    javax.media.j3d.Node _containedNode
    The contained cylinder.

    Class ptolemy.domains.gr.lib.Ellipse2D extends RectangularFigure2D implements Serializable

    Class ptolemy.domains.gr.lib.GRShadedShape extends GRActor3D implements Serializable

    Serialized Fields

    allowRuntimeChanges

    Parameter allowRuntimeChanges
    If true, then changes to parameter values can be made during execution of the model. This is a boolean that defaults to false.


    diffuseColor

    ColorAttribute diffuseColor
    The diffuse color, which is the color of the object reflecting illumination. Note that the alpha value (the fourth element of the array), which would normally specify transparency, is ignored. The default color is grey.


    emissiveColor

    ColorAttribute emissiveColor
    The emissive color, which is a color that does not depend on ambient illumination. Note that the alpha value (the fourth element of the array), which would normally specify transparency, is ignored. The default color is black, which means that there is no emissive color (illumination is required).


    sceneGraphOut

    TypedIOPort sceneGraphOut
    The output port for connecting to other GR Actors in the scene graph. The type is SceneGraphToken.


    shininess

    DoubleRangeParameter shininess
    The shininess of the 3D shape. This parameter should contain a DoubleToken in the range 1.0 to 128.0, where 1.0 represents not shiny and 128.0 represents very shiny. This is a double with default 1.0.


    specularColor

    ColorAttribute specularColor
    The specular color, which is a color of a highlight reflecting ambient illumination. Note that the alpha value (the fourth element of the array), which would normally specify transparency, is ignored. The default color is white, which means that the illumination is reflected white.


    texture

    FileParameter texture
    Texture URL, which if non-empty, specifies an image file or URL. The image from the file is mapped onto the shape as a texture.


    transparency

    DoubleRangeParameter transparency
    The transparency, where 0.0 means opaque (the default) and 1.0 means fully transparent. The type is double.


    wireFrame

    Parameter wireFrame
    If true, render the shape using a wire frame. This is a boolean that defaults to false.


    flat

    Parameter flat
    If true, render the facets flat rather than rounded. This is a boolean that defaults to false.


    _appearance

    javax.media.j3d.Appearance _appearance
    The appearance of this 3D object.


    _changesAllowedNow

    boolean _changesAllowedNow
    Indicator that changes are currently allowed.


    _coloringAttributes

    javax.media.j3d.ColoringAttributes _coloringAttributes
    The coloring attributes, or null if not created.


    _material

    javax.media.j3d.Material _material
    The material of this 3D object.


    _polygonAttributes

    javax.media.j3d.PolygonAttributes _polygonAttributes
    Polygon attributes.


    _transparencyAttributes

    javax.media.j3d.TransparencyAttributes _transparencyAttributes
    The transparency attributes, or null if not created.

    Class ptolemy.domains.gr.lib.GRShape2D extends GRActor2D implements Serializable

    Serialized Fields

    sceneGraphOut

    TypedIOPort sceneGraphOut
    The output port for connecting to other GR Actors in the scene graph.


    rgbFillColor

    ColorAttribute rgbFillColor
    The red, green, blue, and alpha components of the interior color of the figure. This parameter must contain an array of double values. The default value is {1.0, 1.0, 1.0, 1.0}, corresponding to opaque white.


    rgbOutlineColor

    ColorAttribute rgbOutlineColor
    The red, green, blue and alpha components of the outline color of the figure. This parameter must contain an array of double values. The default value is {0.0, 0.0, 0.0, 1.0}, corresponding to opaque black.


    outlineWidth

    Parameter outlineWidth
    The width of the figure's outline. This parameter must contain a DoubleToken. The default value is 1.0.


    _figure

    BasicFigure _figure
    The figure represented by this actor.

    Class ptolemy.domains.gr.lib.GRTransform extends GRActor3D implements Serializable

    Serialized Fields

    accumulate

    Parameter accumulate
    Boolean value determining whether transformations are accumulated or reset for each firing.


    sceneGraphIn

    TypedIOPort sceneGraphIn
    The input port for connecting to other GR Actors in the scene graph.


    sceneGraphOut

    TypedIOPort sceneGraphOut
    The output port for connecting to other GR Actors in the scene graph.

    Class ptolemy.domains.gr.lib.GRTransform2D extends GRActor2D implements Serializable

    Serialized Fields

    accumulate

    Parameter accumulate
    Boolean value determining whether transformations are accumulated or reset for each firing.


    sceneGraphIn

    TypedIOPort sceneGraphIn
    The input port for connecting to other GR Actors in the scene graph.


    sceneGraphOut

    TypedIOPort sceneGraphOut
    The output port for connecting to other GR Actors in the scene graph.


    _figure

    CompositeFigure _figure

    Class ptolemy.domains.gr.lib.Image2D extends GRActor2D implements Serializable

    Serialized Fields

    fileOrURL

    FileParameter fileOrURL
    The location of the image file upon which to base the figure.


    sceneGraphOut

    TypedIOPort sceneGraphOut
    The output port that produces the figure.


    _figure

    ImageFigure _figure
    The figure which contains the image file.

    Class ptolemy.domains.gr.lib.KeyInput3D extends GRActor3D implements Serializable

    Serialized Fields

    keycode

    TypedIOPort keycode
    An output port that contains the keycode for a key pressed on the viewscreen. The default type is int.


    _userInputNode

    javax.media.j3d.BranchGroup _userInputNode
    The BranchGroup to which is listened for key presses.


    _hasData

    boolean _hasData
    True if this actor has data.


    _react

    KeyInput3D.React _react

    _keycode

    char _keycode

    Class ptolemy.domains.gr.lib.KeyInput3DProbe extends KeyInput3D implements Serializable

    Class ptolemy.domains.gr.lib.Line2D extends GRActor2D implements Serializable

    Serialized Fields

    sceneGraphOut

    TypedIOPort sceneGraphOut
    The output port for connecting to other GR Actors in the scene graph.


    lineWidth

    Parameter lineWidth
    The width of the figure's outline. This parameter must contain a DoubleToken. The default value is 1.0.


    rgbColor

    ColorAttribute rgbColor
    The red, green, blue, and alpha components of the line. This parameter must contain an array of double values. The default value is {0.0, 0.0, 0.0, 1.0}, corresponding to opaque black.


    xStart

    Parameter xStart
    The x coordinate of the line's start position in the view screen.


    yStart

    Parameter yStart
    The y coordinate of the line's start position in the view screen.


    xEnd

    Parameter xEnd
    The x coordinate of the line's end position in the view screen.


    yEnd

    Parameter yEnd
    The y coordinate of the line's end position in the view screen.


    _figure

    BasicFigure _figure

    Class ptolemy.domains.gr.lib.MouseInput3D extends GRActor3D implements Serializable

    Serialized Fields

    x

    TypedIOPort x
    An output port containing an integer representing the X coordinate of the mouse.


    y

    TypedIOPort y
    An output port containing an integer representing the Y coordinate of the mouse.


    _containedNode

    javax.media.j3d.BranchGroup _containedNode
    The user input BranchGroup node contained by this actor.


    _react

    MouseInput3D.React _react

    _hasData

    boolean _hasData

    _xClicked

    int _xClicked

    _yClicked

    int _yClicked

    Class ptolemy.domains.gr.lib.MovableViewScreen3D extends ViewScreen3D implements Serializable

    Serialized Fields

    viewerPosition

    PortParameter viewerPosition
    A double array representing the (x,y,z) position of the view frame relative to the virtual universe. By default, this value is (0,0,2.4).


    viewerRotationAxis

    PortParameter viewerRotationAxis
    A double array representing an axis of rotation for the view frame. By default, when you look at the view screen, you are looking in the (0.0, 0.0, -1.0) direction of the virtual universe. Your right is the (1.0, 0.0, 0.0) direction, and up is the (0.0, 1.0, 0.0) direction. In this situtation, the frame describing the viewer has its positive z-axis going from the screen to you. It's positive x-axis points right, and it's positve y-axis points up. When the viewerRotationAxis and the viewerRotationAngle are provided, the ViewScreen frame is rotated counterclockwise around the viewerRotationAxis by the viewerRotationAngle.


    viewerRotationAngle

    PortParameter viewerRotationAngle
    A double value representing the angle, in radians, of rotation about the viewerRotationAxis.


    _position

    ArrayToken _position

    _axis

    ArrayToken _axis

    _angle

    DoubleToken _angle

    _initialPosition

    ArrayToken _initialPosition

    _initialAxis

    ArrayToken _initialAxis

    _initialAngle

    DoubleToken _initialAngle

    Class ptolemy.domains.gr.lib.PolyCylinder3D extends GRShadedShape implements Serializable

    Serialized Fields

    polygon

    Parameter polygon
    The polygonal shape of the base This parameter should contain a ArrayToken with an even number of DoubleToken values. The default shape for this polygon is a triangle


    thickness

    Parameter thickness
    The thickness of the generalized cylinder This parameter should contain a DoubleToken. The default value of this parameter is the DoubleToken 0.3


    _containedNode

    javax.media.j3d.Shape3D _containedNode
    The contained shape.

    Class ptolemy.domains.gr.lib.Rectangle2D extends RectangularFigure2D implements Serializable

    Serialized Fields

    arcWidth

    Parameter arcWidth
    The width of the arc rounding the rectangle if applicable.


    arcHeight

    Parameter arcHeight
    The height of the arc rounding the rectangle if applicable.

    Class ptolemy.domains.gr.lib.RectangularFigure2D extends GRShape2D implements Serializable

    Serialized Fields

    xPosition

    Parameter xPosition
    The initial x position (of type double) of the figure, before additional transformations. The default value is 0.0.


    yPosition

    Parameter yPosition
    The initial y position (of type double) of the figure, before additional transformations. The default value is 0.0.


    width

    Parameter width
    The initial width of the bounding rectangle (of type double) of the figure, before additional transformations. The default value is 50.0.


    height

    Parameter height
    The initial height of the bounding rectangle (of type double) of the figure, before additional transformations. The default value is 50.0.

    Class ptolemy.domains.gr.lib.Rotate2D extends GRTransform2D implements Serializable

    Serialized Fields

    theta

    TypedIOPort theta
    The angle the figure is to be rotated by, measured clockwise from the positive X-axis on a Cartesian plane. The default double value is 0.0.


    anchorX

    TypedIOPort anchorX
    The X coordinate of the point the figure is to be rotated about. The default double value is 0.0.


    anchorY

    TypedIOPort anchorY
    The Y coordinate of the point the figure is to be rotated about. The default double value is 0.0.


    initialTheta

    Parameter initialTheta
    The initial angle of rotation. The default double value is 0.0.


    initialAnchorX

    Parameter initialAnchorX
    The initial x-coordinate of the anchor point. The default double value is 0.0.


    initialAnchorY

    Parameter initialAnchorY
    The initial y-coordinate of the anchor point. The default double value is 0.0.


    angleType

    StringAttribute angleType
    How the angle is specified. Can be degrees or radians (default).


    _oldAngle

    double _oldAngle

    _oldAnchorX

    double _oldAnchorX

    _oldAnchorY

    double _oldAnchorY

    Class ptolemy.domains.gr.lib.Rotate3D extends GRTransform implements Serializable

    Serialized Fields

    angle

    TypedIOPort angle
    The amount of rotation during firing. If this transform is in accumulate mode, the angle value is accumulated for each firing.


    initialAngle

    Parameter initialAngle
    The initial angle of rotation. This parameter should contain a DoubleToken. The default value of this parameter is 0.0.


    axisDirection

    Parameter axisDirection
    The direction of the axis of rotation. The parameter should contain a DoubleMatrixToken The default value of this parameter is [0.0, 1.0, 0.0]


    pivotLocation

    PortParameter pivotLocation
    The pivot location of the axis of rotation. This parameter should contain a DoubleMatrixToken The default value of this parameter is [0.0, 0.0, 0.0]


    _xAxis

    double _xAxis

    _yAxis

    double _yAxis

    _zAxis

    double _zAxis

    _baseX

    double _baseX

    _baseY

    double _baseY

    _baseZ

    double _baseZ

    _topTranslate

    javax.media.j3d.TransformGroup _topTranslate

    _middleRotate

    javax.media.j3d.TransformGroup _middleRotate

    _bottomTranslate

    javax.media.j3d.TransformGroup _bottomTranslate

    _rotation

    javax.media.j3d.Transform3D _rotation

    _accumulatedAngle

    double _accumulatedAngle

    Class ptolemy.domains.gr.lib.Scale2D extends GRTransform2D implements Serializable

    Serialized Fields

    initialScaleFactorX

    Parameter initialScaleFactorX
    The initial scale factor of the figure in the x direction.


    initialScaleFactorY

    Parameter initialScaleFactorY
    The initial scale factor of the figure in the y direction.


    scaleFactorX

    TypedIOPort scaleFactorX
    The factor by which to increase the figure size on the x-axis.


    scaleFactorY

    TypedIOPort scaleFactorY
    The factor by which to increase the figure size on the y-axis.


    _oldScaleFactorX

    double _oldScaleFactorX

    _oldScaleFactorY

    double _oldScaleFactorY

    Class ptolemy.domains.gr.lib.Scale3D extends GRTransform implements Serializable

    Serialized Fields

    scaleInput

    TypedIOPort scaleInput
    The amount of rescaling during firing. If this transform is in accumulate mode, the scaling value is accumulated


    scaleFactor

    Parameter scaleFactor
    The scale factor. This parameter should contain a DoubleToken. The default value of this parameter is the DoubleToken 1.0


    xScale

    Parameter xScale
    The scale factor in the Cartesian x-axis. This parameter should contain a DoubleToken. The default value of this parameter is the DoubleToken 1.0


    yScale

    Parameter yScale
    The scale factor in the Cartesian y-axis. This parameter should contain a DoubleToken. The default value of this parameter is the DoubleToken 1.0


    zScale

    Parameter zScale
    The scale factor in the Cartesian z-axis. This parameter should contain a DoubleToken. The default value of this parameter is the DoubleToken 1.0


    _transformNode

    javax.media.j3d.TransformGroup _transformNode
    The encapsulated Java 3D node of this actor.


    _scaleXState

    double _scaleXState

    _scaleYState

    double _scaleYState

    _scaleZState

    double _scaleZState

    Class ptolemy.domains.gr.lib.Sphere3D extends GRShadedShape implements Serializable

    Serialized Fields

    divisions

    Parameter divisions
    The number of divisions in the sphere. This is an integer with default value "max(6, roundToInt(radius * 300))". This parameter determines the resolution of the sphere, which is approximated as a surface composed of triangular facets. Increasing this value makes the surface smoother, but also increases the cost of rendering.


    radius

    Parameter radius
    The radius of the sphere. This is a double with default 0.1.


    _scaleTransform

    javax.media.j3d.Transform3D _scaleTransform
    If changes to the radius are allowed, this is the transform that applies them.


    _containedNode

    javax.media.j3d.Node _containedNode
    The sphere.

    Class ptolemy.domains.gr.lib.TextString3D extends GRShadedShape implements Serializable

    Serialized Fields

    alignment

    StringParameter alignment
    The alignment of the text. This is a string that defaults to "center". The recognized values are "center", "first", and "last". A value of "first" means that the first character is put on the position of the object, whereas "last" means that the last character is put on the position. Note that "left" and "right" would make no sense, since the orientation is arbitrary.


    extrusionDepth

    Parameter extrusionDepth
    The depth of the extrusion of the text. This is a double that defaults to 0.2.


    fontFamily

    StringParameter fontFamily
    The font family. This is a string that defaults to "SansSerif", a font that is guaranteed by Java to always be present.


    fontSize

    Parameter fontSize
    The font size. This is a double that defaults to 1.0.


    text

    PortParameter text
    The text to display.


    _containedNode

    javax.media.j3d.Node _containedNode
    The node.


    _scaleTransform

    javax.media.j3d.Transform3D _scaleTransform
    If changes to the font size are allowed, this is the transform that applies them.


    _textGeometry

    javax.media.j3d.Text3D _textGeometry
    The text geometry.

    Class ptolemy.domains.gr.lib.Torus3D extends GRShadedShape implements Serializable

    Serialized Fields

    crossSectionRadius

    Parameter crossSectionRadius
    The radius of the torus cross-section This parameter should contain a DoubleToken.


    hullRadius

    Parameter hullRadius
    The radius of the torus outer hull This parameter should contain a DoubleToken.


    angleSpan

    Parameter angleSpan
    The span of torus sweep angle This parameter should contain a DoubleToken.


    slices

    Parameter slices
    The number of slices This parameter should contain a IntToken.


    _containedNode

    javax.media.j3d.Shape3D _containedNode

    Class ptolemy.domains.gr.lib.Translate2D extends GRTransform2D implements Serializable

    Serialized Fields

    xTranslate

    TypedIOPort xTranslate
    The amount of translation in the x-axis during firing. If this transform is in accumulate mode, the translation value is accumulated for each firing.


    yTranslate

    TypedIOPort yTranslate
    The amount of translation in the y-axis during firing. If this transform is in accumulate mode, the translation value is accumulated for each firing.


    initialXTranslation

    Parameter initialXTranslation
    The initial translation in the x-axis This parameter should contain a DoubleToken. The default value of this parameter is 0.0.


    initialYTranslation

    Parameter initialYTranslation
    The initial translation in the y-axis This parameter should contain a DoubleToken. The default value of this parameter is 0.0.

    Class ptolemy.domains.gr.lib.Translate3D extends GRTransform implements Serializable

    Serialized Fields

    xTranslate

    TypedIOPort xTranslate
    The amount of translation in the x-axis during firing. If this transform is in accumulate mode, the translation value is accumulated for each firing.


    yTranslate

    TypedIOPort yTranslate
    The amount of translation in the y-axis during firing. If this transform is in accumulate mode, the translation value is accumulated for each firing.


    zTranslate

    TypedIOPort zTranslate
    The amount of translation in the z-axis during firing. If this transform is in accumulate mode, the translation value is accumulated for each firing.


    initialXTranslation

    Parameter initialXTranslation
    The initial translation in the x-axis This parameter should contain a DoubleToken. The default value of this parameter is 0.0.


    initialYTranslation

    Parameter initialYTranslation
    The initial translation in the y-axis This parameter should contain a DoubleToken. The default value of this parameter is 0.0.


    initialZTranslation

    Parameter initialZTranslation
    The initial translation in the z-axis This parameter should contain a DoubleToken. The default value of this parameter is 0.0.


    _transformNode

    javax.media.j3d.TransformGroup _transformNode
    The encapsulated Java 3D node of this actor.


    _initialXTranslation

    double _initialXTranslation

    _initialYTranslation

    double _initialYTranslation

    _initialZTranslation

    double _initialZTranslation

    _accumulatedX

    double _accumulatedX

    _accumulatedY

    double _accumulatedY

    _accumulatedZ

    double _accumulatedZ

    Class ptolemy.domains.gr.lib.ViewScreen2D extends GRActor2D implements Serializable

    Serialized Fields

    backgroundColor

    ColorAttribute backgroundColor
    The red, green, blue, and alpha components of the background color of the viewscreen. This parameter must contain an array of double values. The default value is {1.0, 1.0, 1.0, 1.0}, corresponding to opaque white.


    sceneGraphIn

    TypedIOPort sceneGraphIn
    The input scene graph.


    horizontalPixels

    Parameter horizontalPixels
    The horizontal resolution of the display screen. This parameter should contain a IntToken. The default value of this parameter is the IntToken 400.


    rotatable

    Parameter rotatable
    Boolean variable that determines if the user is allowed to rotate the scene. This parameter should contain a BooleanToken. The default value of this parameter is BooleanToken true.


    scalable

    Parameter scalable
    Boolean variable that determines if the user is allowed to scale the scene. This parameter should contain a BooleanToken. The default value of this parameter is BooleanToken false.


    showAxes

    Parameter showAxes
    Boolean variable that determines if the axes crosshairs are shown This parameter should contain a BooleanToken. The default value of this parameter is BooleanToken true.


    translatable

    Parameter translatable
    Boolean variable that determines if the user is allowed to translate the scene. This parameter should contain a BooleanToken. The default value of this parameter is BooleanToken false.


    verticalPixels

    Parameter verticalPixels
    The vertical resolution of the display screen. This parameter should contain a IntToken. The default value of this parameter is IntToken 400.


    upperLeftX

    Parameter upperLeftX
    The x coordinate of the canvas point visible in the upper left corner of the display screen.


    upperLeftY

    Parameter upperLeftY
    The y coordinate of the canvas point visible in the upper left corner of the display screen.


    lowerRightX

    Parameter lowerRightX
    The x coordinate of the canvas point visible in the lower right corner of the display screen.


    lowerRightY

    Parameter lowerRightY
    The y coordinate of the canvas point visible in the lower right corner of the display screen.


    _canvas

    JCanvas _canvas

    _container

    java.awt.Container _container

    _crosshairX

    BasicFigure _crosshairX

    _crosshairY

    BasicFigure _crosshairY

    _eventHandler

    ViewScreen2D.ViewScreen2DListener _eventHandler

    _eventLayer

    EventLayer _eventLayer

    _frame

    javax.swing.JFrame _frame

    _layer

    FigureLayer _layer

    _origin

    java.awt.geom.Point2D.Double _origin

    _originRelocatable

    boolean _originRelocatable

    _overlayLayer

    OverlayLayer _overlayLayer

    _selectedFigure

    Figure _selectedFigure

    Class ptolemy.domains.gr.lib.ViewScreen3D extends GRActor3D implements Serializable

    Serialized Fields

    sceneGraphIn

    TypedIOPort sceneGraphIn
    The input scene graph. Actors that produce 3D objects can be connected to this port for rendering. The type of this port is sceneGraph.


    backgroundColor

    ColorAttribute backgroundColor
    The background color. Note that the alpha value (the fourth element of the array), which would normally specify transparency, is ignored.


    horizontalResolution

    Parameter horizontalResolution
    The width in pixels of the display screen. The larger of the vertical or horizontal size will correspond by default to one unit of distance, so this parameter determines the horizontal resolution as well as the size of the display. This is an int with default 400.


    iterationSynchronized

    Parameter iterationSynchronized
    Boolean variable that determines whether screen update is done once per iteration. This is a boolean with default false.


    rotatable

    Parameter rotatable
    Boolean variable that determines whether the user can rotate the model with the mouse. This is a boolean with default true.


    scalable

    Parameter scalable
    Boolean variable that determines whether the user can move the point of view along the z axis using the mouse. This is a boolean with default false.


    showAxes

    Parameter showAxes
    Boolean variable that determines whether or not axes are shown. This parameter is a boolean with default false.


    translatable

    Parameter translatable
    Boolean variable that determines whether the user can translate the model with the mouse. This is a boolean with default false.


    verticalResolution

    Parameter verticalResolution
    The height in pixels of the display screen. The larger of the vertical or horizontal size will correspond by default to one unit of distance, so this parameter determines the horizontal resolution as well as the size of the display. This is an integer with default 400.


    _bounds

    javax.media.j3d.BoundingSphere _bounds
    The BoundingSphere.


    _branchRoot

    javax.media.j3d.BranchGroup _branchRoot
    The main connection branch that connects to the universe.


    _root

    javax.media.j3d.BranchGroup _root
    The connection branch to which incoming nodes connect.


    _canvas

    javax.media.j3d.Canvas3D _canvas
    The Java3D canvas component.


    _container

    java.awt.Container _container
    The container set in the place() method, or the content pane of the created frame if place was not called.


    _frame

    javax.swing.JFrame _frame
    The frame containing our canvas, if we created it.


    _iterationSynchronized

    boolean _iterationSynchronized
    True for manual rendering, false for default rendering.


    _lastTransform

    javax.media.j3d.Transform3D _lastTransform
    The last transform.


    _mouseRotate

    ViewScreen3D.MouseRotateView _mouseRotate
    The mouse rotate view.


    _simpleUniverse

    com.sun.j3d.utils.universe.SimpleUniverse _simpleUniverse
    The Java3D universe, displayed inside the canvas.


    _userTransformation

    javax.media.j3d.TransformGroup _userTransformation
    The user tranformation.


    Package ptolemy.domains.hdf.kernel

    Class ptolemy.domains.hdf.kernel.HDFDirector extends SDFDirector implements Serializable

    Serialized Fields

    scheduleCacheSize

    Parameter scheduleCacheSize
    A parameter representing the size of the schedule cache to use. If the value is less than or equal to zero, then schedules will never be discarded from the cache. The default value is 100.

    Note that the number of schedules in an HDF model can be exponential in the number of actors. Setting the cache size to a very large value is therefore not recommended if the model contains a large number of HDF actors.

    Class ptolemy.domains.hdf.kernel.HDFFSMDirector extends MultirateFSMDirector implements Serializable

    Serialized Fields

    _sendRequest

    boolean _sendRequest
    A flag indicating whether the FSM can send a change request. The controller in HDFFSMDirector can only send one request per global iteration.


    Package ptolemy.domains.modal.kernel

    Class ptolemy.domains.modal.kernel.AbstractActionsAttribute extends Action implements Serializable

    Serialized Fields

    _destinationNames

    java.util.List<E> _destinationNames
    List of destination names.


    _destinations

    java.util.List<E> _destinations
    List of destinations.


    _destinationsListVersion

    long _destinationsListVersion
    The workspace version number when the _destinations list is last updated.


    _parseTreeEvaluator

    ParseTreeEvaluator _parseTreeEvaluator
    The parse tree evaluator.


    _parseTrees

    java.util.List<E> _parseTrees
    The list of parse trees.


    _scope

    ParserScope _scope
    The scope.


    _numbers

    java.util.List<E> _numbers
    List of channels. Elements may be numbers or variable names.

    Class ptolemy.domains.modal.kernel.Action extends StringAttribute implements Serializable

    Class ptolemy.domains.modal.kernel.CommitActionsAttribute extends AbstractActionsAttribute implements Serializable

    Class ptolemy.domains.modal.kernel.Configurer extends CompositeActor implements Serializable

    Serialized Fields

    _configured

    NamedObj _configured

    Class ptolemy.domains.modal.kernel.Configurer.ContainmentExtender extends Attribute implements Serializable

    Class ptolemy.domains.modal.kernel.ContainmentExtender extends Attribute implements Serializable

    Class ptolemy.domains.modal.kernel.FSMActor extends CompositeEntity implements Serializable

    Serialized Fields

    finalStateNames

    StringAttribute finalStateNames
    Attribute specifying the names of the final states of this actor. This attribute is kept for backward compatibility only, and is set to expert visibility. To set the final states, set the isFinalState parameter of a States.


    initialStateName

    StringAttribute initialStateName
    Attribute specifying the name of the initial state of this actor. This attribute is kept for backward compatibility only, and is set to expert visibility. To set the initial state, set the isInitialState parameter of a State.


    stateDependentCausality

    Parameter stateDependentCausality
    Indicate whether input/output dependencies can depend on the state. By default, this is false (the default), indicating that a conservative dependency is provided by the causality interface. Specifically, if there is a dependency in any state, then the causality interface indicates that there is a dependency. If this is true, then a less conservative dependency is provided, indicating a dependency only if there can be one in the current state. If this is true, then upon any state transition, this actor issues a change request, which forces causality analysis to be redone. Note that this can be expensive.


    _currentState

    State _currentState
    Current state.


    _inputTokenMap

    java.util.Map<K,V> _inputTokenMap
    A map from ports to corresponding input variables.


    _lastChosenTransition

    Transition _lastChosenTransition
    The last chosen transition.


    _stopRequested

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


    _initialState

    State _initialState
    The initial state. This is package friendly so that State can access it.


    _causalityInterface

    CausalityInterface _causalityInterface
    The causality interface, if it has been created, for the case where the causality interface is not state dependent.


    _causalityInterfaceDirector

    Director _causalityInterfaceDirector
    The director for which the causality interface was created.


    _causalityInterfaces

    java.util.Map<K,V> _causalityInterfaces
    The causality interfaces by state, for the case where the causality interface is state dependent.


    _causalityInterfacesVersions

    java.util.Map<K,V> _causalityInterfacesVersions
    The workspace version for causality interfaces by state, for the case where the causality interface is state dependent.


    _connectionMaps

    java.util.Map<K,V> _connectionMaps

    _connectionMapsVersion

    long _connectionMapsVersion

    _currentConnectionMap

    java.util.Map<K,V> _currentConnectionMap

    _foundUnknown

    boolean _foundUnknown
    A flag indicating that unknown inputs were referenced in guards and/or output value expressions (when guards evaluate to true) in the most recently called enabledTransition() or chooseTransition().


    _identifierToPort

    java.util.HashMap<K,V> _identifierToPort
    A map that associates each identifier with the unique port that that identifier describes. This map is used to detect port names that result in ambiguous identifier bindings.


    _identifierToPortVersion

    long _identifierToPortVersion
    Version number for _identifierToPort.


    _newIteration

    boolean _newIteration

    _reachedFinalState

    boolean _reachedFinalState

    _receiversVersion

    long _receiversVersion

    _supportMultirate

    boolean _supportMultirate

    _tokenListArrays

    java.util.Hashtable<K,V> _tokenListArrays

    Class ptolemy.domains.modal.kernel.FSMDirector extends Director implements Serializable

    Serialized Fields

    controllerName

    StringAttribute controllerName
    Attribute specifying the name of the mode controller in the container of this director. This director must have a mode controller that has the same container as this director, otherwise an IllegalActionException will be thrown when action methods of this director are called.


    _currentLocalReceiverMap

    java.util.Map<K,V> _currentLocalReceiverMap
    Map from input ports of the modal model to the local receivers for the current state.


    _disabledActors

    java.util.Set<E> _disabledActors
    Actors that have returned false in postfire().


    _enabledRefinements

    java.util.List<E> _enabledRefinements
    The list of enabled actors that refines the current state.


    _indexOffset

    int _indexOffset
    The _indexOffset is set by FSMActor during initialization of destination refinements upon committing to a reset transition in order to ensure that the destination refinement views its index as one larger than the current index.


    _localReceiverMaps

    java.util.Map<K,V> _localReceiverMaps
    Stores for each state of the mode controller the map from input ports of the modal model to the local receivers when the mode controller is in that state.


    _stateRefinementsToPostfire

    java.util.List<E> _stateRefinementsToPostfire
    State refinements to postfire(), as determined by the fire() method.


    _transitionRefinementsToPostfire

    java.util.List<E> _transitionRefinementsToPostfire
    Transition refinements to postfire(), as determined by the fire() method.


    _controller

    FSMActor _controller
    Cached reference to mode controller.


    _controllerVersion

    long _controllerVersion
    Version of cached reference to mode controller.


    _currentOffset

    Time _currentOffset
    The current offset indicating how far behind environment time local time is.


    _lastChosenTransition

    Transition _lastChosenTransition
    The last chosen transition, or null if none was chosen.


    _localReceiverMapsVersion

    long _localReceiverMapsVersion
    Version of the local receiver maps.

    Class ptolemy.domains.modal.kernel.ModalDirector extends FSMDirector implements Serializable

    Class ptolemy.domains.modal.kernel.MultipleEnabledTransitionsException extends IllegalActionException implements Serializable

    Class ptolemy.domains.modal.kernel.MultirateFSMDirector extends FSMDirector implements Serializable

    Serialized Fields

    _reinitialize

    boolean _reinitialize
    A flag indicating whether the initialize method is called due to reinitialization.


    _refinementPostfire

    boolean _refinementPostfire
    The returned value of the postfire() method of the currentRefinement.

    Class ptolemy.domains.modal.kernel.NonStrictFSMDirector extends FSMDirector implements Serializable

    Serialized Fields

    _nonpreemptiveTransitionsInputs

    java.util.Set<E> _nonpreemptiveTransitionsInputs

    _outputActionReferredInputPorts

    java.util.Set<E> _outputActionReferredInputPorts

    _preemptiveTransitionsInputs

    java.util.Set<E> _preemptiveTransitionsInputs

    _referredInputPorts

    java.util.Set<E> _referredInputPorts

    _refinementReferredInputPorts

    java.util.Set<E> _refinementReferredInputPorts

    _setActionReferredInputPorts

    java.util.Set<E> _setActionReferredInputPorts

    Class ptolemy.domains.modal.kernel.OutputActionsAttribute extends AbstractActionsAttribute implements Serializable

    Class ptolemy.domains.modal.kernel.State extends ComponentEntity implements Serializable

    Serialized Fields

    incomingPort

    ComponentPort incomingPort
    The port linking incoming transitions.


    isFinalState

    Parameter isFinalState
    An indicator of whether this state is a final state. This is a boolean that defaults to false. Setting it to true will cause the containing FSMActor to return false from its postfire() method, which indicates to the director that the FSMActor should not be fired again.


    isInitialState

    Parameter isInitialState
    An indicator of whether this state is the initial state. This is a boolean that defaults to false, unless this state is the only one in the container, in which case it defaults to true. Setting it to true will cause this parameter to become false for whatever other state is currently the initial state in the same container.


    outgoingPort

    ComponentPort outgoingPort
    The port linking outgoing transitions.


    refinementName

    StringAttribute refinementName
    Attribute specifying one or more names of refinements. The refinements must be instances of TypedActor and have the same container as the FSMActor containing this state, otherwise an exception will be thrown when getRefinement() is called. Usually, the refinement is a single name. However, if a comma-separated list of names is provided, then all the specified refinements will be executed. This attribute has a null expression or a null string as expression when the state is not refined.


    saveRefinementsInConfigurer

    Parameter saveRefinementsInConfigurer
    A boolean attribute to decide refinements of this state should be exported as configurations of this state or not.


    _configureSource

    java.lang.String _configureSource

    _configurer

    Configurer _configurer

    _nonpreemptiveTransitionList

    java.util.List<E> _nonpreemptiveTransitionList

    _preemptiveTransitionList

    java.util.List<E> _preemptiveTransitionList

    _refinement

    TypedActor[] _refinement

    _refinementVersion

    long _refinementVersion

    _transitionListVersion

    long _transitionListVersion

    Class ptolemy.domains.modal.kernel.Transition extends ComponentRelation implements Serializable

    Serialized Fields

    annotation

    StringParameter annotation
    An annotation that describes the transition. If this is non-empty, then a visual editor will be expected to put this annotation on or near the transition to document its function. This is a string that defaults to the empty string. Note that it can reference variables in scope using the notation $name.


    defaultTransition

    Parameter defaultTransition
    Indicator that this transition is a default transition. A default transition is enabled only if no other non-default transition is enabled. This is a boolean with default value false. If the value is true, then the guard expression is ignored.


    exitAngle

    Parameter exitAngle
    Attribute the exit angle of a visual rendition. This parameter contains a DoubleToken, initially with value PI/5. It must lie between -PI and PI. Otherwise, it will be truncated to lie within this range.


    gamma

    Parameter gamma
    Attribute giving the orientation of a self-loop. This is equal to the tangent at the midpoint (more or less). This parameter contains a DoubleToken, initially with value 0.0.


    guardExpression

    StringAttribute guardExpression
    Attribute specifying the guard expression.


    nondeterministic

    Parameter nondeterministic
    Parameter specifying whether this transition is nondeterministic. Here nondeterministic means that this transition may not be the only enabled transition at a time. The default value is a boolean token with value as false, meaning that if this transition is enabled, it must be the only enabled transition.


    outputActions

    OutputActionsAttribute outputActions
    The action commands that produce outputs when the transition is taken.


    preemptive

    Parameter preemptive
    Parameter specifying whether this transition is preemptive.


    refinementName

    StringAttribute refinementName
    Attribute specifying one or more names of refinements. The refinements must be instances of TypedActor and have the same container as the FSMActor containing this state, otherwise an exception will be thrown when getRefinement() is called. Usually, the refinement is a single name. However, if a comma-separated list of names is provided, then all the specified refinements will be executed. This attribute has a null expression or a null string as expression when the state is not refined.


    reset

    Parameter reset
    Parameter specifying whether the refinement of the destination state is reset when the transition is taken.


    setActions

    CommitActionsAttribute setActions
    The action commands that set parameters when the transition is taken.


    _actionListsVersion

    long _actionListsVersion

    _choiceActionList

    java.util.List<E> _choiceActionList

    _commitActionList

    java.util.List<E> _commitActionList

    _destinationState

    State _destinationState

    _guardParseTree

    ASTPtRootNode _guardParseTree

    _guardParseTreeVersion

    long _guardParseTreeVersion

    _nondeterministic

    boolean _nondeterministic

    _parseTreeEvaluator

    ParseTreeEvaluator _parseTreeEvaluator

    _parseTreeEvaluatorVersion

    long _parseTreeEvaluatorVersion

    _refinement

    TypedActor[] _refinement

    _refinementVersion

    long _refinementVersion

    _sourceState

    State _sourceState

    _stateVersion

    long _stateVersion

    Package ptolemy.domains.modal.kernel.fmv

    Class ptolemy.domains.modal.kernel.fmv.FmvAutomaton extends FSMActor implements Serializable

    Serialized Fields

    _variableInfo

    java.util.HashMap<K,V> _variableInfo

    _variableTransitionInfo

    java.util.HashMap<K,V> _variableTransitionInfo

    Class ptolemy.domains.modal.kernel.fmv.FmvState extends State implements Serializable

    Serialized Fields

    isRiskAnalysisState

    Parameter isRiskAnalysisState
    A boolean parameter indicating that this state is a risk state. The default value is false.


    isReachabilityAnalysisState

    Parameter isReachabilityAnalysisState
    A boolean parameter indicating whether this state is a reachability analysis state. The default value is false.


    Package ptolemy.domains.modal.kernel.ia

    Class ptolemy.domains.modal.kernel.ia.InterfaceAutomaton extends FSMActor implements Serializable

    Serialized Fields

    _inputNames

    java.util.Set<E> _inputNames

    _outputNames

    java.util.Set<E> _outputNames

    _internalNames

    java.util.Set<E> _internalNames

    _illegalStates

    java.util.Set<E> _illegalStates

    Class ptolemy.domains.modal.kernel.ia.InterfaceAutomatonTransition extends Transition implements Serializable

    Serialized Fields

    label

    StringAttribute label
    The label of this transition. Must ends with "?" or "!" or ";"


    Package ptolemy.domains.modal.modal

    Class ptolemy.domains.modal.modal.Case extends ModalModel implements Serializable

    Serialized Fields

    control

    PortParameter control
    Deprecated. 
    The input port-parameter on which the control token is provided. This can have any type, and is initialized with a default value of true.


    _state

    State _state
    Deprecated. 
    The one and only state.


    _default

    Refinement _default
    Deprecated. 
    The default refinement.

    Class ptolemy.domains.modal.modal.ModalController extends FSMActor implements Serializable

    Serialized Fields

    _mirrorDisable

    boolean _mirrorDisable
    Indicator that we are processing a newPort request.

    Class ptolemy.domains.modal.modal.ModalModel extends TypedCompositeActor implements Serializable

    Serialized Fields

    directorClass

    StringParameter directorClass
    A director class name. The default value and the list of choices are obtained from the suggestedModalModelDirectors() method of the executive director. If there is no executive director, then the default is "ptolemy.domains.modal.kernel.FSMDirector".


    stateDependentCausality

    Parameter stateDependentCausality
    Indicate whether input/output dependencies can depend on the state. By default, this is false (the default), indicating that a conservative dependency is provided by the causality interface. Specifically, if there is a dependency in any state, then the causality interface indicates that there is a dependency. If this is true, then a less conservative dependency is provided, indicating a dependency only if there can be one in the current state. If this is true, then upon any state transition, this actor issues a change request, which forces causality analysis to be redone. Note that this can be expensive.


    _controller

    FSMActor _controller
    The FSM controller.


    _causalityInterfaces

    java.util.Map<K,V> _causalityInterfaces
    The causality interfaces by state, for the case where the causality interface is state dependent.


    _causalityInterfacesVersions

    java.util.Map<K,V> _causalityInterfacesVersions
    The workspace version for causality interfaces by state, for the case where the causality interface is state dependent.

    Class ptolemy.domains.modal.modal.ModalPort extends TypedIOPort implements Serializable

    Class ptolemy.domains.modal.modal.ModalRefinement extends ModalModel implements Serializable

    Serialized Fields

    _mirrorDisable

    int _mirrorDisable
    Indicator that we are processing a newPort request from above (if 1) or below (if -1) in the hierarchy.

    Class ptolemy.domains.modal.modal.ModalRefinementPort extends RefinementPort implements Serializable

    Class ptolemy.domains.modal.modal.Refinement extends TypedCompositeActor implements Serializable

    Serialized Fields

    _mirrorDisable

    boolean _mirrorDisable
    Indicator that we are processing a newPort request.


    _accumulatedSuspendTime

    Time _accumulatedSuspendTime
    Accumulated time that this actor has been suspended since initialize().


    _lastSuspendTime

    Time _lastSuspendTime
    The environment time when this refinement was last suspended (that is, the enclosing state was exited). This is null if the actor has not been suspended since initialize() or resume() has been called more recently than suspend().

    Class ptolemy.domains.modal.modal.RefinementExtender extends Attribute implements Serializable

    Serialized Fields

    className

    StringParameter className
    The full name of the refinement class.


    description

    StringParameter description
    A string description of the refinement class, which is shown in the dialog for the user to choose a refinement to add.

    Class ptolemy.domains.modal.modal.RefinementPort extends TypedIOPort implements Serializable

    Serialized Fields

    _automaticallyInput

    boolean _automaticallyInput
    Indicator that the port is automatically an input port because it was set to be an output port. This automatic change is made in output ports of the ModalController so that if a refinement writes to its output port, then that data is available in scope for the guard expressions.


    _mirrorDisable

    boolean _mirrorDisable
    If false, then changes the port are mirrored in the container's container. This is false by default.

    Class ptolemy.domains.modal.modal.RefinementSuggestion extends Attribute implements Serializable

    Serialized Fields

    refinementClassName

    StringParameter refinementClassName
    The suggested class name of the refinement.

    Class ptolemy.domains.modal.modal.TransitionRefinement extends Refinement implements Serializable

    Class ptolemy.domains.modal.modal.TransitionRefinementPort extends RefinementPort implements Serializable

    Serialized Fields

    _hasSibling

    boolean _hasSibling
    Flag indicating if this port has a sibling. This flag should be set to true for all output ports and their associated input port siblings.


    Package ptolemy.domains.petrinet.kernel

    Class ptolemy.domains.petrinet.kernel.PetriNetActor extends TypedCompositeActor implements Serializable

    Class ptolemy.domains.petrinet.kernel.PetriNetDirector extends Director implements Serializable

    Class ptolemy.domains.petrinet.kernel.Place extends Transformer implements Serializable

    Serialized Fields

    initialMarking

    Parameter initialMarking
    The number of initial tokens in the place. This is an integer.


    _currentMarking

    int _currentMarking
    Current marking.


    _temporaryMarking

    int _temporaryMarking
    Temporary marking.


    Package ptolemy.domains.pn.kernel

    Class ptolemy.domains.pn.kernel.NondeterministicMerge extends TypedCompositeActor 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.


    channel

    TypedIOPort channel
    Output port used to indicate which input channel the current output came from. This has type int.

    Class ptolemy.domains.pn.kernel.PNDirector extends CompositeProcessDirector implements Serializable

    Serialized Fields

    initialQueueCapacity

    Parameter initialQueueCapacity
    The initial size of the queues for each communication channel. This is an integer that defaults to 1.


    maximumQueueCapacity

    Parameter maximumQueueCapacity
    The maximum size of the queues for each communication channel. This is an integer that defaults to 65536. To specify unbounded queues, set this to 0.


    _readBlockedQueues

    java.util.HashMap<K,V> _readBlockedQueues
    The set of processes blocked on a read from a receiver.


    _writeBlockedQueues

    java.util.HashMap<K,V> _writeBlockedQueues
    The set of receivers blocked on a write to a receiver.


    _processListeners

    java.util.LinkedList<E> _processListeners
    List of process listeners.


    _receivers

    java.util.LinkedList<E> _receivers
    The list of all receivers that this director has created.

    Class ptolemy.domains.pn.kernel.TimedPNDirector extends PNDirector implements Serializable

    Serialized Fields

    _eventQueue

    CalendarQueue _eventQueue
    The priority queue that stores the list of processes waiting for time to advance. These processes are sorted by the time they want to resume at.


    _delayBlockCount

    int _delayBlockCount
    The number of time-blocked processes. changed from private to protected on 7/13/08 by Patricia Derler


    Package ptolemy.domains.pn.lib

    Class ptolemy.domains.pn.lib.Starver extends Transformer implements Serializable

    Serialized Fields

    limit

    Parameter limit
    The limit on the number of tokens that can be transferred from the input to the output. This is an integer that defaults to 1. If the value is negative, then there is no limit.


    _count

    int _count
    The count of outputs that have been produced.


    Package ptolemy.domains.psdf.kernel

    Class ptolemy.domains.psdf.kernel.PSDFDirector extends SDFDirector implements Serializable

    Class ptolemy.domains.psdf.kernel.PSDFScheduler extends BaseSDFScheduler implements Serializable

    Serialized Fields

    _bufferSizeMap

    java.util.HashMap<K,V> _bufferSizeMap

    _debugFlag

    boolean _debugFlag

    _parseTreeEvaluator

    ParseTreeEvaluator _parseTreeEvaluator

    _parserScope

    ParserScope _parserScope

    Package ptolemy.domains.ptera.kernel

    Class ptolemy.domains.ptera.kernel.ActionsAttribute extends AbstractActionsAttribute implements Serializable

    Class ptolemy.domains.ptera.kernel.Event extends State implements Serializable

    Serialized Fields

    actions

    ActionsAttribute actions
    The actions for this event.


    isEndingEvent

    Parameter isEndingEvent
    A Boolean parameter that determines whether the event is the ending of a submodel, which means the outgoing scheduling relations from the event that the submodel is associated with should be evaluated. The difference between an ending event and a final event is that the latter also clears the submodel's local event queue, whereas the former doesn't. It just triggers the outgoing scheduling relations.


    isFinalEvent

    Parameter isFinalEvent
    A Boolean parameter to specify whether this event is a final event.


    isInitialEvent

    Parameter isInitialEvent
    A Boolean parameter to specify whether this event is an initial event.


    parameters

    ParametersAttribute parameters
    A list of formal parameters.


    _parserScope

    VariableScope _parserScope
    The parser scope used to execute actions and evaluate arguments.


    _parserScopeVersion

    long _parserScopeVersion
    Version of _parserScope.

    Class ptolemy.domains.ptera.kernel.Event.EventParameter extends Parameter implements Serializable

    Class ptolemy.domains.ptera.kernel.ParametersAttribute extends StringParameter implements Serializable

    Serialized Fields

    _parseTree

    ASTPtFunctionDefinitionNode _parseTree
    The parse tree of the expression with "function" added to the head and " 1" appended to the end.


    _parseTreeVersion

    long _parseTreeVersion
    Version of _parseTree.

    Class ptolemy.domains.ptera.kernel.PteraController extends ModalController implements Serializable

    Serialized Fields

    LIFO

    Parameter LIFO
    A Boolean parameter that decides whether simultaneous events should be placed in the event queue in the last-in-first-out (LIFO) fashion or not.


    director

    PteraDirector director
    The Ptera director contained by this controller.


    _executiveDirector

    Director _executiveDirector
    The last updated executive director.


    _executiveDirectorVersion

    long _executiveDirectorVersion
    The version of the workspace when _executiveDirector was updated.

    Class ptolemy.domains.ptera.kernel.PteraDirector extends Director implements Serializable

    Serialized Fields

    LIFO

    Parameter LIFO
    A Boolean parameter that decides whether simultaneous events should be placed in the event queue in the last-in-first-out (LIFO) fashion or not.


    controllerName

    StringAttribute controllerName
    Attribute specifying the name of the Ptera controller in the container of this director. This director must have a Ptera controller that has the same container as this director, otherwise an IllegalActionException will be thrown when action methods of this director are called.


    _controller

    PteraController _controller
    Cached reference to mode controller.


    _controllerVersion

    long _controllerVersion
    Version of cached reference to mode controller.


    _delegateFireAt

    boolean _delegateFireAt
    Whether fireAt() invocations should be delegated to the director at the higher level.


    _ending

    boolean _ending
    Whether an ending event is processed in the current firing.

    See Also:
    Event.isEndingEvent()

    _eventQueue

    java.util.List<E> _eventQueue
    The event queue.


    _eventsListeningToPorts

    java.util.Map<K,V> _eventsListeningToPorts
    A table that maps any port to the set of events that are listening to it during an execution.


    _eventsListeningToVariables

    java.util.Map<K,V> _eventsListeningToVariables
    A table that maps any variable to the set of events that are listening to it during an execution.


    _fireAtReceived

    boolean _fireAtReceived
    Whether fireAt() has been received from a refinement when that refinement is initialized.


    _initializedRefinements

    java.util.Set<E> _initializedRefinements
    The set of refinements that have been initialized and have not returned false in their directors' postfire().


    _realStartTime

    long _realStartTime
    The real time at which the execution started.

    Class ptolemy.domains.ptera.kernel.PteraModalModel extends ModalModel implements Serializable

    Class ptolemy.domains.ptera.kernel.SchedulingRelation extends Transition implements Serializable

    Serialized Fields

    arguments

    StringAttribute arguments
    The attribute for arguments. Its value must be evaluated to an ArrayToken or RecordToken, though this evaluation is performed only when this scheduling relation is to be considered by the starting event but not when this attribute is set by the designer.


    canceling

    Parameter canceling
    A Boolean-valued parameter that defines whether this scheduling relation is cancelling.


    delay

    StringAttribute delay
    The attribute for the model-time delay. Its value must be evaluated to a ScalarToken, though this evaluation is performed only when this scheduling relation is to be considered by the starting event but not when this attribute is set by the designer.


    priority

    Priority priority
    The priority of this scheduling relation.


    triggers

    StringParameter triggers
    A comma-separated list of port names and variable names to be monitored.


    _argumentsTree

    ASTPtRootNode _argumentsTree
    The parse tree of arguments.


    _argumentsTreeVersion

    long _argumentsTreeVersion
    Version of _argumentsTree.


    _delayTree

    ASTPtRootNode _delayTree
    The parse tree of delay.


    _delayTreeVersion

    long _delayTreeVersion
    Version of _delayTree.


    _parseTreeEvaluator

    ParseTreeEvaluator _parseTreeEvaluator
    The evaluated to evaluate all parse trees.


    Package ptolemy.domains.ptera.lib

    Class ptolemy.domains.ptera.lib.Configure extends Event implements Serializable

    Serialized Fields

    _ignoredParameters

    java.util.Set<E> _ignoredParameters
    Set of the names of parameters that should not be listed in the dialog for user input.


    _oldValues

    java.util.Map<K,V> _oldValues
    Old values of the parameters to receive user input.

    Class ptolemy.domains.ptera.lib.DebuggerParameter extends TableauParameter implements Serializable

    Serialized Fields

    columnsDisplayed

    Parameter columnsDisplayed
    The horizontal size of the display, in columns. This contains an integer, and defaults to 40.


    hierarchical

    Parameter hierarchical
    Whether debugging messages from lower levels of the model hierarchy should be displayed.


    log

    StringParameter log
    The recorded messages.


    mode

    ChoiceParameter mode
    The mode of this debugger, which is either "check log", "display", or "record log".


    rowsDisplayed

    Parameter rowsDisplayed
    The vertical size of the display, in rows. This contains an integer, and defaults to 10.


    _lineNumber

    int _lineNumber
    The current line number in the "check log" mode.


    _lines

    java.lang.String[] _lines
    The lines of the recorded messages in the "check log" mode.

    Class ptolemy.domains.ptera.lib.EventQueueDebugger extends SingletonAttribute implements Serializable

    Serialized Fields

    active

    Parameter active
    A Boolean parameter that determines whether this debugger is active.

    Class ptolemy.domains.ptera.lib.ListDirectory extends Event implements Serializable

    Serialized Fields

    directory

    FileParameter directory
    The director in which files are to be listed.


    files

    Parameter files
    A parameter with an ArrayToken containing strings that are names of the files matching the given filter in the specified directory. It is updated every time this event is fired.


    filter

    StringParameter filter
    The filter that all the included file names must match.


    includeDirectories

    Parameter includeDirectories
    Whether directory names should be included.


    includeFiles

    Parameter includeFiles
    Whether file names should be included.


    recursive

    Parameter recursive
    Whether files in the subdirectories should be searched as well.

    Class ptolemy.domains.ptera.lib.Plot extends Event implements Serializable

    Serialized Fields

    _configurer

    Configurer _configurer
    The configurer to contain the timed plotter.


    _plotter

    TimedPlotter _plotter
    The timed plotter used to plot the data.

    Class ptolemy.domains.ptera.lib.ReceiveInput extends Event implements Serializable

    Serialized Fields

    acceptableComponentType

    StringParameter acceptableComponentType
    The name of the class of the component that can accept user input, such as "java.awt.Button", or empty.


    acceptableKeyPattern

    StringParameter acceptableKeyPattern
    A string pattern in the Java regular expression used to match acceptable key input.


    componentType

    StringParameter componentType
    Class name of the component that actually receives the user input, which is automatically updated after the input is received.


    keyPressText

    StringParameter keyPressText
    The text of the key input, which is automatically updated after the input is received.


    mousePressLocation

    Parameter mousePressLocation
    Screen location of the mouse press, which is automatically updated after the input is received.


    receiveKeyPress

    Parameter receiveKeyPress
    A Boolean parameter to determine whether key presses are accepted.


    receiveMousePress

    Parameter receiveMousePress
    A Boolean parameter to determine whether mouse presses are accepted.


    referredTableau

    StringParameter referredTableau
    The parameter that contains the name of the TableauParameter to be used. It cannot be empty.


    timeAdvance

    Parameter timeAdvance
    The amount (in double) of model time advancement.


    _inputListeners

    java.util.List<E> _inputListeners
    The list of input listeners. The size can be greater than 1 when this event is processed multiple times and the previous processing has not finished.

    Class ptolemy.domains.ptera.lib.Report extends Event implements Serializable

    Serialized Fields

    columnsDisplayed

    Parameter columnsDisplayed
    The horizontal size of the display, in columns. This contains an integer, and defaults to 40.


    message

    StringParameter message
    The message to be displayed.


    mode

    ChoiceParameter mode
    The display mode.


    referredTableau

    StringParameter referredTableau
    The tableau parameter referred to, or an empty string.


    response

    Parameter response
    The last received yes-or-no response.


    rowsDisplayed

    Parameter rowsDisplayed
    The vertical size of the display, in rows. This contains an integer, and defaults to 10.


    tableau

    TableauParameter tableau
    The default tableau.

    Class ptolemy.domains.ptera.lib.SetTableau extends Event implements Serializable

    Serialized Fields

    alwaysOnTop

    Parameter alwaysOnTop
    Whether the tableau should be always on top.


    enabled

    Parameter enabled
    Whether controls in the tableau is enabled.


    focused

    Parameter focused
    Whether the tableau has the input focus.


    referredTableau

    StringParameter referredTableau
    The tableau to be set. This must not be an empty string.


    resizable

    Parameter resizable
    Whether the tableau is resizable.


    screenLocation

    Parameter screenLocation
    Location of the tableau, or [-1, -1] if not changed.


    screenSize

    Parameter screenSize
    Size of the tableau, or [-1, -1] if not changed.


    state

    ChoiceParameter state
    The iconified, maximized or normal state of the tableau.


    title

    StringParameter title
    The title of the tableau, or an empty string if not changed.


    visible

    Parameter visible
    Whether the tableau is visible.

    Class ptolemy.domains.ptera.lib.Sleep extends Event implements Serializable

    Serialized Fields

    sleepTime

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

    Class ptolemy.domains.ptera.lib.Stop extends Event implements Serializable

    Class ptolemy.domains.ptera.lib.SynchronizeToRealtime extends Parameter implements Serializable

    Class ptolemy.domains.ptera.lib.TableauParameter extends Parameter implements Serializable

    Class ptolemy.domains.ptera.lib.Test extends Event implements Serializable


    Package ptolemy.domains.ptinyos.gui

    Class ptolemy.domains.ptinyos.gui.NCCompositeActorTableauFactory extends ActorGraphTableau.Factory implements Serializable


    Package ptolemy.domains.ptinyos.kernel

    Class ptolemy.domains.ptinyos.kernel.NCCompositeActor extends TypeOpaqueCompositeActor implements Serializable

    Serialized Fields

    rotatePorts

    Parameter rotatePorts
    Relative orientation of ports on the icon of this actor. The default value is an integer value of 90 (input ports are on the top edge of the icon).

    Class ptolemy.domains.ptinyos.kernel.PtinyOSCompositeActor extends NCCompositeActor implements Serializable

    Serialized Fields

    packetIn

    TypedIOPort packetIn
    An input port of type String.


    packetOut

    TypedIOPort packetOut
    An output port of type String.

    Class ptolemy.domains.ptinyos.kernel.PtinyOSDirector extends Director implements Serializable

    Serialized Fields

    baseStation

    SharedParameter baseStation
    Specifies the name of the base station as a string value. The value defaults to the string "\"MicaBoard\"".


    bootTimeRange

    Parameter bootTimeRange
    TOSSIM setting for the number of seconds over which nodes may boot. The node(s) boots at a random time within this time frame (time starts at 0 seconds). The value defaults to 10 and is of type IntToken.


    commandPort

    PtinyOSNodeParameter commandPort
    Port number for the TOSSIM command server socket. The value defaults to 10584.


    confirmOverwrite

    Parameter confirmOverwrite
    Flag to ask for confirmation before overwriting. If false, then overwrite the specified file without asking, if the file exists. If true, then ask for confirmation before overwriting, if the file exists. The value defaults to false, and is of type BooleanToken.


    destinationDirectory

    FileParameter destinationDirectory
    Output directory for generated code. The value defaults to the current working directory (the ptII expression $CWD).


    eventPort

    Parameter eventPort
    Port number for the TOSSIM event server socket. This is a public value so that the port number can be set by hand, if necessary. The value defaults to (commandPort + 1).


    nodeID

    PtinyOSNodeParameter nodeID
    Node ID of this node. This is a substitute for TOS_LOCAL_ADDRESS, which in TOSSIM is normally set to the node array index. However, we assume only one node per TOSSIM. To avoid all nodes being set to the same ID, we use this parameter. In practice, the range is limited by numberOfNodes, and should be such that enough network ports are available for each instance of commandPort and eventPort, though this is not enforced. The value defaults to 1. Normally, the value of this parameter does not need to be changed, since the use of the PtinyOSNodeParameter type for this parameter will cause the value of the node ID to be automatically incremented for each new node in the model. Users should only change this parameter to force a node to have a particular node ID value.


    numberOfNodes

    Parameter numberOfNodes
    Number of nodes to simulate per instance of TOSSIM. The value defaults to 1, is of type IntToken, and is set to be NOT_EDITABLE.


    pflags

    StringParameter pflags
    Additional flags passed to the nesC compiler. This can be used, for example, to include additional compilation directories. The value defaults to "-I%T/lib/Counters". "-I" is the normal gcc include directory option. "%T" is a nesC compiler flag that is equivalent to the value of $TOSDIR.


    simulate

    SharedParameter simulate
    Flag for choosing whether to simulate the model in ptII. The value defaults to true, and is of type BooleanToken. If false, this director only generates files and does not atempt to simulate the model.


    target

    StringParameter target
    Compilation target for the generated nesC code. Target can be any TinyOS-compatible target, such as mica, mica2, pc, or ptII. The value defaults to "ptII". If target is blank, but simulate is true, then the model will assume that the ptII target has already been compiled and will attempt to simulate.


    tosDir

    FileParameter tosDir
    Path to the tos directory of the TinyOS tree. TinyOS can be obtained from http://www.tinyos.net. The value defaults to $PTII/vendors/ptinyos/tinyos-1.x/tos


    tosRoot

    FileParameter tosRoot
    Path to the root of the TinyOS tree. TinyOS can be obtained from http://www.tinyos.net. The value defaults to $PTII/vendors/ptinyos/tinyos-1.x


    _loader

    PtinyOSLoader _loader

    _version

    long _version

    _startTime

    long _startTime

    Class ptolemy.domains.ptinyos.kernel.PtinyOSNodeParameter extends SharedParameter implements Serializable

    Serialized Fields

    _incrementValue

    int _incrementValue
    Value by which to increment other occurrences of this parameter.


    Package ptolemy.domains.ptinyos.lib

    Class ptolemy.domains.ptinyos.lib.MicaCompositeActor extends PtinyOSCompositeActor implements Serializable

    Serialized Fields

    photo

    PortParameter photo
    Persistent photosensor input data. The default value is a DoubleToken with value 0. The valid range is between 0 and 0x3FF.


    temperature

    PortParameter temperature
    Persistent temperature input data. The default value is a DoubleToken with value 0. The valid range is between 0 and 0x3FF.


    microphone

    PortParameter microphone
    Persistent microphone input data. The default value is a DoubleToken with value 0. The valid range is between 0 and 0x3FF.


    accelerometerX

    PortParameter accelerometerX
    Persistent accelerometer (x-axis) input data. The default value is a DoubleToken with value 0. The valid range is between 0 and 0x3FF.


    accelerometerY

    PortParameter accelerometerY
    Persistent accelerometer (y-axis) input data. The default value is a DoubleToken with value 0. The valid range is between 0 and 0x3FF.


    magnetometerX

    PortParameter magnetometerX
    Persistent magnetometer (x-axis) input data. The default value is a DoubleToken with value 0. The valid range is between 0 and 0x3FF.


    magnetometerY

    PortParameter magnetometerY
    Persistent magnetometer (y-axis) input data. The default value is a DoubleToken with value 0. The valid range is between 0 and 0x3FF.


    ledRed

    TypedIOPort ledRed
    Red LED output port. The default type is BooleanToken.


    ledGreen

    TypedIOPort ledGreen
    Green LED output port. The default type is BooleanToken.


    ledYellow

    TypedIOPort ledYellow
    Yellow LED output port. The default type is BooleanToken.

    Class ptolemy.domains.ptinyos.lib.MicaLeds extends TypedAtomicActor implements Serializable

    Serialized Fields

    ledGreen

    TypedIOPort ledGreen
    Input port for the green LED. The token type is boolean.


    ledRed

    TypedIOPort ledRed
    Input port for the red LED. The token type is boolean.


    ledYellow

    TypedIOPort ledYellow
    Input port for the yellow LED. The token type is boolean.


    green

    Parameter green
    The color of the "green" LED. The initial value is set to dark green ({0.0, 0.5, 0.0, 1.0}).


    red

    Parameter red
    The color of the "red" LED. The initial value is set to dark red ({0.5, 0.0, 0.0, 1.0}).


    yellow

    Parameter yellow
    The color of the "yellow" LED. The initial value is set to dark yellow ({0.5,0.5,0.0,1.0}).


    _ledGreen

    RectangleAttribute _ledGreen
    Graphical icon for the green LED.


    _ledYellow

    RectangleAttribute _ledYellow
    Graphical icon for yellow LED.


    _ledRed

    RectangleAttribute _ledRed
    Graphical icon for red LED.

    Class ptolemy.domains.ptinyos.lib.NCComponentBase extends AtomicActor implements Serializable

    Serialized Fields

    source

    FileParameter source
    The source code file or URL. The default value is "$PTII/ptolemy/domains/ptinyos/lib/NCComponent.nc"


    rotatePorts

    Parameter rotatePorts
    Relative orientation of ports on the icon of this actor. The default value is an IntegerToken of value 90.


    icon

    NameIcon icon
    Icon for this component. The default value is a NameIcon with name "_icon", which will display the value of the NCComponentBase.displayedName attribute on the icon.


    displayedName

    StringAttribute displayedName
    Displayed name on icon. The value is set to the name of the nesC component being represented. Otherwise, the name of this class is displayed.

    Class ptolemy.domains.ptinyos.lib.SurgeVisualizer extends LinkVisualizer implements Serializable


    Package ptolemy.domains.rendezvous.kernel

    Class ptolemy.domains.rendezvous.kernel.RendezvousDirector extends CompositeProcessDirector implements Serializable

    Serialized Fields

    _inWrapup

    boolean _inWrapup
    Set to true when the director enters the wrapup() method. The purpose is to avoid the deadlock that happens when an actor is delayed after the director calls super.wrapup() in which it waits for all actors to stop.


    _resultMaps

    java.util.HashMap<K,V> _resultMaps
    The map that records the result maps for the threads. Keys are the threads, and values are the result maps associated with those threads.


    Package ptolemy.domains.rendezvous.lib

    Class ptolemy.domains.rendezvous.lib.Barrier extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port, which is a multiport that can accept any data type.

    Class ptolemy.domains.rendezvous.lib.Buffer extends TypedAtomicActor implements Serializable

    Serialized Fields

    capacity

    Parameter capacity
    The capacity of the buffer. To provide "infinite" capacity, set this to a negative number.


    input

    TypedIOPort input
    The input port.


    output

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


    _buffer

    java.util.List<E> _buffer
    The current buffer.


    _exception

    IllegalActionException _exception
    Exception that might be thrown by the spawned thread.


    _postfireReturns

    boolean _postfireReturns
    Flag indicating what postfire should return.


    _readThread

    java.lang.Thread _readThread
    The read thread, if it exists.

    Class ptolemy.domains.rendezvous.lib.Merge extends TypedAtomicActor implements Serializable

    Serialized Fields

    output

    TypedIOPort output
    The output port. The type must be at least that of the input.


    input

    TypedIOPort input
    The input port. This is a multiport that accepts any type.

    Class ptolemy.domains.rendezvous.lib.ResourcePool extends TypedAtomicActor implements Serializable

    Serialized Fields

    grant

    TypedIOPort grant
    The output port through which this actor grants resources. This port has type equal to the element type of the initialPool parameter.


    release

    TypedIOPort release
    The input port through which other actors release resources. This port has type equal to the element type of the initialPool parameter.


    initialPool

    Parameter initialPool
    The initial resource pool. This is an array with default value {1} (an integer array with one entry with value 1).


    _pool

    java.util.List<E> _pool
    The current resource pool.


    _postfireReturns

    boolean _postfireReturns
    Flag indicating what postfire should return.


    _readThread

    java.lang.Thread _readThread
    The read thread, if it exists.


    Package ptolemy.domains.sdf.kernel

    Class ptolemy.domains.sdf.kernel.BaseSDFScheduler extends Scheduler implements Serializable

    Class ptolemy.domains.sdf.kernel.CachedSDFScheduler extends SDFScheduler implements Serializable

    Serialized Fields

    _cacheSize

    int _cacheSize

    _scheduleCache

    java.util.Map<K,V> _scheduleCache

    _scheduleKeyList

    java.util.List<E> _scheduleKeyList

    _externalRatesCache

    java.util.Map<K,V> _externalRatesCache

    _mostRecentRates

    java.lang.String _mostRecentRates

    _inputPortList

    java.util.List<E> _inputPortList

    _outputPortList

    java.util.List<E> _outputPortList

    _workspaceVersion

    long _workspaceVersion

    Class ptolemy.domains.sdf.kernel.SDFDirector extends StaticSchedulingDirector implements Serializable

    Serialized Fields

    allowDisconnectedGraphs

    Parameter allowDisconnectedGraphs
    A parameter representing whether disconnected graphs are permitted. A model may have two or more graphs of actors that are not connected. The schedule can jump from one graph to another among the disconnected graphs. There is nothing to force the scheduler to finish executing all actors on one graph before firing actors on another graph. However, the order of execution within an graph should be correct. Usually, disconnected graphs in an SDF model indicates an error. The default value is a BooleanToken with the value false.


    allowRateChanges

    Parameter allowRateChanges
    A parameter representing whether dynamic rate changes are permitted. An SDF model may constructed such that the values of rate parameters are modified during the execution of the system. If this parameter is true, then such models are valid and this class dynamically computes a new schedule at runtime. If this parameter is false, then the SDF domain performs a static check to disallow such models. Note that in order to generate code from an SDF model, this parameter must be set to false. This is a boolean with default value false.


    constrainBufferSizes

    Parameter constrainBufferSizes
    If true, then buffer sizes are fixed according to the schedule, and attempts to write to the buffer that cause the buffer to exceed the schedule size result in an exception. This method works by setting the capacity of the receivers if the value is true. This parameter is a boolean that defaults to true.


    iterations

    Parameter iterations
    A Parameter representing the number of times that postfire may be called before it returns false. If the value is less than or equal to zero, then the execution will never return false in postfire, and thus the execution can continue forever. Note that the amount of data processed by the SDF model is a function of both this parameter and the value of parameter vectorizationFactor, since vectorizationFactor can influence the choice of schedule. The default value is an IntToken with the value zero.


    period

    Parameter period
    The time period of each iteration. This parameter has type double and default value 0.0, which means that this director does not increment model time and does not request firings by calling fireAt() on any enclosing director. If the value is set to something greater than 0.0, then if this director is at the top level, it will increment model time by the specified amount in its postfire() method. If it is not at the top level, then it will call fireAt() on the enclosing executive director with the argument being the current time plus the specified period.


    synchronizeToRealTime

    Parameter synchronizeToRealTime
    Specify whether the execution should synchronize to the real time. This parameter has type boolean and defaults to false. If set to true, then this director stalls in the prefire() method until the elapsed real real time matches the product of the period parameter value and the iteration count. If the period parameter has value 0.0 (the default), then changing this parameter to true has no effect.


    vectorizationFactor

    Parameter vectorizationFactor
    A Parameter representing the requested vectorization factor. The director will attempt to construct a schedule where each actor fires vectorizationFactor times more often than it would in a minimal schedule. This can allow actor executions to be grouped together, resulting in faster execution. This is more likely to be possible in graphs without tight feedback. This parameter must be a positive integer. The default value is an IntToken with the value one.


    _iterationCount

    int _iterationCount
    The iteration count.


    _periodicDirectorHelper

    PeriodicDirectorHelper _periodicDirectorHelper
    Helper class supporting the period parameter.


    _allowDisconnectedGraphs

    boolean _allowDisconnectedGraphs
    Cache of the value of allowDisconnectedGraphs.


    _realStartTime

    long _realStartTime
    The real time at which the model begins executing.


    _vectorizationFactor

    int _vectorizationFactor
    Cache of the most recent value of vectorizationFactor.

    Class ptolemy.domains.sdf.kernel.SDFIOPort extends TypedIOPort implements Serializable

    Serialized Fields

    tokenConsumptionRate

    Parameter tokenConsumptionRate
    Deprecated. 
    The number of tokens consumed on this port each firing.


    tokenInitProduction

    Parameter tokenInitProduction
    Deprecated. 
    The number of tokens produced on this port during initialization.


    tokenProductionRate

    Parameter tokenProductionRate
    Deprecated. 
    The number of tokens produced on this port each firing.

    Class ptolemy.domains.sdf.kernel.SDFScheduler extends BaseSDFScheduler implements Serializable

    Serialized Fields

    constrainBufferSizes

    Parameter constrainBufferSizes
    If true, then buffer sizes are fixed according to the schedule, and attempts to write to the buffer that cause the buffer to exceed the schedule size result in an exception. This method works by setting the capacity of the receivers if the value is true. This parameter is a boolean that defaults to true.


    _firingVector

    java.util.Map<K,V> _firingVector
    A map from actors to an integer representing the number of times the actor will fire.


    _minusOne

    Fraction _minusOne
    A fraction equal to -1. Used in several places to indicate an actor for which we have not determined the number of times it will fire.


    _externalRates

    java.util.Map<K,V> _externalRates
    Mmaps from external ports to the number of tokens that that port will produce or consume in each firing. It gets populated with the fractional production ratios and is used in the end to set final rates on external ports.


    _rateVariables

    java.util.List<E> _rateVariables
    The list of rate variables that this scheduler is listening to for rate changes.


    Package ptolemy.domains.sdf.lib

    Class ptolemy.domains.sdf.lib.ArrayToSequence extends SDFTransformer implements Serializable

    Serialized Fields

    arrayLength

    Parameter arrayLength
    The size of the input array. This is an integer that defaults to 1.


    enforceArrayLength

    Parameter enforceArrayLength
    If true, then enforce the arrayLength parameter by throwing an exception if it is violated. This is a boolean that defaults to true.

    Class ptolemy.domains.sdf.lib.Autocorrelation extends SDFTransformer implements Serializable

    Serialized Fields

    biased

    Parameter biased
    If true, the estimate will be biased. This is a boolean with default value false.


    numberOfInputs

    Parameter numberOfInputs
    Number of input samples to average. This is an integer with default value 256.


    numberOfLags

    Parameter numberOfLags
    Number of autocorrelation lags to output. This is an integer with default value 64.


    symmetricOutput

    Parameter symmetricOutput
    If true, then the output from each firing will have 2*numberOfLags + 1 samples (an odd number) whose values are symmetric about the midpoint. If false, then the output from each firing will have 2*numberOfLags samples (an even number) by omitting one of the endpoints (the last one). This is a boolean with default value false.


    _numberOfInputs

    int _numberOfInputs

    _numberOfLags

    int _numberOfLags

    _lengthOfOutput

    int _lengthOfOutput

    _symmetricOutput

    boolean _symmetricOutput

    _outputs

    Token[] _outputs

    Class ptolemy.domains.sdf.lib.BitsToInt extends SDFConverter implements Serializable

    Serialized Fields

    numberOfBits

    Parameter numberOfBits
    The number of bits that is converted to the output integer. It should be a positive integer no more than 32.

    Class ptolemy.domains.sdf.lib.Chop extends SDFTransformer implements Serializable

    Serialized Fields

    numberToRead

    Parameter numberToRead
    The number of input tokens to read. This is an integer, with default 128.


    numberToWrite

    Parameter numberToWrite
    The number of tokens to write to the output. This is an integer, with default 64.


    offset

    Parameter offset
    Start of output block relative to start of input block. This is an integer, with default 0.


    usePastInputs

    Parameter usePastInputs
    If offset is greater than 0, specify whether to use previously read inputs (otherwise use zeros). This is a boolean, with default true.


    _highLimit

    int _highLimit

    _inputIndex

    int _inputIndex

    _lowLimit

    int _lowLimit

    _numberToRead

    int _numberToRead

    _numberToWrite

    int _numberToWrite

    _offsetValue

    int _offsetValue

    _buffer

    Token[] _buffer

    _pastBuffer

    Token[] _pastBuffer

    _usePast

    boolean _usePast

    _pastNeedsInitializing

    boolean _pastNeedsInitializing

    Class ptolemy.domains.sdf.lib.CountTrues extends SDFTransformer implements Serializable

    Serialized Fields

    blockSize

    Parameter blockSize
    The number of input tokens to read before outputting a count. The input is of type integer and has a default value of 1.

    Class ptolemy.domains.sdf.lib.DelayLine extends SDFTransformer implements Serializable

    Serialized Fields

    initialValues

    Parameter initialValues
    The initial values of the delay line. This parameter must contain an ArrayToken. The default value is an array that contains 4 integer tokens. Changes to this parameter after initialize() has been invoked are ignored until the next execution of the model.


    _delayLine

    Token[] _delayLine
    The delay line.

    Class ptolemy.domains.sdf.lib.DotProduct extends TypedAtomicActor implements Serializable

    Serialized Fields

    input1

    TypedIOPort input1
    The first input port. This has type ArrayToken. The elements of the ArrayToken must be of type ScalarToken.


    input2

    TypedIOPort input2
    The second input port. This has type ArrayToken. The elements of the ArrayToken must be of type ScalarToken.


    output

    TypedIOPort output
    The output port, which has type ScalarToken.

    Class ptolemy.domains.sdf.lib.DoubleToMatrix extends SDFConverter implements Serializable

    Serialized Fields

    columns

    Parameter columns
    Deprecated. 
    The number of columns. It is of type integer and has a default value of 2. It must be greater than zero.


    rows

    Parameter rows
    Deprecated. 
    The number of rows. It is of type integer and has a default value of 2. It must be greater than zero.


    _rows

    int _rows
    Deprecated. 

    _columns

    int _columns
    Deprecated. 

    Class ptolemy.domains.sdf.lib.DownSample extends SDFTransformer implements Serializable

    Serialized Fields

    factor

    Parameter factor
    The number of input tokens to read per output token produced. This is an integer that defaults to 2 and must be greater than zero.


    phase

    Parameter phase
    The phase of the output with respect to the input. This is an integer that defaults to 0 and must be between 0 and factor-1. If phase = 0, the most recent sample is the output, while if phase = factor-1 the oldest sample is the output.

    Class ptolemy.domains.sdf.lib.FFT extends SDFTransformer implements Serializable

    Serialized Fields

    order

    Parameter order
    The order of the FFT. The type is IntToken, and the value should be greater than zero. The default value is an IntToken with value 8.


    _transformSize

    int _transformSize

    _orderValue

    int _orderValue

    _inComplexArray

    Complex[] _inComplexArray

    _outTokenArray

    ComplexToken[] _outTokenArray

    Class ptolemy.domains.sdf.lib.FIR extends SDFTransformer implements Serializable

    Serialized Fields

    decimation

    Parameter decimation
    The decimation ratio of the filter. This must contain an IntToken, and by default it has value one.


    decimationPhase

    Parameter decimationPhase
    The decimation phase of the filter. This must contain an IntToken, and by default it has value zero.


    interpolation

    Parameter interpolation
    The interpolation ratio of the filter. This must contain an IntToken, and by default it has value one.


    taps

    Parameter taps
    The taps of the filter. This has a type of ArrayToken. By default, it contains an array with a single integer one, meaning that the output of the filter is the same as the input.


    _data

    Token[] _data
    The delay line.


    _mostRecent

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


    _phaseLength

    int _phaseLength
    The phaseLength is ceiling(length/interpolation), where length is the number of taps.


    _decimationValue

    int _decimationValue
    Decimation value.


    _interpolationValue

    int _interpolationValue
    Interpolation value.


    _decimationPhaseValue

    int _decimationPhaseValue
    DecimationPhase value.


    _reinitializeNeeded

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


    _taps

    Token[] _taps
    Local cache of the tap values.


    _zero

    Token _zero
    Local cache of the zero token.


    _outToken

    Token _outToken

    _tapItem

    Token _tapItem

    _dataItem

    Token _dataItem

    Class ptolemy.domains.sdf.lib.IFFT extends SDFTransformer implements Serializable

    Serialized Fields

    order

    Parameter order
    The order of the IFFT. The type is IntToken, and the value should be greater than zero. The default value is an IntToken with value 8.


    _transformSize

    int _transformSize

    _orderValue

    int _orderValue

    _outTokenArray

    ComplexToken[] _outTokenArray

    _inComplexArray

    Complex[] _inComplexArray

    Class ptolemy.domains.sdf.lib.IntToBits extends SDFConverter implements Serializable

    Serialized Fields

    numberOfBits

    Parameter numberOfBits
    The number of Boolean tokens that the input integer is coverted to.

    Class ptolemy.domains.sdf.lib.LineCoder extends SDFTransformer implements Serializable

    Serialized Fields

    table

    Parameter table
    The code table. Its value is a token of type ArrayToken. The array provides the symbol values to produce on the output. The number of values in this array must be at least 2wordLength, or an exception will be thrown. The number of tokens consumed by this actor when it fires is log2(tableSize), where tableSize is the length of the table. If all of these values are false, then the first array entry is produced as an output. If only the first one is true, then then second array value is produced. In general, the N inputs consumed are taken to be a binary digit that indexes the array, where the first input is taken to be the low-order bit of the array. The default code table has two entries, -1.0 and 1.0, so that input false values are mapped to -1.0, and input true values are mapped to +1.0.


    wordLength

    Parameter wordLength
    The word length is the number of boolean inputs that are consumed to construct an index into the table. Its value is an IntToken, with default value one.


    _wordLength

    int _wordLength

    _table

    Token[] _table

    Class ptolemy.domains.sdf.lib.LMSAdaptive extends FIR implements Serializable

    Serialized Fields

    error

    TypedIOPort error
    The error input port. The type of this port must match that of the input port.


    errorDelay

    Parameter errorDelay
    The number of samples of delay in the feedback loop that brings the error back. This has a type integer, and defaults to 1.


    initialTaps

    Parameter initialTaps
    The initial taps of the filter. This has a type of ArrayToken. By default, it contains the array {1.0, 0.0, 0.0, 0.0}, meaning that the output of the filter is initially the same as the input, and that the adaptive filter has four taps.


    stepSize

    Parameter stepSize
    The adaptation step size. This must have a type that can be multiplied by the input. It defaults to 0.01, a double.


    tapValues

    TypedIOPort tapValues
    The output of tap values. This has the same type as the initialTaps.

    Class ptolemy.domains.sdf.lib.MatrixJoin extends SDFTransformer implements Serializable

    Serialized Fields

    columns

    Parameter columns
    The number of matrices to arrange left to right on the output. This is an integer that defaults to 1.


    rows

    Parameter rows
    The number of matrices to arrange top to bottom on the output. This is an integer that defaults to 1.

    Class ptolemy.domains.sdf.lib.MatrixSplit extends SDFTransformer implements Serializable

    Serialized Fields

    columnSplit

    Parameter columnSplit
    An array specifying the number of columns in the output matrices. This is an array of integers, with default {1}.


    rowSplit

    Parameter rowSplit
    An array specifying the number of rows in the output matrices. This is an array of integers, with default {1}.

    Class ptolemy.domains.sdf.lib.MatrixToDouble extends SDFConverter implements Serializable

    Serialized Fields

    columns

    Parameter columns
    Deprecated. 
    The number of columns. It is of type integer and has a default value of 2. It must be greater than zero. This information is only used if the actor is under the control of an SDFDirector.


    rows

    Parameter rows
    Deprecated. 
    The number of rows. It is of type integer and has a default value of 2. It must be greater than zero. This information is only used if the actor is under the control of an SDFDirector.


    _rows

    int _rows
    Deprecated. 

    _columns

    int _columns
    Deprecated. 

    Class ptolemy.domains.sdf.lib.MatrixToSequence extends SDFTransformer implements Serializable

    Serialized Fields

    rows

    Parameter rows
    The number of rows in the input. This is an integer that defaults to 1.


    columns

    Parameter columns
    The number of columns in the input. This is an integer that defaults to 1.


    enforceMatrixSize

    Parameter enforceMatrixSize
    If true, then enforce the rows and columns parameters by throwing an exception if it is violated. This is a boolean that defaults to true.

    Class ptolemy.domains.sdf.lib.RaisedCosine extends FIR implements Serializable

    Serialized Fields

    excessBW

    Parameter excessBW
    The excess bandwidth. This contains a DoubleToken, and by default it has value 1.0.


    length

    Parameter length
    The length of the pulse. This contains an IntToken, and by default it has value 64.


    root

    Parameter root
    If true, use the square root of the raised cosine instead of the raised cosine. This contains a BooleanToken, and by default it has value false.


    symbolInterval

    Parameter symbolInterval
    The symbol interval, which is the number of samples to the first zero crossing on each side of the main lobe. Its value is an IntToken, and by default it has value 16.

    Class ptolemy.domains.sdf.lib.Repeat extends SDFTransformer implements Serializable

    Serialized Fields

    numberOfTimes

    Parameter numberOfTimes
    The repetition factor. It is of type integer and has a default value of 2. It must be greater than zero.


    blockSize

    Parameter blockSize
    The number of tokens in a block. It is of type integer and has a default value of 1. It must be greater than zero.

    Class ptolemy.domains.sdf.lib.SampleDelay extends SDFTransformer implements Serializable

    Serialized Fields

    initialOutputs

    Parameter initialOutputs
    The values that will be produced in the initialize method. This parameter must contain an ArrayToken. It defaults to contain a single zero-valued integer token. Changes to this parameter after initialize() has been invoked are ignored until the next execution of the model.


    _outputsArray

    ArrayToken _outputsArray

    Class ptolemy.domains.sdf.lib.SDFConverter extends SDFTransformer implements Serializable

    Class ptolemy.domains.sdf.lib.SDFTransformer 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.


    input_tokenConsumptionRate

    Parameter input_tokenConsumptionRate
    The rate parameter for the input port.


    output

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


    output_tokenProductionRate

    Parameter output_tokenProductionRate
    The rate parameter for the output port.


    output_tokenInitProduction

    Parameter output_tokenInitProduction
    The rate parameter for the output port that declares the initial production.

    Class ptolemy.domains.sdf.lib.SequenceToArray extends SDFTransformer implements Serializable

    Serialized Fields

    arrayLength

    PortParameter arrayLength
    The size of the output array. This is an integer that defaults to 1.

    Class ptolemy.domains.sdf.lib.SequenceToMatrix extends SDFTransformer implements Serializable

    Serialized Fields

    rows

    Parameter rows
    The number of rows in the output. This is an integer that defaults to 1.


    columns

    Parameter columns
    The number of columns in the output. This is an integer that defaults to 1.

    Class ptolemy.domains.sdf.lib.UpSample extends SDFTransformer implements Serializable

    Serialized Fields

    factor

    Parameter factor
    The number of output tokens to produced per input token read. This is an integer that defaults to 2 and must be greater than zero.


    phase

    Parameter phase
    The phase of the output with respect to the input. This is an integer that defaults to factor-1 and must be between 0 and factor-1. If phase = 0, the input is the first output, while if phase = factor-1 then the input is the last output.

    Class ptolemy.domains.sdf.lib.VariableFIR extends FIR implements Serializable

    Serialized Fields

    blockSize

    Parameter blockSize
    The number of inputs that use each each coefficient set is the value of this parameter multiplied by the value of the decimation parameter. This is an integer that defaults to 1.


    newTaps

    TypedIOPort newTaps
    The input for new tap values. This is an array.

    Class ptolemy.domains.sdf.lib.VariableLattice extends Lattice implements Serializable

    Serialized Fields

    blockSize

    Parameter blockSize
    The number of inputs that use each each coefficient set. This is an integer that defaults to 1.


    newCoefficients

    TypedIOPort newCoefficients
    The input for new coefficient values. This is an array of doubles.


    input_tokenConsumptionRate

    Parameter input_tokenConsumptionRate
    The parameter that gives the number of tokens consumed by the input port. This is set equal to blockSize.


    output_tokenProductionRate

    Parameter output_tokenProductionRate
    The parameter that gives the number of tokens produces by the output port. This is set equal to blockSize.


    _blockSizeValue

    int _blockSizeValue

    Class ptolemy.domains.sdf.lib.VariableRecursiveLattice extends RecursiveLattice implements Serializable

    Serialized Fields

    blockSize

    Parameter blockSize
    The number of inputs that use each each coefficient set. This is an integer that defaults to 1.


    newCoefficients

    TypedIOPort newCoefficients
    The input for new coefficient values. The type is an array of doubles.


    input_tokenConsumptionRate

    Parameter input_tokenConsumptionRate
    The number of tokens consumed from the input port.


    output_tokenProductionRate

    Parameter output_tokenProductionRate
    The number of tokens produced from the output port.


    _blockSizeValue

    int _blockSizeValue

    Package ptolemy.domains.sdf.lib.vq

    Class ptolemy.domains.sdf.lib.vq.HTVQEncode extends Transformer implements Serializable

    Serialized Fields

    codeBook

    Parameter codeBook
    A Parameter of type String, giving the location of the codebook data file relative to the root classpath.


    blockCount

    Parameter blockCount
    The number of blocks to be encoded during each firing. The default value is one, which will always work, but using a higher number (such as the number of blocks in a frame) will speed things up.


    blockWidth

    Parameter blockWidth
    The width, in pixels, of the block to encode.


    blockHeight

    Parameter blockHeight
    The width, in pixels, of the block to encode.


    input_tokenConsumptionRate

    Parameter input_tokenConsumptionRate
    The input rate.


    output_tokenProductionRate

    Parameter output_tokenProductionRate
    The output rate.


    ipbuf_encodep1

    int[][] ipbuf_encodep1

    ipbuf_encodep2

    int[][] ipbuf_encodep2

    _codeBook

    int[][][] _codeBook

    _lookupTable

    int[][] _lookupTable

    _codewords

    IntToken[] _codewords

    _blocks

    Token[] _blocks

    _blockCount

    int _blockCount

    _blockWidth

    int _blockWidth

    _blockHeight

    int _blockHeight

    Class ptolemy.domains.sdf.lib.vq.ImageContrast extends Transformer implements Serializable

    Serialized Fields

    colorHistogram

    int[] colorHistogram

    Class ptolemy.domains.sdf.lib.vq.ImageDisplay extends ImageDisplay implements Serializable

    Class ptolemy.domains.sdf.lib.vq.ImagePartition extends Transformer implements Serializable

    Serialized Fields

    imageColumns

    Parameter imageColumns
    The width of the input matrices.


    imageRows

    Parameter imageRows
    The height of the input matrices.


    partitionColumns

    Parameter partitionColumns
    The width of the input partitions.


    partitionRows

    Parameter partitionRows
    The height of the input partitions.


    output_tokenProductionRate

    Parameter output_tokenProductionRate
    The output rate.


    _partitions

    IntMatrixToken[] _partitions

    _part

    int[][] _part

    _imageColumns

    int _imageColumns

    _imageRows

    int _imageRows

    _partitionColumns

    int _partitionColumns

    _partitionRows

    int _partitionRows

    Class ptolemy.domains.sdf.lib.vq.ImageSequence extends Source implements Serializable

    Serialized Fields

    imageURLTemplate

    Parameter imageURLTemplate
    The image filename templates.


    imageColumns

    Parameter imageColumns
    The number of columns in each image.


    imageRows

    Parameter imageRows
    The number of rows in each image.


    startFrame

    Parameter startFrame
    The starting frame number.


    endFrame

    Parameter endFrame
    The ending frame number.


    _frameCount

    int _frameCount

    _images

    IntMatrixToken[] _images

    _frameBytes

    byte[] _frameBytes

    _frameInts

    int[][] _frameInts

    _imageColumns

    int _imageColumns

    _imageRows

    int _imageRows

    _startFrame

    int _startFrame

    _endFrame

    int _endFrame

    _frameNumber

    int _frameNumber

    Class ptolemy.domains.sdf.lib.vq.ImageUnpartition extends Transformer implements Serializable

    Serialized Fields

    imageColumns

    Parameter imageColumns
    The width of the input matrices.


    imageRows

    Parameter imageRows
    The height of the input matrices.


    partitionColumns

    Parameter partitionColumns
    The width of the input partitions.


    partitionRows

    Parameter partitionRows
    The height of the input partitions.


    input_tokenConsumptionRate

    Parameter input_tokenConsumptionRate
    The input rate.


    _image

    int[][] _image

    _imageColumns

    int _imageColumns

    _imageRows

    int _imageRows

    _partitionColumns

    int _partitionColumns

    _partitionRows

    int _partitionRows

    _partitionCount

    int _partitionCount

    Class ptolemy.domains.sdf.lib.vq.PSNR extends TypedAtomicActor implements Serializable

    Serialized Fields

    signal

    TypedIOPort signal
    The input signal.


    distortedSignal

    TypedIOPort distortedSignal
    A distorted version of the input signal.


    output

    TypedIOPort output
    The calculated PSNR between the two inputs.

    Class ptolemy.domains.sdf.lib.vq.VQDecode extends Transformer implements Serializable

    Serialized Fields

    codeBook

    Parameter codeBook
    A Parameter of type String, giving the location of the codebook data file relative to the root classpath.


    blockCount

    Parameter blockCount
    The number of blocks to be decoded during each firing. The default value is one, which will always work, but using a higher number (such as the number of blocks in a frame) will speed things up. This should contain an integer.


    blockWidth

    Parameter blockWidth
    The width, in integer pixels, of the block to decode.


    blockHeight

    Parameter blockHeight
    The width, in integer pixels, of the block to decode.


    input_tokenConsumptionRate

    Parameter input_tokenConsumptionRate
    The input rate.


    output_tokenProductionRate

    Parameter output_tokenProductionRate
    The output rate.


    _codebook

    int[][][][] _codebook

    _codewords

    Token[] _codewords

    _blocks

    IntMatrixToken[] _blocks

    _blockCount

    int _blockCount

    _blockWidth

    int _blockWidth

    _blockHeight

    int _blockHeight

    Package ptolemy.domains.space

    Class ptolemy.domains.space.Occupants extends ArrayOfRecordsRecorder implements Serializable

    Serialized Fields

    databaseManager

    StringParameter databaseManager
    Name of the DatabaseManager to use. This defaults to "DatabaseManager".


    table

    StringParameter table
    Table to use within the database. This is a string that defaults to "v_spaces".


    _classes

    java.lang.String[] _classes
    The set of values of the classcd field found in the database.


    _occupantInSpaceFields

    java.util.Set<E> _occupantInSpaceFields
    The fields that can be edited for a person in a space.


    _occupantFields

    java.util.Set<E> _occupantFields
    A set of names of fields that remain with the occupant rather the space.


    _selectedRow

    int _selectedRow
    The selected row.


    _spaceFields

    java.util.Set<E> _spaceFields
    A set of names of fields that remain with the space rather the occupant.


    _table

    javax.swing.JTable _table
    The table.

    Class ptolemy.domains.space.Occupants.OccupantsConfigureFactory extends EditorFactory implements Serializable

    Class ptolemy.domains.space.Region extends TypedCompositeActor implements Serializable

    Class ptolemy.domains.space.Room extends DatabaseSelect implements Serializable

    Serialized Fields

    building

    StringParameter building
    Name of the building.


    room

    StringParameter room
    Name of the room.


    Package ptolemy.domains.sr.kernel

    Class ptolemy.domains.sr.kernel.SRDirector extends FixedPointDirector implements Serializable

    Serialized Fields

    period

    Parameter period
    The time period of each iteration. This parameter has type double and default value 0.0, which means that this director does not increment model time and does not request firings by calling fireAt() on any enclosing director. If the value is set to something greater than 0.0, then if this director is at the top level, it will increment model time by the specified amount in its postfire() method. If it is not at the top level, then it will call fireAt() on the enclosing executive director with the argument being the current time plus the specified period.


    _periodicDirectorHelper

    PeriodicDirectorHelper _periodicDirectorHelper
    Helper class supporting the period parameter.

    Class ptolemy.domains.sr.kernel.SROptimizedScheduler extends FixedPointScheduler implements Serializable

    Class ptolemy.domains.sr.kernel.SRRandomizedScheduler extends Scheduler implements Serializable


    Package ptolemy.domains.sr.lib

    Class ptolemy.domains.sr.lib.Absent extends Undefined implements Serializable

    Class ptolemy.domains.sr.lib.Current extends Transformer implements Serializable

    Serialized Fields

    _lastInput

    Token _lastInput

    Class ptolemy.domains.sr.lib.Default extends TypedAtomicActor implements Serializable

    Serialized Fields

    preferred

    TypedIOPort preferred
    The preferred input port. If there is a token here, then that token is produced on the output. Any data type is accepted.


    alternate

    TypedIOPort alternate
    The alternate input port. If there is no token on the preferred input port, then the output will equal whatever is here (including absent). Any data type is accepted.


    output

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

    Class ptolemy.domains.sr.lib.EnabledComposite extends TypedCompositeActor implements Serializable

    Serialized Fields

    enable

    TypedIOPort enable
    The control port for enabling the composite.

    Class ptolemy.domains.sr.lib.InstantaneousDialogGenerator extends TypedAtomicActor implements Serializable

    Serialized Fields

    dataInput

    TypedIOPort dataInput
    Input port for data from a server.


    dataOutput

    TypedIOPort dataOutput
    Output port for data. The type is the same as dataInput.


    indexOutput

    TypedIOPort indexOutput
    Output port for data indices. The type is integer.


    _index

    int _index

    Class ptolemy.domains.sr.lib.NonStrictDelay extends Transformer implements Serializable

    Serialized Fields

    initialValue

    Parameter initialValue
    Initial token value. This defaults to no value, which results in the first output being absent. If a value is given, then output will be constrained to have at least the type of the value (as well as at least the type of the input).


    _previousToken

    Token _previousToken
    The token received on the previous iteration to be output on the current iteration.

    Class ptolemy.domains.sr.lib.NonStrictLogicFunction extends LogicFunction implements Serializable

    Class ptolemy.domains.sr.lib.NonStrictThreeBitAdder extends TypedAtomicActor implements Serializable

    Serialized Fields

    inputBits

    TypedIOPort inputBits
    Inputs for bits to be added. The types are integer, and only ones and zeros are expected.


    highBit

    TypedIOPort highBit
    Output for the high bit. The type is integer, and only ones and zeros will be sent.


    lowBit

    TypedIOPort lowBit
    Output for the low bit. The type is integer, and only ones and zeros will be sent.

    Class ptolemy.domains.sr.lib.Pre extends Transformer implements Serializable

    Serialized Fields

    initialValue

    Parameter initialValue
    Initial token value. Can be of any type.


    _currentToken

    Token _currentToken

    Class ptolemy.domains.sr.lib.SingleTokenDistributor extends Transformer implements Serializable

    Serialized Fields

    _currentOutputPosition

    int _currentOutputPosition

    Class ptolemy.domains.sr.lib.Undefined extends Source implements Serializable

    Serialized Fields

    outputType

    StringAttribute outputType
    Deprecated. 
    The type for the output port. This is a string-valued attribute that defaults to "int".

    Class ptolemy.domains.sr.lib.When extends Transformer implements Serializable

    Serialized Fields

    control

    TypedIOPort control
    The control input port. This has type boolean.


    Package ptolemy.domains.sr.lib.gui

    Class ptolemy.domains.sr.lib.gui.ButtonTime extends WallClockTime implements Serializable

    Serialized Fields

    text

    StringAttribute text
    The text to put on the button.


    _button

    javax.swing.JButton _button

    _buttonPressed

    boolean _buttonPressed

    _container

    java.awt.Container _container

    _frame

    javax.swing.JFrame _frame

    _self

    ButtonTime _self

    Class ptolemy.domains.sr.lib.gui.NonStrictDisplay extends Display implements Serializable


    Package ptolemy.domains.tdl.kernel

    Class ptolemy.domains.tdl.kernel.TDLActor extends FSMActor implements Serializable

    Class ptolemy.domains.tdl.kernel.TDLCodeGenerator extends Attribute implements Serializable

    Class ptolemy.domains.tdl.kernel.TDLCodeGenerator.TDLEditorFactory extends EditorFactory implements Serializable

    Class ptolemy.domains.tdl.kernel.TDLController extends TDLActor implements Serializable

    Serialized Fields

    _mirrorDisable

    boolean _mirrorDisable
    Indicator that we are processing a newPort request.

    Class ptolemy.domains.tdl.kernel.TDLMode extends State implements Serializable

    Class ptolemy.domains.tdl.kernel.TDLModule extends ModalModel implements Serializable

    Class ptolemy.domains.tdl.kernel.TDLModuleDirector extends ModalDirector implements Serializable

    Serialized Fields

    _currentWCET

    double _currentWCET
    Current worst case execution time, this is set when the execution of a TDL task is started


    _graph

    TDLActionsGraph _graph
    Current node in the TDL actions graph.


    _nextEventsTimeStamps

    java.util.HashMap<K,V> _nextEventsTimeStamps
    Store time stamps from _fireAt() to detect missed executions


    _nodesDependentoOnPreviousActions

    java.util.HashMap<K,V> _nodesDependentoOnPreviousActions
    Nodes containing actions that depend on previous actions.


    _previousAdditionalScheduleTime

    Time _previousAdditionalScheduleTime
    The minimum time to be added to schedule the next action in the _fireAt() method.


    _receivers

    java.util.LinkedList<E> _receivers
    All receivers.

    Class ptolemy.domains.tdl.kernel.TDLRefinement extends Refinement implements Serializable

    Class ptolemy.domains.tdl.kernel.TDLRefinementPort extends RefinementPort implements Serializable

    Serialized Fields

    frequency

    Parameter frequency
    frequency for the port update.


    initialValue

    Parameter initialValue
    Initial value of the port.


    fast

    Parameter fast
    Describes a fast actuator.


    slots

    Parameter slots
    Slot selection string.

    Class ptolemy.domains.tdl.kernel.TDLTask extends TypedCompositeActor implements Serializable

    Serialized Fields

    frequency

    Parameter frequency
    Frequency of the task invocation in the mode period.


    fast

    Parameter fast
    Describes if task is a fast task.


    slots

    Parameter slots
    Slot selection string for the task.


    _readsFromSensors

    java.util.ArrayList<E> _readsFromSensors
    List of modal ports this task reads from.

    Class ptolemy.domains.tdl.kernel.TDLTaskPort extends TypedIOPort implements Serializable

    Serialized Fields

    initialValue

    Parameter initialValue
    The initial value of the task.

    Class ptolemy.domains.tdl.kernel.TDLTransition extends Transition implements Serializable

    Serialized Fields

    frequency

    Parameter frequency
    The frequency of the transition.


    requiredPorts

    java.util.List<E> requiredPorts
    List of all ports that are used in this guard expression.


    requiredSensors

    java.util.List<E> requiredSensors
    List of Sensors that are used in this guard expression.


    Package ptolemy.domains.tester.kernel

    Class ptolemy.domains.tester.kernel.TesterDirector extends Director implements Serializable

    Serialized Fields

    trainingMode

    Parameter trainingMode
    Indicator of whether to invoke train() or test() on the Testable objects. This defaults to false which means test().


    Package ptolemy.domains.tm.kernel

    Class ptolemy.domains.tm.kernel.SchedulePlotter extends Attribute implements Serializable

    Serialized Fields

    plot

    Plot plot
    The plotter.


    _taskMap

    java.util.HashMap<K,V> _taskMap

    _taskState

    java.util.ArrayList<E> _taskState

    Class ptolemy.domains.tm.kernel.SchedulePlotter.SchedulePlotterEditorFactory extends EditorFactory implements Serializable

    Class ptolemy.domains.tm.kernel.TMDirector extends Director implements Serializable

    Serialized Fields

    preemptive

    Parameter preemptive
    Indicating whether the execution of the actors is preemptable. The default value is false, of type boolean.


    defaultTaskExecutionTime

    Parameter defaultTaskExecutionTime
    The default execution time of a task (i.e. actor). If an actor (or its ports) does not specify its execution time, then this number will be used. The default value is 0.0, of type double, meaning that the task takes no time to execute (similar to the synchrony assumption in Synchronous/Reactive models).


    startTime

    Parameter startTime
    Starting time of the simulation. The default value is 0.0, of type DoubleToken.


    stopTime

    Parameter stopTime
    The stop time of the model, only effective when this director is at the top level. This parameter is of type double. The value defaults to Double.MAX_VALUE.


    synchronizeToRealTime

    Parameter synchronizeToRealTime
    Indicating whether the execution synchronizes to the real time. This parameter has default value false, of type boolean. If this parameter is true, then the director does not process events until the elapsed real time matches the time stamp of the events.


    _scheduleListeners

    java.util.LinkedList<E> _scheduleListeners
    The list of schedule listeners registered with this object.


    _eventQueue

    CalendarQueue _eventQueue

    _interruptQueue

    DECQEventQueue _interruptQueue

    _preemptive

    boolean _preemptive

    _synchronizeToRealTime

    boolean _synchronizeToRealTime

    _disabledActors

    java.util.Set<E> _disabledActors

    _outsideTime

    Time _outsideTime

    _nextIterationTime

    Time _nextIterationTime

    _realStartTime

    long _realStartTime

    _startTime

    Time _startTime

    _stopTime

    Time _stopTime

    Package ptolemy.domains.tm.lib

    Class ptolemy.domains.tm.lib.TMCompositeFacade extends TypedCompositeActor implements Serializable

    Serialized Fields

    executionTime

    Parameter executionTime
    The default execution time.


    priority

    Parameter priority
    Priority of the background process.


    _idle

    boolean _idle

    _executionTime

    double _executionTime

    _directorThread

    PtolemyThread _directorThread

    _priority

    int _priority

    Package ptolemy.domains.wireless.kernel

    Class ptolemy.domains.wireless.kernel.AtomicWirelessChannel extends TypedAtomicActor implements Serializable

    Serialized Fields

    defaultProperties

    Parameter defaultProperties
    The default properties for transmission. In this base class, the type is constrained to be a record and the default value is set to an empty record. Derived classes will define this to be a record.


    name

    NameParameter name
    When set to a non-empty value, this NameParameter will cause the name of this channel to be set to this value.


    _receiversInRangeCacheValid

    boolean _receiversInRangeCacheValid
    Flag indicating that the cached list of receivers in range is valid. This gets set to false whenever a location for some object whose location has been obtained by _locationOf() has changed since the last time this cached list was constructed. In addition, subclasses may invalidate this if anything else that affects whether a receiver is in range changes (such as the transmit properties of a port).


    _listeningInputPorts

    java.util.List<E> _listeningInputPorts

    _listeningInputPortsVersion

    long _listeningInputPortsVersion

    _listeningOutputPorts

    java.util.List<E> _listeningOutputPorts

    _listeningOutputPortsVersion

    long _listeningOutputPortsVersion

    _propertyTransformers

    java.util.Set<E> _propertyTransformers
    The property transformers that have been registered without specifying a port.


    _propertyTransformersByPort

    java.util.HashMap<K,V> _propertyTransformersByPort
    The property transformers that have been registered to operate on transmissions from a particular port, indexed by port.


    _channelListeners

    java.util.Set<E> _channelListeners
    The channel listeners that have been added.


    _receiversInRangeCache

    java.util.HashMap<K,V> _receiversInRangeCache

    _receiversInRangeCacheVersion

    java.util.HashMap<K,V> _receiversInRangeCacheVersion

    _sendingInputPorts

    java.util.List<E> _sendingInputPorts

    _sendingInputPortsVersion

    long _sendingInputPortsVersion

    _sendingOutputPorts

    java.util.List<E> _sendingOutputPorts

    _sendingOutputPortsVersion

    long _sendingOutputPortsVersion

    _channelPort

    ChannelPort _channelPort
    Dummy port used to reduce the type constraints to 2N rather than N^2. This port is returned by instances of WirelessIOPort when asked for sink ports. Do not send data to this port, however. Instead, use the transmit() method.

    Class ptolemy.domains.wireless.kernel.ChannelPort extends WirelessIOPort implements Serializable

    Serialized Fields

    _sourcePortList

    java.util.List<E> _sourcePortList

    _sourcePortListVersion

    long _sourcePortListVersion

    _sinkPortList

    java.util.List<E> _sinkPortList

    _sinkPortListVersion

    long _sinkPortListVersion

    Class ptolemy.domains.wireless.kernel.WirelessComposite extends TypedCompositeActor implements Serializable

    Class ptolemy.domains.wireless.kernel.WirelessDirector extends DEDirector implements Serializable

    Class ptolemy.domains.wireless.kernel.WirelessIOPort extends TypedIOPort implements Serializable

    Serialized Fields

    insideChannel

    StringParameter insideChannel
    The name of the inside channel. This is a string that defaults to the empty string, indicating that communication is not wireless.


    insideTransmitProperties

    Parameter insideTransmitProperties
    The transmit properties of this port for inside transmissions. This field may be used by the channel to determine transmission range or other properties of the transmission. By default, this has no value, which indicates to channels to use their default properties, whatever those might be. When its value is set, it is required to be a record type.


    outsideChannel

    StringParameter outsideChannel
    The name of the outside channel. This is a string that defaults to the empty string, indicating that communication is not wireless.


    outsideTransmitProperties

    Parameter outsideTransmitProperties
    The transmit properties of this port for outside transmissions. This field may be used by the channel to determine transmission range or other properties of the transmission. By default, this has no value, which indicates to channels to use their default properties, whatever those might be. When its value is set, it is required to be a record type.


    _receivers

    Receiver[][] _receivers

    _insideReceivers

    Receiver[][] _insideReceivers

    _insideChannel

    WirelessChannel _insideChannel

    _insideChannelVersion

    long _insideChannelVersion

    _outsideChannel

    WirelessChannel _outsideChannel

    _outsideChannelVersion

    long _outsideChannelVersion

    Package ptolemy.domains.wireless.lib

    Class ptolemy.domains.wireless.lib.CollisionDetector extends TypedAtomicActor implements Serializable

    Serialized Fields

    message

    TypedIOPort message
    The input port for the message. This has undeclared type.


    power

    TypedIOPort power
    The input port for power. This has type double, and is typically a power density, in units such as watts per square meter.


    duration

    TypedIOPort duration
    The input port for the time that a message transmission takes. This has type double.


    received

    TypedIOPort received
    The output port that produces messages that are successfully received. This has the same type as the message input.


    collided

    TypedIOPort collided
    The output port that produces messages that cannot be received because of a collision. This has the same type as the message input.


    SNRThresholdInDB

    Parameter SNRThresholdInDB
    The threshold for the signal to be recognized from interference. It is specified in decibels (10 * log10(r), where r is the power ratio. This is a double that defaults to Infinity, which indicates that all overlapping messages are lost to collisions.


    powerThreshold

    Parameter powerThreshold
    The power threshold above which the signal can be detected at the receiver. Any message with a received power below this number is ignored. This has type double and defaults to 0.0, which indicates that all messages (with nonzero power) will be received.


    _powerThreshold

    double _powerThreshold

    _SNRThresholdInDB

    double _SNRThresholdInDB

    _totalPower

    double _totalPower

    _receptions

    java.util.List<E> _receptions

    Class ptolemy.domains.wireless.lib.DelayChannel extends ErasureChannel implements Serializable

    Serialized Fields

    propagationSpeed

    Parameter propagationSpeed
    The propagation speed. This determines the delay between transmission and reception. This is a double that defaults to Infinity, which means that there is no delay.


    _receptions

    java.util.HashMap<K,V> _receptions

    Class ptolemy.domains.wireless.lib.ErasureChannel extends AtomicWirelessChannel implements Serializable

    Serialized Fields

    lossProbability

    Parameter lossProbability
    The probability that a call to transmit() will fail to deliver the token to a receiver that is in range. This is a double that defaults to 0.0, which means that no loss occurs.


    seed

    Parameter seed
    The seed that controls the random number generation. 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. This parameter contains a LongToken, initially with value 0.


    distance

    Variable distance
    A variable that is set to the distance between the transmitter and the receiver before the powerLossFactor expression is evaluated.


    _random

    java.util.Random _random
    A random number generator.

    Class ptolemy.domains.wireless.lib.GetProperties extends TypedAtomicActor implements Serializable

    Serialized Fields

    trigger

    TypedIOPort trigger
    Port that triggers execution.


    output

    TypedIOPort output
    Port that transmits the properties received on the input port.

    Class ptolemy.domains.wireless.lib.GraphicalLocator extends Locator implements Serializable

    Serialized Fields

    outputRange

    Parameter outputRange
    The output signal range. This is a double that defaults to 100.0. The icon for this sensor node includes a circle with this as its radius.


    _circle

    EllipseAttribute _circle
    Icon indicating the communication region.

    Class ptolemy.domains.wireless.lib.LimitedRangeChannel extends DelayChannel implements Serializable

    Class ptolemy.domains.wireless.lib.LinkVisualizer extends TypedAtomicActor implements Serializable

    Serialized Fields

    channelName

    StringParameter channelName
    The name of the channel. The default name is "AtomicWirelessChannel".


    sleepTime

    Parameter sleepTime
    The amount of time to sleep in milliseconds between drawing the line and then removing the line. The initial default value is an IntToken with a value of 500, meaning sleep for 500 ms.


    _isOff

    java.lang.Boolean _isOff
    Status of line that visualizes the radio link. Initialized to true.


    _channel

    WirelessChannel _channel
    Channel specified by the channelName parameter.

    Class ptolemy.domains.wireless.lib.Locator extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    WirelessIOPort input
    Port that receives a trigger input that causes transmission of location and time information on the output port.


    inputChannelName

    StringParameter inputChannelName
    Name of the input channel. This is a string that defaults to "InputChannel".


    output

    WirelessIOPort output
    Port that transmits the current location and the time of the event on the input port. This has type {location={double}, time=double}, a record token.


    outputChannelName

    StringParameter outputChannelName
    Name of the output channel. This is a string that defaults to "OutputChannel".

    Class ptolemy.domains.wireless.lib.NodeRandomizer extends TypedAtomicActor implements Serializable

    Serialized Fields

    maxPrecision

    Parameter maxPrecision
    The maximum precision (number of digits to be used, results are rounded to this precision) of the generated locations. If equal to 0, the resulting random locations will not be rounded. The default value is 0.


    randomizeInInitialize

    Parameter randomizeInInitialize
    If set to true, randomly distribute nodes in initialize(). The default value is false.


    range

    Parameter range
    The range of values for locations to be set when randomizing. This is an array of arrays that defaults to {{0.0, 500.0}, {0.0, 500.0}}, indicating that the X and Y values are uniformly distributed between 0.0 and 500.0.


    resetOnEachRun

    Parameter resetOnEachRun
    If set to true, reset the random number generator with the seed value each time preinitialize() is invoked. The default value is true, which means that if the seed value is non-zero, the node layout will be the same each time this model is run. When the value is false and the seed value is non-zero, the random number generator will not be reset, and the node layout will be different each time this model is run within the same session (within the lifetime of the JVM), although the overall pattern of node layouts will be the same across different JVM sessions.


    seed

    Parameter seed
    The seed that controls the random number generation to use when randomizing. 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. This parameter contains a LongToken, initially with value 0.


    trigger

    TypedIOPort trigger
    A trigger input to cause this actor to fire in domains that require a trigger. This has undeclared type.


    _mathContext

    java.math.MathContext _mathContext

    _random

    java.util.Random _random

    Class ptolemy.domains.wireless.lib.PowerLossChannel extends LimitedRangeChannel implements Serializable

    Serialized Fields

    powerPropagationFactor

    Parameter powerPropagationFactor
    The default formula for the power loss factor. This value, when multiplied by the transmit power, yields the power density (per unit area) at a receiver. It can be an expression that depends on a variable "distance," which has the value of the distance between a transmitter and receiver when this parameter is evaluated. This is a double that defaults to "1.0 / (distance * distance))".

    Class ptolemy.domains.wireless.lib.SetProperties extends TypedAtomicActor implements Serializable

    Serialized Fields

    payload

    TypedIOPort payload
    Input port that receives the payload to be transmitted.


    output

    TypedIOPort output
    Output port that output the received payload. This has the same type as the payload port.


    properties

    TypedIOPort properties
    Input port that receives the properties to be used for transmission on the connected wireless output port. The type of this port is a record type.

    Class ptolemy.domains.wireless.lib.TerrainProperty extends TypedAtomicActor implements Serializable

    Serialized Fields

    channelName

    StringParameter channelName
    The name of the channel. The default name is "TerrainChannel".


    attenuationDepth

    Parameter attenuationDepth
    The width of material that will attenuate a signal power by 50% (3dB). This has the same units as the xyPoints parameter, which specifies the geometry of the obstable. The default value is 0.0, which means infinite attenuation (no signal gets through).


    xyPoints

    Parameter xyPoints
    The x/y coordinates of the obstable. This is an array of integers specifying a geometry. The icon will have the same geometry. The default value is an array of integer pairs: {{0, 0}, {0, 5}, {20, 5}, {20, 0}}


    _channel

    WirelessChannel _channel

    _xPoints

    int[] _xPoints

    _yPoints

    int[] _yPoints

    _icon

    EditorIcon _icon

    _terrain

    FilledShapeAttribute _terrain

    _numberOfPoints

    int _numberOfPoints

    _attenuation

    double _attenuation

    _number

    int _number

    _offset

    double[] _offset

    _channelName

    java.lang.String _channelName

    Class ptolemy.domains.wireless.lib.TransmitPropertyTransformer extends LifeCycleManager implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    Port that receives the data to be transmitted on the output port. The type is unconstrained.


    output

    TypedIOPort output
    Port that sends data to a wireless output. The type is constrained to be the same as the input.


    senderLocation

    Parameter senderLocation
    The location of the sender. This is a double array with default value {0.0, 0.0}.


    receiverLocation

    Parameter receiverLocation
    The location of the receiver. This is a double array with default value {0.0, 0.0}.


    properties

    Parameter properties
    The properties to be transformed. This is a record token with value {power = 0.0, range = 0.0}.


    _inputWirelessChannel

    WirelessChannel _inputWirelessChannel
    The wireless channel for the connected input port found in preinitialize().


    _wirelessInputPort

    WirelessIOPort _wirelessInputPort
    The connected wireless input port found in preinitialize().


    _outputWirelessChannel

    WirelessChannel _outputWirelessChannel
    The wireless channel for the connected output port found in preinitialize().


    _wirelessOutputPort

    WirelessIOPort _wirelessOutputPort
    The connected wireless output port found in preinitialize().

    Class ptolemy.domains.wireless.lib.Triangulator extends TypedAtomicActor implements Serializable

    Serialized Fields

    input

    TypedIOPort input
    The input port for an event detection, which is a record containing the location of a sensor that has detected the event and the time at which the sensor detected the event. This has type {location = {double}, time = double} The location is assumed to have two entries.


    output

    TypedIOPort output
    The output producing the calculated event location. This has type {double}, a double array with two entries.


    signalPropagationSpeed

    Parameter signalPropagationSpeed
    Speed of propagation of the signal to be used for triangulation. This is a double that defaults to 344.0 (the speed of sound in air at room temperature, in meters per second).


    timeWindow

    Parameter timeWindow
    Time window within which observations are assumed to come from the same sound event. This is a double that defaults to 0.5 (in seconds).


    _locationsX

    double[] _locationsX

    _locationsY

    double[] _locationsY

    _times

    double[] _times

    Class ptolemy.domains.wireless.lib.WiredToWireless extends TypedAtomicActor implements Serializable

    Serialized Fields

    payload

    TypedIOPort payload
    Input port that receives the payload to be transmitted on the output port.


    output

    WirelessIOPort output
    Port that sends a wireless output. This has the same type as the payload port.


    outputChannelName

    StringParameter outputChannelName
    Name of the output channel. This is a string that defaults to "AtomicWirelessChannel".


    properties

    TypedIOPort properties
    input port that receives the properties to be used for transmission on the output port. The type of this port is a record type.

    Class ptolemy.domains.wireless.lib.WirelessToWired extends TypedAtomicActor implements Serializable

    Serialized Fields

    payload

    TypedIOPort payload
    Output port that transmits the payload received on the input port. This has the same type as the input port.


    input

    WirelessIOPort input
    Input port that receives a wireless input.


    inputChannelName

    StringParameter inputChannelName
    Name of the input channel. This is a string that defaults to "AtomicWirelessChannel".


    properties

    TypedIOPort properties
    Output port that transmits the properties received on the input port. The type of this port is a record type.


    Package ptolemy.graph

    Class ptolemy.graph.GraphActionException extends IllegalActionException implements Serializable

    Class ptolemy.graph.GraphConstructionException extends GraphException implements Serializable

    Class ptolemy.graph.GraphElementException extends GraphException implements Serializable

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

    Class ptolemy.graph.GraphInvalidStateException extends InvalidStateException implements Serializable

    Class ptolemy.graph.GraphStateException extends GraphException implements Serializable

    Class ptolemy.graph.GraphTopologyException extends GraphException implements Serializable

    Class ptolemy.graph.GraphWeightException extends GraphException implements Serializable


    Package ptolemy.graph.analysis

    Class ptolemy.graph.analysis.AnalysisException extends java.lang.RuntimeException implements Serializable

    Class ptolemy.graph.analysis.InvalidAnalyzerException extends AnalysisException implements Serializable


    Package ptolemy.gui

    Class ptolemy.gui.BasicJApplet extends javax.swing.JApplet implements Serializable

    Serialized Fields

    _background

    java.awt.Color _background
    The background color as set by the "background" applet parameter. This is protected so that derived classes can find out what the background color is. Derived classes may wish to know the color so they can match it in some of their components.

    Class ptolemy.gui.CancelException extends java.lang.Exception implements Serializable

    Class ptolemy.gui.ComponentDialog extends javax.swing.JDialog implements Serializable

    Serialized Fields

    contents

    java.awt.Component contents
    The component contained by this dialog.


    _buttonPressed

    java.lang.String _buttonPressed
    The label of the button pushed to dismiss the dialog.


    _doneHandleClosing

    boolean _doneHandleClosing
    Indicator that we have notified of window closing.


    _optionPane

    javax.swing.JOptionPane _optionPane
    The pane with the buttons.


    _messageArea

    javax.swing.JTextArea _messageArea
    The container for messages.

    Class ptolemy.gui.JTextAreaExec extends javax.swing.JPanel implements Serializable

    Serialized Fields

    _clearListener

    java.awt.event.ActionListener _clearListener

    _interruptListener

    java.awt.event.ActionListener _interruptListener

    _startListener

    java.awt.event.ActionListener _startListener

    _cancelButton

    javax.swing.JButton _cancelButton
    The Cancel Button.


    _clearButton

    javax.swing.JButton _clearButton
    The Clear Button.


    _commands

    java.util.List<E> _commands
    The list of command to be executed. Each entry in the list is a String. It might be better to have each element of the list be an String [] so that the shell can interpret each word in the command.


    _debug

    boolean _debug

    _envp

    java.lang.String[] _envp
    The environment, which is an array of Strings of the form name=value. If this variable is null, then the environment of the calling process is used.


    _jTextArea

    javax.swing.JTextArea _jTextArea
    JTextArea to write the command and the output of the command.


    _process

    java.lang.Process _process
    The Process that we are running.


    _subprocessReturnCode

    int _subprocessReturnCode
    The return code of the last Runtime.exec() command.


    _progressBar

    javax.swing.JProgressBar _progressBar
    Progress bar where the length of the bar is the total number of commands being run.


    _statusBar

    javax.swing.JLabel _statusBar
    Label at the bottom that provides feedback as to what is happening.


    _startButton

    javax.swing.JButton _startButton
    The Start Button.


    _worker

    SwingWorker _worker
    SwingWorker that actually does the work.


    _workingDirectory

    java.io.File _workingDirectory
    The working directory of the subprocess. If null, then the subprocess is executed in the working directory of the current process.

    Class ptolemy.gui.Query extends javax.swing.JPanel implements Serializable

    Serialized Fields

    _background

    java.awt.Color _background
    The background color as set by setBackground(). This defaults to null, which indicates that the background is the same as the container.


    _constraints

    java.awt.GridBagConstraints _constraints
    Standard constraints for use with _grid.


    _entries

    java.util.Map<K,V> _entries
    The hashtable of items in the query.


    _grid

    java.awt.GridBagLayout _grid
    Layout control.


    _listeners

    java.util.Vector<E> _listeners
    List of registered listeners.


    _columns

    int _columns

    _entryPanel

    javax.swing.JPanel _entryPanel

    _entryScrollPane

    javax.swing.JScrollPane _entryScrollPane

    _height

    int _height

    _labels

    java.util.Map<K,V> _labels

    _leftPadding

    java.awt.Insets _leftPadding

    _messageArea

    javax.swing.JTextArea _messageArea

    _messageScrollPane

    javax.swing.JScrollPane _messageScrollPane

    _messageScrollPaneAdded

    boolean _messageScrollPaneAdded

    _insets

    java.awt.Insets _insets

    _previous

    java.util.Map<K,V> _previous

    _widgetsHeight

    int _widgetsHeight

    _width

    int _width

    Class ptolemy.gui.Query.QueryColorChooser extends javax.swing.Box implements Serializable

    Serialized Fields

    _entryBox

    javax.swing.JTextField _entryBox

    _name

    java.lang.String _name

    _owner

    Query _owner

    Class ptolemy.gui.Query.QueryFileChooser extends javax.swing.Box implements Serializable

    Serialized Fields

    _owner

    Query _owner

    _base

    java.net.URI _base

    _entryBox

    javax.swing.JTextField _entryBox

    _name

    java.lang.String _name

    _save

    boolean _save

    _startingDirectory

    java.io.File _startingDirectory

    _allowFiles

    boolean _allowFiles

    _allowDirectories

    boolean _allowDirectories

    Class ptolemy.gui.QueryChooser extends javax.swing.Box implements Serializable

    Serialized Fields

    _owner

    Query _owner
    The owning query.


    _name

    java.lang.String _name
    The name of the chooser.


    _foreground

    java.awt.Color _foreground
    The foreground color.


    _background

    java.awt.Color _background
    The background color.

    Class ptolemy.gui.ShellTextArea extends javax.swing.JPanel implements Serializable

    Serialized Fields

    mainPrompt

    java.lang.String mainPrompt
    Main prompt.


    contPrompt

    java.lang.String contPrompt
    Prompt to use on continuation lines.


    historyLength

    int historyLength
    Size of the history to keep.


    _commandBuffer

    java.lang.StringBuffer _commandBuffer

    _jTextArea

    javax.swing.JTextArea _jTextArea

    _promptCursor

    int _promptCursor

    _historyCursor

    int _historyCursor

    _historyCommands

    java.util.Vector<E> _historyCommands

    _initialMessage

    java.lang.String _initialMessage

    _interpreter

    ShellInterpreter _interpreter

    Class ptolemy.gui.StatusBar extends javax.swing.JPanel implements Serializable

    Serialized Fields

    _progress

    javax.swing.JProgressBar _progress

    _progressPanel

    javax.swing.JPanel _progressPanel

    _message

    javax.swing.JTextField _message

    Class ptolemy.gui.Top extends javax.swing.JFrame implements Serializable

    Serialized Fields

    _fileFilter

    javax.swing.filechooser.FileFilter _fileFilter
    The FileFilter that determines what files are displayed by the Open dialog and the Save As dialog The initial default is null, which causes no FileFilter to be applied, which results in all files being displayed.


    _fileMenu

    javax.swing.JMenu _fileMenu
    File menu for this frame.


    _fileMenuItems

    javax.swing.JMenuItem[] _fileMenuItems
    Items in the file menu. A null element represents a separator.


    _helpMenu

    javax.swing.JMenu _helpMenu
    Help menu for this frame.


    _helpMenuItems

    javax.swing.JMenuItem[] _helpMenuItems
    Help menu items.


    _menubar

    javax.swing.JMenuBar _menubar
    Menubar for this frame.


    _statusBar

    StatusBar _statusBar
    The status bar.


    _centering

    boolean _centering

    _file

    java.io.File _file

    _hideMenuBar

    boolean _hideMenuBar

    _lastURL

    java.lang.String _lastURL

    _historyDepth

    int _historyDepth

    _menuPopulated

    boolean _menuPopulated

    _modified

    boolean _modified

    Class ptolemy.gui.UndoListener.RedoAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.gui.UndoListener.UndoAction extends javax.swing.AbstractAction implements Serializable


    Package ptolemy.hsif

    Class ptolemy.hsif.HSIFEffigyFactory extends EffigyFactory implements Serializable

    Serialized Fields

    _inCreateEffigy

    boolean _inCreateEffigy

    Package ptolemy.kernel

    Class ptolemy.kernel.ComponentEntity extends Entity implements Serializable

    Serialized Fields

    _container

    CompositeEntity _container
    The container.

    Class ptolemy.kernel.ComponentPort extends Port implements Serializable

    Class ptolemy.kernel.ComponentRelation extends Relation implements Serializable

    Serialized Fields

    _container

    CompositeEntity _container
    The entity that contains this entity.

    Class ptolemy.kernel.CompositeEntity extends ComponentEntity implements Serializable

    Serialized Fields

    _levelCrossingLinks

    java.util.List<E> _levelCrossingLinks
    Level-crossing links within this composite for which this composite is responsible. This data structure is populated when exportMoML() is called.


    _containedEntities

    NamedList _containedEntities
    List of contained entities.


    _containedRelations

    NamedList _containedRelations
    List of contained ports.

    _decoratedAttributesToStoreAtThisLevel

    java.util.List<E> _decoratedAttributesToStoreAtThisLevel
    Decorated attributes within this composite for which this composite is responsible. This data structure is populated when exportMoML() is called.


    _levelCrossingConnectAllowed

    boolean _levelCrossingConnectAllowed
    Flag indicating whether level-crossing connect is permitted.

    Class ptolemy.kernel.DecoratedAttributesImplementation extends DecoratedAttributes implements Serializable

    Serialized Fields

    _decorator

    Decorator _decorator
    The decorater.


    _decoratorPath

    StringAttribute _decoratorPath
    The decorater path. This variable is used for persistence to recreate the code generator after having parsed the model.

    Class ptolemy.kernel.Entity extends InstantiableNamedObj implements Serializable

    Serialized Fields

    _portList

    NamedList _portList
    A list of Ports owned by this Entity.

    Class ptolemy.kernel.InstantiableNamedObj extends NamedObj implements Serializable

    Serialized Fields

    _children

    java.util.List<E> _children
    List of weak references to children for which this object is the parent.


    _parent

    InstantiableNamedObj _parent
    Parent to which this object defers its definition to, or null if there is none.


    _isClassDefinition

    boolean _isClassDefinition
    Indicator of whether this is a class definition.

    Class ptolemy.kernel.Port extends NamedObj implements Serializable

    Serialized Fields

    _insideLinks

    CrossRefList _insideLinks
    The list of inside relations for this port.


    _relationsList

    CrossRefList _relationsList
    The list of relations for this port.


    _container

    Entity _container
    The entity that contains this port.

    Class ptolemy.kernel.Relation extends NamedObj implements Serializable

    Serialized Fields

    _linkList

    CrossRefList _linkList
    The list of Ports and Relations that are linked to this Relation.


    Package ptolemy.kernel.attributes

    Class ptolemy.kernel.attributes.FileAttribute extends StringAttribute implements Serializable

    Serialized Fields

    _baseDirectory

    java.net.URI _baseDirectory
    Deprecated. 
    The base directory to use for relative file names.


    _reader

    java.io.BufferedReader _reader
    Deprecated. 
    The current reader for the input file.


    _writer

    java.io.Writer _writer
    Deprecated. 
    The current writer for the output file.

    Class ptolemy.kernel.attributes.RequireVersion extends VersionAttribute implements Serializable

    Class ptolemy.kernel.attributes.URIAttribute extends SingletonAttribute implements Serializable

    Serialized Fields

    _value

    java.net.URI _value

    Class ptolemy.kernel.attributes.VersionAttribute extends StringAttribute implements Serializable

    Serialized Fields

    _tupleList

    java.util.List<E> _tupleList

    Package ptolemy.kernel.undo

    Class ptolemy.kernel.undo.UndoStackAttribute extends SingletonAttribute implements Serializable

    Serialized Fields

    _inRedo

    int _inRedo

    _inUndo

    int _inUndo

    _redoEntries

    java.util.Stack<E> _redoEntries

    _undoEntries

    java.util.Stack<E> _undoEntries

    Package ptolemy.kernel.util

    Class ptolemy.kernel.util.AbstractSettableAttribute extends Attribute implements Serializable

    Serialized Fields

    _default

    java.lang.String _default
    The default value.

    Class ptolemy.kernel.util.Attribute extends NamedObj implements Serializable

    Serialized Fields

    _container

    NamedObj _container
    Container of this attribute.

    Class ptolemy.kernel.util.ConfigurableAttribute extends Attribute implements Serializable

    Serialized Fields

    _base

    java.net.URL _base

    _configureSource

    java.lang.String _configureSource

    _configureText

    java.lang.String _configureText

    _defaultText

    java.lang.String _defaultText

    _displayName

    java.lang.String _displayName

    _valueListeners

    java.util.List<E> _valueListeners

    _visibility

    Settable.Visibility _visibility

    Class ptolemy.kernel.util.CrossRefList extends java.lang.Object implements Serializable

    Serialized Fields

    _listVersion

    long _listVersion
    Version number is incremented each time the list is modified. This is used to make sure that elements accessed via an enumeration are valid. This is inspired by a similar mechanism in Doug Lea's Java Collections.

    _size

    int _size
    The code ensures that if this is non-zero, then _headNode is non-null.

    _headNode

    CrossRefList.CrossRef _headNode
    Head Node

    _lastNode

    CrossRefList.CrossRef _lastNode
    Last Node

    _container

    java.lang.Object _container
    NOTE: In jdk 1.2 or higher, this could be made final to prohibit what is called "reference reseating" (not resetting), i.e. to make the variable immutable.

    Class ptolemy.kernel.util.CrossRefList.CrossRef extends java.lang.Object implements Serializable

    Serialized Fields

    _far

    CrossRefList.CrossRef _far
    The far CrossRef.


    _next

    CrossRefList.CrossRef _next

    _previous

    CrossRefList.CrossRef _previous

    Class ptolemy.kernel.util.DecoratedAttributes extends Attribute implements Serializable

    Class ptolemy.kernel.util.IllegalActionException extends KernelException implements Serializable

    Class ptolemy.kernel.util.InternalErrorException extends KernelRuntimeException implements Serializable

    Class ptolemy.kernel.util.InvalidStateException extends KernelRuntimeException implements Serializable

    Class ptolemy.kernel.util.KernelException extends java.lang.Exception implements Serializable

    Serialized Fields

    _message

    java.lang.String _message

    _cause

    java.lang.Throwable _cause

    Class ptolemy.kernel.util.KernelRuntimeException extends java.lang.RuntimeException implements Serializable

    Serialized Fields

    _cause

    java.lang.Throwable _cause

    _causes

    java.util.Collection<E> _causes

    _message

    java.lang.String _message

    Class ptolemy.kernel.util.Location extends SingletonAttribute implements Serializable

    Serialized Fields

    _default

    java.lang.String _default

    _expression

    java.lang.String _expression

    _expressionSet

    boolean _expressionSet

    _location

    double[] _location

    _valueListeners

    java.util.List<E> _valueListeners

    _visibility

    Settable.Visibility _visibility

    Class ptolemy.kernel.util.NamedList extends java.lang.Object implements Serializable

    Serialized Fields

    _container

    Nameable _container
    The container (owner) of this list.

    _namedList

    java.util.LinkedList<E> _namedList
    A LinkedList containing the elements.

    _hashedList

    java.util.HashMap<K,V> _hashedList
    A HashMap linking names to LinkedList entries

    _hashEnabled

    boolean _hashEnabled
    A boolean indicating that the hashmap was enabled

    Class ptolemy.kernel.util.NamedObj extends java.lang.Object implements Serializable

    Serialized Fields

    _changeListeners

    java.util.List<E> _changeListeners
    A list of weak references to change listeners.


    _changeLock

    java.lang.Object _changeLock
    Object for locking accesses to change request list and status. NOTE: We could have used _changeRequests or _changeListeners, but those lists are only created when needed. A simple Object here is presumably cheaper than a list, but it is truly unfortunate to have to carry this in every NamedObj.


    _changeRequests

    java.util.List<E> _changeRequests
    A list of pending change requests.


    _debugging

    boolean _debugging
    Flag that is true if there are debug listeners.


    _debugListeners

    java.util.LinkedList<E> _debugListeners
    The list of DebugListeners 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.


    _elementName

    java.lang.String _elementName
    The MoML element name. This defaults to "entity". Subclasses that wish this to be different should set it in their constructor, or override getElementName() to return the desired value.


    _isPersistent

    java.lang.Boolean _isPersistent
    Boolean variable to indicate the persistence of the object. If this is null (the default), then instances of NamedObj are persistent unless they are inferrable through propagation. We use Boolean here rather than boolean because a null value is used to indicate that no persistence has been specified.


    _workspace

    Workspace _workspace
    The workspace for this object. This should be set by the constructor and never changed.


    _verbose

    boolean _verbose
    Flag that is true if detailed debug information is necessary.


    _attributes

    NamedList _attributes
    The Attributes attached to this object.


    _className

    java.lang.String _className
    The class name for MoML exports.


    _decoratedAttributes

    java.util.Map<K,V> _decoratedAttributes
    The decorated attributes decorated by a certain decorator.


    _derivedLevel

    int _derivedLevel

    _displayName

    java.lang.String _displayName
    The display name, if set.


    _fullNameCache

    java.lang.String _fullNameCache

    _fullNameVersion

    long _fullNameVersion

    _modelErrorHandler

    ModelErrorHandler _modelErrorHandler

    _name

    java.lang.String _name
    The name


    _override

    java.util.List<E> _override
    List indicating whether and how this derived object has been modified.


    _source

    java.lang.String _source
    The value for the source MoML attribute.

    Class ptolemy.kernel.util.NameDuplicationException extends KernelException implements Serializable

    Class ptolemy.kernel.util.NoSuchItemException extends KernelException implements Serializable

    Class ptolemy.kernel.util.Settable.Visibility extends java.lang.Object implements Serializable

    Class ptolemy.kernel.util.SingletonAttribute extends Attribute implements Serializable

    Class ptolemy.kernel.util.SingletonConfigurableAttribute extends ConfigurableAttribute implements Serializable

    Class ptolemy.kernel.util.StringAttribute extends AbstractSettableAttribute implements Serializable

    Serialized Fields

    _value

    java.lang.String _value

    _valueListeners

    java.util.List<E> _valueListeners

    _visibility

    Settable.Visibility _visibility

    Class ptolemy.kernel.util.TransientSingletonConfigurableAttribute extends ConfigurableAttribute implements Serializable

    Class ptolemy.kernel.util.Workspace extends java.lang.Object implements Serializable

    Serialized Fields

    _directory

    java.util.LinkedList<E> _directory
    List of contained objects.

    _name

    java.lang.String _name
    The name.

    _version

    long _version
    Version number.

    _waitingWriteRequests

    int _waitingWriteRequests
    The number of pending write requests.

    _writeDepth

    int _writeDepth
    The number of active write permissions (all to the same thread).

    _numReaders

    long _numReaders
    The number of readers. The use of this field is to increment it every time we have a new reader and decrement it whenever a reader relinquishes ALL its read access.

    Package ptolemy.math

    Class ptolemy.math.FixPoint extends java.lang.Object implements Serializable

    Serialized Fields

    _value

    java.math.BigInteger _value
    The BigInteger comprising the logical floating point value multiplied by 2^exponent.


    _precision

    Precision _precision
    The Precision of the given FixPoint value.


    _error

    FixPoint.Error _error
    The obsolete error condition of the FixValue

    Class ptolemy.math.FixPointQuantization extends Quantization implements Serializable

    Serialized Fields

    _precision

    Precision _precision
    The precision.

    Class ptolemy.math.Overflow extends java.lang.Object implements Serializable

    Serialized Fields

    _name

    java.lang.String _name

    Class ptolemy.math.Overflow.Grow extends Overflow implements Serializable

    Class ptolemy.math.Overflow.Minimize extends Overflow implements Serializable

    Class ptolemy.math.Overflow.Modulo extends Overflow implements Serializable

    Class ptolemy.math.Overflow.Saturate extends Overflow implements Serializable

    Class ptolemy.math.Overflow.ToZero extends Overflow implements Serializable

    Class ptolemy.math.Overflow.Trap extends Overflow implements Serializable

    Class ptolemy.math.Precision extends java.lang.Object implements Serializable

    Serialized Fields

    _length

    int _length
    The total number of bits.


    _exponent

    int _exponent
    The exponent for all values of this type.


    _sign

    int _sign
    The presence of a sign bit (0 = unsigned, 1 = signed)


    _format

    Precision.PrecisionFormat _format
    The precision format used for parsing/printing precision information.

    Class ptolemy.math.Quantization extends java.lang.Object implements Serializable

    Serialized Fields

    _overflow

    Overflow _overflow
    The overflow strategy.


    _rounding

    Rounding _rounding
    The rounding strategy.

    Class ptolemy.math.Rounding extends java.lang.Object implements Serializable

    Serialized Fields

    _name

    java.lang.String _name
    The name of the rounding mode.

    Class ptolemy.math.Rounding.RoundCeiling extends Rounding implements Serializable

    Class ptolemy.math.Rounding.RoundDown extends Rounding implements Serializable

    Class ptolemy.math.Rounding.RoundFloor extends Rounding implements Serializable

    Class ptolemy.math.Rounding.RoundHalfCeiling extends Rounding implements Serializable

    Class ptolemy.math.Rounding.RoundHalfDown extends Rounding implements Serializable

    Class ptolemy.math.Rounding.RoundHalfEven extends Rounding implements Serializable

    Class ptolemy.math.Rounding.RoundHalfFloor extends Rounding implements Serializable

    Class ptolemy.math.Rounding.RoundHalfUp extends Rounding implements Serializable

    Class ptolemy.math.Rounding.RoundUp extends Rounding implements Serializable


    Package ptolemy.matlab

    Class ptolemy.matlab.Expression extends TypedAtomicActor implements Serializable

    Serialized Fields

    output

    TypedIOPort output
    The output port.


    expression

    StringParameter expression
    The parameter that is evaluated to produce the output. Typically, this parameter evaluates an expression involving the inputs. To refer to parameters in scope within the expression, use $name or ${name}, where "name" is the name of the parameter.


    get1x1asScalars

    Parameter get1x1asScalars
    If true (checked), 1x1 matrix results are converted to ScalarTokens instead of a 1x1 MatrixToken, default is true.


    getIntegerMatrices

    Parameter getIntegerMatrices
    If true, all double-valued matrix results are checked to see if all elements represent integers, and if so, an IntMatrixToken is returned, default is false for performance reasons.


    engine

    long[] engine

    _iteration

    Variable _iteration

    _iterationCount

    int _iterationCount

    _addPathCommand

    java.lang.String _addPathCommand

    _previousPath

    Token _previousPath

    Package ptolemy.media

    Class ptolemy.media.AudioViewer extends PlotApplication implements Serializable

    Serialized Fields

    _dataInputStream

    java.io.DataInputStream _dataInputStream

    _sound

    Audio _sound

    _instream

    java.io.ByteArrayInputStream _instream

    Class ptolemy.media.Picture extends javax.swing.JPanel implements Serializable

    Serialized Fields

    _width

    int _width

    _height

    int _height

    _pixels

    int[] _pixels

    _image

    java.awt.Image _image

    _imageSource

    java.awt.image.MemoryImageSource _imageSource

    Package ptolemy.moml

    Class ptolemy.moml.Documentation extends StringAttribute implements Serializable

    Class ptolemy.moml.EntityLibrary extends CompositeEntity implements Serializable

    Serialized Fields

    _base

    java.net.URL _base
    The base specified by the configure() method.


    _cloning

    boolean _cloning
    Indicate that we are cloning.


    _configureDone

    boolean _configureDone
    Indicate whether data given by configure() has been processed.


    _configureSource

    java.lang.String _configureSource
    URL specified to the configure() method.


    _configureText

    java.lang.String _configureText
    Text specified to the configure() method.


    _populated

    boolean _populated
    Flag indicating populate() has been called, and hence the configuration should be obtained from the current contents (in case they have changed) rather than from the _configureText.


    _populating

    boolean _populating
    Indicator that we are in the midst of populating.

    Class ptolemy.moml.ImportAttribute extends Attribute implements Serializable

    Serialized Fields

    _source

    java.lang.String _source
    Deprecated. 

    Class ptolemy.moml.LibraryAttribute extends ConfigurableAttribute implements Serializable

    Serialized Fields

    _library

    CompositeEntity _library

    _librarySet

    boolean _librarySet

    Class ptolemy.moml.MissingClassException extends XmlException implements Serializable

    Serialized Fields

    _missingClassName

    java.lang.String _missingClassName
    The name of the missing class.

    Class ptolemy.moml.MoMLAttribute extends Attribute implements Serializable

    Serialized Fields

    _momlDescription

    java.util.List<E> _momlDescription

    Class ptolemy.moml.MoMLModelAttribute extends Attribute implements Serializable

    Serialized Fields

    _model

    NamedObj _model
    The contained model. This is protected so that derived classes can provide a default model.

    Class ptolemy.moml.ParserAttribute extends SingletonAttribute implements Serializable

    Serialized Fields

    _parser

    MoMLParser _parser

    Class ptolemy.moml.Vertex extends Location implements Serializable

    Serialized Fields

    _linked

    Vertex _linked

    _ports

    java.util.LinkedList<E> _ports

    Package ptolemy.moml.unit

    Class ptolemy.moml.unit.ParseException extends java.lang.Exception implements Serializable

    Serialized Fields

    specialConstructor

    boolean specialConstructor
    This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


    currentToken

    Token currentToken
    This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token following this token will (therefore) be the first error token.


    expectedTokenSequences

    int[][] expectedTokenSequences
    Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


    tokenImage

    java.lang.String[] tokenImage
    This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


    eol

    java.lang.String eol
    The end of line string for this machine.

    Class ptolemy.moml.unit.TokenMgrError extends java.lang.Error implements Serializable

    Serialized Fields

    errorCode

    int errorCode
    Indicates the reason why the exception is thrown. It will have one of the above 4 values.

    Class ptolemy.moml.unit.UnitAttribute extends AbstractSettableAttribute implements Serializable

    Serialized Fields

    _visibility

    Settable.Visibility _visibility

    _valueListeners

    java.util.List<E> _valueListeners

    _unitExpr

    UnitExpr _unitExpr

    _unitConstraints

    UnitConstraints _unitConstraints

    _type

    int _type

    Package ptolemy.plot

    Class ptolemy.plot.CmdLineArgException extends java.lang.Exception implements Serializable

    Class ptolemy.plot.EditablePlot extends Plot implements Serializable

    Serialized Fields

    _editSpecX

    int[] _editSpecX

    _editSpecY

    int[] _editSpecY

    _editSpecSet

    boolean[] _editSpecSet

    _currentEditX

    int _currentEditX

    _currentEditY

    int _currentEditY

    _dataset

    int _dataset

    _undoStack

    java.util.Stack<E> _undoStack

    _redoStack

    java.util.Stack<E> _redoStack

    _editListeners

    java.util.Vector<E> _editListeners

    Class ptolemy.plot.Histogram extends PlotBox implements Serializable

    Serialized Fields

    _currentdataset

    int _currentdataset
    The current dataset.

    _points

    java.util.Vector<E> _points
    A vector of datasets.

    _histogram

    java.util.Vector<E> _histogram
    A vector of histogram data.

    _barwidth

    double _barwidth
    The width of a bar.

    _baroffset

    double _baroffset
    The offset between bars.

    _binWidth

    double _binWidth
    The width of a bin.

    _binOffset

    double _binOffset
    The offset between bins.

    _needBinRedraw

    boolean _needBinRedraw

    _needPlotRefill

    boolean _needPlotRefill

    _scheduledBinsToAdd

    java.util.ArrayList<E> _scheduledBinsToAdd

    _showing

    boolean _showing
    Set by _drawPlot(), and reset by clear().

    Class ptolemy.plot.HistogramApplet extends PlotApplet implements Serializable

    Class ptolemy.plot.Plot extends PlotBox implements Serializable

    Serialized Fields

    _currentdataset

    int _currentdataset
    The current dataset.


    _marks

    int _marks
    An indicator of the marks style. See _parseLine method for interpretation.


    _points

    java.util.ArrayList<E> _points
    A vector of datasets.


    _markDisconnections

    boolean _markDisconnections
    True when disconnections should be marked.


    _barOffset

    double _barOffset
    Offset per dataset in x axis units.

    _bars

    boolean _bars
    True if this is a bar plot.

    _barWidth

    double _barWidth
    Width of a bar in x axis units.

    _bins

    java.util.ArrayList<E> _bins
    An arraylist of the bins in the plot. A bin is represents a number of points that are all displayed on the same x position. A bin is meant to avoid superfluous drawings of lines. So instaed of having to draw a line between each point, you can draw a line between the minimum and maximum and maximum position.


    _connected

    boolean _connected
    True if the points are connected.

    _diameter

    int _diameter
    Give the diameter of a point for efficiency.

    _firstInSet

    boolean _firstInSet
    Is this the first datapoint in a set?

    _formats

    java.util.ArrayList<E> _formats
    Format information on a per data set basis.

    _graphics

    java.awt.Graphics _graphics
    Cached copy of graphics, needed to reset when we are exporting to EPS.


    _impulses

    boolean _impulses
    True if this is an impulse plot.

    _lastPointWithExtraDot

    java.util.HashMap<K,V> _lastPointWithExtraDot

    _lineStyles

    boolean _lineStyles
    True if different line styles should be used.


    _maxDataset

    int _maxDataset
    The highest data set used.

    _needBinRedraw

    boolean _needBinRedraw

    _needPlotRefill

    boolean _needPlotRefill

    _pointInBinOffset

    java.util.ArrayList<E> _pointInBinOffset
    Points in bins have an absolute index within the virtual array of all points that once existed in Plot. This is done to avoid having to change all bins when points in the beginning are removed. The offset _pointInBinOffset is a positive number that denotes the difference between the index of the point in the current point arraylist and the virtual one containing all points.


    _pointsPersistence

    int _pointsPersistence
    Number of points to persist for.

    _prevxpos

    java.util.ArrayList<E> _prevxpos
    Information about the previously plotted point.

    _prevypos

    java.util.ArrayList<E> _prevypos
    Information about the previously plotted point.

    _prevErasedxpos

    java.util.ArrayList<E> _prevErasedxpos
    Information about the previously erased point.

    _prevErasedypos

    java.util.ArrayList<E> _prevErasedypos
    Information about the previously erased point.

    _radius

    int _radius
    Give the radius of a point for efficiency.

    _reuseDatasets

    boolean _reuseDatasets
    True if we saw 'reusedatasets: on' in the file.

    _sawFirstDataSet

    boolean _sawFirstDataSet
    Have we seen a DataSet line in the current data file?

    _scheduledBinsToAdd

    java.util.ArrayList<E> _scheduledBinsToAdd

    _scheduledBinsToErase

    java.util.ArrayList<E> _scheduledBinsToErase

    _showing

    boolean _showing
    Set by _drawPlot(), and reset by clear().

    _xPersistence

    double _xPersistence
    Persistence in units of the horizontal axis.

    _xyInvalid

    boolean _xyInvalid
    Flag indicating validity of _xBottom, _xTop, _yBottom, and _yTop.

    _width

    float _width
    The width of the current stroke. Only effective if the Graphics is a Graphics2D.

    Class ptolemy.plot.PlotApplet extends javax.swing.JApplet implements Serializable

    Class ptolemy.plot.PlotApplication extends PlotFrame implements Serializable

    Class ptolemy.plot.PlotBox extends javax.swing.JPanel implements Serializable

    Serialized Fields

    _padding

    double _padding
    The factor we pad by so that we don't plot points on the axes.


    _xlowgiven

    double _xlowgiven
    The given X and Y ranges. If they have been given the top and bottom of the x and y ranges. This is different from _xMin and _xMax, which actually represent the range of data that is plotted. This represents the range specified (which may be different due to zooming).


    _xhighgiven

    double _xhighgiven
    The given X and Y ranges. If they have been given the top and bottom of the x and y ranges. This is different from _xMin and _xMax, which actually represent the range of data that is plotted. This represents the range specified (which may be different due to zooming).


    _ylowgiven

    double _ylowgiven
    The given X and Y ranges. If they have been given the top and bottom of the x and y ranges. This is different from _xMin and _xMax, which actually represent the range of data that is plotted. This represents the range specified (which may be different due to zooming).


    _yhighgiven

    double _yhighgiven
    The given X and Y ranges. If they have been given the top and bottom of the x and y ranges. This is different from _xMin and _xMax, which actually represent the range of data that is plotted. This represents the range specified (which may be different due to zooming).


    _xBottom

    double _xBottom
    The minimum X value registered so for, for auto ranging.


    _xTop

    double _xTop
    The maximum X value registered so for, for auto ranging.


    _yBottom

    double _yBottom
    The minimum Y value registered so for, for auto ranging.


    _yTop

    double _yTop
    The maximum Y value registered so for, for auto ranging.


    _xlog

    boolean _xlog
    Whether to draw the axes using a logarithmic scale.


    _ylog

    boolean _ylog
    Whether to draw the axes using a logarithmic scale.


    _grid

    boolean _grid
    Whether to draw a background grid.


    _wrap

    boolean _wrap
    Whether to wrap the X axis.


    _wrapHigh

    double _wrapHigh
    The high range of the X axis for wrapping.


    _wrapLow

    double _wrapLow
    The low range of the X axis for wrapping.


    _background

    java.awt.Color _background
    Color of the background, settable from HTML.


    _foreground

    java.awt.Color _foreground
    Color of the foreground, settable from HTML.


    _topPadding

    int _topPadding
    Top padding. Derived classes can increment these to make space around the plot.


    _bottomPadding

    int _bottomPadding
    Bottom padding. Derived classes can increment these to make space around the plot.


    _rightPadding

    int _rightPadding
    Right padding. Derived classes can increment these to make space around the plot.


    _leftPadding

    int _leftPadding
    Left padding. Derived classes can increment these to make space around the plot.


    _ulx

    int _ulx
    The x value of the upper left corner of the plot rectangle in pixels. Given a mouse click at x0, to convert to data coordinates, use: (_xMin + (x0 - _ulx) / _xscale).


    _uly

    int _uly
    The y value of the upper left corner of the plot rectangle in pixels. Given a mouse click at y0, to convert to data coordinates, use: (_yMax - (y0 - _uly) / _yscale).


    _lrx

    int _lrx
    The x value of the lower right corner of the plot rectangle in pixels.


    _lry

    int _lry
    The y value of the lower right corner of the plot rectangle in pixels.


    _specifiedPlotRectangle

    java.awt.Rectangle _specifiedPlotRectangle
    User specified plot rectangle, null if none specified.

    See Also:
    PlotBox.setPlotRectangle(Rectangle)

    _yscale

    double _yscale
    Scaling used for the vertical axis in plotting points. The units are pixels/unit, where unit is the units of the Y axis.


    _xscale

    double _xscale
    Scaling used for the horizontal axis in plotting points. The units are pixels/unit, where unit is the units of the X axis.


    _usecolor

    boolean _usecolor
    Indicator whether to use _colors.


    _width

    int _width
    Width and height of component in pixels.


    _height

    int _height
    Width and height of component in pixels.


    _preferredWidth

    int _preferredWidth
    Width and height of component in pixels.


    _preferredHeight

    int _preferredHeight
    Width and height of component in pixels.


    _documentBase

    java.net.URL _documentBase
    The document base we use to find the _filespec. NOTE: Use of this variable is deprecated. But it is made available to derived classes for backward compatibility. FIXME: Sun's appletviewer gives an exception if this is protected. Why?? So we make it temporarily public.


    _actionsDeferred

    boolean _actionsDeferred
    Indicator of whether actions are deferred.


    _automaticRescale

    boolean _automaticRescale

    _deferredActions

    java.util.LinkedList<E> _deferredActions
    List of deferred actions.


    _filespec

    java.lang.String _filespec
    The file to be opened.


    _ytickMax

    double _ytickMax
    The range of the plot as labeled (multiply by 10^exp for actual range.


    _ytickMin

    double _ytickMin
    The range of the plot as labeled (multiply by 10^exp for actual range.


    _xtickMax

    double _xtickMax
    The range of the plot as labeled (multiply by 10^exp for actual range.


    _xtickMin

    double _xtickMin
    The range of the plot as labeled (multiply by 10^exp for actual range.


    _yExp

    int _yExp
    The power of ten by which the range numbers should be multiplied.


    _xExp

    int _xExp
    The power of ten by which the range numbers should be multiplied.


    _ytickscale

    double _ytickscale
    Scaling used in making tick marks.


    _xtickscale

    double _xtickscale
    Scaling used in making tick marks.


    _captionFont

    java.awt.Font _captionFont
    Caption font information.


    _labelFont

    java.awt.Font _labelFont
    Font information.


    _superscriptFont

    java.awt.Font _superscriptFont
    Font information.


    _titleFont

    java.awt.Font _titleFont
    Font information.


    _captionFontMetrics

    java.awt.FontMetrics _captionFontMetrics
    Caption font metric information.


    _labelFontMetrics

    java.awt.FontMetrics _labelFontMetrics
    FontMetric information.


    _superscriptFontMetrics

    java.awt.FontMetrics _superscriptFontMetrics
    FontMetric information.


    _titleFontMetrics

    java.awt.FontMetrics _titleFontMetrics
    FontMetric information.


    _xlabel

    java.lang.String _xlabel
    The title and label strings.


    _ylabel

    java.lang.String _ylabel
    The title and label strings.


    _title

    java.lang.String _title
    The title and label strings.


    _captionStrings

    java.util.Vector<E> _captionStrings
    Caption information.


    _legendStrings

    java.util.Vector<E> _legendStrings
    Legend information.


    _legendDatasets

    java.util.Vector<E> _legendDatasets
    Legend information.


    _xticks

    java.util.Vector<E> _xticks
    If XTicks or YTicks are given/


    _xticklabels

    java.util.Vector<E> _xticklabels
    If XTicks or YTicks are given/


    _yticks

    java.util.Vector<E> _yticks
    If XTicks or YTicks are given/


    _yticklabels

    java.util.Vector<E> _yticklabels
    If XTicks or YTicks are given/


    _originalXRangeGiven

    boolean _originalXRangeGiven

    _originalYRangeGiven

    boolean _originalYRangeGiven

    _originalXlow

    double _originalXlow

    _originalXhigh

    double _originalXhigh

    _originalYlow

    double _originalYlow

    _originalYhigh

    double _originalYhigh

    _timedRepaint

    boolean _timedRepaint

    Class ptolemy.plot.PlotFormatter extends javax.swing.JPanel implements Serializable

    Serialized Fields

    _plot

    PlotBox _plot
    The plot object controlled by this formatter.

    _wideQuery

    Query _wideQuery

    _narrowQuery

    Query _narrowQuery

    _originalTitle

    java.lang.String _originalTitle

    _originalCaptions

    java.util.Vector<E> _originalCaptions

    _originalXLabel

    java.lang.String _originalXLabel

    _originalYLabel

    java.lang.String _originalYLabel

    _originalMarks

    java.lang.String _originalMarks

    _originalXTicksSpec

    java.lang.String _originalXTicksSpec

    _originalYTicksSpec

    java.lang.String _originalYTicksSpec

    _originalXRange

    double[] _originalXRange

    _originalYRange

    double[] _originalYRange

    _originalXTicks

    java.util.Vector<E>[] _originalXTicks

    _originalYTicks

    java.util.Vector<E>[] _originalYTicks

    _originalGrid

    boolean _originalGrid

    _originalLineStyles

    boolean _originalLineStyles

    _originalStems

    boolean _originalStems

    _originalColor

    boolean _originalColor

    _originalConnected

    boolean[][] _originalConnected

    _originalPoints

    PlotPoint[][] _originalPoints

    Class ptolemy.plot.PlotFrame extends javax.swing.JFrame implements Serializable

    Serialized Fields

    plot

    PlotBox plot
    The plot object held by this frame.

    _menubar

    javax.swing.JMenuBar _menubar
    Menubar for this frame.

    _editMenu

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

    _fileMenu

    javax.swing.JMenu _fileMenu
    File 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.plot.PlotLive extends Plot implements Serializable

    Serialized Fields

    _plotLiveThread

    java.lang.Thread _plotLiveThread
    Thread of this plotter

    _plotting

    boolean _plotting
    True if we are actually plotting.

    _paused

    boolean _paused
    True if we are paused.

    _startButton

    javax.swing.JButton _startButton
    Start and Stop Buttons.

    _stopButton

    javax.swing.JButton _stopButton
    Start and Stop Buttons.

    Class ptolemy.plot.PlotLiveApplet extends PlotApplet implements Serializable

    Class ptolemy.plot.PlotPoint extends java.lang.Object implements Serializable

    Serialized Fields

    connected

    boolean connected
    True if this point is connected to the previous point by a line.


    errorBar

    boolean errorBar
    True if the yLowEB and yHighEB fields are valid.


    originalx

    double originalx
    Original value of x before wrapping.


    x

    double x
    X value after wrapping (if any).


    y

    double y
    Y value.


    yLowEB

    double yLowEB
    Error bar Y low value.


    yHighEB

    double yHighEB
    Error bar Y low value.


    Package ptolemy.plot.compat

    Class ptolemy.plot.compat.PxgraphApplet extends PlotApplet implements Serializable

    Serialized Fields

    _parser

    PxgraphParser _parser

    Class ptolemy.plot.compat.PxgraphApplication extends PlotApplication implements Serializable

    Serialized Fields

    _parser

    PxgraphParser _parser

    Package ptolemy.plot.plotml

    Class ptolemy.plot.plotml.EditablePlotMLApplet extends PlotMLApplet implements Serializable

    Serialized Fields

    _choice

    javax.swing.JComboBox _choice

    Class ptolemy.plot.plotml.EditablePlotMLApplication extends PlotMLApplication implements Serializable

    Class ptolemy.plot.plotml.HistogramMLApplet extends PlotMLApplet implements Serializable

    Class ptolemy.plot.plotml.HistogramMLApplication extends PlotMLApplication implements Serializable

    Class ptolemy.plot.plotml.PlotMLApplet extends PlotApplet implements Serializable

    Class ptolemy.plot.plotml.PlotMLApplication extends PlotApplication implements Serializable

    Class ptolemy.plot.plotml.PlotMLFrame extends PlotFrame implements Serializable


    Package ptolemy.util

    Class ptolemy.util.CancelException extends java.lang.Exception implements Serializable

    Class ptolemy.util.MultiHashMap extends java.util.HashMap implements Serializable


    Package ptolemy.vergil

    Class ptolemy.vergil.MoMLViewerApplet extends MoMLApplet implements Serializable

    Serialized Fields

    _configuration

    Configuration _configuration
    The configuration that is read from the configuration applet param.

    Class ptolemy.vergil.TypeAnimatorApplet extends MoMLViewerApplet implements Serializable

    Class ptolemy.vergil.VergilApplet extends BasicJApplet implements Serializable


    Package ptolemy.vergil.actor

    Class ptolemy.vergil.actor.ActorController.ListenToActorAction extends FigureAction implements Serializable

    Serialized Fields

    _configuration

    Configuration _configuration

    _controller

    BasicGraphController _controller

    _target

    NamedObj _target

    _tableauFrame

    TableauFrame _tableauFrame

    Class ptolemy.vergil.actor.ActorEditorGraphController.NewRelationAction extends FigureAction implements Serializable

    Class ptolemy.vergil.actor.ActorGraphFrame extends ExtendedGraphFrame implements Serializable

    Serialized Fields

    _controller

    ActorEditorGraphController _controller
    The graph controller. This is created in _createGraphPane().


    _debugMenu

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


    _graphMenu

    javax.swing.JMenu _graphMenu
    The graph menu.


    _createHierarchyAction

    javax.swing.Action _createHierarchyAction
    The action for creating a level of hierarchy.


    _layoutAction

    javax.swing.Action _layoutAction
    The action for automatically laying out the graph.


    _saveInLibraryAction

    javax.swing.Action _saveInLibraryAction
    The action for saving the current model in a library.


    _importLibraryAction

    javax.swing.Action _importLibraryAction
    The action for importing a library of components.


    _instantiateAttributeAction

    javax.swing.Action _instantiateAttributeAction
    The action for instantiating an attribute.


    _instantiateEntityAction

    javax.swing.Action _instantiateEntityAction
    The action for instantiating an entity.


    _lastAttributeClassName

    java.lang.String _lastAttributeClassName
    The most recent class name for instantiating an attribute.


    _lastEntityClassName

    java.lang.String _lastEntityClassName
    The most recent class name for instantiating an entity.


    _lastLocation

    java.lang.String _lastLocation
    The most recent location for instantiating a class.


    _lastDelayTime

    long _lastDelayTime

    Class ptolemy.vergil.actor.ActorGraphTableau extends Tableau implements Serializable

    Class ptolemy.vergil.actor.ActorGraphTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.actor.DocBuilder extends Attribute implements Serializable

    Serialized Fields

    cleanFirst

    Parameter cleanFirst
    If true, then clean before building documentation. The default value is false.


    _configuration

    Configuration _configuration
    The configuration in which we look up the _applicationName and _docApplicationSpecializer parameters.


    _executeCommands

    ExecuteCommands _executeCommands
    The object that actually executes the commands.

    Class ptolemy.vergil.actor.DocBuilderEffigy extends PtolemyEffigy implements Serializable

    Class ptolemy.vergil.actor.DocBuilderEffigy.Factory extends EffigyFactory implements Serializable

    Class ptolemy.vergil.actor.DocBuilderGUI extends PtolemyFrame implements Serializable

    Serialized Fields

    _applicationName

    java.lang.String _applicationName
    The name of the application, usually from the _applicationName StringAttribute in configuration.xml. If null, then use the default documentation in doc/codeDoc.

    Class ptolemy.vergil.actor.DocBuilderTableau extends Tableau implements Serializable

    Class ptolemy.vergil.actor.DocBuilderTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.actor.DocEffigy extends Effigy implements Serializable

    Serialized Fields

    _docAttribute

    DocAttribute _docAttribute
    The doc attribute represented by this effigy, if any.

    Class ptolemy.vergil.actor.DocEffigy.Factory extends EffigyFactory implements Serializable

    Class ptolemy.vergil.actor.DocTableau extends Tableau implements Serializable

    Class ptolemy.vergil.actor.DocTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.actor.DocViewer extends HTMLViewer implements Serializable

    Serialized Fields

    _applicationName

    java.lang.String _applicationName
    The name of the application, usually from the _applicationName StringAttribute in configuration.xml. If the value is the empty string, then use the default documentation in doc/codeDoc.


    _configuration

    Configuration _configuration
    The configuration specified in the constructor.


    _font

    java.awt.Font _font
    The font to use for No icon available message.


    _graphPane

    GraphPane _graphPane
    The graph pane.


    _iconContainer

    CompositeEntity _iconContainer
    The composite entity containing the icon.


    _jgraph

    JGraph _jgraph
    The jgraph.


    _target

    NamedObj _target
    The target given in the constructor, if any.

    Class ptolemy.vergil.actor.TypeOpaqueCompositeActorTableauFactory extends ActorGraphTableau.Factory implements Serializable


    Package ptolemy.vergil.actor.lib

    Class ptolemy.vergil.actor.lib.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.vergil.actor.lib.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.vergil.actor.lib.MonitorImage extends Sink implements Serializable

    Serialized Fields

    _icon

    ImageIcon _icon

    Class ptolemy.vergil.actor.lib.MonitorReceiverAttribute extends SingletonAttribute implements Serializable

    Class ptolemy.vergil.actor.lib.MonitorReceiverContents extends SingletonAttribute implements Serializable

    Serialized Fields

    _executable

    Executable _executable
    The executable that creates the monitor attributes in initialize().


    _piggybackContainer

    CompositeActor _piggybackContainer
    The last container on which we piggybacked.

    Class ptolemy.vergil.actor.lib.VisualModelReference extends ModelReference implements Serializable

    Serialized Fields

    openOnFiring

    StringParameter openOnFiring
    The value of this string parameter determines what open happens when the fire() method is invoked. The recognized values are:
    • "do not open" (the default)
    • "open in Vergil"
    • "open in Vergil (full screen)"


    closeOnPostfire

    StringParameter closeOnPostfire
    The value of this string parameter determines what close action happens in the postfire() method. The recognized values are:
    • "do nothing" (the default)
    • "close Vergil graph"


    _exception

    java.lang.Exception _exception
    Store exception thrown in event thread.


    _tableau

    Tableau _tableau
    Tableau that has been created (if any).


    _effigy

    PtolemyEffigy _effigy
    Effigy that has been created (if any).

    Class ptolemy.vergil.actor.lib.VisualModelReference.LookInside extends TableauFactory implements Serializable


    Package ptolemy.vergil.basic

    Class ptolemy.vergil.basic.BasicGraphController.OpenBaseClassAction extends FigureAction implements Serializable

    Class ptolemy.vergil.basic.BasicGraphController.UnitSolverDialogAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.basic.BasicGraphFrame extends PtolemyFrame implements Serializable

    Serialized Fields

    _defaultLibrary

    LibraryAttribute _defaultLibrary
    The default Library.


    _cutAction

    javax.swing.Action _cutAction
    The cut action.


    _copyAction

    javax.swing.Action _copyAction
    The copy action.


    _editMenu

    javax.swing.JMenu _editMenu
    The edit menu.


    _editPreferencesAction

    BasicGraphFrame.EditPreferencesAction _editPreferencesAction
    The action to edit preferences.


    _exportPDFAction

    javax.swing.Action _exportPDFAction
    The export to PDF action.


    _graphPanner

    JCanvasPanner _graphPanner
    The panner.


    _library

    javax.swing.JTree _library
    The library display widget.


    _libraryContextMenuCreator

    PTreeMenuCreator _libraryContextMenuCreator
    The library context menu creator.


    _libraryModel

    EntityTreeModel _libraryModel
    The library model.


    _libraryScrollPane

    javax.swing.JScrollPane _libraryScrollPane
    The library scroll pane.


    _moveToBackAction

    BasicGraphFrame.MoveToBackAction _moveToBackAction
    Action to move to the back.


    _moveToFrontAction

    BasicGraphFrame.MoveToFrontAction _moveToFrontAction
    Action to move to the front.


    _palettePane

    javax.swing.JPanel _palettePane
    The library display panel.


    _pasteAction

    javax.swing.Action _pasteAction
    The paste action.


    _splitPane

    javax.swing.JSplitPane _splitPane
    The split pane for library and editor.


    _toolbar

    javax.swing.JToolBar _toolbar
    The toolbar.


    _topLibrary

    CompositeEntity _topLibrary
    The library.


    _dropTarget

    EditorDropTarget _dropTarget
    The instance of EditorDropTarget associated with the JGraph.


    _jgraph

    JGraph _jgraph
    The instance of JGraph for this editor.


    _openContainerAction

    javax.swing.Action _openContainerAction
    Action for opening the container, moving uplevel.


    _previousMouseX

    int _previousMouseX
    X coordinate of where we last processed a press or drag of the middle mouse button.


    _previousMouseY

    int _previousMouseY
    Y coordinate of where we last processed a press or drag of the middle mouse button.


    _printAction

    javax.swing.Action _printAction
    Action to print the model.


    _redoAction

    javax.swing.Action _redoAction
    Action to redo the last undone MoML change.


    _rightComponent

    javax.swing.JComponent _rightComponent
    The right component for this editor.


    _saveAction

    javax.swing.Action _saveAction
    Action to save the model.


    _undoAction

    javax.swing.Action _undoAction
    Action to undo the last MoML change.


    _zoomInAction

    javax.swing.Action _zoomInAction
    Action for zooming in.


    _zoomResetAction

    javax.swing.Action _zoomResetAction
    Action for zoom reset.


    _zoomFitAction

    javax.swing.Action _zoomFitAction
    Action for zoom fitting.


    _zoomOutAction

    javax.swing.Action _zoomOutAction
    Action for zooming out.

    Class ptolemy.vergil.basic.BasicGraphFrame.CopyAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.basic.BasicGraphFrame.CutAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.basic.BasicGraphFrame.EditPreferencesAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.basic.BasicGraphFrame.MoveToBackAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.basic.BasicGraphFrame.MoveToFrontAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.basic.BasicGraphFrame.PasteAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.basic.ContextMenuFactoryCreator extends Attribute implements Serializable

    Class ptolemy.vergil.basic.CustomizeDocumentationAction extends FigureAction implements Serializable

    Class ptolemy.vergil.basic.DependencyHighlighter extends NodeControllerFactory implements Serializable

    Serialized Fields

    highlightColor

    ColorAttribute highlightColor
    The highlight color.

    Class ptolemy.vergil.basic.DocAttribute extends SingletonAttribute implements Serializable

    Serialized Fields

    author

    StringAttribute author
    The author field.


    description

    StringAttribute description
    The description.


    since

    StringAttribute since
    The since field.


    version

    StringAttribute version
    The version field.

    Class ptolemy.vergil.basic.DocViewerFactory extends EditorFactory implements Serializable

    Class ptolemy.vergil.basic.EditorDropTarget extends java.awt.dnd.DropTarget implements Serializable

    Serialized Fields

    _additionalListeners

    java.util.Vector<E> _additionalListeners
    Vector to contain additional listeners.


    _dropIntoEnabled

    boolean _dropIntoEnabled
    Flag indicating whether drop into is enabled.

    Class ptolemy.vergil.basic.ExtendedGraphFrame extends BasicGraphFrame implements Serializable

    Serialized Fields

    _fullScreenAction

    javax.swing.Action _fullScreenAction
    Action for displaying in full-screen mode.


    _previousDefaultContext

    java.awt.Component _previousDefaultContext
    Default context for dialogs before going to full-screen mode.


    _screen

    javax.swing.JDialog _screen
    If we are in full-screen mode, this will be non-null.

    Class ptolemy.vergil.basic.ExtendedGraphFrame.FullScreenAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.basic.GetDocumentationAction extends FigureAction implements Serializable

    Serialized Fields

    _configuration

    Configuration _configuration
    The configuration.


    _docPreference

    int _docPreference
    Defines a preference for whether to display kepler documentation or ptolemy documentation. This can be set in the constructor and it default to ptolemy. 0 is ptolemy, 1 is kepler.


    _effigy

    Effigy _effigy
    Defines the effigy to use if the effigy is not apparent from the model

    Class ptolemy.vergil.basic.KeplerDocumentationAttribute extends Attribute implements Serializable

    Serialized Fields

    source

    java.lang.String source

    text

    java.lang.String text

    _docName

    java.lang.String _docName

    _docClass

    java.lang.String _docClass

    _description

    java.lang.String _description

    _author

    java.lang.String _author

    _version

    java.lang.String _version

    _userLevelDocumentation

    java.lang.String _userLevelDocumentation

    _portHash

    java.util.Hashtable<K,V> _portHash

    _propertyHash

    java.util.Hashtable<K,V> _propertyHash

    Class ptolemy.vergil.basic.NodeControllerFactory extends SingletonAttribute implements Serializable

    Class ptolemy.vergil.basic.RemoveCustomDocumentationAction extends FigureAction implements Serializable

    Class ptolemy.vergil.basic.WithIconGraphController.NewPortAction extends FigureAction implements Serializable

    Serialized Fields

    _prototype

    IOPort _prototype

    Package ptolemy.vergil.basic.layout

    Class ptolemy.vergil.basic.layout.KielerLayoutTableau extends Tableau implements Serializable

    Serialized Fields

    _frame

    KielerLayoutTableau.KielerLayoutFrame _frame
    The Kieler Layout Frame, needed so that we can call getModel().

    Class ptolemy.vergil.basic.layout.KielerLayoutTableau.KielerLayoutFrame extends PtolemyFrame implements Serializable

    Class ptolemy.vergil.basic.layout.KielerLayoutTableauFactory extends TableauFactory implements Serializable


    Package ptolemy.vergil.debugger

    Class ptolemy.vergil.debugger.BreakpointConfigurer extends Query implements Serializable

    Serialized Fields

    _actor

    Actor _actor

    _actorProfile

    DebugProfile _actorProfile

    _graphController

    BasicGraphController _graphController

    Class ptolemy.vergil.debugger.BreakpointConfigurerDialog extends ComponentDialog implements Serializable

    Class ptolemy.vergil.debugger.DebugController extends SingletonConfigurableAttribute implements Serializable

    Serialized Fields

    _debugRenderer

    DebugRenderer _debugRenderer

    _toDebug

    java.util.Hashtable<K,V> _toDebug

    Package ptolemy.vergil.fsm

    Class ptolemy.vergil.fsm.CaseGraphFrame extends ActorGraphFrame implements Serializable

    Serialized Fields

    _caseMenu

    javax.swing.JMenu _caseMenu
    The case menu.


    _addCaseAction

    CaseGraphFrame.AddCaseAction _addCaseAction
    The action to add a case.


    _case

    Case _case
    The Case actor displayed by this frame.


    _removeCaseAction

    CaseGraphFrame.RemoveCaseAction _removeCaseAction
    The action to remove a case.


    _tabbedPane

    javax.swing.JTabbedPane _tabbedPane
    The tabbed pane for cases.

    Class ptolemy.vergil.fsm.CaseGraphFrame.AddCaseAction extends FigureAction implements Serializable

    Class ptolemy.vergil.fsm.CaseGraphFrame.RemoveCaseAction extends FigureAction implements Serializable

    Class ptolemy.vergil.fsm.CaseGraphTableau extends Tableau implements Serializable

    Class ptolemy.vergil.fsm.CaseGraphTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.fsm.FSMGraphController.NewStateAction extends FigureAction implements Serializable

    Class ptolemy.vergil.fsm.FSMGraphFrame extends ExtendedGraphFrame implements Serializable

    Serialized Fields

    _controller

    FSMGraphController _controller
    The controller. The controller is protected so that the subclass (InterfaceAutomatonGraphFrame) can set it to a more specific controller.


    _debugMenu

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


    _graphMenu

    javax.swing.JMenu _graphMenu
    The graph menu.


    _layoutAction

    javax.swing.Action _layoutAction
    The action for automatically laying out the graph.


    _lastDelayTime

    long _lastDelayTime

    _modifiedPorts

    java.util.List<E> _modifiedPorts

    Class ptolemy.vergil.fsm.FSMGraphTableau extends Tableau implements Serializable

    Class ptolemy.vergil.fsm.FSMGraphTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.fsm.StateController.LookInsideAction extends FigureAction implements Serializable

    Class ptolemy.vergil.fsm.StateIcon extends NameIcon implements Serializable


    Package ptolemy.vergil.fsm.fmv

    Class ptolemy.vergil.fsm.fmv.FmvAutomatonGraphController.NewFmvStateAction extends FigureAction implements Serializable

    Class ptolemy.vergil.fsm.fmv.FmvAutomatonGraphFrame extends FSMGraphFrame implements Serializable

    Serialized Fields

    _fmvMenu

    javax.swing.JMenu _fmvMenu
    The case menu.


    _invokeNuSMVAction

    FmvAutomatonGraphFrame.InvokeNuSMVAction _invokeNuSMVAction

    _translateSmvAction

    FmvAutomatonGraphFrame.TranslateSmvAction _translateSmvAction

    _directory

    java.io.File _directory

    Class ptolemy.vergil.fsm.fmv.FmvAutomatonGraphFrame.InvokeNuSMVAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.fsm.fmv.FmvAutomatonGraphFrame.TranslateSmvAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.fsm.fmv.FmvAutomatonGraphTableau extends FSMGraphTableau implements Serializable

    Class ptolemy.vergil.fsm.fmv.FmvAutomatonGraphTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.fsm.fmv.FmvStateIcon extends StateIcon implements Serializable


    Package ptolemy.vergil.fsm.ia

    Class ptolemy.vergil.fsm.ia.InterfaceAutomatonGraphController.ComposeWithAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.fsm.ia.InterfaceAutomatonGraphFrame extends FSMGraphFrame implements Serializable

    Class ptolemy.vergil.fsm.ia.InterfaceAutomatonGraphTableau extends FSMGraphTableau implements Serializable

    Class ptolemy.vergil.fsm.ia.InterfaceAutomatonGraphTableau.Factory extends TableauFactory implements Serializable


    Package ptolemy.vergil.fsm.modal

    Class ptolemy.vergil.fsm.modal.HierarchicalStateController.AddRefinementAction extends FigureAction implements Serializable

    Class ptolemy.vergil.fsm.modal.HierarchicalStateController.RemoveRefinementAction extends FigureAction implements Serializable

    Class ptolemy.vergil.fsm.modal.HierarchicalStateControllerFactory extends NodeControllerFactory implements Serializable

    Class ptolemy.vergil.fsm.modal.ModalTableauFactory extends TableauFactory implements Serializable


    Package ptolemy.vergil.gt

    Class ptolemy.vergil.gt.CellPanelEditor extends javax.swing.AbstractCellEditor implements Serializable

    Serialized Fields

    _currentValue

    javax.swing.JPanel _currentValue

    Class ptolemy.vergil.gt.GTFrame extends ExtendedGraphFrame implements Serializable

    Serialized Fields

    _frameController

    GTFrameController _frameController

    _fullscreen

    boolean _fullscreen

    Class ptolemy.vergil.gt.GTFrame.ConfigureCriteriaAction extends GTFrame.ConfigureIngredientsAction implements Serializable

    Class ptolemy.vergil.gt.GTFrame.ConfigureIngredientsAction extends FigureAction implements Serializable

    Class ptolemy.vergil.gt.GTFrame.ConfigureOperationsAction extends GTFrame.ConfigureIngredientsAction implements Serializable

    Class ptolemy.vergil.gt.GTFrameTools.DelegatedUndoStackAttribute extends UndoStackAttribute implements Serializable

    Serialized Fields

    _oldAttribute

    UndoStackAttribute _oldAttribute

    Class ptolemy.vergil.gt.GTIngredientsEditor extends PtolemyDialog implements Serializable

    Serialized Fields

    _attribute

    GTIngredientsAttribute _attribute

    _editor

    GTIngredientsEditor.IngredientContentEditor _editor

    _ingredientClasses

    java.util.List<E> _ingredientClasses

    _initialIngredientList

    GTIngredientList _initialIngredientList

    _owner

    java.awt.Frame _owner

    _table

    javax.swing.JTable _table

    _tableModel

    javax.swing.table.DefaultTableModel _tableModel

    _target

    NamedObj _target

    _temporaryIngredientList

    GTIngredientList _temporaryIngredientList

    Class ptolemy.vergil.gt.GTIngredientsEditor.Factory extends EditorFactory implements Serializable

    Serialized Fields

    attributeName

    StringAttribute attributeName

    Class ptolemy.vergil.gt.GTTableau extends Tableau implements Serializable

    Class ptolemy.vergil.gt.GTTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.gt.GTTableau.ModalTableauFactory extends TableauFactory implements Serializable

    Class ptolemy.vergil.gt.IterativeParameterIcon extends XMLIcon implements Serializable

    Class ptolemy.vergil.gt.MatchResultTableau extends Tableau implements Serializable

    Class ptolemy.vergil.gt.MatchResultTableau.Factory extends TableauFactory implements Serializable

    Serialized Fields

    javaPropertiesFactory

    TableauFactory javaPropertiesFactory

    treeViewFactory

    TableauFactory treeViewFactory

    xmlViewFactory

    TableauFactory xmlViewFactory

    Class ptolemy.vergil.gt.MatchResultViewer extends GTFrame implements Serializable

    Serialized Fields

    _transformMenu

    javax.swing.JMenu _transformMenu

    _currentPosition

    int _currentPosition

    _fileSelectionStatus

    MatchResultViewer.FileSelectionStatus _fileSelectionStatus

    _isBatchMode

    boolean _isBatchMode

    _isNextFileEnabled

    boolean _isNextFileEnabled

    _isPreviousFileEnabled

    boolean _isPreviousFileEnabled

    _nextButton

    javax.swing.JButton _nextButton

    _nextFileButton

    javax.swing.JButton _nextFileButton

    _nextFileItem

    javax.swing.JMenuItem _nextFileItem

    _nextItem

    javax.swing.JMenuItem _nextItem

    _previousButton

    javax.swing.JButton _previousButton

    _previousFileButton

    javax.swing.JButton _previousFileButton

    _previousFileItem

    javax.swing.JMenuItem _previousFileItem

    _previousItem

    javax.swing.JMenuItem _previousItem

    _results

    java.util.List<E> _results

    _rule

    TransformationRule _rule

    _sourceFileName

    java.lang.String _sourceFileName

    _subviewers

    java.util.Set<E> _subviewers

    _topFrame

    MatchResultViewer _topFrame
    The top frame that shows the toplevel model, or null if the top frame is this frame itself.


    _transformButton

    javax.swing.JButton _transformButton

    _transformItem

    javax.swing.JMenuItem _transformItem

    _transformUntilFixpointButton

    javax.swing.JButton _transformUntilFixpointButton

    _transformUntilFixpointItem

    javax.swing.JMenuItem _transformUntilFixpointItem

    Class ptolemy.vergil.gt.StateMatcherController.Factory extends NodeControllerFactory implements Serializable

    Class ptolemy.vergil.gt.StateMatcherIcon extends StateIcon implements Serializable

    Class ptolemy.vergil.gt.TransformationAttributeController.Factory extends NodeControllerFactory implements Serializable

    Class ptolemy.vergil.gt.TransformationAttributeEditorFactory extends EditorFactory implements Serializable

    Class ptolemy.vergil.gt.TransformationAttributeIcon extends EditorIcon implements Serializable

    Class ptolemy.vergil.gt.TransformationEditor extends GTFrame implements Serializable

    Serialized Fields

    _ruleMenu

    javax.swing.JMenu _ruleMenu
    The case menu.


    _cellEditor

    TransformationEditor.CellEditor _cellEditor

    _fullScreenComponent

    java.awt.Component _fullScreenComponent

    _previousDefaultContext

    java.awt.Component _previousDefaultContext

    _screen

    javax.swing.JDialog _screen

    _selectedIndexBeforeFullScreen

    int _selectedIndexBeforeFullScreen

    _table

    javax.swing.JTable _table

    _tableModel

    javax.swing.table.DefaultTableModel _tableModel

    Class ptolemy.vergil.gt.TransformEventController.Factory extends NodeControllerFactory implements Serializable


    Package ptolemy.vergil.icon

    Class ptolemy.vergil.icon.ActorNameIcon extends BoxedValueIcon implements Serializable

    Class ptolemy.vergil.icon.AttributeValueIcon extends XMLIcon implements Serializable

    Serialized Fields

    attributeName

    StringAttribute attributeName
    The name of the attribute of the container whose value to display.


    displayHeight

    Parameter displayHeight
    The maximum number of lines to display. This is an integer, with default value 1.


    displayWidth

    Parameter displayWidth
    The number of characters to display. This is an integer, with default value 6.


    entityName

    StringParameter entityName
    Name of the entity contained by the container whose attribute this icon will display. This is a string that defaults to the empty string, which means that the attribute is contained by the container of this attribute.

    Class ptolemy.vergil.icon.BoxedValueIcon extends AttributeValueIcon implements Serializable

    Serialized Fields

    boxColor

    ColorAttribute boxColor
    Color of the box. This defaults to white.

    Class ptolemy.vergil.icon.BoxedValuesIcon extends XMLIcon implements Serializable

    Serialized Fields

    displayWidth

    Parameter displayWidth
    The number of characters to display. This is an integer, with default value 80.

    Class ptolemy.vergil.icon.CopyCatIcon extends XMLIcon implements Serializable

    Serialized Fields

    echoBoxColor

    ColorAttribute echoBoxColor
    Color of the echo boxes. This defaults to white.


    echos

    Parameter echos
    The number of echos of the bounding box to draw. This is an int that defaults to 2.


    includeName

    Parameter includeName
    If true, include the name of the copied actor in the icon if the name is included normally in its icon. NOTE: This will not include the name if the inside actor does not have an icon attribute, but only has an _iconDescription, so it's far from perfect. This is a boolean that defaults to false.


    _originalDescription

    java.lang.String _originalDescription
    Original description of the icon.

    Class ptolemy.vergil.icon.DesignPatternIcon extends NameIcon implements Serializable

    Serialized Fields

    _iconCache

    javax.swing.Icon _iconCache
    The cached Swing icon.

    Class ptolemy.vergil.icon.DynamicEditorIcon extends EditorIcon implements Serializable

    Serialized Fields

    _figures

    java.util.List<E> _figures

    Class ptolemy.vergil.icon.EditIconFrame extends BasicGraphFrame implements Serializable

    Serialized Fields

    _controller

    EditIconGraphController _controller

    _ZOOM_SCALE

    double _ZOOM_SCALE

    Class ptolemy.vergil.icon.EditIconTableau extends Tableau implements Serializable

    Class ptolemy.vergil.icon.EditIconTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.icon.EditorIcon extends Attribute implements Serializable

    Serialized Fields

    _containerToBe

    NamedObj _containerToBe
    The container to be eventually the container for this icon.


    _iconCache

    javax.swing.Icon _iconCache
    The cached Swing icon.

    Class ptolemy.vergil.icon.ImageIcon extends DynamicEditorIcon implements Serializable

    Serialized Fields

    _height

    int _height

    _image

    java.awt.Image _image

    _scaledImage

    java.awt.Image _scaledImage

    _scalePercentage

    double _scalePercentage

    _width

    int _width

    Class ptolemy.vergil.icon.NameIcon extends EditorIcon implements Serializable

    Serialized Fields

    rounding

    Parameter rounding
    The amount of rounding of the corners. This is a double that defaults to 0.0, which indicates no rounding.


    spacing

    Parameter spacing
    If greater than zero, then use a double box where the outside one is the specified size larger than the inside one. This is a double that defaults to 0.0, which indicates a single box.


    _roundingValue

    double _roundingValue
    Most recent value of the rounding parameter.


    _spacingValue

    double _spacingValue
    Most recent value of the spacing parameter.


    _xPadding

    double _xPadding
    The horizontal padding on the left and right sides of the name.


    _yPadding

    double _yPadding
    The vertical padding above and below the name.

    Class ptolemy.vergil.icon.ResizableAttributeControllerFactory extends NodeControllerFactory implements Serializable

    Class ptolemy.vergil.icon.ShapeIcon extends DynamicEditorIcon implements Serializable

    Serialized Fields

    _centered

    boolean _centered

    _dashArray

    float[] _dashArray

    _fillColor

    java.awt.Color _fillColor

    _lineColor

    java.awt.Color _lineColor

    _lineWidth

    float _lineWidth

    _shape

    java.awt.Shape _shape

    Class ptolemy.vergil.icon.SVGIcon extends EditorIcon implements Serializable

    Serialized Fields

    _description

    ConfigurableAttribute _description

    _smallIconDescription

    ConfigurableAttribute _smallIconDescription

    Class ptolemy.vergil.icon.TableIcon extends DynamicEditorIcon implements Serializable

    Serialized Fields

    boxColor

    ColorAttribute boxColor
    Color of the box. This defaults to white.


    colorKey

    StringParameter colorKey
    A column name to use as a color key. If this string is non-empty, then it specifies a column name that is used to determine a color for each row. The value in that row and column determines the color via a hash function, so that if two rows are identical in that column, then they are also identical in color. This is a string that defaults to empty, indicating that all rows should be displayed in black.


    fields

    Parameter fields
    The fields to display in the table. This is an array of strings specifying the field names to display. It defaults to ALL, which indicates that all fields should be displayed.


    maxRows

    Parameter maxRows
    The maximum number of rows to display. This is an integer, with default value UNBOUNDED.


    variableName

    StringParameter variableName
    The name of the variable in the container whose value should be displayed in the icon. The variable value must be an array of records. This is a string that defaults to the empty string.

    Class ptolemy.vergil.icon.TextIcon extends DynamicEditorIcon implements Serializable

    Serialized Fields

    _DEFAULT_TEXT

    java.lang.String _DEFAULT_TEXT

    _anchor

    int _anchor

    _font

    java.awt.Font _font

    _iconText

    java.lang.String _iconText

    _text

    java.lang.String _text

    _textColor

    java.awt.Color _textColor

    Class ptolemy.vergil.icon.UpdatedValueIcon extends AttributeValueIcon implements Serializable

    Serialized Fields

    _associatedAttribute

    Settable _associatedAttribute
    The attribute whose value is being represented.

    Class ptolemy.vergil.icon.ValueIcon extends XMLIcon implements Serializable

    Class ptolemy.vergil.icon.XMLIcon extends DynamicEditorIcon implements Serializable

    Serialized Fields

    _paintedList

    PaintedList _paintedList

    _description

    ConfigurableAttribute _description

    _smallIconDescription

    ConfigurableAttribute _smallIconDescription

    Package ptolemy.vergil.kernel

    Class ptolemy.vergil.kernel.ListenToAction extends FigureAction implements Serializable

    Serialized Fields

    _configuration

    Configuration _configuration

    _controller

    BasicGraphController _controller

    _target

    NamedObj _target

    Class ptolemy.vergil.kernel.PortDialogAction extends FigureAction implements Serializable

    Serialized Fields

    _configuration

    Configuration _configuration

    Class ptolemy.vergil.kernel.RenameDialogAction extends FigureAction implements Serializable


    Package ptolemy.vergil.kernel.attributes

    Class ptolemy.vergil.kernel.attributes.AbstractTextAttribute extends VisibleAttribute implements Serializable

    Serialized Fields

    bold

    Parameter bold
    A boolean indicating whether the font should be bold. This defaults to false.


    center

    Parameter center
    A boolean parameter that controls whether the origin of the text is center (if true) or north-west.


    fontFamily

    StringParameter fontFamily
    The font family. This is a string that defaults to "SansSerif".


    italic

    Parameter italic
    A boolean indicating whether the font should be italic. This defaults to false.


    textColor

    ColorAttribute textColor
    The text color. This is a string representing an array with four elements, red, green, blue, and alpha, where alpha is transparency. The default is "{0.0, 0.0, 0.0, 1.0}", which represents an opaque black.


    textSize

    Parameter textSize
    The text size. This is an int that defaults to 14.


    _icon

    TextIcon _icon
    The text icon.


    _inAttributeChanged

    boolean _inAttributeChanged

    Class ptolemy.vergil.kernel.attributes.ArrowAttribute extends LineAttribute implements Serializable

    Serialized Fields

    arrowLength

    Parameter arrowLength
    Length of the arrow head. Default to 16.0


    arrowWidth

    Parameter arrowWidth
    Width of the arrow head. Default to 10.0.

    Class ptolemy.vergil.kernel.attributes.AttributeExpressionAttribute extends AttributeValueAttribute implements Serializable

    Class ptolemy.vergil.kernel.attributes.AttributeValueAttribute extends AbstractTextAttribute implements Serializable

    Serialized Fields

    attributeName

    StringAttribute attributeName
    The name of the attribute of the container whose value to display.


    displayWidth

    Parameter displayWidth
    The number of characters to display. This is an integer, with default value 6.


    _displayWidth

    int _displayWidth
    Most recent value of the rounding parameter.


    _attribute

    Settable _attribute
    The associated attribute.


    _deferred

    boolean _deferred
    Flag indicating that we have already tried deferring evaluation.

    Class ptolemy.vergil.kernel.attributes.DocumentationAttribute extends VisibleAttribute implements Serializable

    Class ptolemy.vergil.kernel.attributes.EllipseAttribute extends FilledShapeAttribute implements Serializable

    Class ptolemy.vergil.kernel.attributes.FilledShapeAttribute extends ShapeAttribute implements Serializable

    Serialized Fields

    centered

    Parameter centered
    Indicator of whether the shape should be centered on the location. This is a boolean that defaults to false, which means that the location is the upper left corner.


    fillColor

    ColorAttribute fillColor
    The line color. This is a string representing an array with four elements, red, green, blue, and alpha, where alpha is transparency. The default is "{0.0, 0.0, 0.0, 1.0}", which represents an opaque black.


    height

    Parameter height
    The vertical extent. This is a double that defaults to 100.0.


    width

    Parameter width
    The horizontal extent. This is a double that defaults to 100.0.


    _centeredValue

    boolean _centeredValue
    Most recently set value of the centered parameter.


    _heightValue

    double _heightValue
    Most recently set value of the height parameter.


    _widthValue

    double _widthValue
    Most recently set value of the width parameter.

    Class ptolemy.vergil.kernel.attributes.IDAttribute extends SingletonAttribute implements Serializable

    Serialized Fields

    author

    StringAttribute author
    The author of the model.


    contributors

    StringAttribute contributors
    The contributors of the model.


    created

    StringAttribute created
    The date that this model was created.


    baseClass

    StringAttribute baseClass
    The base class of the containing class or entity.


    isClass

    StringAttribute isClass
    A boolean indicating whether the container is a class or an instance. This is a string that must have value "true" or "false".


    lastUpdated

    StringAttribute lastUpdated
    The date that this model was last updated.


    name

    StringAttribute name
    The name of the containing class or entity.

    Class ptolemy.vergil.kernel.attributes.ImageAttribute extends VisibleAttribute implements Serializable

    Serialized Fields

    scale

    Parameter scale
    The scale, as a percentage. This is a double that defaults to 100.0.


    source

    FileParameter source
    The source image file. This is a file name or URL, where the default is "$CLASSPATH/ptolemy/vergil/kernel/attributes/ptIIplanetIcon.gif".


    _icon

    ImageIcon _icon
    The image icon.

    Class ptolemy.vergil.kernel.attributes.LineAttribute extends ShapeAttribute implements Serializable

    Serialized Fields

    x

    Parameter x
    The horizontal extent. This is a double that defaults to 100.0.


    y

    Parameter y
    The y extent. This is a double that defaults to 0.0.

    Class ptolemy.vergil.kernel.attributes.RectangleAttribute extends FilledShapeAttribute implements Serializable

    Serialized Fields

    rounding

    Parameter rounding
    The amount of rounding of the corners. This is a double that defaults to 0.0, which indicates no rounding.


    _roundingValue

    double _roundingValue
    Most recent value of the rounding parameter.

    Class ptolemy.vergil.kernel.attributes.ResizablePolygonAttribute extends FilledShapeAttribute implements Serializable

    Serialized Fields

    vertices

    Parameter vertices
    The amount of vertices of the corners. This is a double that defaults to 0.0, which indicates no vertices. The default value specifies a rhombus.

    Class ptolemy.vergil.kernel.attributes.ShapeAttribute extends VisibleAttribute implements Serializable

    Serialized Fields

    dashArray

    Parameter dashArray
    Specification of the dash pattern for dashed or dotted lines. An empty value indicates that the line should not be dashed. The values specify the length of solid and transparent segments in an alternating fashion. This is an array of doubles that by default is empty.


    lineColor

    ColorAttribute lineColor
    The line color. This is a string representing an array with four elements, red, green, blue, and alpha, where alpha is transparency. The default is "{0.0, 0.0, 0.0, 1.0}", which represents an opaque black.


    lineWidth

    Parameter lineWidth
    The line width. This is a double that defaults to 1.0.


    _icon

    ShapeIcon _icon
    The shape icon.


    _none

    Variable _none
    A color parameter whose value is a fully transparent white (alpha = 0.0), which is interpreted as no color.

    Class ptolemy.vergil.kernel.attributes.TextAttribute extends AbstractTextAttribute implements Serializable

    Serialized Fields

    text

    StringAttribute text
    The text. This is a string that defaults to "Double click to edit text."

    Class ptolemy.vergil.kernel.attributes.VisibleAttribute extends Attribute implements Serializable


    Package ptolemy.vergil.modal

    Class ptolemy.vergil.modal.CaseGraphFrame extends ActorGraphFrame implements Serializable

    Serialized Fields

    _caseMenu

    javax.swing.JMenu _caseMenu
    The case menu.


    _addCaseAction

    CaseGraphFrame.AddCaseAction _addCaseAction
    The action to add a case.


    _case

    Case _case
    The Case actor displayed by this frame.


    _removeCaseAction

    CaseGraphFrame.RemoveCaseAction _removeCaseAction
    The action to remove a case.


    _tabbedPane

    javax.swing.JTabbedPane _tabbedPane
    The tabbed pane for cases.

    Class ptolemy.vergil.modal.CaseGraphFrame.AddCaseAction extends FigureAction implements Serializable

    Class ptolemy.vergil.modal.CaseGraphFrame.RemoveCaseAction extends FigureAction implements Serializable

    Class ptolemy.vergil.modal.CaseGraphTableau extends Tableau implements Serializable

    Class ptolemy.vergil.modal.CaseGraphTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.modal.FSMGraphController.NewStateAction extends FigureAction implements Serializable

    Class ptolemy.vergil.modal.FSMGraphFrame extends ExtendedGraphFrame implements Serializable

    Serialized Fields

    _controller

    FSMGraphController _controller
    The controller. The controller is protected so that the subclass (InterfaceAutomatonGraphFrame) can set it to a more specific controller.


    _debugMenu

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


    _graphMenu

    javax.swing.JMenu _graphMenu
    The graph menu.


    _layoutAction

    javax.swing.Action _layoutAction
    The action for automatically laying out the graph.


    _lastDelayTime

    long _lastDelayTime

    _modifiedPorts

    java.util.List<E> _modifiedPorts

    Class ptolemy.vergil.modal.FSMGraphTableau extends Tableau implements Serializable

    Class ptolemy.vergil.modal.FSMGraphTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.modal.StateController.LookInsideAction extends FigureAction implements Serializable

    Class ptolemy.vergil.modal.StateIcon extends NameIcon implements Serializable


    Package ptolemy.vergil.modal.fmv

    Class ptolemy.vergil.modal.fmv.FmvAutomatonGraphController.NewFmvStateAction extends FigureAction implements Serializable

    Class ptolemy.vergil.modal.fmv.FmvAutomatonGraphFrame extends FSMGraphFrame implements Serializable

    Serialized Fields

    _fmvMenu

    javax.swing.JMenu _fmvMenu
    The case menu.


    _invokeNuSMVAction

    FmvAutomatonGraphFrame.InvokeNuSMVAction _invokeNuSMVAction

    _translateSmvAction

    FmvAutomatonGraphFrame.TranslateSmvAction _translateSmvAction

    _directory

    java.io.File _directory

    Class ptolemy.vergil.modal.fmv.FmvAutomatonGraphFrame.InvokeNuSMVAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.modal.fmv.FmvAutomatonGraphFrame.TranslateSmvAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.modal.fmv.FmvAutomatonGraphTableau extends FSMGraphTableau implements Serializable

    Class ptolemy.vergil.modal.fmv.FmvAutomatonGraphTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.modal.fmv.FmvStateIcon extends StateIcon implements Serializable


    Package ptolemy.vergil.modal.ia

    Class ptolemy.vergil.modal.ia.InterfaceAutomatonGraphController.ComposeWithAction extends javax.swing.AbstractAction implements Serializable

    Class ptolemy.vergil.modal.ia.InterfaceAutomatonGraphFrame extends FSMGraphFrame implements Serializable

    Class ptolemy.vergil.modal.ia.InterfaceAutomatonGraphTableau extends FSMGraphTableau implements Serializable

    Class ptolemy.vergil.modal.ia.InterfaceAutomatonGraphTableau.Factory extends TableauFactory implements Serializable


    Package ptolemy.vergil.modal.modal

    Class ptolemy.vergil.modal.modal.HierarchicalStateController.AddRefinementAction extends FigureAction implements Serializable

    Class ptolemy.vergil.modal.modal.HierarchicalStateController.RemoveRefinementAction extends FigureAction implements Serializable

    Class ptolemy.vergil.modal.modal.HierarchicalStateControllerFactory extends NodeControllerFactory implements Serializable

    Class ptolemy.vergil.modal.modal.ModalTableauFactory extends TableauFactory implements Serializable


    Package ptolemy.vergil.pdfrenderer

    Class ptolemy.vergil.pdfrenderer.PDFAttribute extends VisibleAttribute implements Serializable

    Serialized Fields

    scale

    Parameter scale
    The scale, as a percentage. This is a double that defaults to 100.0.


    source

    FileParameter source
    The source image file. This is a file name or URL, where the default is "$CLASSPATH/ptolemy/vergil/pdfrenderer/sample.pdf".


    _icon

    PDFIcon _icon
    The PDF icon.

    Class ptolemy.vergil.pdfrenderer.PDFIcon extends DynamicEditorIcon implements Serializable

    Serialized Fields

    _page

    com.sun.pdfview.PDFPage _page
    The PDF page to render.


    _scale

    double _scale

    Package ptolemy.vergil.ptera

    Class ptolemy.vergil.ptera.EventIcon extends StateIcon implements Serializable

    Class ptolemy.vergil.ptera.OctagonEventIcon extends NameIcon implements Serializable

    Serialized Fields

    _cornerWidth

    double _cornerWidth
    The width of a corner of a polygon.

    Class ptolemy.vergil.ptera.PteraGraphController.NewEventAction extends FigureAction implements Serializable

    Class ptolemy.vergil.ptera.PteraGraphFrame extends FSMGraphFrame implements Serializable

    Class ptolemy.vergil.ptera.PteraGraphTableau extends FSMGraphTableau implements Serializable

    Class ptolemy.vergil.ptera.PteraGraphTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.ptera.TestIcon extends NameIcon implements Serializable

    Class ptolemy.vergil.ptera.TimeAdvanceEventIcon extends EventIcon implements Serializable


    Package ptolemy.vergil.tdl

    Class ptolemy.vergil.tdl.HierarchicalModeControllerFactory extends NodeControllerFactory implements Serializable

    Class ptolemy.vergil.tdl.TdlTableauFactory extends TableauFactory implements Serializable

    Class ptolemy.vergil.tdl.TdlTaskTableauFactory extends TableauFactory implements Serializable


    Package ptolemy.vergil.toolbox

    Class ptolemy.vergil.toolbox.AnnotationEditorFactory extends EditorFactory implements Serializable

    Serialized Fields

    _container

    NamedObj _container
    Deprecated. 
    The container.


    _fontProperties

    Query _fontProperties
    Deprecated. 
    Query box for font properties.


    _fontSize

    java.lang.String _fontSize
    Deprecated. 
    Font characteristic.


    _fontFamily

    java.lang.String _fontFamily
    Deprecated. 

    _fontColor

    java.lang.String _fontColor
    Deprecated. 

    _iconDescription

    ConfigurableAttribute _iconDescription
    Deprecated. 
    The attribute containing the icon description.


    _textArea

    javax.swing.JTextArea _textArea
    Deprecated. 
    The text area of the editor.

    Class ptolemy.vergil.toolbox.AnnotationEditorFactory.AnnotationTextEditor extends javax.swing.JPanel implements Serializable

    Class ptolemy.vergil.toolbox.ArrayOfRecordsConfigureFactory extends EditorFactory implements Serializable

    Serialized Fields

    columns

    Parameter columns
    The names of the fields to be displayed from the records, in the order in which they should be displayed. This is required to be an array of string tokens. This defaults to null (no value) which results in all fields being displayed in alphabetical order.


    parameterName

    StringParameter parameterName
    The name of the attribute that is to be displayed. That attribute is required to contain an array of record tokens.

    Class ptolemy.vergil.toolbox.ConfigureAction extends FigureAction implements Serializable

    Class ptolemy.vergil.toolbox.EditIconAction extends FigureAction implements Serializable

    Serialized Fields

    _configuration

    Configuration _configuration

    Class ptolemy.vergil.toolbox.FigureAction extends javax.swing.AbstractAction implements Serializable

    Serialized Fields

    _figure

    Figure _figure

    _frame

    java.awt.Frame _frame

    _sourceType

    FigureAction.SourceType _sourceType

    _target

    NamedObj _target

    _x

    int _x

    _y

    int _y

    Class ptolemy.vergil.toolbox.FileEditorTableauFactory extends TableauFactory implements Serializable

    Serialized Fields

    attributeName

    StringAttribute attributeName
    The name of the file attribute giving the file name or URL.

    Class ptolemy.vergil.toolbox.MoMLModelAttributeControllerFactory extends TableauFactory implements Serializable

    Class ptolemy.vergil.toolbox.MoveAction extends FigureAction implements Serializable

    Serialized Fields

    _type

    MoveAction.MoveType _type
    The type of move.

    Class ptolemy.vergil.toolbox.PtolemyListCellRenderer extends javax.swing.DefaultListCellRenderer implements Serializable

    Class ptolemy.vergil.toolbox.PtolemyTransferable extends java.lang.Object implements Serializable

    Serialized Fields

    _flavors

    java.awt.datatransfer.DataFlavor[] _flavors

    _objectList

    java.util.List<E> _objectList

    Class ptolemy.vergil.toolbox.RemoveIconAction extends FigureAction implements Serializable

    Class ptolemy.vergil.toolbox.RotateOrFlipPorts extends FigureAction implements Serializable

    Serialized Fields

    _direction

    int _direction
    The direction requested in the constructor.

    Class ptolemy.vergil.toolbox.TextEditorConfigureFactory extends EditorFactory implements Serializable

    Serialized Fields

    attributeName

    StringAttribute attributeName
    The name of the string attribute that is to be edited.


    columnsDisplayed

    Parameter columnsDisplayed
    The horizontal size of the display, in columns. This contains an integer, and defaults to 40.


    rowsDisplayed

    Parameter rowsDisplayed
    The vertical size of the display, in rows. This contains an integer, and defaults to 10.


    _editor

    TextEditorForStringAttributes _editor

    Class ptolemy.vergil.toolbox.TextEditorForStringAttributes extends TextEditor implements Serializable

    Serialized Fields

    _factory

    TextEditorFactory _factory

    _attributeToEdit

    StringAttribute _attributeToEdit

    Class ptolemy.vergil.toolbox.TextEditorTableauFactory extends TableauFactory implements Serializable

    Serialized Fields

    attributeName

    StringAttribute attributeName
    The name of the string attribute that is to be edited.


    columnsDisplayed

    Parameter columnsDisplayed
    The horizontal size of the display, in columns. This contains an integer, and defaults to 40.


    rowsDisplayed

    Parameter rowsDisplayed
    The vertical size of the display, in rows. This contains an integer, and defaults to 10.


    _editor

    TextEditorForStringAttributes _editor

    Class ptolemy.vergil.toolbox.VisibleParameterEditorFactory extends EditorFactory implements Serializable

    Serialized Fields

    _oldExpression

    java.lang.String _oldExpression

    Package ptolemy.vergil.tree

    Class ptolemy.vergil.tree.PtolemyTreeCellRenderer extends javax.swing.tree.DefaultTreeCellRenderer implements Serializable

    Class ptolemy.vergil.tree.PTree extends javax.swing.JTree implements Serializable

    Class ptolemy.vergil.tree.TreeEditor extends javax.swing.JFrame implements Serializable

    Class ptolemy.vergil.tree.TreeEditorPanel extends javax.swing.JScrollPane implements Serializable

    Serialized Fields

    _parser

    MoMLParser _parser
    The parser being used for this model.


    _toplevel

    NamedObj _toplevel
    The top-level entity of the model.

    Class ptolemy.vergil.tree.TreeTableau extends Tableau implements Serializable

    Class ptolemy.vergil.tree.TreeTableau.Factory extends TableauFactory implements Serializable

    Class ptolemy.vergil.tree.TreeTableau.TreeFrame extends PtolemyFrame implements Serializable


    Package ptolemy.vergil.unit

    Class ptolemy.vergil.unit.ConfigureUnitsAction extends FigureAction implements Serializable

    Serialized Fields

    _configuration

    Configuration _configuration

    Class ptolemy.vergil.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

    UnitConstraintsDialog.UnitsTableModel _unitsTableModel

    Class ptolemy.vergil.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.vergil.unit.UnitSolverDialog.SolutionListModel extends javax.swing.AbstractListModel implements Serializable

    Serialized Fields

    _solutions

    java.util.Vector<E> _solutions

    Package ptolemy.verification.gui

    Class ptolemy.verification.gui.MathematicalModelConverterGUI extends PtolemyFrame implements Serializable

    Serialized Fields

    _query

    PtolemyQuery _query

    Class ptolemy.verification.gui.MathematicalModelConverterGUIFactory extends EditorFactory implements Serializable


    Package ptolemy.verification.kernel

    Class ptolemy.verification.kernel.MathematicalModelConverter extends Attribute implements Serializable

    Serialized Fields

    _codeFile

    java.io.File _codeFile
    The name of the file that was written. If no file was written, then the value is null.


    _directory

    java.io.File _directory

    _model

    CompositeEntity _model
    The model we for which we are generating code.


    target

    FileParameter target

    template

    FileParameter template

    modelType

    ChoiceParameter modelType

    formulaType

    ChoiceParameter formulaType

    outputType

    ChoiceParameter outputType

    formula

    StringParameter formula

    span

    Parameter span

    buffer

    Parameter buffer

    Package ptolemy.verification.lib

    Class ptolemy.verification.lib.BoundedBufferNondeterministicDelay extends BoundedBufferTimedDelay implements Serializable

    Serialized Fields

    delay

    PortParameter delay
    The amount specifying delay. Its default value is 1.0.

    Class ptolemy.verification.lib.BoundedBufferTimedDelay extends TimedDelay implements Serializable

    Serialized Fields

    bufferSize

    Parameter bufferSize
    The size of the buffer. The default for this parameter is 1. This parameter must contain a DoubleToken with a non-negative value, or an exception will be thrown when it is set.


    _bufferSize

    int _bufferSize
    The amount of buffer size.

    Class ptolemy.verification.lib.SMVLegacyCodeActor extends TypedCompositeActor implements Serializable

    Serialized Fields

    embeddedSMVCode

    StringAttribute embeddedSMVCode
    The SMV code that specifies the function of this actor. The default value is the code necessary to implement a identity function.


    Package thales.actor.gui

    Class thales.actor.gui.NavigableEffigy extends PtolemyEffigy implements Serializable

    Serialized Fields

    _navigModel

    NavigationTreeModel _navigModel

    _lieAtNumberOfOpendTableaux

    boolean _lieAtNumberOfOpendTableaux

    Class thales.actor.gui.NavigableEffigy.Factory extends EffigyFactory implements Serializable

    Serialized Fields

    _tagToCheck

    java.lang.String _tagToCheck

    Class thales.actor.gui.NavigableEffigy.FactoryWithoutNew extends NavigableEffigy.Factory implements Serializable

    Class thales.actor.gui.SingleWindowConfiguration extends Configuration implements Serializable

    Class thales.actor.gui.SingleWindowHTMLViewer extends HTMLViewer implements Serializable

    Serialized Fields

    startPanel

    javax.swing.JPanel startPanel
    Main panel


    _viewsTabbedPane

    javax.swing.JTabbedPane _viewsTabbedPane

    _originalMenuBar

    javax.swing.JMenuBar _originalMenuBar

    _configuration

    Configuration _configuration

    Class thales.actor.gui.SingleWindowHTMLViewerTableau extends Tableau implements Serializable

    Serialized Fields

    url

    StringAttribute url
    The URL to display.

    Class thales.actor.gui.SingleWindowHTMLViewerTableau.Factory extends TableauFactory implements Serializable


    Package thales.vergil.navigable

    Class thales.vergil.navigable.NavigableActorGraphFrame extends ActorGraphFrame implements Serializable

    Serialized Fields

    _tabbedPalette

    javax.swing.JTabbedPane _tabbedPalette

    _upAction

    NavigableActorGraphFrame.UpAction _upAction

    _tree

    NavigationPTree _tree

    Class thales.vergil.navigable.NavigableActorGraphFrame.UpAction extends javax.swing.AbstractAction implements Serializable

    Class thales.vergil.navigable.NavigableActorGraphTableau extends Tableau implements Serializable

    Class thales.vergil.navigable.NavigableActorGraphTableau.Factory extends TableauFactory implements Serializable

    Class thales.vergil.navigable.NavigationPTree extends PTree implements Serializable