Swarm User Guide
Prev
Next
Part III. Advanced Topics
Table of Contents
13.
Anything C can do, Swarm Can Do Better
13.1.
Managing command line parameters
13.2.
Using C Functions in Swarm
13.3.
Examples of Useful Functions:
getInt
and
getDouble
13.4.
Dynamic Memory Allocation and Swarm Zones
13.5.
Dropping Unused Objects
14.
The Swarm Collections Library
14.1.
Overview: the
List
,
Map
and
Array
Protocols
14.2.
Choosing between
List
s,
Map
s, and
Array
s
14.3.
Using Swarm
Array
s
14.4.
Swarm
Map
s
14.5.
Accessing Collections with Indices
15.
Using the Random Library
15.1.
Built-in Random Number Distributions
15.2.
Overview of the Random Library
15.3.
The Random Number Generators
15.3.1.
How to use the default random generator
15.3.2.
A list of generators in Swarm
15.3.3.
A note on starting seeds
15.4.
The Distributions in Swarm
15.4.1.
Classes that adopt the ProbabilityDistribution Protocol
15.4.2.
Matching generator and distribution objects
15.4.3.
Setting numerical parameters of distribution objects
15.5.
How to Create Other Random Number Distributions
16.
Serialization
16.1.
Using the
LispArchiver
to manage simulation parameters
16.1.1.
Using the Standard
lispAppArchiver
16.1.2.
Using Custom
LispArchiver
Instances
Prev
Home
Next
Controlling Precision of Display
Anything C can do, Swarm Can Do Better