swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java profiling (a SwarmFest 2000 paper)


From: Marcus G. Daniels
Subject: Java profiling (a SwarmFest 2000 paper)
Date: 15 Mar 2000 18:30:36 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

A paper for this talk is listed at http://www.swarm.org/intro-papers.html.  
There are a few 2.1-related updates for the older Chicago talk
(XML heatbugs, Scheme, etc.) as well.

In addition, here's some source for driving a Swarm simulation
with R:  http://www.santafe.edu/~mgd/signalAnalysisWithR-0.0.tar.gz
Here's the README:

------

This is a quick example to show how R can be used to run parameter sweeps.
There are two files:

gen.m: An Objective C program that serves as a placeholder to a simulation.
(It's actually just a sine wave generator that takes two arguments, 
a frequency and an amplitude).

gen.R contains four SPlus functions:

  1) gen:  A routine to run a Swarm simulation and convert the result
     into a vector of doubles 

  2) getsamples:  A function that creates a covariance matrix and
     pushes normally distributed numbers through it.  This samples
     a space of signals across frequencies and amplitudes.

  3) applysamples:  A function that uses the samples to call `gen', 
     compositing the various sampled signals into a single complex signal.
     It plots the signal when it is done.

  4) showfreq: A function that plots the frequency space of the signal, 
     resulting in a something resembling like the original
     probability density function.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]