Difference between revisions of "Component Guide IV: Plugins"
Line 3: | Line 3: | ||
The current release of Numerus includes 2 plugins, which are described below. | The current release of Numerus includes 2 plugins, which are described below. | ||
==Discrete State== | ==<span id="DiscreteState"></span>Discrete State== | ||
[[File: discretestate.png|left]] | [[File: discretestate.png|left]] | ||
A Discrete State is an alternative to a Sequence in which a fixed number of named discrete states serve as possible values. A discrete state is initialized with one such value, and transitions are structured based on the current value. | A Discrete State is an alternative to a Sequence in which a fixed number of named discrete states serve as possible values. A discrete state is initialized with one such value, and transitions are structured based on the current value. |
Revision as of 17:14, 4 October 2018
Plugins are additional components that provide special functionality. In future releases it will be possible for the user to create and add plugins of his/her own creation (a plugin writers guide is planned). We also anticipate future releases with plugin sets designed for specific application domains.
The current release of Numerus includes 2 plugins, which are described below.
Discrete State
A Discrete State is an alternative to a Sequence in which a fixed number of named discrete states serve as possible values. A discrete state is initialized with one such value, and transitions are structured based on the current value.
Properties
|
Tabulator
A tabulator is a special component that works with an aggregator in which a constituent (agent, cell, node) has either a Discrete State component or uses a Sequence to model a discrete state. The tabulator counts the number of elements in each state and outputs the totals on separate pins, primarily for graphing or displaying in a table. The states are expected to be consecutive numbers such as 0, 1, 2, etc. The sequence need not start at 0. (The sequence will, or course, always start at 0 if a Discrete State component is used.)
See Firespread in the model library for an example using the Tabulator.
Properties
|
File:Tabprop.png |