Difference between revisions of "Component Guide IV: Plugins"
Line 5: | Line 5: | ||
==Tabulator== | ==Tabulator== | ||
[[File: tab.png|left]] | [[File: tab.png|left]] | ||
A | 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. The states are expected to be consecutive numbers such as 0, 1, 2, etc. The sequence need not start at 0. | ||
A Tabulator may include a specification for either a line graph or bar chart. When one of these is selected, the Property Pane shows properties for defining that graph. These same properties would be found on the Property Pane of the type of selected graph. (See the Wiki entries for [[Component Guide III: Displays and Controls#LineGraph|line graph]] and [[Component Guide III: Displays and Controls#BarChart|bar chart]] for details). | |||
See ''Firespread'' in the model library for an example using the Tabulator. | See ''Firespread'' in the model library for an example using the Tabulator. |
Revision as of 16:30, 14 October 2019
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 4 plugins, which are described below.
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. The states are expected to be consecutive numbers such as 0, 1, 2, etc. The sequence need not start at 0.
A Tabulator may include a specification for either a line graph or bar chart. When one of these is selected, the Property Pane shows properties for defining that graph. These same properties would be found on the Property Pane of the type of selected graph. (See the Wiki entries for line graph and bar chart for details).
See Firespread in the model library for an example using the Tabulator.
Properties
- Size. The number of possible states. This determines the number of output pins on the Tabulator.
- Base Value. States run from Base Value through Base Value + Size - 1.