|
From: | Steve Railsback |
Subject: | Re: [Swarm-Modelling] Some Questions regarding SWARM M&S |
Date: | Tue, 03 Feb 2004 07:20:43 -0800 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 |
Sunwoo Park wrote:
As a beginner, I would like to ask some questions to all of you regarding SWARM Modeling and Simulation (M&S). Those questions are I) What kind of simulation does SWARM offer ? Discrete-time or discrete-event simulation ? Or, ... ? It is still not clear for me how SWARM maintains simulation time.
I think Swarm is referred to as a discrete-event simulator because the user defines specific actions (events) and tells Swarm when to execute them. But Swarm has a clock and most Swarm models schedule each action to be executed once each click of the clock- essentially, discrete time simulation.
There are lots of alternatives though: you can dynamically create actions and put them on the schedule wherever you want. ('Do this next' or 'Do this 1.7 time steps from now'). See the example model "Mousetrap", designed to illustrate dynamic scheduling. You can also randomize the order in which actions are executed each time step. Look at the Activity library.
Steve -- Lang, Railsback & Associates 250 California Ave. Arcata CA 95521 707-822-0453; fax 822-1868 address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |