Your browser (Internet Explorer 8 or lower) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.

X

Menu

Actions

An Action can be used to manipulate a model during a simulation. Actions are primarily used in Agent Based Modeling.

An Action is defined by two features:

  • Trigger: What triggers the Action (a timeout, a probability, or a condition). See the Transition primitive description for more information on triggers.
  • The Action: What the Action does when triggered. This can be to move an agent, to change a primitive's value, to add a connection to an agent, or many other actions.

An example of an action for an agent might be to have the agent die off if its health falls below a threshold:

if [Health] < 0 then Self.remove() end if