swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] (no subject) - File input and output


From: Steve Railsback
Subject: Re: [Swarm-Support] (no subject) - File input and output
Date: Wed, 25 Jan 2006 07:36:04 -0800
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

mariem siala wrote:
Hi !
I want to use the input file to read some data from a string Have you an example of use of an external input and output data file.
Thanks for your help
Mariem

Swarm does have two simple classes for file input and output (InFile and OutFile, in the SimTools library), although they are deprecated and not often used. Otherwise, you can use basic C (or Java) file reading and writing statements.

If you want to read in time series data, or output statistics on your agents, it might be worth learning to use the "BreakoutReporter" and "TimeSeriesInputManager" classes here: http://www.humboldt.edu/~ecomodel/software.htm

Steve R.

--
Lang, Railsback & Associates
250 California Ave.
Arcata CA  95521
(707) 822-0453


reply via email to

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